From c325ffd5f5a92a595e4b67946226309d8a32b7e7 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 19 May 2023 05:40:02 -0700
Subject: [PATCH] Bump eslint from 8.38.0 to 8.40.0 in /js/js-flipper (#4728)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.40.0.
Release notes
Sourced from eslint's releases.
v8.40.0
Features
5db7808 feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)
f5574dc feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)
e52b98b feat: add sourceCode property to the rule context (#17107) (Nitin Kumar)
1468f5b feat: add physicalFilename property to the rule context (#17111) (Nitin Kumar)
0df4d4f feat: add cwd to rule context (#17106) (Nitin Kumar)
52018f2 feat: add filename property to the rule context (#17108) (Nitin Kumar)
559ff4e feat: add new omitLastInOneLineClassBody option to the semi rule (#17105) (Nitin Kumar)
Bug Fixes
f076e54 fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)
Documentation
e980bf3 docs: Update README (GitHub Actions Bot)
e92a6fc docs: Update README (GitHub Actions Bot)
af5fe64 docs: Fix custom rule schema docs (#17115) (Adam Jones)
4a352a9 docs: explain how to include predefined globals (#17114) (Marcus Wyatt)
5ea15d9 docs: add mastodon link in readme (#17110) (唯然)
Chores
4053004 chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic)
50fed1d chore: package.json update for @eslint/js release (ESLint Jenkins)
4c7a170 chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic)
e80b7cc chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic)
ce3ac91 chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic)
9094d79 chore: add latest/ to meta.docs.url in all core rules (#17136) (Milos Djermanovic)
d85efad perf: don't use grapheme-splitter on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)
v8.39.0
Features
3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#17086) (Nicholas C. Zakas)
Documentation
6987dc5 docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)
4ee92e5 docs: Update README (GitHub Actions Bot)
d8e9887 docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)
1fea279 docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)
970ef1c docs: Update triage board location (Nicholas C. Zakas)
6d8bffd docs: Update README (GitHub Actions Bot)
Chores
60a6f26 chore: upgrade @eslint/js@8.39.0 (#17102) (Milos Djermanovic)
d5ba5c0 chore: package.json update for @eslint/js release (ESLint Jenkins)
f57eff2 ci: run tests on Node.js v20 (#17093) (Nitin Kumar)
9d1b8fc perf: Binary search in token store utils.search (#17066) (Francesco Trotta)
07a4435 chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)
eac4943 refactor: remove unnecessary use of SourceCode#getAncestors in rules (#17075) (Milos Djermanovic)
0a7b60a chore: update description of SourceCode#getDeclaredVariables (#17072) (Milos Djermanovic)
6e2df71 chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)
Changelog
Sourced from eslint's changelog.
v8.40.0 - May 5, 2023
4053004 chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic)
50fed1d chore: package.json update for @eslint/js release (ESLint Jenkins)
f076e54 fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)
4c7a170 chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic)
e80b7cc chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic)
ce3ac91 chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic)
5db7808 feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)
f5574dc feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)
e52b98b feat: add sourceCode property to the rule context (#17107) (Nitin Kumar)
e980bf3 docs: Update README (GitHub Actions Bot)
9094d79 chore: add latest/ to meta.docs.url in all core rules (#17136) (Milos Djermanovic)
1468f5b feat: add physicalFilename property to the rule context (#17111) (Nitin Kumar)
0df4d4f feat: add cwd to rule context (#17106) (Nitin Kumar)
52018f2 feat: add filename property to the rule context (#17108) (Nitin Kumar)
559ff4e feat: add new omitLastInOneLineClassBody option to the semi rule (#17105) (Nitin Kumar)
e92a6fc docs: Update README (GitHub Actions Bot)
d85efad perf: don't use grapheme-splitter on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)
af5fe64 docs: Fix custom rule schema docs (#17115) (Adam Jones)
4a352a9 docs: explain how to include predefined globals (#17114) (Marcus Wyatt)
5ea15d9 docs: add mastodon link in readme (#17110) (唯然)
v8.39.0 - April 21, 2023
60a6f26 chore: upgrade @eslint/js@8.39.0 (#17102) (Milos Djermanovic)
d5ba5c0 chore: package.json update for @eslint/js release (ESLint Jenkins)
6987dc5 docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)
4ee92e5 docs: Update README (GitHub Actions Bot)
3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#17086) (Nicholas C. Zakas)
d8e9887 docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)
f57eff2 ci: run tests on Node.js v20 (#17093) (Nitin Kumar)
1fea279 docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)
970ef1c docs: Update triage board location (Nicholas C. Zakas)
9d1b8fc perf: Binary search in token store utils.search (#17066) (Francesco Trotta)
07a4435 chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)
eac4943 refactor: remove unnecessary use of SourceCode#getAncestors in rules (#17075) (Milos Djermanovic)
6d8bffd docs: Update README (GitHub Actions Bot)
0a7b60a chore: update description of SourceCode#getDeclaredVariables (#17072) (Milos Djermanovic)
6e2df71 chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)
Commits
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request resolved: https://github.com/facebook/flipper/pull/4728
Reviewed By: passy
Differential Revision: D46016561
Pulled By: ivanmisuno
fbshipit-source-id: 23a93c6f74556743e2e9d9362efa5f7b9f95928a
---
js/js-flipper/package.json | 2 +-
js/js-flipper/yarn.lock | 62 +++++++++++++++++++-------------------
2 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/js/js-flipper/package.json b/js/js-flipper/package.json
index 6cea259a7..2d611165d 100644
--- a/js/js-flipper/package.json
+++ b/js/js-flipper/package.json
@@ -49,7 +49,7 @@
"@typescript-eslint/parser": "5.59.6",
"ansi-to-html": "^0.7.2",
"cross-env": "^7.0.3",
- "eslint": "^8.38.0",
+ "eslint": "8.40.0",
"eslint-config-fbjs": "^4.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
diff --git a/js/js-flipper/yarn.lock b/js/js-flipper/yarn.lock
index 267a1701e..e9e971d5d 100644
--- a/js/js-flipper/yarn.lock
+++ b/js/js-flipper/yarn.lock
@@ -508,14 +508,14 @@
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.4.0.tgz#3e61c564fcd6b921cb789838631c5ee44df09403"
integrity sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==
-"@eslint/eslintrc@^2.0.2":
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.2.tgz#01575e38707add677cf73ca1589abba8da899a02"
- integrity sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==
+"@eslint/eslintrc@^2.0.3":
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f27774bf356e3704818a0331"
+ integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==
dependencies:
ajv "^6.12.4"
debug "^4.3.2"
- espree "^9.5.1"
+ espree "^9.5.2"
globals "^13.19.0"
ignore "^5.2.0"
import-fresh "^3.2.1"
@@ -523,10 +523,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
-"@eslint/js@8.38.0":
- version "8.38.0"
- resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.38.0.tgz#73a8a0d8aa8a8e6fe270431c5e72ae91b5337892"
- integrity sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==
+"@eslint/js@8.40.0":
+ version "8.40.0"
+ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.40.0.tgz#3ba73359e11f5a7bd3e407f70b3528abfae69cec"
+ integrity sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==
"@humanwhocodes/config-array@^0.11.8":
version "0.11.8"
@@ -1964,10 +1964,10 @@ eslint-scope@5.1.1, eslint-scope@^5.1.1:
esrecurse "^4.3.0"
estraverse "^4.1.1"
-eslint-scope@^7.1.1:
- version "7.1.1"
- resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642"
- integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==
+eslint-scope@^7.2.0:
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.0.tgz#f21ebdafda02352f103634b96dd47d9f81ca117b"
+ integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==
dependencies:
esrecurse "^4.3.0"
estraverse "^5.2.0"
@@ -1989,20 +1989,20 @@ eslint-visitor-keys@^2.1.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
-eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.0:
- version "3.4.0"
- resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz#c7f0f956124ce677047ddbc192a68f999454dedc"
- integrity sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==
+eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1:
+ version "3.4.1"
+ resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994"
+ integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==
-eslint@^8.38.0:
- version "8.38.0"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.38.0.tgz#a62c6f36e548a5574dd35728ac3c6209bd1e2f1a"
- integrity sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==
+eslint@8.40.0:
+ version "8.40.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.40.0.tgz#a564cd0099f38542c4e9a2f630fa45bf33bc42a4"
+ integrity sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.4.0"
- "@eslint/eslintrc" "^2.0.2"
- "@eslint/js" "8.38.0"
+ "@eslint/eslintrc" "^2.0.3"
+ "@eslint/js" "8.40.0"
"@humanwhocodes/config-array" "^0.11.8"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
@@ -2012,9 +2012,9 @@ eslint@^8.38.0:
debug "^4.3.2"
doctrine "^3.0.0"
escape-string-regexp "^4.0.0"
- eslint-scope "^7.1.1"
- eslint-visitor-keys "^3.4.0"
- espree "^9.5.1"
+ eslint-scope "^7.2.0"
+ eslint-visitor-keys "^3.4.1"
+ espree "^9.5.2"
esquery "^1.4.2"
esutils "^2.0.2"
fast-deep-equal "^3.1.3"
@@ -2040,14 +2040,14 @@ eslint@^8.38.0:
strip-json-comments "^3.1.0"
text-table "^0.2.0"
-espree@^9.5.1:
- version "9.5.1"
- resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.1.tgz#4f26a4d5f18905bf4f2e0bd99002aab807e96dd4"
- integrity sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==
+espree@^9.5.2:
+ version "9.5.2"
+ resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.2.tgz#e994e7dc33a082a7a82dceaf12883a829353215b"
+ integrity sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==
dependencies:
acorn "^8.8.0"
acorn-jsx "^5.3.2"
- eslint-visitor-keys "^3.4.0"
+ eslint-visitor-keys "^3.4.1"
esprima@^4.0.0:
version "4.0.1"