Update Acorn to v8.17.0 (#19344)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2026-06-12 03:36:15 +08:00
1 parent 7dc924c58b
commit 7e374c3cd0
4 files changed
+6 -30

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@
"@prettier/parse-srcset": "3.1.0",
"@typescript-eslint/typescript-estree": "8.61.0",
"@typescript-eslint/visitor-keys": "8.61.0",
"acorn": "8.16.0",
"acorn": "8.17.0",
"acorn-jsx": "5.3.2",
"angular-estree-parser": "15.5.0",
"angular-html-parser": "10.7.0",
@@ -584,28 +584,6 @@ async function f() {
================================================================================
`;
exports[`valid-for-using-binding-of-of.js format[acorn] 1`] = `
"Assigning to rvalue (2:8)
1 | async function f() {
> 2 | for (await using of of of);
| ^
3 | for await (await using of of of);
4 | }
5 |
Cause: Assigning to rvalue (2:7)"
`;
exports[`valid-for-using-binding-of-of.js format[espree] 1`] = `
"Assigning to rvalue (2:8)
1 | async function f() {
> 2 | for (await using of of of);
| ^
3 | for await (await using of of of);
4 | }
5 |
Cause: Assigning to rvalue"
`;
exports[`valid-for-using-binding-of-of.js format[flow] 1`] = `
"Invalid left-hand side in for-of (2:8)
1 | async function f() {
@@ -52,14 +52,12 @@ runFormatTest(import.meta, ["babel", "flow", "typescript"], {
// "invalid-script-top-level-using-binding.js",
"valid-module-block-top-level-using-binding.js",
"valid-module-block-top-level-await-using-binding.js",
"valid-for-using-binding-of-of.js",
],
espree: [
"invalid-duplicate-using-bindings.js",
// "invalid-script-top-level-using-binding.js",
"valid-module-block-top-level-using-binding.js",
"valid-module-block-top-level-await-using-binding.js",
"valid-for-using-binding-of-of.js",
],
meriyah: [
"for-await-using-of-comments.js",
+5 -5
View File
@@ -2995,12 +2995,12 @@ __metadata:
languageName: node
linkType: hard
"acorn@npm:8.16.0, acorn@npm:^8.15.0, acorn@npm:^8.16.0":
version: 8.16.0
resolution: "acorn@npm:8.16.0"
"acorn@npm:8.17.0, acorn@npm:^8.15.0, acorn@npm:^8.16.0":
version: 8.17.0
resolution: "acorn@npm:8.17.0"
bin:
acorn: bin/acorn
checksum: 10/690c673bb4d61b38ef82795fab58526471ad7f7e67c0e40c4ff1e10ecd80ce5312554ef633c9995bfc4e6d170cef165711f9ca9e49040b62c0c66fbf2dd3df2b
checksum: 10/2eea1588075124df569b15995423204055c5575ad992283025dddfcb557a0340de7d75cc1bc25dca8df148c60c4222e576e0e519965f0ec7f86f6085c8428824
languageName: node
linkType: hard
@@ -8081,7 +8081,7 @@ __metadata:
"@typescript-eslint/parser": "npm:8.61.0"
"@typescript-eslint/typescript-estree": "npm:8.61.0"
"@typescript-eslint/visitor-keys": "npm:8.61.0"
acorn: "npm:8.16.0"
acorn: "npm:8.17.0"
acorn-jsx: "npm:5.3.2"
angular-estree-parser: "npm:15.5.0"
angular-html-parser: "npm:10.7.0"