From 61804e2516b35a8855df8d3bbab14ac7f0cfcecd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 10:26:24 +0800 Subject: [PATCH] chore(deps): update dependency espree to v9.6.0 (#15000) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker --- package.json | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 7 ------- tests/format/js/babel-plugins/jsfmt.spec.js | 1 - .../js/regex/__snapshots__/jsfmt.spec.js.snap | 7 ------- tests/format/js/regex/jsfmt.spec.js | 2 +- yarn.lock | 17 +++-------------- 6 files changed, 5 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index 9e95faeb81f4..06c451a32303 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "editorconfig-to-prettier": "1.0.0", "emoji-regex": "10.2.1", "escape-string-regexp": "5.0.0", - "espree": "9.5.2", + "espree": "9.6.0", "fast-glob": "3.2.12", "fast-json-stable-stringify": "2.1.0", "file-entry-cache": "6.0.1", diff --git a/tests/format/js/babel-plugins/__snapshots__/jsfmt.spec.js.snap b/tests/format/js/babel-plugins/__snapshots__/jsfmt.spec.js.snap index f91e59f0ac40..0c25e0db55e9 100644 --- a/tests/format/js/babel-plugins/__snapshots__/jsfmt.spec.js.snap +++ b/tests/format/js/babel-plugins/__snapshots__/jsfmt.spec.js.snap @@ -2405,13 +2405,6 @@ const tuple1 = #[1, 2, 3]; ================================================================================ `; -exports[`regex-v-flag.js [espree] format 1`] = ` -"Invalid regular expression flag (1:2) -> 1 | /a/v; - | ^ - 2 |" -`; - exports[`regex-v-flag.js [meriyah] format 1`] = ` "Unexpected regular expression flag (1:3) > 1 | /a/v; diff --git a/tests/format/js/babel-plugins/jsfmt.spec.js b/tests/format/js/babel-plugins/jsfmt.spec.js index 2a2bc49e60df..b47c0f904eca 100644 --- a/tests/format/js/babel-plugins/jsfmt.spec.js +++ b/tests/format/js/babel-plugins/jsfmt.spec.js @@ -56,7 +56,6 @@ run_spec(import.meta, ["babel", "babel-ts", "babel-flow"], { "v8intrinsic.js", "module-blocks.js", "async-do-expressions.js", - "regex-v-flag.js", "decorator-auto-accessors.js", "import-reflection.js", "explicit-resource-management.js", diff --git a/tests/format/js/regex/__snapshots__/jsfmt.spec.js.snap b/tests/format/js/regex/__snapshots__/jsfmt.spec.js.snap index 4cd5ff0699fd..bd5699df4bd3 100644 --- a/tests/format/js/regex/__snapshots__/jsfmt.spec.js.snap +++ b/tests/format/js/regex/__snapshots__/jsfmt.spec.js.snap @@ -89,13 +89,6 @@ printWidth: 80 ================================================================================ `; -exports[`v-flag.js [espree] format 1`] = ` -"Invalid regular expression flag (1:2) -> 1 | /a/v; - | ^ - 2 |" -`; - exports[`v-flag.js [flow] format 1`] = ` "Invalid flags supplied to RegExp constructor 'v' (1:5) > 1 | /a/v; diff --git a/tests/format/js/regex/jsfmt.spec.js b/tests/format/js/regex/jsfmt.spec.js index 393efdf92abd..3258f73a53bd 100644 --- a/tests/format/js/regex/jsfmt.spec.js +++ b/tests/format/js/regex/jsfmt.spec.js @@ -2,7 +2,7 @@ run_spec(import.meta, ["babel", "flow", "typescript"], { errors: { flow: ["v-flag.js"], acorn: ["regexp-modifiers.js"], - espree: ["v-flag.js", "regexp-modifiers.js"], + espree: ["regexp-modifiers.js"], meriyah: ["v-flag.js", "regexp-modifiers.js"], }, }); diff --git a/yarn.lock b/yarn.lock index ecf318b0f7f4..8a850299b50e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1898,7 +1898,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:8.9.0, acorn@npm:^8.8.0, acorn@npm:^8.9.0": +"acorn@npm:8.9.0, acorn@npm:^8.9.0": version: 8.9.0 resolution: "acorn@npm:8.9.0" bin: @@ -3720,18 +3720,7 @@ __metadata: languageName: node linkType: hard -"espree@npm:9.5.2": - version: 9.5.2 - resolution: "espree@npm:9.5.2" - dependencies: - acorn: ^8.8.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: 6506289d6eb26471c0b383ee24fee5c8ae9d61ad540be956b3127be5ce3bf687d2ba6538ee5a86769812c7c552a9d8239e8c4d150f9ea056c6d5cbe8399c03c1 - languageName: node - linkType: hard - -"espree@npm:^9.6.0": +"espree@npm:9.6.0, espree@npm:^9.6.0": version: 9.6.0 resolution: "espree@npm:9.6.0" dependencies: @@ -6857,7 +6846,7 @@ __metadata: eslint-plugin-regexp: 1.15.0 eslint-plugin-unicorn: 47.0.0 esm-utils: 4.1.2 - espree: 9.5.2 + espree: 9.6.0 execa: 7.1.1 fast-glob: 3.2.12 fast-json-stable-stringify: 2.1.0