Repository navigation
chore: bump the development-tooling group across 1 directory with 5 updates - #70
dependabot[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
I reviewed this PR and didn't find any bugs. It includes a major vitest bump (4.1.11 to 5.0.1), so someone should still confirm that CI passes and decide whether to accept the upgrade.
What was reviewed:
- package.json and package-lock.json match: all five pins resolve to the new versions, typescript stays at 7.0.2, and the overrides block is unchanged.
- vitest.config.ts and vitest.mcp.config.ts only use
defineConfigwithinclude,excludeandtestTimeout, so the config is unlikely to break. CI runs on Node 24, which vitest 5 supports. - vitest 5 needs Node
^22.12.0 || ^24.0.0 || >=26.0.0, but package.json still declares>=22. Local runs on Node 22.0 to 22.11, 23 or 25 would fall outside what vitest supports.
Extended reasoning...
The PR only changes devDependencies in package.json and package-lock.json (@ types/node, prettier, tsx, vite, vitest) and touches no security-sensitive code. Lockfile entries point to registry.npmjs.org with integrity hashes. The vitest major bump moves several transitive packages to new majors (magic-string 0.30 to 1.4, tinybench 2 to 6) and drops the separate @ vitest/* 4.x packages. A major change to the test runner is better confirmed by CI and a human than approved automatically.
d9da30a to
eb04dd1
Compare
There was a problem hiding this comment.
I reviewed this PR and didn't find any bugs in the diff. It includes a major Vitest bump (4 to 5), and the existing overrides now pin versions below the new transitive ranges, so a human should check both before merging.
What was reviewed:
- Overrides vs. new ranges in package-lock.json:
magic-string1.4.1 (pulled in by vitest 5 and @ vitest/mocker 5) asks for@ jridgewell/sourcemap-codec ^1.6.0, but the override forces 1.5.5.vite8.3.0 asks forpostcss ^8.5.28, but the override forces 8.5.25. npm will install the pinned versions anyway, so it's worth deciding whether those pins are still wanted or should move up. - Vitest 5 compatibility:
vitest.config.tsonly setstest.exclude, and the tests only importdescribe/it/test/expect/afterEach. CI'snpm teston Node 24 will run this suite. - Engines: vitest 5 requires Node
^22.12.0 || ^24.0.0 || >=26.0.0, which is narrower than this package's>=22.
Extended reasoning...
This Dependabot PR only touches dev tooling in package.json and package-lock.json: @ types/node, prettier, tsx, vite, and a major vitest 4.1.12 to 5.0.1 bump. No runtime or security-sensitive code changes. I deferred because the major vitest bump pulls in magic-string 1.x and vite 8.3.0. Their declared ranges for sourcemap-codec and postcss now sit above the versions the root overrides block forces. Recent commits pinned vite and vitest for security advisories, so a maintainer should decide whether the overrides still make sense.
eb04dd1 to
3eb5d28
Compare
3eb5d28 to
4e070a8
Compare
| "vite": "8.3.1", | ||
| "vitest": "5.0.2" |
There was a problem hiding this comment.
🔴 Test runs may break, because the existing override now pins a dependency below what the new vitest's magic-string requires. vitest 5.0.2 pulls in magic-string 1.4.2, which declares @ jridgewell/sourcemap-codec ^1.6.0. The unchanged override at package.json:31 still forces 1.5.5, and the lockfile resolves 1.5.5 (package-lock.json:474-475). Fix: make every overridden version satisfy what its dependents now declare. Either raise the @ jridgewell/sourcemap-codec override to a 1.6.x release, or document why 1.5.5 must stay and confirm magic-string 1.x runs on it. The postcss 8.5.25 pin is also below vite 8.3.1's ^8.5.28, but base vite already wanted ^8.5.26.
Why this was flagged
On the base branch, magic-string 0.30.21 declared @ jridgewell/sourcemap-codec ^1.5.5, so the 1.5.5 override was inside its range. After this bump, package-lock.json shows magic-string 1.4.2 declaring ^1.6.0 (diff of node_modules/magic-string). The override at package.json:31 still forces 1.5.5 (package-lock.json:475), and npm installs it without complaint because overrides skip range checks. vitest 5.0.2 and @ vitest/mocker 5.0.2 both depend on magic-string ^1.2.3, and the repo's test and test:mcp scripts run vitest run. If magic-string 1.x uses any sourcemap-codec export or behaviour added in 1.6.0, encoding sourcemaps during vitest transforms or mocking fails at runtime. That would break npm test in CI (validate.yml, Node 24), where base does not break. I could not check magic-string 1.4.2's imports from this checkout. No comment or doc in the repo says why the override pins this exact version.
Verification: The overrides block at package.json:30-33 still contains "@ jridgewell/sourcemap-codec": "1.5.5", installed at package-lock.json:474-475. node_modules/magic-string moves to "version": "1.4.2", which declares "^1.6.0". On the base branch the pinned 1.5.5 was inside magic-string's range. npm overrides skip the range check, so installs succeed without a warning.
4e070a8 to
22955d1
Compare
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- Unresolved: 1 blocking on lines changed since (possibly already fixed).
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
22955d1 to
e2020a3
Compare
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- Unresolved: 1 blocking on lines changed since (possibly already fixed).
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
e2020a3 to
e4daf31
Compare
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- Unresolved: 1 blocking on lines changed since (possibly already fixed).
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
e4daf31 to
745fd19
Compare
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- Unresolved: 1 blocking on lines changed since (possibly already fixed).
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
…pdates Bumps the development-tooling group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.4.0` | `26.6.6` | | [prettier](https://github.com/prettier/prettier) | `3.9.6` | `3.9.10` | | [tsx](https://github.com/privatenumber/tsx) | `4.23.13` | `4.23.15` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.2.4` | `8.3.5` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `4.1.12` | `5.1.0` | Updates `@types/node` from 26.4.0 to 26.6.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `prettier` from 3.9.6 to 3.9.10 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.9.6...3.9.10) Updates `tsx` from 4.23.13 to 4.23.15 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](privatenumber/tsx@v4.23.13...v4.23.15) Updates `vite` from 8.2.4 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) Updates `vitest` from 4.1.12 to 5.1.0 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.6.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-tooling - dependency-name: prettier dependency-version: 3.9.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-tooling - dependency-name: tsx dependency-version: 4.23.15 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-tooling - dependency-name: vite dependency-version: 8.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-tooling - dependency-name: vitest dependency-version: 5.0.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-tooling ... Signed-off-by: dependabot[bot] <support@github.com>
745fd19 to
a264266
Compare
There was a problem hiding this comment.
Code review found no new issues
No new issues were found in this update; 1 finding from earlier reviews is still open above.
Still open from earlier reviews (1):
- Unresolved: 1 blocking on lines changed since (possibly already fixed).
If you have decided not to act on one of these findings, resolve its thread (a reply alone leaves it open) and the next review stops counting it. To review this commit again now, use Re-run on its "Claude Code Review" check.
Bumps the development-tooling group with 5 updates in the / directory:
26.4.026.6.63.9.63.9.104.23.134.23.158.2.48.3.54.1.125.1.0Updates
@types/nodefrom 26.4.0 to 26.6.6Commits
Updates
prettierfrom 3.9.6 to 3.9.10Release notes
Sourced from prettier's releases.
Changelog
Sourced from prettier's changelog.
... (truncated)
Commits
1172b82Release 3.9.10d014227Updatemicromark-extension-gfm-tableto fix the table parse issue on perfor...953b908Bump Prettier dependency to 3.9.9ad8a6bfClean changelog_unreleasedcdd17f2Release 3.9.9dc7b896DisablesingleDollarTextMathinmdast-util-math(#20140)f9be58fGit blame ignore 3.9.888470cbBump Prettier dependency to 3.9.89559cabClean changelog_unreleased4fc8ee8Update dependents countUpdates
tsxfrom 4.23.13 to 4.23.15Release notes
Sourced from tsx's releases.
Commits
ca66105test: fix drive-less file URLs in ESM resolver fixtures2da3407fix: expose require.cache and require.extensions to tsImport CommonJS modules38e1588fix: exclude bare builtins from namespace inheritance562c434fix: make namespaced register() overloads portable for declaration emitedfb1f0build: upgrade pkgroll and externalize CJS loader reference70e7828test: upgrade tinyspy for disposable API9ed2022ci: avoid duplicate release notifications872e77frefactor: use disposables for cleanup6e5236bfix: restore the CJS bridge namespace for Node 24 require(esm) under tsImport...Updates
vitefrom 8.2.4 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)Updates
vitestfrom 4.1.12 to 5.1.0Release notes
Sourced from vitest's releases.
... (truncated)
Commits
7a38449chore: release v5.1.0 (#11838)a5ec316fix(vm): keep assignable accessor globals writable in node environment (#11834)e46c6c1refactor: share trace types and utils (#11825)9e23ce5refactor(snapshot): unify review update withSnapshotStateupdate (#11790)a0e33ccchore: eliminate lint error (#11822)fd145d8feat(experimental): add message option to vi.waitFor and vi.waitUntil (#11754)4e98551feat(experimental): add trace timeline for node (#11753)bf96dadfix: preserve rootDir in project paths (#11816)54e5b8afeat: interactively review failed snapshots (#11325)4277075fix(expect): keep soft .resolves/.rejects error location (#11792)