From d4ed917542dcf62cb86f8bfc037d0d55e49e60d4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 21 Dec 2025 08:18:31 +0800 Subject: [PATCH] Update dependency flow-parser to v0.295.0 (#18503) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker --- package.json | 2 +- .../misc/errors/flow/__snapshots__/format.test.js.snap | 4 ++-- yarn.lock | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2844f6827..9b763f3a3 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "fast-json-stable-stringify": "2.1.0", "file-entry-cache": "11.1.1", "find-cache-directory": "6.0.0", - "flow-parser": "0.294.0", + "flow-parser": "0.295.0", "get-east-asian-width": "1.4.0", "get-stdin": "9.0.0", "graphql": "16.12.0", diff --git a/tests/format/misc/errors/flow/__snapshots__/format.test.js.snap b/tests/format/misc/errors/flow/__snapshots__/format.test.js.snap index 9c1cca9cf..d5cc8f16a 100644 --- a/tests/format/misc/errors/flow/__snapshots__/format.test.js.snap +++ b/tests/format/misc/errors/flow/__snapshots__/format.test.js.snap @@ -23,9 +23,9 @@ exports[`invalid_keyword_symbol.js [flow] format 1`] = ` `; exports[`module-attributes-static.js [flow] format 1`] = ` -"Unexpected token \`with\`, expected the token \`;\` (1:28) +"Unexpected token \`type\`, expected the token \`{\` (1:33) > 1 | import foo from "foo.json" with type: "json"; - | ^^^^ + | ^^^^ 2 |" `; diff --git a/yarn.lock b/yarn.lock index 0a4cbbd9c..5312a0ff9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4681,10 +4681,10 @@ __metadata: languageName: node linkType: hard -"flow-parser@npm:0.294.0": - version: 0.294.0 - resolution: "flow-parser@npm:0.294.0" - checksum: 10/ad4e01355fa5719c98a158f3aa9c9acf181f8e973d81fa38e28bf7977d9c9b3be14f14bc36d1e54896d3532b3a91d1d65aba8f8fe8dc079073697726083464ee +"flow-parser@npm:0.295.0": + version: 0.295.0 + resolution: "flow-parser@npm:0.295.0" + checksum: 10/a70b90d6a9e754199749eef58f69f203a807c857318baac144746f336c5f5266e4de5457c2976f2aee0a593736c9ac7c2501673e627f451acccf1f6305730120 languageName: node linkType: hard @@ -7339,7 +7339,7 @@ __metadata: fast-json-stable-stringify: "npm:2.1.0" file-entry-cache: "npm:11.1.1" find-cache-directory: "npm:6.0.0" - flow-parser: "npm:0.294.0" + flow-parser: "npm:0.295.0" get-east-asian-width: "npm:1.4.0" get-stdin: "npm:9.0.0" gfm-test-suite: "npm:0.0.2"