Upgrade to TypeScript ~6.0.3 #19

Merged
amoussa1229 merged 2 commits from feature/typescript-6-upgrade into main 2026-05-06 23:25:15 +00:00
3 changed files with 12 additions and 6 deletions
Showing only changes of commit c4c7d423b9 - Show all commits

15
package-lock.json generated
View file

@ -16,7 +16,7 @@
"@types/node": "^25.6.0",
"aws-cdk": "^2.180.0",
"ts-node": "^10.9.2",
"typescript": "~5.7.2"
"typescript": "~6.0.3"
}
},
"node_modules/@aws-cdk/asset-awscli-v1": {
@ -53,6 +53,7 @@
"semver"
],
"license": "Apache-2.0",
"peer": true,
"dependencies": {
"jsonschema": "~1.4.1",
"semver": "^7.7.4"
@ -155,6 +156,7 @@
"integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"undici-types": "~7.19.0"
}
@ -224,6 +226,7 @@
"mime-types"
cursor[bot] commented 2026-05-06 23:18:44 +00:00 (Migrated from github.com)
Review

Lockfile incorrectly marks direct dependencies as peer-only

Medium Severity

aws-cdk-lib and constructs are direct production dependencies in package.json, but the regenerated package-lock.json incorrectly marks them with "peer": true. This is a known npm bug where packages satisfying both a direct dependency and another package's peer dependency get flagged as peer-only. Running npm ci --omit=peer would skip these production dependencies entirely. Regenerating the lockfile with npm ≥ 11.6.3 (which fixed this bug) would resolve the issue.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c4c7d423b9. Configure here.

