Repository navigation
chore(deps): update dependency typescript to v7 - #89
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
🔵 Tier A · Mergeable after minor fixes
This PR upgrades the TypeScript development dependency from 5.9.3 to 7.0.2 and refreshes the npm lockfile with TypeScript 7's platform-specific packages. The package manifest and lockfile now use the ^7.0.0 version range.
Note Not approving while a bug finding is open: [minor] TypeScript 7 no longer includes Node ambient types by default Fix with agent prompt### Issue 1
package-lock.json:2691
**[minor] TypeScript 7 no longer includes Node ambient types by default**
TypeScript 6.0 changed the default `compilerOptions.types` to `[]`, inherited by this upgrade; because `tsconfig.json` does not list `node`, `npx tsc --noEmit` now reports `Cannot find name 'process'` at `src/lib/site.ts:5` despite `@types/node` being installed. This diagnostic did not occur with TypeScript 5.9.3; explicitly include Node's types to preserve type-checking.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 2
⏳ Still open from earlier reviews · 1
Reviewed |
| "version": "5.9.3", | ||
| "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", | ||
| "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", | ||
| "version": "7.0.2", |
There was a problem hiding this comment.
[minor] TypeScript 7 no longer includes Node ambient types by default
TypeScript 6.0 changed the default compilerOptions.types to [], inherited by this upgrade; because tsconfig.json does not list node, npx tsc --noEmit now reports Cannot find name 'process' at src/lib/site.ts:5 despite @types/node being installed. This diagnostic did not occur with TypeScript 5.9.3; explicitly include Node's types to preserve type-checking.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package-lock.json
Line: 2691
Comment:
**[minor] TypeScript 7 no longer includes Node ambient types by default**
TypeScript 6.0 changed the default `compilerOptions.types` to `[]`, inherited by this upgrade; because `tsconfig.json` does not list `node`, `npx tsc --noEmit` now reports `Cannot find name 'process'` at `src/lib/site.ts:5` despite `@types/node` being installed. This diagnostic did not occur with TypeScript 5.9.3; explicitly include Node's types to preserve type-checking.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · bug · Reply if this doesn't apply.
7bc6282 to
d2f8981
Compare
This PR contains the following updates:
^5.4.5→^7.0.0Release Notes
microsoft/TypeScript (typescript)
v7.0.2: TypeScript 7.0.2Compare Source
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
This tag was originally released at: https://github.com/microsoft/typescript-go/releases/tag/typescript%2Fv7.0.2
v6.0.3: TypeScript 6.0.3Compare Source
For release notes, check out the release announcement blog post.
Downloads are available on:
v6.0.2: TypeScript 6.0Compare Source
For release notes, check out the release announcement blog post.
Downloads are available on:
Configuration
📅 Schedule: (UTC)
* * * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.