chore: bump @types/node from 22.19.17 to 22.20.2 - #62
Conversation
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.17 to 22.20.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.20.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
|
Claude finished @dependabot[bot]'s task in 1m 9s —— View job Dependency review:
|
| Declaration | Value |
|---|---|
package.json engines.node |
>=22 |
package.json @types/node |
^22.0.0 |
manifest.json:74 compatibility.runtimes.node |
>=22.0.0 |
README.md:18 Requirements |
Node.js ≥ 22 |
ci.yml:20 matrix |
['22', '24'] |
update-catalog.yml:27 |
'22' |
release.yml:26 uses Node 24, which is deliberate per CLAUDE.md (build + publish only). Types still track major 22 as required.
Risk to this codebase
Negligible. The Node-specific API surface in src/ is tiny and long-stable:
process.env—src/config.ts:4,9,14process.exit—src/index.ts:109typeof globalThis.fetch—src/client/kosli-client.ts:23,67,src/tools/execute-action.ts:4,65
The only one worth a second look is globalThis.fetch, whose type comes from the undici-types dependency that @types/node pulls in — minor bumps there have historically reshuffled RequestInit/Response typings. CI is green on both Node 22 and 24 (run), so tsc --strict accepted the new definitions and the injected-fetchFn tests still typecheck. No action needed.
One pre-existing gap, not introduced here
engines.node: ">=22" admits Node 22.0.0, but @types/node@22.20.2 describes APIs added across the whole 22.x line — so tsc would accept something like a Node 22.13-only API without complaint. The CI matrix doesn't catch this either: node-version: '22' resolves to the latest 22.x, not the floor.
That gap widens slightly with every @types/node minor, but it's a property of the ^22.0.0 range rather than anything this PR does, and the current API surface above is nowhere near the edge of it. Worth knowing rather than acting on; if it ever becomes a real concern, pinning the CI matrix low end to an explicit 22.0.0 would exercise the actual floor.
· dependabot/npm_and_yarn/types/node-22.20.2
Bumps @types/node from 22.19.17 to 22.20.2.
Commits
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 this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)