Skip to content

build(deps-dev): bump @types/node from 20.19.43 to 26.1.2 in /www - #44

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/www/types/node-26.1.2
Closed

build(deps-dev): bump @types/node from 20.19.43 to 26.1.2 in /www#44
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/www/types/node-26.1.2

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJul 29, 2026

Copy link
Copy Markdown
Contributor

Bumps @types/node from 20.19.43 to 26.1.2.

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.43 to 26.1.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: 26.1.2
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 29, 2026
@z33b0t

Copy link
Copy Markdown
Contributor

Closing in favour of #46, which bumps to 24.13.3 instead.

26.1.2 isn't broken — it type-checks and builds fine, as does 24. The reason to prefer 24: www.yml pins node-version: 24, and typing the build against Node 26 while running Node 24 means a call to a Node 26 API would pass tsc and then fail at build time. Matching types to runtime avoids that.

The substance — getting off @types/node@20, unsupported since April 2026 — is the same either way.

@z33b0t if you'd rather track latest, the coherent form is bumping node-version and @types/node together; say so and I'll redo #46 that way.

@z33b0tz33b0t closed this Jul 29, 2026
@dependabot@github

dependabotBot commented on behalf of githubJul 29, 2026

Copy link
Copy Markdown
ContributorAuthor

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabotBot deleted the dependabot/npm_and_yarn/www/types/node-26.1.2 branch July 29, 2026 11:44
z33b0t added a commit that referenced this pull request Jul 29, 2026
Dependabot proposed 26.1.2 (#44). It type-checks and builds, but it types the
build against a Node newer than the one we actually run: www.yml pins
`node-version: 24`. Types ahead of the runtime is the wrong direction of skew —
it lets a call to a Node 26 API pass tsc and then fail in CI, which is the one
failure mode this package exists to prevent.
24.13.3 matches the runtime. The 20 -> 24 move is still the substance of the
bump; 20 has been out of support since April 2026.
Verified on both: `tsc --noEmit` clean and a full `opennextjs-cloudflare build`
succeeds under 24 and under 26 — the choice is about which runtime we want the
type-checker to model, not about anything being broken.
If you'd rather track latest, the coherent version of that is bumping www.yml's
node-version and @types/node together; happy to do that instead.
Closes#44
Co-authored-by: z33b0t <z33b0t@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@z33b0t