Skip to content

Commit b8d77e2

Browse files
build(deps-dev): bump typescript from 5.9.3 to 6.0.3 (#1093)
* build(deps-dev): bump typescript from 5.9.3 to 6.0.3 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.3. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: restore lib and types defaults for TypeScript 6.0 TypeScript 6.0 narrowed the default `lib` and stopped auto-including `@types/*` packages globally, breaking the build (flatMap and mocha/node globals). Pin them explicitly in tsconfig. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Thomas Poignant <thomas.poignant@gmail.com> Co-authored-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1 parent 56c35ed commit b8d77e2

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

package-lock.json

Lines changed: 7 additions & 7 deletions
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
@@ -38,7 +38,7 @@
3838
"mocha": "^11.7.5",
3939
"nyc": "18.0.0",
4040
"ts-node": "10.9.2",
41-
"typescript": "5.9.3"
41+
"typescript": "6.0.3"
4242
},
4343
"dependencies": {
4444
"@types/node": "^26.0.0",

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"sourceMap": true,
99
"strict": true,
1010
"target": "es2017",
11+
"lib": ["es2019"],
12+
"types": ["mocha", "node"],
1113
"incremental": true,
1214
"allowJs": false
1315
},

0 commit comments

Comments
 (0)