Skip to content

Bump npm-dependencies group with TypeScript 6.0.3, @types/node 24.x, and security fixes - #1033

Merged
bigdaz merged 6 commits into
mainfrom
deps/npm-group-update-compat
Aug 2, 2026
Merged

Bump npm-dependencies group with TypeScript 6.0.3, @types/node 24.x, and security fixes#1033
bigdaz merged 6 commits into
mainfrom
deps/npm-group-update-compat

Conversation

@bigdaz

@bigdaz bigdaz commented Aug 2, 2026

Copy link
Copy Markdown
Member

Supersedes #1023.

1. Adjust dependabot's TypeScript choices

Dependabot's group bump included two changes that we don't want to take as-is:

  • typescript: 5.9.37.0.2. Pinned to 6.0.3 instead.
  • @types/node: 25.9.226.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/cache 6.2.0, semver 7.8.5, @typescript-eslint/eslint-plugin 8.65.0, esbuild 0.28.1, eslint 10.7.0, globals 17.7.0, prettier 3.9.6, ts-jest 29.4.12), and the branch is rebased onto current main.

The prettier 3.9.6 bump reformats two union types in sources/src/cache-service.ts; that reformatting is included so npm run check passes.

2. Clear 5 open security advisories

npm audit reported 4 high and 1 low severity advisory. All are fixable with semver-compatible transitive updatesnpm audit fix clears them without --force, and package.json is untouched.

Production (bundled into dist/, so they ship in the actions):

Package Before After Via
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/globminimatch
brace-expansion 2.0.3 2.1.4 @actions/artifactarchiver

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, low severity).

These were outstanding because the lockfile pins transitive resolutions while .github/dependabot.yml only bumps direct dependencies. Because undici and brace-expansion are production dependencies, the bundled dist/ 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:

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 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/interceptors 0.39.8 → 0.41.9 and adding propagate 2.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/.nvmrc

The file pinned Node v16, contradicting 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 in the repo. Stale since 5e52225.

5. Run CI workflows on Node 24

ci-check-and-unit-test.yml, ci-update-dist.yml, and update-checksums-file.yml pinned node-version: 20, so npm clean-install was emitting EBADENGINE warnings for the root package against its own engines: >=24.0.0. All three now use Node 24, matching .github/actions/build-dist/action.yml.

Worth noting: 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 previously be produced under either version.

Verification

  • ./build — clean
  • npm run check (prettier + eslint) — clean
  • npm test — 373 tests, 15 suites, all passing
  • npm auditfound 0 vulnerabilities (was 4 high, 1 low)
  • npx tsc --noEmit — one pre-existing error in @octokit/request-error types (Cannot find name 'ErrorOptions'), identical on main with TypeScript 5.9.3, so not a regression. tsc is not part of the build or CI.

A clean regeneration of package-lock.json from package.json was also evaluated. It likewise yields 0 vulnerabilities and 373 passing tests, but churns 80 transitive packages including the @azure/core-* / @azure/storage-blob stack 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 with Build was not cached: unexpected execution of test task. The identical three jobs fail on main in run 30723964208, on the very commit this branch is based on, so they are not caused by these changes.

Not included

npm outdated also shows eslint 10.7.0 → 10.8.0 and globals 17.7.0 → 17.8.0. Both are dev-only and dependabot's weekly npm group run will propose them.

🤖 Generated with Claude Code

dependabot Bot and others added 6 commits August 1, 2026 19:02
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 bigdaz changed the title Bump npm-dependencies group, with TypeScript 6.0.3 and @types/node 24.x Bump npm-dependencies group with TypeScript 6.0.3, @types/node 24.x, and security fixes Aug 2, 2026
@bigdaz
bigdaz enabled auto-merge (squash) August 2, 2026 02:21
@bigdaz
bigdaz disabled auto-merge August 2, 2026 02:27
@bigdaz
bigdaz merged commit dcbab4e into main Aug 2, 2026
134 of 136 checks passed
@bigdaz
bigdaz deleted the deps/npm-group-update-compat branch August 2, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant