Skip to content

Commit 11b588b

Browse files
authored
feat: upgrade to node 22 and yarn 1.22.22 (#10)
1 parent 22f14ef commit 11b588b

File tree

7 files changed

+57
-37
lines changed

7 files changed

+57
-37
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ module.exports = {
8989
],
9090
'jsdoc/require-param-type': 0,
9191
'jsdoc/require-returns-type': 0,
92+
'jsdoc/tag-lines': 0,
9293
'jsdoc/valid-types': 1,
9394
'no-underscore-dangle': 0,
9495
'no-shadow': 0,

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
token: ${{ secrets.CI_TOKEN }}
1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 16
21+
node-version: 22
2222
- run: yarn install
2323
- run: yarn build
2424
- run: npx semantic-release

.github/workflows/pull-request-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
- uses: actions/checkout@v3
88
- uses: actions/setup-node@v3
99
with:
10-
node-version: '16'
10+
node-version: 22
1111
- run: yarn install
1212
- run: yarn test:lint
1313
- run: yarn test:coverage

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
registry = https://registry.npmjs.org
2-
1+
engine-strict = true
2+
registry = https://registry.npmjs.org

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
"keywords": [],
4343
"author": "",
4444
"license": "MIT",
45+
"engines": {
46+
"node": ">=22.0.0",
47+
"npm": "please-use-yarn",
48+
"yarn": ">=1.22.0"
49+
},
4550
"lint-staged": {
4651
"*.ts": [
4752
"prettier --write",
@@ -66,7 +71,7 @@
6671
"eslint-config-prettier": "^8.3.0",
6772
"eslint-plugin-import": "^2.25.4",
6873
"eslint-plugin-jest": "^25.3.4",
69-
"eslint-plugin-jsdoc": "^37.6.1",
74+
"eslint-plugin-jsdoc": "^43.0.0",
7075
"eslint-plugin-prettier": "^4.0.0",
7176
"husky": "^7.0.4",
7277
"jest": "^27.4.7",
@@ -85,5 +90,6 @@
8590
},
8691
"dependencies": {
8792
"bowser": "^2.11.0"
88-
}
93+
},
94+
"packageManager": "yarn@1.22.22"
8995
}

yarn.lock

Lines changed: 43 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -712,14 +712,14 @@
712712
dependencies:
713713
"@jridgewell/trace-mapping" "0.3.9"
714714

715-
"@es-joy/jsdoccomment@~0.20.1":
716-
version "0.20.1"
717-
resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.20.1.tgz#fe89f435f045ae5aaf89c7a4df3616c03e9d106e"
718-
integrity sha512-oeJK41dcdqkvdZy/HctKklJNkt/jh+av3PZARrZEl+fs/8HaHeeYoAvEwOV0u5I6bArTF17JEsTZMY359e/nfQ==
715+
"@es-joy/jsdoccomment@~0.38.0":
716+
version "0.38.0"
717+
resolved "https://registry.yarnpkg.com/@es-joy/jsdoccomment/-/jsdoccomment-0.38.0.tgz#2e74f8d824b4a4ec831eaabd4c3548fb11eae5cd"
718+
integrity sha512-TFac4Bnv0ZYNkEeDnOWHQhaS1elWlvOCQxH06iHeu5iffs+hCaLVIZJwF+FqksQi68R4i66Pu+4DfFGvble+Uw==
719719
dependencies:
720-
comment-parser "1.3.0"
721-
esquery "^1.4.0"
722-
jsdoc-type-pratt-parser "~2.2.3"
720+
comment-parser "1.3.1"
721+
esquery "^1.5.0"
722+
jsdoc-type-pratt-parser "~4.0.0"
723723

724724
"@eslint-community/eslint-utils@^4.2.0":
725725
version "4.4.0"
@@ -1917,6 +1917,11 @@ archy@~1.0.0:
19171917
resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40"
19181918
integrity sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==
19191919

1920+
are-docs-informative@^0.0.2:
1921+
version "0.0.2"
1922+
resolved "https://registry.yarnpkg.com/are-docs-informative/-/are-docs-informative-0.0.2.tgz#387f0e93f5d45280373d387a59d34c96db321963"
1923+
integrity sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==
1924+
19201925
are-we-there-yet@^3.0.0:
19211926
version "3.0.1"
19221927
resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd"
@@ -2468,10 +2473,10 @@ comment-json@^4.2.2:
24682473
has-own-prop "^2.0.0"
24692474
repeat-string "^1.6.1"
24702475

2471-
comment-parser@1.3.0:
2472-
version "1.3.0"
2473-
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.3.0.tgz#68beb7dbe0849295309b376406730cd16c719c44"
2474-
integrity sha512-hRpmWIKgzd81vn0ydoWoyPoALEOnF4wt8yKD35Ib1D6XC2siLiYaiqfGkYrunuKdsXGwpBpHU3+9r+RVw2NZfA==
2476+
comment-parser@1.3.1:
2477+
version "1.3.1"
2478+
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.3.1.tgz#3d7ea3adaf9345594aedee6563f422348f165c1b"
2479+
integrity sha512-B52sN2VNghyq5ofvUsqZjmk6YkihBX5vMSChmSK9v4ShjKf3Vk5Xcmgpw4o+iIgtrnM/u5FiMpz9VKb8lpBveA==
24752480

