From 3809b5fb7f2f83db8ea51d7b58e3c9acb4f20fe7 Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Sun, 18 Jun 2023 11:43:29 +0900 Subject: [PATCH] update acorn --- package.json | 2 +- .../11/dynamic-import/invalid-new-import.result.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 34732cd7..ef5664dd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "funding": "https://opencollective.com/eslint", "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.8.0", + "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^3.4.1" }, diff --git a/tests/fixtures/ecma-version/11/dynamic-import/invalid-new-import.result.js b/tests/fixtures/ecma-version/11/dynamic-import/invalid-new-import.result.js index 618f85f4..ea6dad33 100644 --- a/tests/fixtures/ecma-version/11/dynamic-import/invalid-new-import.result.js +++ b/tests/fixtures/ecma-version/11/dynamic-import/invalid-new-import.result.js @@ -1,6 +1,6 @@ export default { - "index": 4, + "index": 10, "lineNumber": 1, - "column": 5, - "message": "Cannot use new with import()" + "column": 11, + "message": "Unexpected token (" }; \ No newline at end of file