Skip to content

Commit 907947f

Browse files
Update linters
1 parent 7a77f68 commit 907947f

File tree

2 files changed

+77
-60
lines changed

2 files changed

+77
-60
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"@openzeppelin/docs-utils": "^0.1.0",
1616
"@typescript-eslint/eslint-plugin": "^7.0.0",
1717
"@typescript-eslint/parser": "^7.0.0",
18-
"eslint": "^8.0.0",
18+
"eslint": "^9.0.0",
1919
"eslint-config-prettier": "^9.0.0",
2020
"eslint-plugin-prettier": "^5.0.0",
21-
"eslint-plugin-unicorn": "^51.0.0",
21+
"eslint-plugin-unicorn": "^52.0.0",
2222
"ethers": "^6.8.1",
2323
"nyc": "^15.1.0",
2424
"prettier": "^3.0.0",

yarn.lock

Lines changed: 75 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,25 @@
268268
minimatch "^3.1.2"
269269
strip-json-comments "^3.1.1"
270270

271-
272-
version "8.57.0"
273-
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
274-
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==
271+
"@eslint/eslintrc@^3.0.2":
272+
version "3.0.2"
273+
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.0.2.tgz#36180f8e85bf34d2fe3ccc2261e8e204a411ab4e"
274+
integrity sha512-wV19ZEGEMAC1eHgrS7UQPqsdEiCIbTKTasEfcXAigzoXICcqZSjBZEHlZwNVvKg6UBCjSlos84XiLqsRJnIcIg==
275+
dependencies:
276+
ajv "^6.12.4"
277+
debug "^4.3.2"
278+
espree "^10.0.1"
279+
globals "^14.0.0"
280+
ignore "^5.2.0"
281+
import-fresh "^3.2.1"
282+
js-yaml "^4.1.0"
283+
minimatch "^3.1.2"
284+
strip-json-comments "^3.1.1"
285+
286+
287+
version "9.0.0"
288+
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.0.0.tgz#1a9e4b4c96d8c7886e0110ed310a0135144a1691"
289+
integrity sha512-RThY/MnKrhubF6+s1JflwUjPEsnCEmYCWwqa/aRISKWNXGZ9epUwft4bUMM35SdKF9xvBrLydAM1RDHd1Z//ZQ==
275290

276291
"@ethersproject/[email protected]", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.7.0":
277292
version "5.7.0"
@@ -625,12 +640,12 @@
625640
resolved "https://registry.yarnpkg.com/@frangio/servbot/-/servbot-0.2.5.tgz#d4524c15c8a34fcdde36037b84407c4c60b4cf16"
626641
integrity sha512-ogja4iAPZ1VwM5MU3C1ZhB88358F0PGbmSTGOkIZwOyLaDoMHIqOVCnavHjR7DV5h+oAI4Z4KDqlam3myQUrmg==
627642

628-
"@humanwhocodes/config-array@^0.11.14":
629-
version "0.11.14"
630-
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"
631-
integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==
643+
"@humanwhocodes/config-array@^0.12.3":
644+
version "0.12.3"
645+
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.12.3.tgz#a6216d90f81a30bedd1d4b5d799b47241f318072"
646+
integrity sha512-jsNnTBlMWuTpDkeE3on7+dWJi0D6fdDfeANj/w7MpS8ztROCoLvIO2nG0CcFj+E4k8j4QrSTh4Oryi3i2G669g==
632647
dependencies:
633-
"@humanwhocodes/object-schema" "^2.0.2"
648+
"@humanwhocodes/object-schema" "^2.0.3"
634649
debug "^4.3.1"
635650
minimatch "^3.0.5"
636651

@@ -639,7 +654,7 @@
639654
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
640655
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
641656

642-
"@humanwhocodes/object-schema@^2.0.2":
657+
"@humanwhocodes/object-schema@^2.0.3":
643658
version "2.0.3"
644659
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3"
645660
integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==
@@ -1432,11 +1447,6 @@
14321447
"@typescript-eslint/types" "7.6.0"
14331448
eslint-visitor-keys "^3.4.3"
14341449

1435-
"@ungap/structured-clone@^1.2.0":
1436-
version "1.2.0"
1437-
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
1438-
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==
1439-
14401450
"@vercel/nft@^0.26.2":
14411451
version "0.26.4"
14421452
resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.26.4.tgz#d7e8ebb91567d25240e8cb996152ea77392cea7f"
@@ -2455,13 +2465,6 @@ dir-glob@^3.0.1:
24552465
dependencies:
24562466
path-type "^4.0.0"
24572467

2458-
doctrine@^3.0.0:
2459-
version "3.0.0"
2460-
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961"
2461-
integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==
2462-
dependencies:
2463-
esutils "^2.0.2"
2464-
24652468
dotenv@^16.0.0:
24662469
version "16.4.5"
24672470
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f"
@@ -2694,10 +2697,10 @@ eslint-plugin-prettier@^5.0.0:
26942697
prettier-linter-helpers "^1.0.0"
26952698
synckit "^0.8.6"
26962699

2697-
eslint-plugin-unicorn@^51.0.0:
2698-
version "51.0.1"
2699-
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-51.0.1.tgz#3641c5e110324c3739d6cb98fc1b99ada39f477b"
2700-
integrity sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==
2700+
eslint-plugin-unicorn@^52.0.0:
2701+
version "52.0.0"
2702+
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz#c7a559edd52e3932cf2b3a05c3b0efc604c1eeb8"
2703+
integrity sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==
27012704
dependencies:
27022705
"@babel/helper-validator-identifier" "^7.22.20"
27032706
"@eslint-community/eslint-utils" "^4.4.0"
@@ -2716,10 +2719,10 @@ eslint-plugin-unicorn@^51.0.0:
27162719
semver "^7.5.4"
27172720
strip-indent "^3.0.0"
27182721

2719-
eslint-scope@^7.2.2:
2720-
version "7.2.2"
2721-
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f"
2722-
integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==
2722+
eslint-scope@^8.0.1:
2723+
version "8.0.1"
2724+
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.0.1.tgz#a9601e4b81a0b9171657c343fb13111688963cfc"
2725+
integrity sha512-pL8XjgP4ZOmmwfFE8mEhSxA7ZY4C+LWyqjQ3o4yWkkmD0qcMT9kkW3zWHOczhWcjTSgqycYAgwSlXvZltv65og==
27232726
dependencies:
27242727
esrecurse "^4.3.0"
27252728
estraverse "^5.2.0"
@@ -2729,41 +2732,42 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
27292732
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
27302733
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
27312734

2732-
eslint@^8.0.0:
2733-
version "8.57.0"
2734-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
2735-
integrity sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==
2735+
eslint-visitor-keys@^4.0.0:
2736+
version "4.0.0"
2737+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb"
2738+
integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==
2739+
2740+
eslint@^9.0.0:
2741+
version "9.0.0"
2742+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.0.0.tgz#6270548758e390343f78c8afd030566d86927d40"
2743+
integrity sha512-IMryZ5SudxzQvuod6rUdIUz29qFItWx281VhtFVc2Psy/ZhlCeD/5DT6lBIJ4H3G+iamGJoTln1v+QSuPw0p7Q==
27362744
dependencies:
27372745
"@eslint-community/eslint-utils" "^4.2.0"
27382746
"@eslint-community/regexpp" "^4.6.1"
2739-
"@eslint/eslintrc" "^2.1.4"
2740-
"@eslint/js" "8.57.0"
2741-
"@humanwhocodes/config-array" "^0.11.14"
2747+
"@eslint/eslintrc" "^3.0.2"
2748+
"@eslint/js" "9.0.0"
2749+
"@humanwhocodes/config-array" "^0.12.3"
27422750
"@humanwhocodes/module-importer" "^1.0.1"
27432751
"@nodelib/fs.walk" "^1.2.8"
2744-
"@ungap/structured-clone" "^1.2.0"
27452752
ajv "^6.12.4"
27462753
chalk "^4.0.0"
27472754
cross-spawn "^7.0.2"
27482755
debug "^4.3.2"
2749-
doctrine "^3.0.0"
27502756
escape-string-regexp "^4.0.0"
2751-
eslint-scope "^7.2.2"
2752-
eslint-visitor-keys "^3.4.3"
2753-
espree "^9.6.1"
2757+
eslint-scope "^8.0.1"
2758+
eslint-visitor-keys "^4.0.0"
2759+
espree "^10.0.1"
27542760
esquery "^1.4.2"
27552761
esutils "^2.0.2"
27562762
fast-deep-equal "^3.1.3"
2757-
file-entry-cache "^6.0.1"
2763+
file-entry-cache "^8.0.0"
27582764
find-up "^5.0.0"
27592765
glob-parent "^6.0.2"
2760-
globals "^13.19.0"
27612766
graphemer "^1.4.0"
27622767
ignore "^5.2.0"
27632768
imurmurhash "^0.1.4"
27642769
is-glob "^4.0.0"
27652770
is-path-inside "^3.0.3"
2766-
js-yaml "^4.1.0"
27672771
json-stable-stringify-without-jsonify "^1.0.1"
27682772
levn "^0.4.1"
27692773
lodash.merge "^4.6.2"
@@ -2773,7 +2777,16 @@ eslint@^8.0.0:
27732777
strip-ansi "^6.0.1"
27742778
text-table "^0.2.0"
27752779

