Skip to content

Commit 32a513d

Browse files
committed
chore!: minimum TS version v5
BREAKING CHANGE: drop TS v4 support
1 parent aa9c594 commit 32a513d

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

@commitlint/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@commitlint/utils": "^17.8.1",
4242
"@types/lodash.isfunction": "^3.0.8",
4343
"@types/lodash.merge": "^4.6.8",
44-
"@types/node": "^14.0.0",
44+
"@types/node": "^20.5.1",
4545
"@types/yargs": "^17.0.29",
4646
"fs-extra": "^11.0.0",
4747
"lodash.merge": "^4.6.2"

@commitlint/load/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@commitlint/execute-rule": "^17.8.1",
4949
"@commitlint/resolve-extends": "^17.8.1",
5050
"@commitlint/types": "^17.8.1",
51-
"@types/node": "20.5.1",
51+
"@types/node": "^20.5.1",
5252
"chalk": "^4.1.0",
5353
"cosmiconfig": "^8.0.0",
5454
"cosmiconfig-typescript-loader": "^4.0.0",
@@ -57,7 +57,7 @@
5757
"lodash.uniq": "^4.5.0",
5858
"resolve-from": "^5.0.0",
5959
"ts-node": "^10.8.1",
60-
"typescript": "^4.6.4 || ^5.2.2"
60+
"typescript": "^5.2.2"
6161
},
6262
"gitHead": "70f7f4688b51774e7ac5e40e896cdaa3f132b2bc"
6363
}

yarn.lock

+12-10
Original file line numberDiff line numberDiff line change
@@ -2051,15 +2051,12 @@
20512051
resolved "https://registry.npmjs.org/@types/node/-/node-20.8.2.tgz#d76fb80d87d0d8abfe334fc6d292e83e5524efc4"
20522052
integrity sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==
20532053

2054-
2055-
version "20.5.1"
2056-
resolved "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30"
2057-
integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg==
2058-
2059-
"@types/node@^14.0.0":
2060-
version "14.18.63"
2061-
resolved "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b"
2062-
integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==
2054+
"@types/node@^20.5.1":
2055+
version "20.8.7"
2056+
resolved "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz#ad23827850843de973096edfc5abc9e922492a25"
2057+
integrity sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==
2058+
dependencies:
2059+
undici-types "~5.25.1"
20632060

20642061
"@types/normalize-package-data@^2.4.0", "@types/normalize-package-data@^2.4.1":
20652062
version "2.4.2"
@@ -8581,7 +8578,7 @@ typedarray@^0.0.6:
85818578
resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78"
85828579
integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==
85838580

8584-
"typescript@^4.6.4 || ^5.2.2", typescript@^5.2.2:
8581+
typescript@^5.2.2:
85858582
version "5.2.2"
85868583
resolved "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
85878584
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
@@ -8601,6 +8598,11 @@ unbox-primitive@^1.0.2:
86018598
has-symbols "^1.0.3"
86028599
which-boxed-primitive "^1.0.2"
86038600

8601+
undici-types@~5.25.1:
8602+
version "5.25.3"
8603+
resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz#e044115914c85f0bcbb229f346ab739f064998c3"
8604+
integrity sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==
8605+
86048606
unique-filename@^2.0.0:
86058607
version "2.0.1"
86068608
resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2"

0 commit comments

Comments
 (0)