Repository navigation
build(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates - #81
Closed
cldmv-bot[bot] wants to merge 1 commit into
Closed
cldmv-bot[bot] wants to merge 1 commit into
cldmv-bot[bot] wants to merge 1 commit into
Conversation
…2 updates Bumps the npm_and_yarn group with 2 updates in the / directory: [source-map-js](https://github.com/7rulnik/source-map-js) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). Updates `source-map-js` from 1.2.1 to 1.2.2 - [Release notes](https://github.com/7rulnik/source-map-js/releases) - [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md) - [Commits](7rulnik/source-map-js@v1.2.1...v1.2.2) Updates `vite` from 8.3.2 to 8.3.5 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite) --- updated-dependencies: - dependency-name: source-map-js dependency-version: 1.2.2 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: vite dependency-version: 8.3.5 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <[email protected]> (cherry picked from commit 0f2fa3e)
Contributor
|
Superseded by #95, which bumps these to newer versions. |
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 2, 2026
# DroidSock v2.2.0 Changelog **Release Date**: November 2026 **Release Type**: Minor **Branch**: `release/2.2.0` --- ## Overview v2.2.0 moves the package to the CLDMV library layout: the entries are `src/index.mjs` and `src/index.cjs`, tsup builds `dist/`, and the published package ships `dist/` and `types/` instead of root `index.mjs` / `index.cjs` files. The ADB API, its options and its behaviour are unchanged. `@cldmv/droidsock/main` still works but is now a deprecated alias of the package root. The runtime Node.js floor is unchanged: `engines.node` stays `>=22.15.0`. Working on the repository now needs Node.js 22.22.0, declared in npm's `devEngines`; see [Requirements](#-requirements). The release also raises `@cldmv/slothlet` to `^3.22.1` and carries the dependency and documentation updates queued since v2.1.0. --- ## ✨ Features ### CLDMV library layout ([#93](#93), closes [#91](#91)) - **Entry files.** The ES module entry is `src/index.mjs` and the CommonJS entry is its sibling `src/index.cjs`. `src/index.mjs` re-exports the factory from `src/droidsock.mjs` directly, as the default export and as `createDroidSock`, `DroidSock`, `ADB` and `AndroidDebugBridge`, all the same function. The package no longer imports itself by name (`@cldmv/droidsock/main`) to get there. `require("@cldmv/droidsock")` still returns the factory with the same named aliases as properties. - **Build.** tsup replaces `build.mjs`. `dist/` mirrors `src/` file by file, because slothlet scans `dist/api/` at runtime, and `dist/index.cjs` is a verbatim copy of `src/index.cjs`. Source maps are built but not published. `prepack` runs the build, so a packed or published tarball always carries a fresh `dist/`. - **Types.** Declarations come from `types/src/`, and `@cldmv/droidsock/main` now has the same types as the root. - `./package.json` is exported. ### `@cldmv/droidsock/main` is a deprecated alias ([#93](#93)) `@cldmv/droidsock/main` used to point straight at `droidsock.mjs`, which only had a default export. It now re-exports the package root, so it has the same default and named exports, and importing it prints a `DeprecationWarning` once per process with code `CLDMV_DROIDSOCK_MAIN` (`console.warn` where there is no `process`). `node --no-deprecation` silences it. The alias is removed in the next major version; import `@cldmv/droidsock` instead. ### `droidsock-dev` export condition on the root ([#93](#93)) The `droidsock-dev` condition, which before only covered `./main`, now sits on `.` too, for `import`, `require` and `types`. In a checkout the package resolves to the built `dist/` by default and to `src/` under `--conditions=droidsock-dev`. The Vitest suite and the examples in the README run with it. Installed copies never see the condition. ## 📦 Requirements ### Runtime floor unchanged, development floor in `devEngines` ([#93](#93), [#100](#100)) - **Runtime:** `engines.node` stays `>=22.15.0`, the floor `@cldmv/slothlet` sets, for `import` and `require()` alike. Every Node.js version in that range has `require(esm)`. On a Node.js without it, the CommonJS entry's error now asks for `>=22.15.0` (v2.1.0's message said `^20.19.0 or >=22.12.0`). - **Development:** working on this repository needs Node.js 22.22.0 or later, because the development toolchain (tsup 9 among others) doesn't run on earlier 22.x releases. That floor is declared in `devEngines.runtime` with `onFail: "error"`, so it doesn't affect anyone installing the package. ## 🐛 Bug Fixes ### Development check removed ([#92](#92)) The root `devcheck.mjs`, which the entry tried to load in a source checkout, is gone. It was never published, so installed copies are unaffected. The `droidsock-dev` condition already chooses `src/` or `dist/` in a checkout. ### `@cldmv/slothlet` `^3.22.1` ([#93](#93)) The entry now imports the factory, and with it `@cldmv/slothlet`, statically. slothlet 3.22.0 has a top-level await in its module graph, which makes `require()` of the package fail with `ERR_REQUIRE_ASYNC_MODULE`; 3.22.1 doesn't. The dependency range moves from `^3.15.0` to `^3.22.1`, and the lockfile from 3.22.0 to 3.22.1. The lockfile stays on 3.22.1 rather than 3.23: with 3.23.0 the device tests hang and `devices.get()` returns a different object after a disconnect ([slothlet#688](CLDMV/slothlet#688)). The `^3.22.1` range still allows 3.23 in a consumer's install. ### The `./main` deprecation warning survives bundling ([#99](#99), fixes [#98](#98)) `package.json` declared `"sideEffects": false`, which lets a bundler drop the top-level code in `main.mjs` that prints the deprecation warning. `sideEffects` now lists `./src/main.mjs` and `./dist/main.mjs`, as uuid and holdmytask do. ## 🔧 CI & tooling - `build:ci` runs `lint`, `format:check`, `types:build` and the tsup `build`; the coverage jobs run it before measuring (`coverage_build_command`), and the bundle-size check measures `dist/` ([#93](#93)). - `test:cjs` builds first and checks `dist/` with `node --test`. New tests cover the `./main` alias and `src/index.cjs` ([#93](#93)). - The CI and publish workflows' `min_node_version` default is 22.22.0 (was 22.15.0 in CI and 22.12.0 in publish), the dev toolchain floor; its description and a comment say it should match `devEngines`, not `engines`. Node.js 22.15 through 22.21 are still supported at runtime but no longer in the test matrix ([#93](#93), [#100](#100)). - The stray root `test.txt` and an empty `screenshot.png` are gone; neither was published ([#93](#93)). ## 📚 Documentation - **NEW:** [docs/changelog/v2/v2.2.0.md](./v2.2.0.md): this changelog. - README: the requirements list the runtime floor (22.15.0) and the development floor (22.22.0) separately ([#100](#100)), and cover the deprecated `./main` alias, a source-layout section with a table of what `@cldmv/droidsock` resolves to with and without `droidsock-dev`, and the examples run with the condition ([#93](#93)). - README, `docs/API.md` and `docs/PROTOCOL.md`: spaces around slashes that separate words in prose ([#76](#76)). - README **✨ What's New** updated for v2.2.0. ## 🔧 Dependencies Runtime: - `@cldmv/slothlet` `^3.15.0` → `^3.22.1`, locked 3.22.0 → 3.22.1 (see Bug Fixes). - `@noble/curves` and `selfsigned` were refreshed but were already on their latest versions (2.4.0 and 5.5.0); nothing changed ([#95](#95)). Dev-only ([#95](#95), which also covers Dependabot [#94](#94) and the redirected PRs [#81](#81), [#83](#83), [#85](#85), [#88](#88) and [#90](#90)): - `tsup` 9.0.0 is new and replaces `build.mjs`; `esbuild` is no longer a direct dev dependency ([#93](#93)). - `@cldmv/configs` 1.2.4 → 1.3.0, `@cldmv/fix-headers` 2.2.0 → 2.2.4, `@cldmv/vitest-runner` 1.5.3 → 1.5.6, `@cldmv/jsonv` 1.1.3 → 1.1.5, `@cldmv/eslint-plugin-jsonv` 1.0.15 → 1.0.17, `@cldmv/prettier-plugin-jsonv` 1.1.3 → 1.1.4. - `eslint` 10.12.0 → 10.14.0, `@eslint/css` 2.0.0 → 2.0.1, `@eslint/json` 2.1.0 → 2.1.1, `globals` 17.13.0 → 17.14.0. - `prettier` 3.9.9 → 3.9.10 ([#78](#78)). - `vitest` and `@vitest/coverage-v8` 5.0.3 → 5.0.5, with `vite` 8.3.2 → 8.3.5; `@types/node` 26.6.4 → 26.6.6. - `typescript` stays on 6.0.3: [#95](#95) moved it to 7, and [#96](#96) pinned it back to `^6.0.3` because TypeScript 7's declaration emit for JavaScript sources isn't complete yet. - New npm overrides for the ESLint chain: `katex` `>=0.19.1 <1.0.0` (0.16.47 → 0.19.1) and `minimatch` `^11.0.3` (10.2.6 → 11.0.3). --- ## Upgrade notes - The runtime Node.js floor is unchanged at 22.15.0. - Replace `@cldmv/droidsock/main` with `@cldmv/droidsock`. It still works in 2.x but prints a `DeprecationWarning` (code `CLDMV_DROIDSOCK_MAIN`) and goes away in the next major version. - The ADB API is unchanged. Two small differences in the entry: importing the package now loads `@cldmv/slothlet` at import time instead of on the first call (the api modules are still composed when the factory runs), and the default export is the factory itself, so its `name` is `createDroidSock` rather than `droidsock`. - Code that reached into the package's file layout (the root `index.mjs` / `index.cjs`, `types/dist/`, `types/index.d.mts`) outside the exports map has to move to the exported paths. <details> <summary>👥 Contributors</summary> - @Shinrai </details> --- <!-- coverage-start -->  | Metric | Coverage | |--------|----------| | Statements | 93.4% | | Branches | 85.8% | | Functions | 94.7% | | Lines | 95.0% | *Avg: **92.2%** · `fb7ad46` · Node lts/** <!-- coverage-end --> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #80. Cherry-picked cleanly onto
hotfixes' own tip instead of merging Dependabot's branch as-is — that branch forks fromnext, and merging it directly would carry forward any ofnext's pooled work that isn't onhotfixesyet. See Auto-redirected PR base: on #80.Bumps the npm_and_yarn group with 2 updates in the / directory: source-map-js and vite.
Updates
source-map-jsfrom 1.2.1 to 1.2.2Release notes
Sourced from source-map-js's releases.
Changelog
Sourced from source-map-js's changelog.
Commits
0a1d3341.2.24c6fa26Update changelogcf76580Fix denial of service from malicious indexed source maps (CVE-2026-93749) (#79)7899a86Fix crash when executing browser with CSP script-src that don't permit unsafe...Updates
vitefrom 8.3.2 to 8.3.5Release notes
Sourced from vite's releases.
... (truncated)
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
981f07frelease: v8.3.5 (#23856)0d86b34fix(resolve): support subpath imports with multiple#(#23631)6a02780perf(ssr): extract inline source maps without a regexp (#23775)8e890e1fix(optimizer): skip patches dir check for yarn.lock fallback (#23725)197daf6fix(bundled-dev): declare utf-8 charset in fallback page (#23846)4d16e7cfix(build): include preload dependencies to chunk import map hashing (#23793)df7b40erefactor(dev): consolidate moduleURL to file path utilities (#23828)a162990refactor(dev): use ModuleURLs throughout HTML transforms (#23815)6116689refactor(dev): separate import resolution from URL conversion (#23791)446954crefactor(dev): share ModuleURL and BrowserURL conversions (#23790)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.