24762481
common-ancestor-path@^1.0.1:
24772482
version "1.0.1"
@@ -3143,18 +3148,18 @@ eslint-plugin-jest@^25.3.4:
31433148
dependencies:
31443149
"@typescript-eslint/experimental-utils" "^5.0.0"
31453150

3146-
eslint-plugin-jsdoc@^37.6.1:
3147-
version "37.9.7"
3148-
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-37.9.7.tgz#ef46141aa2e5fcbb89adfa658eef8126435e9eac"
3149-
integrity sha512-8alON8yYcStY94o0HycU2zkLKQdcS+qhhOUNQpfONHHwvI99afbmfpYuPqf6PbLz5pLZldG3Te5I0RbAiTN42g==
3151+
eslint-plugin-jsdoc@^43.0.0:
3152+
version "43.2.0"
3153+
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-43.2.0.tgz#9d0df2329100a6956635f26211d0723c3ff91f15"
3154+
integrity sha512-Hst7XUfqh28UmPD52oTXmjaRN3d0KrmOZdgtp4h9/VHUJD3Evoo82ZGXi1TtRDWgWhvqDIRI63O49H0eH7NrZQ==
31503155
dependencies:
3151-
"@es-joy/jsdoccomment" "~0.20.1"
3152-
comment-parser "1.3.0"
3153-
debug "^4.3.3"
3156+
"@es-joy/jsdoccomment" "~0.38.0"
3157+
are-docs-informative "^0.0.2"
3158+
comment-parser "1.3.1"
3159+
debug "^4.3.4"
31543160
escape-string-regexp "^4.0.0"
3155-
esquery "^1.4.0"
3156-
regextras "^0.8.0"
3157-
semver "^7.3.5"
3161+
esquery "^1.5.0"
3162+
semver "^7.5.0"
31583163
spdx-expression-parse "^3.0.1"
31593164

31603165
eslint-plugin-prettier@^4.0.0:
@@ -3245,13 +3250,20 @@ esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0:
32453250
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
32463251
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
32473252

3248-
esquery@^1.4.0, esquery@^1.4.2:
3253+
esquery@^1.4.2:
32493254
version "1.5.0"
32503255
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b"
32513256
integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==
32523257
dependencies:
32533258
estraverse "^5.1.0"
32543259

3260+
esquery@^1.5.0:
3261+
version "1.6.0"
3262+
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.6.0.tgz#91419234f804d852a82dceec3e16cdc22cf9dae7"
3263+
integrity sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==
3264+
dependencies:
3265+
estraverse "^5.1.0"
3266+
32553267
esrecurse@^4.3.0:
32563268
version "4.3.0"
32573269
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
@@ -4711,10 +4723,10 @@ js-yaml@^4.1.0:
47114723
dependencies:
47124724
argparse "^2.0.1"
47134725

4714-
jsdoc-type-pratt-parser@~2.2.3:
4715-
version "2.2.5"
4716-
resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-2.2.5.tgz#c9f93afac7ee4b5ed4432fe3f09f7d36b05ed0ff"
4717-
integrity sha512-2a6eRxSxp1BW040hFvaJxhsCMI9lT8QB8t14t+NY5tC5rckIR0U9cr2tjOeaFirmEOy6MHvmJnY7zTBHq431Lw==
4726+
jsdoc-type-pratt-parser@~4.0.0:
4727+
version "4.0.0"
4728+
resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz#136f0571a99c184d84ec84662c45c29ceff71114"
4729+
integrity sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==
47184730

47194731
jsdom@^16.6.0:
47204732
version "16.7.0"
@@ -6341,11 +6353,6 @@ regexp.prototype.flags@^1.4.3:
63416353
define-properties "^1.1.3"
63426354
functions-have-names "^1.2.2"
63436355

6344-
regextras@^0.8.0:
6345-
version "0.8.0"
6346-
resolved "https://registry.yarnpkg.com/regextras/-/regextras-0.8.0.tgz#ec0f99853d4912839321172f608b544814b02217"
6347-
integrity sha512-k519uI04Z3SaY0fLX843MRXnDeG2+vHOFsyhiPZvNLe7r8rD2YNRjq4BQLZZ0oAr2NrtvZlICsXysGNFPGa3CQ==
6348-
63496356
registry-auth-token@^5.0.0:
63506357
version "5.0.2"
63516358
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-5.0.2.tgz#8b026cc507c8552ebbe06724136267e63302f756"
@@ -6589,6 +6596,11 @@ semver@^6.0.0, semver@^6.3.0:
65896596
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
65906597
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
65916598

6599+
semver@^7.5.0:
6600+
version "7.7.1"
6601+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f"
6602+
integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==
6603+
65926604
set-blocking@^2.0.0:
65936605
version "2.0.0"
65946606
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"

0 commit comments

Comments
 (0)