### Lockfile incorrectly marks direct dependencies as peer-only **Medium Severity** <!-- DESCRIPTION START --> `aws-cdk-lib` and `constructs` are direct production `dependencies` in `package.json`, but the regenerated `package-lock.json` incorrectly marks them with `"peer": true`. This is a known npm bug where packages satisfying both a direct dependency and another package's peer dependency get flagged as peer-only. Running `npm ci --omit=peer` would skip these production dependencies entirely. Regenerating the lockfile with npm ≥ 11.6.3 (which fixed this bug) would resolve the issue. <!-- DESCRIPTION END --> <!-- BUGBOT_BUG_ID: 4c21bbcd-a516-48e4-8737-cb51387a676c --> <!-- LOCATIONS START package-lock.json#L228-L229 package-lock.json#L588-L590 LOCATIONS END --> <details> <summary>Additional Locations (1)</summary> - [`package-lock.json#L588-L590`](https://github.com/Sea-Haven-Industries/exec-aide/blob/c4c7d423b9805be79b3ee9870511f6792015f050/package-lock.json#L588-L590) </details> <div><a href="https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmNhODM2YWIyLTFmMDAtNDM0My1iMWE3LTA1MjBlZmJkMzg1YiIsImVuY3J5cHRpb25LZXkiOiJ3XzlOLUhxazJZMWMtMzhCQ1V5UHFkV0FrZ1oya0FaMEE4cU05aXJuZHpnIiwiYnJhbmNoIjoiZmVhdHVyZS90eXBlc2NyaXB0LTYtdXBncmFkZSIsInJlcG9Pd25lciI6IlNlYS1IYXZlbi1JbmR1c3RyaWVzIiwicmVwb05hbWUiOiJleGVjLWFpZGUifSwiaWF0IjoxNzc4MTA5NTIzLCJleHAiOjE3ODA3MDE1MjN9.hS5Gyb31DngvbuuOSquoINo4p6Ua4mnVXlvIkhhtvfX1xnvSJPxRK3I9c_N9ikvlmb8hKTVte5NYk96VqiWEldsqzMAkKvfFb4CXjRRsM9AYFaphvSk1zluFmNJn0VSIaS4f3VfdthreVhOmnMxA9gzD3P60HEyIghW3rsbHhtjwMzJ5GMRIPpstxD3EvbPcvP5t3XyIGFtNhNbK1CJWXrBV8Zd3FMtX8kOvZxzwnkiigQUhk_s7tgcaoqpLGTQnEu1DP41COc2Gk0VbhlSA5RFXENDVJ5StZhhfnm9jdu4eRY81xKapys65Edqt8n3oZqN8tUww-VotMawZtaplzw" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-cursor-light.png"><img alt="Fix in Cursor" width="115" height="28" src="https://cursor.com/assets/images/fix-in-cursor-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/agents?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmNhODM2YWIyLTFmMDAtNDM0My1iMWE3LTA1MjBlZmJkMzg1YiIsImVuY3J5cHRpb25LZXkiOiJ3XzlOLUhxazJZMWMtMzhCQ1V5UHFkV0FrZ1oya0FaMEE4cU05aXJuZHpnIiwiYnJhbmNoIjoiZmVhdHVyZS90eXBlc2NyaXB0LTYtdXBncmFkZSIsInJlcG9Pd25lciI6IlNlYS1IYXZlbi1JbmR1c3RyaWVzIiwicmVwb05hbWUiOiJleGVjLWFpZGUiLCJwck51bWJlciI6MTksImNvbW1pdFNoYSI6ImM0YzdkNDIzYjk4MDViZTc5YjNlZTk4NzA1MTFmNjc5MjAxNWYwNTAiLCJwcm92aWRlciI6ImdpdGh1YiJ9LCJpYXQiOjE3NzgxMDk1MjMsImV4cCI6MTc4MDcwMTUyM30.jfimgHW67HFjJZgobm8mdS0FhR8CeToDunek5QODBjfKsGeqfbcMWhSBKFSyGuEXf0SqvkvM52KSiF-B29b5kZQAxIPH4wa_XluZnnW53RJTuApQuMT7Y6pAhPwhc7q3GIEraQqAjZwvBBkSABDfuN_63E_llJZ5GKYxyFuIgwGeU58ibqdaBvvxiJPLv1sW9aN41djNDLhNtgiA1WG0zzeD5yDF_gnPqR1H8NhzUiqXkLcK9um0HaQh5cr2L59haVS2eYgMqkmzYABp62Hi5BA_l3oEL4NhJd9NleUkSrGDketFyh2sFRLxfQ1AG5vmXfvFbkCY_KcqG2Z0lOKNow" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/fix-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/fix-in-web-light.png"><img alt="Fix in Web" width="99" height="28" src="https://cursor.com/assets/images/fix-in-web-dark.png"></picture></a></div> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit c4c7d423b9805be79b3ee9870511f6792015f050. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup>
],
"license": "Apache-2.0",
"peer": true,
"dependencies": {
"@aws-cdk/asset-awscli-v1": "2.2.273",
"@aws-cdk/asset-node-proxy-agent-v6": "^2.1.1",
@ -583,7 +586,8 @@
"version": "10.6.0",
"resolved": "https://registry.npmjs.org/constructs/-/constructs-10.6.0.tgz",
"integrity": "sha512-TxHOnBO5zMo/G76ykzGF/wMpEHu257TbWiIxP9K0Yv/+t70UzgBQiTqjkAsWOPC6jW91DzJI0+ehQV6xDRNBuQ==",
"license": "Apache-2.0"
"license": "Apache-2.0",
"peer": true
},
"node_modules/create-require": {
"version": "1.1.1",
@ -654,11 +658,12 @@
}
},
"node_modules/typescript": {
"version": "5.7.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true,
"license": "Apache-2.0",
"peer": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"

View file

@ -14,7 +14,7 @@
"@types/node": "^25.6.0",
"aws-cdk": "^2.180.0",
"ts-node": "^10.9.2",
"typescript": "~5.7.2"
"typescript": "~6.0.3"
},
"dependencies": {
"@aws-cdk/aws-lambda-python-alpha": "^2.180.0-alpha.0",

View file

@ -2,6 +2,7 @@
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020"],
"types": ["node"],
"module": "commonjs",
"declaration": true,
"strict": true,