Skip to content

chore(deps): bump @types/node from 22.15.30 to 26.1.0#2926

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/types/node-26.1.0
Open

chore(deps): bump @types/node from 22.15.30 to 26.1.0#2926
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/types/node-26.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor

Bumps @types/node from 22.15.30 to 26.1.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 1, 2026
@dependabot dependabot Bot requested a review from a team as a code owner July 1, 2026 11:44
@dependabot dependabot Bot added the javascript Pull requests that update Javascript code label Jul 1, 2026
@changeset-bot

changeset-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 65c7b00

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/types/node-26.1.0 branch from cf8c6d5 to f52186c Compare July 2, 2026 10:21
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.30 to 26.1.0.
- [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.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/types/node-26.1.0 branch from f52186c to fe5b63c Compare July 6, 2026 09:49

This comment was marked as resolved.

.findAll()
.filter((construct) => construct instanceof CfnParameter)
.reduce((acc, param) => ({ ...acc, [param.node.id]: param as CfnParameter }), {});
.reduce((acc, param) => ({ ...acc, [param.node.id]: param }), {});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akash1810 upgrading the typescript version has been on our radar for a while (https://app.asana.com/1/1210045093164357/project/1214113788426225/task/1214114210834985) I had a go with an AI agent and it appears the code change we need is a nice simplification: we no longer need to cast these types. What do you reckon? Is a green CI build here sufficient to know it's good? Can this cause problems to clients or anything like that?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh perfect! Removing this cast is preferable; the function's return type should be enough as should the instanceof in the previous filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants