[be] Upgrade Eslint to 8.27.0
Sathya Gunasekaran committed
Nov 8, 2023 at 08:27 UTC
3d6d81052db1da2e33f4ae68e0bfc5cb8de51474
4 files changed
+84
-124
compiler/packages/babel-plugin-react-forget/package.json
+1
-1
@@ -56,7 +56,7 @@
56
"babel-plugin-fbt": "^1.0.0",
57
"babel-plugin-fbt-runtime": "^1.0.0",
58
"babel-plugin-syntax-hermes-parser": "^0.15.1",
59
- "eslint": "^8.33.0",
59
+ "eslint": "8.27.0",
60
"glob": "^7.1.6",
61
"hermes-parser": "^0.15.1",
62
"jest": "^29.0.3",
compiler/packages/eslint-browser/package.json
+1
-1
@@ -8,7 +8,7 @@
8
"test": "echo 'no tests'"
9
},
10
"dependencies": {
11
- "eslint": "^8.25.0",
11
+ "eslint": "8.27.0",
12
"hermes-eslint": "^0.14.0"
13
},
14
"devDependencies": {
compiler/packages/eslint-plugin-react-forget/package.json
+1
-1
@@ -29,7 +29,7 @@
29
"@rollup/plugin-typescript": "^11.1.3",
30
"@types/node": "^20.2.5",
31
"babel-jest": "^29.0.3",
32
- "eslint": "^8.19.0",
32
+ "eslint": "8.27.0",
33
"eslint-doc-generator": "^1.0.0",
34
"eslint-plugin-eslint-plugin": "^5.0.0",
35
"eslint-plugin-node": "^11.1.0",
compiler/yarn.lock
+81
-121
@@ -1684,7 +1684,7 @@
1684
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884"
1685
integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==
1686
1687
-"@eslint/eslintrc@^1.4.1":
1687
+"@eslint/eslintrc@^1.3.3":
1688
version "1.4.1"
1689
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e"
1690
integrity sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==
@@ -1719,22 +1719,17 @@
1719
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.41.0.tgz#080321c3b68253522f7646b55b577dd99d2950b3"
1720
integrity sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA==
1721
1722
-"@eslint/js@8.42.0":
1723
- version "8.42.0"
1724
- resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.42.0.tgz#484a1d638de2911e6f5a30c12f49c7e4a3270fb6"
1725
- integrity sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==
1726
-
1722
"@heroicons/react@^1.0.6":
1723
version "1.0.6"
1724
resolved "https://registry.yarnpkg.com/@heroicons/react/-/react-1.0.6.tgz#35dd26987228b39ef2316db3b1245c42eb19e324"
1725
integrity sha512-JJCXydOFWMDpCP4q13iEplA503MQO3xLoZiKum+955ZCtHINWnx26CUxVxxFQu/uLb4LW3ge15ZpzIkXKkJ8oQ==
1726
1732
-"@humanwhocodes/config-array@^0.11.10":
1733
- version "0.11.10"
1734
- resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2"
1735
- integrity sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==
1727
+"@humanwhocodes/config-array@^0.11.6":
1728
+ version "0.11.13"
1729
+ resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297"
1730
+ integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==
1731
dependencies:
1737
- "@humanwhocodes/object-schema" "^1.2.1"
1732
+ "@humanwhocodes/object-schema" "^2.0.1"
1733
debug "^4.1.1"
1734
minimatch "^3.0.5"
1735
@@ -1757,6 +1752,11 @@
1752
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
1753
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
1754
1755
+"@humanwhocodes/object-schema@^2.0.1":
1756
+ version "2.0.1"
1757
+ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044"
1758
+ integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==
1759
+
1760
"@istanbuljs/load-nyc-config@^1.0.0":
1761
version "1.1.0"
1762
resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
@@ -3442,6 +3442,11 @@ acorn@^8.8.2:
3442
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"
3443
integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==
3444
3445
+acorn@^8.9.0:
3446
+ version "8.11.2"
3447
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b"
3448
+ integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==
3449
+
3450
after@0.8.2:
3451
version "0.8.2"
3452
resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f"
@@ -5626,9 +5631,9 @@ eslint-scope@5.1.1, eslint-scope@^5.0.0, eslint-scope@^5.1.1:
5631
estraverse "^4.1.1"
5632
5633
eslint-scope@^7.1.1:
5629
- version "7.1.1"
5630
- resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642"
5631
- integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==
5634
+ version "7.2.2"
5635
+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f"
5636
+ integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==
5637
dependencies:
5638
esrecurse "^4.3.0"
5639
estraverse "^5.2.0"
@@ -5682,6 +5687,51 @@ eslint-visitor-keys@^3.4.1:
5687
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994"
5688
integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==
5689
5690
+eslint@8.27.0:
5691
+ version "8.27.0"
5692
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.27.0.tgz#d547e2f7239994ad1faa4bb5d84e5d809db7cf64"
5693
+ integrity sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ==
5694
+ dependencies:
5695
+ "@eslint/eslintrc" "^1.3.3"
5696
+ "@humanwhocodes/config-array" "^0.11.6"
5697
+ "@humanwhocodes/module-importer" "^1.0.1"
5698
+ "@nodelib/fs.walk" "^1.2.8"
5699
+ ajv "^6.10.0"
5700
+ chalk "^4.0.0"
5701
+ cross-spawn "^7.0.2"
5702
+ debug "^4.3.2"
5703
+ doctrine "^3.0.0"
5704
+ escape-string-regexp "^4.0.0"
5705
+ eslint-scope "^7.1.1"
5706
+ eslint-utils "^3.0.0"
5707
+ eslint-visitor-keys "^3.3.0"
5708
+ espree "^9.4.0"
5709
+ esquery "^1.4.0"
5710
+ esutils "^2.0.2"
5711
+ fast-deep-equal "^3.1.3"
5712
+ file-entry-cache "^6.0.1"
5713
+ find-up "^5.0.0"
5714
+ glob-parent "^6.0.2"
5715
+ globals "^13.15.0"
5716
+ grapheme-splitter "^1.0.4"
5717
+ ignore "^5.2.0"
5718
+ import-fresh "^3.0.0"
5719
+ imurmurhash "^0.1.4"
5720
+ is-glob "^4.0.0"
5721
+ is-path-inside "^3.0.3"
5722
+ js-sdsl "^4.1.4"
5723
+ js-yaml "^4.1.0"
5724
+ json-stable-stringify-without-jsonify "^1.0.1"
5725
+ levn "^0.4.1"
5726
+ lodash.merge "^4.6.2"
5727
+ minimatch "^3.1.2"
5728
+ natural-compare "^1.4.0"
5729
+ optionator "^0.9.1"
5730
+ regexpp "^3.2.0"
5731
+ strip-ansi "^6.0.1"
5732
+ strip-json-comments "^3.1.0"
5733
+ text-table "^0.2.0"
5734
+
5735
eslint@^6.8.0:
5736
version "6.8.0"
5737
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb"
@@ -5725,52 +5775,7 @@ eslint@^6.8.0:
5775
text-table "^0.2.0"
5776
v8-compile-cache "^2.0.3"
5777
5728
-eslint@^8.19.0:
5729
- version "8.42.0"
5730
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.42.0.tgz#7bebdc3a55f9ed7167251fe7259f75219cade291"
5731
- integrity sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==
5732
- dependencies:
5733
- "@eslint-community/eslint-utils" "^4.2.0"
5734
- "@eslint-community/regexpp" "^4.4.0"
5735
- "@eslint/eslintrc" "^2.0.3"
5736
- "@eslint/js" "8.42.0"
5737
- "@humanwhocodes/config-array" "^0.11.10"
5738
- "@humanwhocodes/module-importer" "^1.0.1"
5739
- "@nodelib/fs.walk" "^1.2.8"
5740
- ajv "^6.10.0"
5741
- chalk "^4.0.0"
5742
- cross-spawn "^7.0.2"
5743
- debug "^4.3.2"
5744
- doctrine "^3.0.0"
5745
- escape-string-regexp "^4.0.0"
5746
- eslint-scope "^7.2.0"
5747
- eslint-visitor-keys "^3.4.1"
5748
- espree "^9.5.2"
5749
- esquery "^1.4.2"
5750
- esutils "^2.0.2"
5751
- fast-deep-equal "^3.1.3"
5752
- file-entry-cache "^6.0.1"
5753
- find-up "^5.0.0"
5754
- glob-parent "^6.0.2"
5755
- globals "^13.19.0"
5756
- graphemer "^1.4.0"
5757
- ignore "^5.2.0"
5758
- import-fresh "^3.0.0"
5759
- imurmurhash "^0.1.4"
5760
- is-glob "^4.0.0"
5761
- is-path-inside "^3.0.3"
5762
- js-yaml "^4.1.0"
5763
- json-stable-stringify-without-jsonify "^1.0.1"
5764
- levn "^0.4.1"
5765
- lodash.merge "^4.6.2"
5766
- minimatch "^3.1.2"
5767
- natural-compare "^1.4.0"
5768
- optionator "^0.9.1"
5769
- strip-ansi "^6.0.1"
5770
- strip-json-comments "^3.1.0"
5771
- text-table "^0.2.0"
5772
-
5773
-eslint@^8.25.0, eslint@^8.28.0:
5778
+eslint@^8.28.0:
5779
version "8.41.0"
5780
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.41.0.tgz#3062ca73363b4714b16dbc1e60f035e6134b6f1c"
5781
integrity sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==
@@ -5815,51 +5820,6 @@ eslint@^8.25.0, eslint@^8.28.0:
5820
strip-json-comments "^3.1.0"
5821
text-table "^0.2.0"
5822
5818
-eslint@^8.33.0:
5819
- version "8.33.0"
5820
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.33.0.tgz#02f110f32998cb598c6461f24f4d306e41ca33d7"
5821
- integrity sha512-WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA==
5822
- dependencies:
5823
- "@eslint/eslintrc" "^1.4.1"
5824
- "@humanwhocodes/config-array" "^0.11.8"
5825
- "@humanwhocodes/module-importer" "^1.0.1"
5826
- "@nodelib/fs.walk" "^1.2.8"
5827
- ajv "^6.10.0"
5828
- chalk "^4.0.0"
5829
- cross-spawn "^7.0.2"
5830
- debug "^4.3.2"
5831
- doctrine "^3.0.0"
5832
- escape-string-regexp "^4.0.0"
5833
- eslint-scope "^7.1.1"
5834
- eslint-utils "^3.0.0"
5835
- eslint-visitor-keys "^3.3.0"
5836
- espree "^9.4.0"
5837
- esquery "^1.4.0"
5838
- esutils "^2.0.2"
5839
- fast-deep-equal "^3.1.3"
5840
- file-entry-cache "^6.0.1"
5841
- find-up "^5.0.0"
5842
- glob-parent "^6.0.2"
5843
- globals "^13.19.0"
5844
- grapheme-splitter "^1.0.4"
5845
- ignore "^5.2.0"
5846
- import-fresh "^3.0.0"
5847
- imurmurhash "^0.1.4"
5848
- is-glob "^4.0.0"
5849
- is-path-inside "^3.0.3"
5850
- js-sdsl "^4.1.4"
5851
- js-yaml "^4.1.0"
5852
- json-stable-stringify-without-jsonify "^1.0.1"
5853
- levn "^0.4.1"
5854
- lodash.merge "^4.6.2"
5855
- minimatch "^3.1.2"
5856
- natural-compare "^1.4.0"
5857
- optionator "^0.9.1"
5858
- regexpp "^3.2.0"
5859
- strip-ansi "^6.0.1"
5860
- strip-json-comments "^3.1.0"
5861
- text-table "^0.2.0"
5862
-
5823
espree@^6.1.2:
5824
version "6.2.1"
5825
resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a"
@@ -5870,13 +5830,13 @@ espree@^6.1.2:
5830
eslint-visitor-keys "^1.1.0"
5831
5832
espree@^9.4.0:
5873
- version "9.4.0"
5874
- resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.0.tgz#cd4bc3d6e9336c433265fc0aa016fc1aaf182f8a"
5875
- integrity sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==
5833
+ version "9.6.1"
5834
+ resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f"
5835
+ integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==
5836
dependencies:
5877
- acorn "^8.8.0"
5837
+ acorn "^8.9.0"
5838
acorn-jsx "^5.3.2"
5879
- eslint-visitor-keys "^3.3.0"
5839
+ eslint-visitor-keys "^3.4.1"
5840
5841
espree@^9.5.2:
5842
version "9.5.2"
@@ -5892,20 +5852,13 @@ esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0:
5852
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
5853
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
5854
5895
-esquery@^1.0.1, esquery@^1.4.2:
5855
+esquery@^1.0.1, esquery@^1.4.0, esquery@^1.4.2:
5856
version "1.5.0"
5857
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b"
5858
integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==
5859
dependencies:
5860
estraverse "^5.1.0"
5861
5902
-esquery@^1.4.0:
5903
- version "1.4.0"
5904
- resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5"
5905
- integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==
5906
- dependencies:
5907
- estraverse "^5.1.0"
5908
-
5862
esrecurse@^4.3.0:
5863
version "4.3.0"
5864
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
@@ -6500,6 +6453,13 @@ globals@^12.1.0:
6453
dependencies:
6454
type-fest "^0.8.1"
6455
6456
+globals@^13.15.0:
6457
+ version "13.23.0"
6458
+ resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02"
6459
+ integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==
6460
+ dependencies:
6461
+ type-fest "^0.20.2"
6462
+
6463
globals@^13.19.0:
6464
version "13.20.0"
6465
resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82"
@@ -8502,9 +8462,9 @@ jiti@^1.18.2:
8462
integrity sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==
8463
8464
js-sdsl@^4.1.4:
8505
- version "4.1.5"
8506
- resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.1.5.tgz#1ff1645e6b4d1b028cd3f862db88c9d887f26e2a"
8507
- integrity sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q==
8465
+ version "4.4.2"
8466
+ resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.4.2.tgz#2e3c031b1f47d3aca8b775532e3ebb0818e7f847"
8467
+ integrity sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w==
8468
8469
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
8470
version "4.0.0"