chore(deps-dev): bump typescript from 6.0.3 to 7.0.2 #14

Merged
dependabot[bot] merged 2 commits from dependabot/npm_and_yarn/typescript-7.0.2 into main 2026-07-13 16:40:05 +00:00
dependabot[bot] commented 2026-07-13 04:45:55 +00:00 (Migrated from github.com)

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 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 [typescript](https://github.com/microsoft/TypeScript) from 6.0.3 to 7.0.2. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/microsoft/TypeScript/commits">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~microsoft1es">microsoft1es</a>, a new releaser for typescript since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=6.0.3&new-version=7.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
seahaven-openswe[bot] (Migrated from github.com) reviewed 2026-07-13 04:51:11 +00:00
seahaven-openswe[bot] (Migrated from github.com) left a comment

Open SWE Review found 1 potential issue.

Open in Web

**Open SWE Review** found 1 potential issue. [Open in Web](https://openswe.seahaven.com/agents/reviews/Sea-Haven-Industries/seahaven-external-dev-baseline/14) <!-- open-swe-reviewer pr=14 -->
@ -21,3 +20,4 @@
"typescript": "~7.0.2"
},
"dependencies": {
"aws-cdk-lib": "2.261.0",
seahaven-openswe[bot] (Migrated from github.com) commented 2026-07-13 04:51:11 +00:00

🟠 TypeScript 7 breaks CDK synth via ts-node

Upgrading typescript to 7.0.2 breaks the CDK app entry point. cdk synth (configured in cdk.json as npx ts-node bin/app.ts) crashes with:

TypeError: Cannot read properties of undefined (reading 'fileExists')
    at readConfig (node_modules/ts-node/dist/configuration.js:91:33)

ts-node@10.9.2 calls require('typescript').sys, but TypeScript 7.0.2’s CJS entry (lib/version.cjs) only exports version and versionMajorMinor; it no longer exposes the sys object or the full compiler API. I verified this in the sandbox: npm run build succeeds, but npm run synth fails with the above error. Reverting to typescript@6.0.3 restores synthesis.

To merge this upgrade, either:

  • Update the toolchain to a ts-node / tsx configuration that supports TypeScript 7, or
  • Replace the app command in cdk.json with a runner that pre-compiles with tsc before 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.

<!-- open-swe-review-comment {"id":"f_6cb157148a","file_path":"package.json","start_line":20,"end_line":20,"side":"RIGHT"} --> 🟠 **TypeScript 7 breaks CDK synth via ts-node** Upgrading `typescript` to `7.0.2` breaks the CDK app entry point. `cdk synth` (configured in `cdk.json` as `npx ts-node bin/app.ts`) crashes with: ``` TypeError: Cannot read properties of undefined (reading 'fileExists') at readConfig (node_modules/ts-node/dist/configuration.js:91:33) ``` `ts-node@10.9.2` calls `require('typescript').sys`, but TypeScript 7.0.2’s CJS entry (`lib/version.cjs`) only exports `version` and `versionMajorMinor`; it no longer exposes the `sys` object or the full compiler API. I verified this in the sandbox: `npm run build` succeeds, but `npm run synth` fails with the above error. Reverting to `typescript@6.0.3` restores synthesis. To merge this upgrade, either: - Update the toolchain to a `ts-node` / `tsx` configuration that supports TypeScript 7, or - Replace the `app` command in `cdk.json` with a runner that pre-compiles with `tsc` before 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.*
seahaven-openswe[bot] (Migrated from github.com) reviewed 2026-07-13 16:39:39 +00:00
@ -21,3 +20,4 @@
"typescript": "~7.0.2"
},
"dependencies": {
"aws-cdk-lib": "2.261.0",
seahaven-openswe[bot] (Migrated from github.com) commented 2026-07-13 16:39:39 +00:00

Resolved by the latest commit. The author replaced ts-node with tsx in package.json and cdk.json, so cdk synth no longer crashes. I verified locally with the new HEAD (4199ad5): npm run build and npm run synth both succeed, and the CDK template is emitted as expected. Closing this thread.

Resolved by the latest commit. The author replaced `ts-node` with `tsx` in `package.json` and `cdk.json`, so `cdk synth` no longer crashes. I verified locally with the new HEAD (`4199ad5`): `npm run build` and `npm run synth` both succeed, and the CDK template is emitted as expected. Closing this thread.
amoussa1229 (Migrated from github.com) approved these changes 2026-07-13 16:39:58 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.