Skip to content

Commit 76aaa07

Browse files
sid88incursoragent
andcommitted
chore(deps): pin typescript to ~4.9 to block transitive major upgrades
semantic-release@25 → cosmiconfig@9 declares typescript: '>=4.9.5', which npm's fresh dependency resolution was picking up as typescript@6.0.3. This caused dependabot PRs to fail CI on prepare-script tsc invocations. Using ~ instead of ^ allows patch updates within 4.9.x while blocking accidental minor/major upgrades through transitive resolution. A future TypeScript 5.x upgrade will be a deliberate, separate PR. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 72364db commit 76aaa07

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"serverless": "^3.25.1",
4242
"ts-jest": "^29.4.11",
4343
"ts-node": "^10.9.1",
44-
"typescript": "^4.9.3"
44+
"typescript": "~4.9.3"
4545
},
4646
"dependencies": {
4747
"@graphql-tools/merge": "^8.3.12",

0 commit comments

Comments
 (0)