2776-
espree@^9.6.0, espree@^9.6.1:
2780+
espree@^10.0.1:
2781+
version "10.0.1"
2782+
resolved "https://registry.yarnpkg.com/espree/-/espree-10.0.1.tgz#600e60404157412751ba4a6f3a2ee1a42433139f"
2783+
integrity sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww==
2784+
dependencies:
2785+
acorn "^8.11.3"
2786+
acorn-jsx "^5.3.2"
2787+
eslint-visitor-keys "^4.0.0"
2788+
2789+
espree@^9.6.0:
27772790
version "9.6.1"
27782791
resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f"
27792792
integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==
@@ -3027,12 +3040,12 @@ figures@^6.0.1:
30273040
dependencies:
30283041
is-unicode-supported "^2.0.0"
30293042

3030-
file-entry-cache@^6.0.1:
3031-
version "6.0.1"
3032-
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
3033-
integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==
3043+
file-entry-cache@^8.0.0:
3044+
version "8.0.0"
3045+
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-8.0.0.tgz#7787bddcf1131bffb92636c69457bbc0edd6d81f"
3046+
integrity sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==
30343047
dependencies:
3035-
flat-cache "^3.0.4"
3048+
flat-cache "^4.0.0"
30363049

30373050
30383051
version "1.0.0"
@@ -3098,14 +3111,13 @@ find-up@^4.0.0, find-up@^4.1.0:
30983111
locate-path "^5.0.0"
30993112
path-exists "^4.0.0"
31003113

3101-
flat-cache@^3.0.4:
3102-
version "3.2.0"
3103-
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee"
3104-
integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==
3114+
flat-cache@^4.0.0:
3115+
version "4.0.1"
3116+
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz#0ece39fcb14ee012f4b0410bd33dd9c1f011127c"
3117+
integrity sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==
31053118
dependencies:
31063119
flatted "^3.2.9"
3107-
keyv "^4.5.3"
3108-
rimraf "^3.0.2"
3120+
keyv "^4.5.4"
31093121

31103122
flat@^5.0.2:
31113123
version "5.0.2"
@@ -3365,6 +3377,11 @@ globals@^13.19.0:
33653377
dependencies:
33663378
type-fest "^0.20.2"
33673379

3380+
globals@^14.0.0:
3381+
version "14.0.0"
3382+
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
3383+
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
3384+
33683385
globalthis@^1.0.3:
33693386
version "1.0.3"
33703387
resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf"
@@ -4104,7 +4121,7 @@ keccak@^3.0.0, keccak@^3.0.2:
41044121
node-gyp-build "^4.2.0"
41054122
readable-stream "^3.6.0"
41064123

4107-
keyv@^4.5.3:
4124+
keyv@^4.5.4:
41084125
version "4.5.4"
41094126
resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93"
41104127
integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==

0 commit comments

Comments
 (0)