Skip to content

Commit f7e6517

Browse files
committed
prepare v12 - drop nodes
1 parent 86aec6a commit f7e6517

File tree

4 files changed

+86
-48
lines changed

4 files changed

+86
-48
lines changed

.eslintrc.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
configFile: require.resolve('./.babelrc'),
1111
},
1212
},
13-
plugins: ['eslint-plugin', 'filenames', 'import', 'jest', 'node', 'prettier', 'unicorn'],
13+
plugins: ['eslint-plugin', 'filenames', 'import', 'jest', 'n', 'prettier', 'unicorn'],
1414
extends: [
1515
'eslint:recommended',
1616
'plugin:eslint-comments/recommended',
@@ -19,7 +19,7 @@ module.exports = {
1919
'plugin:jest/style',
2020
'plugin:import/errors',
2121
'plugin:import/warnings',
22-
'plugin:node/recommended',
22+
'plugin:n/recommended',
2323
'plugin:unicorn/recommended',
2424
'prettier',
2525
],
@@ -188,10 +188,10 @@ module.exports = {
188188
'no-unused-labels': 'off',
189189
'no-unused-vars': 'off',
190190
'no-useless-constructor': 'off',
191-
'node/no-extraneous-import': 'off',
192-
'node/no-missing-import': 'off',
193-
'node/no-missing-require': 'off',
194-
'node/no-unsupported-features/es-syntax': 'off',
191+
'n/no-extraneous-import': 'off',
192+
'n/no-missing-import': 'off',
193+
'n/no-missing-require': 'off',
194+
'n/no-unsupported-features/es-syntax': 'off',
195195
'prettier/prettier': ['error', { trailingComma: 'none' }],
196196
'unicorn/filename-case': 'off',
197197
},

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ ubuntu, windows ]
20-
node-version: [14.x, 16.x, 18.x]
20+
node-version: [18.x, 20.x, 21.x]
2121

