chore(deps-dev): bump typescript from 6.0.3 to 7.0.2 #14
No reviewers
Labels
No labels
bug
ci
dependencies
docs
documentation
duplicate
enhancement
good first issue
help wanted
infra
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: adam/seahaven-external-dev-baseline#14
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dependabot/npm_and_yarn/typescript-7.0.2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bumps typescript from 6.0.3 to 7.0.2.
Commits
Maintainer changes
This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.
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)Open SWE Review found 1 potential issue.
Open in Web
@ -21,3 +20,4 @@"typescript": "~7.0.2"},"dependencies": {"aws-cdk-lib": "2.261.0",🟠 TypeScript 7 breaks CDK synth via ts-node
Upgrading
typescriptto7.0.2breaks the CDK app entry point.cdk synth(configured incdk.jsonasnpx ts-node bin/app.ts) crashes with:ts-node@10.9.2callsrequire('typescript').sys, but TypeScript 7.0.2’s CJS entry (lib/version.cjs) only exportsversionandversionMajorMinor; it no longer exposes thesysobject or the full compiler API. I verified this in the sandbox:npm run buildsucceeds, butnpm run synthfails with the above error. Reverting totypescript@6.0.3restores synthesis.To merge this upgrade, either:
ts-node/tsxconfiguration that supports TypeScript 7, orappcommand incdk.jsonwith a runner that pre-compiles withtscbefore invoking the CDK CLI.As it stands, the deploy path is broken.
(Refers to line 20)
Your feedback helps Open SWE learn. React with 👍 or 👎 to tell us if this review comment was useful.
@ -21,3 +20,4 @@"typescript": "~7.0.2"},"dependencies": {"aws-cdk-lib": "2.261.0",Resolved by the latest commit. The author replaced
ts-nodewithtsxinpackage.jsonandcdk.json, socdk synthno longer crashes. I verified locally with the new HEAD (4199ad5):npm run buildandnpm run synthboth succeed, and the CDK template is emitted as expected. Closing this thread.