Update dependency espree to v11.2.0 (#18932)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2026-03-22 09:22:04 +08:00
1 parent bba9b92d2a
commit 723adee635
4 files changed
+6 -23

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@
"editorconfig-without-wasm": "0.0.4", "editorconfig-without-wasm": "0.0.4",
"emoji-regex": "10.6.0", "emoji-regex": "10.6.0",
"escape-string-regexp": "5.0.0", "escape-string-regexp": "5.0.0",
"espree": "11.1.1", "espree": "11.2.0",
"fast-glob": "3.3.3", "fast-glob": "3.3.3",
"fast-json-stable-stringify": "2.1.0", "fast-json-stable-stringify": "2.1.0",
"file-entry-cache": "11.1.2", "file-entry-cache": "11.1.2",
@@ -13,14 +13,6 @@ const x = new.target;
================================================================================ ================================================================================
`; `;
exports[`outside-functions.js format[espree] 1`] = `
"'new.target' can only be used in functions and class static block (1:11)
> 1 | const x = new.target;
| ^
2 |
Cause: 'new.target' can only be used in functions and class static block"
`;
exports[`outside-functions.js format[flow] 1`] = ` exports[`outside-functions.js format[flow] 1`] = `
"Unexpected token \`.\` (1:14) "Unexpected token \`.\` (1:14)
> 1 | const x = new.target; > 1 | const x = new.target;
@@ -64,14 +56,6 @@ exports[`range.js format 1`] = `
: ================================================================================ : ================================================================================
`; `;
exports[`range.js format[espree] 1`] = `
"'new.target' can only be used in functions and class static block (2:1)
1 | const x =
> 2 | new.target;
| ^
Cause: 'new.target' can only be used in functions and class static block"
`;
exports[`range.js format[flow] 1`] = ` exports[`range.js format[flow] 1`] = `
"Unexpected token \`.\` (2:4) "Unexpected token \`.\` (2:4)
1 | const x = 1 | const x =
@@ -1,6 +1,5 @@
runFormatTest(import.meta, ["babel", "flow", "typescript"], { runFormatTest(import.meta, ["babel", "flow", "typescript"], {
errors: { errors: {
espree: true,
flow: true, flow: true,
hermes: true, hermes: true,
}, },
+5 -5
View File
@@ -4690,14 +4690,14 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"espree@npm:11.1.1, espree@npm:^11.1.1": "espree@npm:11.2.0, espree@npm:^11.1.1":
version: 11.1.1 version: 11.2.0
resolution: "espree@npm:11.1.1" resolution: "espree@npm:11.2.0"
dependencies: dependencies:
acorn: "npm:^8.16.0" acorn: "npm:^8.16.0"
acorn-jsx: "npm:^5.3.2" acorn-jsx: "npm:^5.3.2"
eslint-visitor-keys: "npm:^5.0.1" eslint-visitor-keys: "npm:^5.0.1"
checksum: 10/58ecfae40f4e1f2c54a825ff7a50c5f9cda42901468ba93354c13a1eb69aba0f15d68df5822bbcb02058f822214aba7ca24389eee2e6c27bb0cd3a05972606ae checksum: 10/5cc4233b8f150010c70713669ef8231f07fe9b6391870cfa0a292a07f723ed5c2922064b978e627f7cabf7753280e64c5bde41d3840caaa40946989df7009a51
languageName: node languageName: node
linkType: hard linkType: hard
@@ -8443,7 +8443,7 @@ __metadata:
eslint-plugin-simple-import-sort: "npm:12.1.1" eslint-plugin-simple-import-sort: "npm:12.1.1"
eslint-plugin-unicorn: "npm:63.0.0" eslint-plugin-unicorn: "npm:63.0.0"
esm-utils: "npm:4.4.2" esm-utils: "npm:4.4.2"
espree: "npm:11.1.1" espree: "npm:11.2.0"
fast-glob: "npm:3.3.3" fast-glob: "npm:3.3.3"
fast-json-stable-stringify: "npm:2.1.0" fast-json-stable-stringify: "npm:2.1.0"
file-entry-cache: "npm:11.1.2" file-entry-cache: "npm:11.1.2"