2222
steps:
2323
- uses: actions/checkout@v3

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"eslint-plugin-import": "^2.26.0",
9494
"eslint-plugin-jest": "^27.0.1",
9595
"eslint-plugin-markdown": "^3.0.0",
96-
"eslint-plugin-node": "^11.1.0",
96+
"eslint-plugin-n": "^16.2.0",
9797
"eslint-plugin-prettier": "^4.0.0",
9898
"eslint-plugin-unicorn": "^46.0.1",
9999
"eslint-remote-tester": "^3.0.0",
@@ -113,7 +113,7 @@
113113
"eslint": ">= 7"
114114
},
115115
"engines": {
116-
"node": "14.* || 16.* || >= 18"
116+
"node": "18.* || 20.* || >= 21"
117117
},
118118
"publishConfig": {
119119
"registry": "https://registry.npmjs.org"

yarn.lock

Lines changed: 77 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -499,11 +499,23 @@
499499
dependencies:
500500
eslint-visitor-keys "^3.3.0"
501501

502+
"@eslint-community/eslint-utils@^4.4.0":
503+
version "4.4.0"
504+
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
505+
integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
506+
dependencies:
507+
eslint-visitor-keys "^3.3.0"
508+
502509
"@eslint-community/regexpp@^4.4.0":
503510
version "4.4.0"
504511
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.4.0.tgz#3e61c564fcd6b921cb789838631c5ee44df09403"
505512
integrity sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==
506513

514+
"@eslint-community/regexpp@^4.6.0":
515+
version "4.10.0"
516+
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63"
517+
integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==
518+
507519
"@eslint/eslintrc@^2.1.0":
508520
version "2.1.0"
509521
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.0.tgz#82256f164cc9e0b59669efc19d57f8092706841d"
@@ -1983,7 +1995,7 @@ builtin-modules@^3.3.0:
19831995
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6"
19841996
integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==
19851997

1986-
builtins@^5.0.0:
1998+
builtins@^5.0.0, builtins@^5.0.1:
19871999
version "5.0.1"
19882000
resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9"
19892001
integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==
@@ -2931,13 +2943,13 @@ eslint-module-utils@^2.7.4:
29312943
dependencies:
29322944
debug "^3.2.7"
29332945

2934-
eslint-plugin-es@^3.0.0:
2935-
version "3.0.1"
2936-
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893"
2937-
integrity sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==
2946+
eslint-plugin-es-x@^7.1.0:
2947+
version "7.2.0"
2948+
resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.2.0.tgz#5779d742ad31f8fd780b9481331481e142b72311"
2949+
integrity sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA==
29382950
dependencies:
2939-
eslint-utils "^2.0.0"
2940-
regexpp "^3.0.0"
2951+
"@eslint-community/eslint-utils" "^4.1.2"
2952+
"@eslint-community/regexpp" "^4.6.0"
29412953

29422954
eslint-plugin-eslint-comments@^3.2.0:
29432955
version "3.2.0"
@@ -3000,17 +3012,20 @@ eslint-plugin-markdown@^3.0.0:
30003012
dependencies:
30013013
mdast-util-from-markdown "^0.8.5"
30023014

3003-
eslint-plugin-node@^11.1.0:
3004-
version "11.1.0"
3005-
resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d"
3006-
integrity sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==
3007-
dependencies:
3008-
eslint-plugin-es "^3.0.0"
3009-
eslint-utils "^2.0.0"
3010-
ignore "^5.1.1"
3011-
minimatch "^3.0.4"
3012-
resolve "^1.10.1"
3013-
semver "^6.1.0"
3015+
eslint-plugin-n@^16.2.0:
3016+
version "16.2.0"
3017+
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.2.0.tgz#3f98ca9fadd9f7bdaaf60068533118ecb685bfb5"
3018+
integrity sha512-AQER2jEyQOt1LG6JkGJCCIFotzmlcCZFur2wdKrp1JX2cNotC7Ae0BcD/4lLv3lUAArM9uNS8z/fsvXTd0L71g==
3019+
dependencies:
3020+
"@eslint-community/eslint-utils" "^4.4.0"
3021+
builtins "^5.0.1"
3022+
eslint-plugin-es-x "^7.1.0"
3023+
get-tsconfig "^4.7.0"
3024+
ignore "^5.2.4"
3025+
is-core-module "^2.12.1"
3026+
minimatch "^3.1.2"
3027+
resolve "^1.22.2"
3028+
semver "^7.5.3"
30143029

30153030
eslint-plugin-prettier@^4.0.0:
30163031
version "4.2.1"
@@ -3070,25 +3085,13 @@ eslint-scope@^7.2.0:
30703085
esrecurse "^4.3.0"
30713086
estraverse "^5.2.0"
30723087

3073-
eslint-utils@^2.0.0:
3074-
version "2.1.0"
3075-
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27"
3076-
integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==
3077-
dependencies:
3078-
eslint-visitor-keys "^1.1.0"
3079-
30803088
eslint-utils@^3.0.0:
30813089
version "3.0.0"
30823090
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672"
30833091
integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==
30843092
dependencies:
30853093
eslint-visitor-keys "^2.0.0"
30863094

3087-
eslint-visitor-keys@^1.1.0:
3088-
version "1.3.0"
3089-
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
3090-
integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
3091-
30923095
eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0:
30933096
version "2.1.0"
30943097
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
@@ -3445,6 +3448,11 @@ function-bind@^1.1.1:
34453448
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
34463449
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
34473450

3451+
function-bind@^1.1.2:
3452+
version "1.1.2"
3453+
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c"
3454+
integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
3455+
34483456
function.prototype.name@^1.1.5:
34493457
version "1.1.5"
34503458
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621"
@@ -3502,6 +3510,13 @@ get-symbol-description@^1.0.0:
35023510
call-bind "^1.0.2"
35033511
get-intrinsic "^1.1.1"
35043512

3513+
get-tsconfig@^4.7.0:
3514+
version "4.7.2"
3515+
resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.2.tgz#0dcd6fb330391d46332f4c6c1bf89a6514c2ddce"
3516+
integrity sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==
3517+
dependencies:
3518+
resolve-pkg-maps "^1.0.0"
3519+
35053520
get-uri@^6.0.1:
35063521
version "6.0.1"
35073522
resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-6.0.1.tgz#cff2ba8d456c3513a04b70c45de4dbcca5b1527c"
@@ -3712,6 +3727,13 @@ hash-for-dep@^1.5.0:
37123727
resolve "^1.10.0"
37133728
resolve-package-path "^1.0.11"
37143729

3730+
hasown@^2.0.0:
3731+
version "2.0.0"
3732+
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c"
3733+
integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==
3734+
dependencies:
3735+
function-bind "^1.1.2"
3736+
37153737
heimdalljs-logger@^0.1.7, heimdalljs-logger@^0.1.9:
37163738
version "0.1.10"
37173739
resolved "https://registry.yarnpkg.com/heimdalljs-logger/-/heimdalljs-logger-0.1.10.tgz#90cad58aabb1590a3c7e640ddc6a4cd3a43faaf7"
@@ -3847,7 +3869,7 @@ ieee754@^1.1.13, ieee754@^1.2.1:
38473869
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
38483870
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
38493871

3850-
ignore@^5.0.5, ignore@^5.1.1, ignore@^5.2.0, ignore@~5.2.4:
3872+
ignore@^5.0.5, ignore@^5.2.0, ignore@^5.2.4, ignore@~5.2.4:
38513873
version "5.2.4"
38523874
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
38533875
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
@@ -4069,6 +4091,13 @@ is-core-module@^2.11.0, is-core-module@^2.5.0, is-core-module@^2.9.0:
40694091
dependencies:
40704092
has "^1.0.3"
40714093

4094+
is-core-module@^2.12.1, is-core-module@^2.13.0:
4095+
version "2.13.1"
4096+
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384"
4097+
integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==
4098+
dependencies:
4099+
hasown "^2.0.0"
4100+
40724101
is-date-object@^1.0.1:
40734102
version "1.0.5"
40744103
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f"
@@ -6581,11 +6610,6 @@ regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3:
65816610
define-properties "^1.1.3"
65826611
functions-have-names "^1.2.2"
65836612

6584-
regexpp@^3.0.0:
6585-
version "3.2.0"
6586-
resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
6587-
integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
6588-
65896613
registry-auth-token@^5.0.1:
65906614
version "5.0.1"
65916615
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-5.0.1.tgz#5e6cd106e6c251135a046650c58476fc03e92833"
@@ -6718,12 +6742,17 @@ resolve-package-path@^4.0.0:
67186742
dependencies:
67196743
path-root "^0.1.1"
67206744

6745+
resolve-pkg-maps@^1.0.0:
6746+
version "1.0.0"
6747+
resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f"
6748+
integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==
6749+
67216750
resolve.exports@^2.0.0:
67226751
version "2.0.0"
67236752
resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.0.tgz#c1a0028c2d166ec2fbf7d0644584927e76e7400e"
67246753
integrity sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==
67256754

6726-
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.1, resolve@^1.17.0, resolve@^1.20.0, resolve@^1.22.1:
6755+
resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.1, resolve@^1.17.0, resolve@^1.20.0, resolve@^1.22.1:
67276756
version "1.22.1"
67286757
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"
67296758
integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==
@@ -6732,6 +6761,15 @@ resolve@^1.1.6, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.1, resolve@^1.17
67326761
path-parse "^1.0.7"
67336762
supports-preserve-symlinks-flag "^1.0.0"
67346763

6764+
resolve@^1.22.2:
6765+
version "1.22.8"
6766+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d"
6767+
integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==
6768+
dependencies:
6769+
is-core-module "^2.13.0"
6770+
path-parse "^1.0.7"
6771+
supports-preserve-symlinks-flag "^1.0.0"
6772+
67356773
responselike@^3.0.0:
67366774
version "3.0.0"
67376775
resolved "https://registry.yarnpkg.com/responselike/-/responselike-3.0.0.tgz#20decb6c298aff0dbee1c355ca95461d42823626"
@@ -6907,12 +6945,12 @@ [email protected]:
69076945
dependencies:
69086946
lru-cache "^6.0.0"
69096947

6910-
semver@^6.0.0, semver@^6.1.0, semver@^6.3.0:
6948+
semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
69116949
version "6.3.1"
69126950
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
69136951
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
69146952

6915-
semver@^7.0.0, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8:
6953+
semver@^7.0.0, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3:
69166954
version "7.5.4"
69176955
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
69186956
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==

0 commit comments

Comments
 (0)