Skip to content

Commit fb1d67f

Browse files
committed
feat: Drop Node <18, support v22, pin dev-dependencies
Fixes #87
1 parent 2065e60 commit fb1d67f

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"description": "Fetches the current time from NTP servers and returns offset information",
55
"main": "dist/index.js",
66
"dependencies": {
7-
"ntp-packet-parser": "^0.4.0"
7+
"ntp-packet-parser": "^0.5.0"
88
},
99
"devDependencies": {
10-
"@types/node": "^14 || ^16 || ^18 || ^20",
11-
"prettier": "^3.0.2",
12-
"ts-node": "^10.4.0",
13-
"typescript": "^5.0.2"
10+
"@types/node": "^18 || ^20 || ^22",
11+
"prettier": "3.5.3",
12+
"ts-node": "10.9.2",
13+
"typescript": "5.8.3"
1414
},
1515
"scripts": {
1616
"prepublishOnly": "yarn prettier:lint && yarn build",
@@ -43,6 +43,6 @@
4343
"trailingComma": "es5"
4444
},
4545
"engines": {
46-
"node": "^14 || ^16 || ^18 || ^20"
46+
"node": "^18 || ^20 || ^22"
4747
}
4848
}

yarn.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e"
4848
integrity sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==
4949

50-
"@types/node@^14 || ^16 || ^18 || ^20":
51-
version "20.11.6"
52-
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.6.tgz#6adf4241460e28be53836529c033a41985f85b6e"
53-
integrity sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q==
50+
"@types/node@^18 || ^20 || ^22":
51+
version "22.14.0"
52+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.14.0.tgz#d3bfa3936fef0dbacd79ea3eb17d521c628bb47e"
53+
integrity sha512-Kmpl+z84ILoG+3T/zQFyAJsU6EPTmOCj8/2+83fSN6djd6I4o7uOuGIH6vq3PrjY5BGitSbFuMN18j3iknubbA==
5454
dependencies:
55-
undici-types "~5.26.4"
55+
undici-types "~6.21.0"
5656

5757
acorn-walk@^8.1.1:
5858
version "8.2.0"
@@ -84,17 +84,17 @@ make-error@^1.1.1:
8484
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
8585
integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
8686

87-
ntp-packet-parser@^0.4.0:
88-
version "0.4.1"
89-
resolved "https://registry.yarnpkg.com/ntp-packet-parser/-/ntp-packet-parser-0.4.1.tgz#5fe25943ce771375ca07980b3f895002ac965b7b"
90-
integrity sha512-RT1bKDr0VMg+BmyTo/aKctSHGPyLRa0ITIwMabJiatZQydkcwjYPO13OqUDeyyAWV4khwjxZ4WC1XdaQD7Zpxg==
87+
ntp-packet-parser@^0.5.0:
88+
version "0.5.0"
89+
resolved "https://registry.yarnpkg.com/ntp-packet-parser/-/ntp-packet-parser-0.5.0.tgz#2eb098ec3a3a9f8d5388b066d2fa0d87ddc3a2e1"
90+
integrity sha512-W18iLyaV17jH4inpvSu2gPep2f1Gs3oABra5NXXzG7MXhLcdHqJrJBO23bTMLkRf4HP9SWHL7FEwwtUf6R1q+g==
9191

92-
prettier@^3.0.2:
92+
prettier@3.5.3:
9393
version "3.5.3"
9494
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.3.tgz#4fc2ce0d657e7a02e602549f053b239cb7dfe1b5"
9595
integrity sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==
9696

97-
ts-node@^10.4.0:
97+
ts-node@10.9.2:
9898
version "10.9.2"
9999
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
100100
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
@@ -113,15 +113,15 @@ ts-node@^10.4.0:
113113
v8-compile-cache-lib "^3.0.1"
114114
yn "3.1.1"
115115

116-
typescript@^5.0.2:
116+
typescript@5.8.3:
117117
version "5.8.3"
118118
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e"
119119
integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==
120120

121-
undici-types@~5.26.4:
122-
version "5.26.5"
123-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
124-
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
121+
undici-types@~6.21.0:
122+
version "6.21.0"
123+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
124+
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
125125

126126
v8-compile-cache-lib@^3.0.1:
127127
version "3.0.1"

0 commit comments

Comments
 (0)