Bump npm-dependencies group with TypeScript 6.0.3, @types/node 24.x, and security fixes - #1033
Merged
Conversation
Bumps the npm-dependencies group with 10 updates in the /sources directory: | Package | From | To | | --- | --- | --- | | [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache) | `6.0.1` | `6.2.0` | | [semver](https://github.com/npm/node-semver) | `7.8.3` | `7.8.5` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.9.2` | `26.1.1` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.61.0` | `8.65.0` | | [esbuild](https://github.com/evanw/esbuild) | `0.28.0` | `0.28.1` | | [eslint](https://github.com/eslint/eslint) | `10.4.1` | `10.7.0` | | [globals](https://github.com/sindresorhus/globals) | `17.6.0` | `17.7.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.4` | `3.9.6` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.4.11` | `29.4.12` | | [typescript](https://github.com/microsoft/TypeScript) | `5.9.3` | `7.0.2` | Updates `@actions/cache` from 6.0.1 to 6.2.0 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache) Updates `semver` from 7.8.3 to 7.8.5 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.8.3...v7.8.5) Updates `@types/node` from 25.9.2 to 26.1.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.61.0 to 8.65.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.65.0/packages/eslint-plugin) Updates `esbuild` from 0.28.0 to 0.28.1 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](evanw/esbuild@v0.28.0...v0.28.1) Updates `eslint` from 10.4.1 to 10.7.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.4.1...v10.7.0) Updates `globals` from 17.6.0 to 17.7.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v17.6.0...v17.7.0) Updates `prettier` from 3.8.4 to 3.9.6 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.4...3.9.6) Updates `ts-jest` from 29.4.11 to 29.4.12 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.4.11...v29.4.12) Updates `typescript` from 5.9.3 to 7.0.2 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](https://github.com/microsoft/TypeScript/commits) --- updated-dependencies: - dependency-name: "@actions/cache" dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: semver dependency-version: 7.8.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: "@types/node" dependency-version: 26.1.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.65.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: esbuild dependency-version: 0.28.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: eslint dependency-version: 10.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: globals dependency-version: 17.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: prettier dependency-version: 3.9.6 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-dependencies - dependency-name: ts-jest dependency-version: 29.4.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-dependencies - dependency-name: typescript dependency-version: 7.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
Dependabot proposed TypeScript 7.0.2 and @types/node 26.1.1 in the npm-dependencies group bump. Pin to TypeScript 6.0.3 and the latest 24.x @types/node instead, matching the Node 24 runtime targeted by the actions. Also apply the reformatting required by the prettier 3.9.6 bump. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Refreshes transitive resolutions in package-lock.json to clear 4 high and 1 low severity advisory. All fixes are semver-compatible within the existing dependency ranges, so no package.json change is required. Production (bundled into dist): - undici 6.24.1 -> 6.28.0 (@actions/github, @actions/http-client) - undici 7.24.5 -> 7.29.0 (cheerio) - brace-expansion 5.0.6 -> 5.0.9 (@actions/glob) - brace-expansion 2.0.3 -> 2.1.4 (@actions/artifact) Dev only: - shell-quote 1.8.4 -> 1.10.0 (npm-run-all) - js-yaml 3.14.2 -> 3.15.1 (ts-jest) - @babel/core 7.28.0 -> 7.29.x (ts-jest) These were outstanding because the lockfile pins transitive resolutions and dependabot is configured to bump direct deps only. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
nock 15.0.0 was published by mistake. The package is deprecated on the registry with: v15.0.0 was released accidentally and is unstable. Please use v14.x until v15 is officially ready. nock's 'latest' dist-tag still points at 14.0.17 for this reason, and 15.x remains a beta line (beta = 15.0.0-beta.14). Move to 14.0.17. Also pulls @mswjs/interceptors 0.39.8 -> 0.41.9 and adds propagate 2.0.1 as nock 14 transitives. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The file pinned Node v16, contradicting every other Node declaration in the repo: package.json engines (>=24.0.0), the esbuild node24 target, and .tool-versions (nodejs 24.3.0). Nothing reads it. No workflow uses node-version-file, and there are no other references to .nvmrc in the repository. It has been stale since 5e52225 ("Combine all sources into a sub-directory"). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Three workflows pinned node-version: 20 in their setup-node steps, but sources/package.json declares engines >=24.0.0 and esbuild targets node24, so npm clean-install was emitting EBADENGINE warnings for the root package on those runners. Aligns them with .github/actions/build-dist/action.yml, which already used Node 24, and with .tool-versions (nodejs 24.3.0) used locally. Notably ci-update-dist.yml built dist/ on Node 20 in its inline steps while build-dist/action.yml built it on Node 24, so the committed distribution could be produced under either version. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
bigdaz
enabled auto-merge (squash)
August 2, 2026 02:21
bigdaz
disabled auto-merge
August 2, 2026 02:27
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 #1023.
1. Adjust dependabot's TypeScript choices
Dependabot's group bump included two changes that we don't want to take as-is:
5.9.3→7.0.2. Pinned to 6.0.3 instead.25.9.2→26.1.1. Downgraded to the latest 24.x (24.13.3), matching the Node 24 runtime the actions target.All other updates from #1023 are kept unchanged (
@actions/cache6.2.0,semver7.8.5,@typescript-eslint/eslint-plugin8.65.0,esbuild0.28.1,eslint10.7.0,globals17.7.0,prettier3.9.6,ts-jest29.4.12), and the branch is rebased onto currentmain.The prettier 3.9.6 bump reformats two union types in
sources/src/cache-service.ts; that reformatting is included sonpm run checkpasses.2. Clear 5 open security advisories
npm auditreported 4 high and 1 low severity advisory. All are fixable with semver-compatible transitive updates —npm audit fixclears them without--force, andpackage.jsonis untouched.Production (bundled into
dist/, so they ship in the actions):undici@actions/github,@actions/http-clientundicicheeriobrace-expansion@actions/glob→minimatchbrace-expansion@actions/artifact→archiverDev only:
shell-quote1.8.4 → 1.10.0 (npm-run-all),js-yaml3.14.2 → 3.15.1 (ts-jest),@babel/core7.28.0 → 7.29.x (ts-jest, low severity).These were outstanding because the lockfile pins transitive resolutions while
.github/dependabot.ymlonly bumps direct dependencies. Becauseundiciandbrace-expansionare production dependencies, the bundleddist/output will change when the update-dist bot runs.3. Downgrade nock to 14.0.17
nock 15.0.0 was published by mistake. The registry marks it deprecated:
nock's
latestdist-tag still points at 14.0.17 for exactly this reason, and 15.x remains a beta line (beta=15.0.0-beta.14). Dependabot picked up 15.0.0 in an earlier group bump simply because it is the highest published version. This moves us to 14.0.17, pulling@mswjs/interceptors0.39.8 → 0.41.9 and addingpropagate2.0.1.Dependabot will likely re-propose nock 15.0.0 on its next weekly run, since no ignore rule was added.
4. Delete unused
sources/.nvmrcThe file pinned Node
v16, contradictingpackage.jsonengines (>=24.0.0), the esbuildnode24target, and.tool-versions(nodejs 24.3.0). Nothing reads it — no workflow usesnode-version-fileand there are no other references in the repo. Stale since 5e52225.5. Run CI workflows on Node 24
ci-check-and-unit-test.yml,ci-update-dist.yml, andupdate-checksums-file.ymlpinnednode-version: 20, sonpm clean-installwas emittingEBADENGINEwarnings for the root package against its ownengines: >=24.0.0. All three now use Node 24, matching.github/actions/build-dist/action.yml.Worth noting:
ci-update-dist.ymlbuiltdist/on Node 20 in its inline steps whilebuild-dist/action.ymlbuilt it on Node 24, so the committed distribution could previously be produced under either version.Verification
./build— cleannpm run check(prettier + eslint) — cleannpm test— 373 tests, 15 suites, all passingnpm audit— found 0 vulnerabilities (was 4 high, 1 low)npx tsc --noEmit— one pre-existing error in@octokit/request-errortypes (Cannot find name 'ErrorOptions'), identical onmainwith TypeScript 5.9.3, so not a regression.tscis not part of the build or CI.A clean regeneration of
package-lock.jsonfrompackage.jsonwas also evaluated. It likewise yields 0 vulnerabilities and 373 passing tests, but churns 80 transitive packages including the@azure/core-*/@azure/storage-blobstack used by@actions/cache. Since it offers no security benefit over the current lockfile, it was not adopted.Known-failing checks (pre-existing on
main)The three
smoke-tests / restore-gradle-home / … (windows-latest)jobs fail withBuild was not cached: unexpected execution of test task. The identical three jobs fail onmainin run 30723964208, on the very commit this branch is based on, so they are not caused by these changes.Not included
npm outdatedalso showseslint10.7.0 → 10.8.0 andglobals17.7.0 → 17.8.0. Both are dev-only and dependabot's weekly npm group run will propose them.🤖 Generated with Claude Code