From f5ee0a3d01b42de77b4f47c132091c8c6aa8299f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 Aug 2025 22:46:45 +0800 Subject: [PATCH] chore(deps): update dependency @glimmer/syntax to v0.95.0 (#17769) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker --- package.json | 2 +- .../__snapshots__/format.test.js.snap | 18 ++++++++--------- yarn.lock | 20 +++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index cf901824c..581aecacd 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@babel/code-frame": "7.27.1", "@babel/parser": "7.28.0", "@babel/types": "7.28.0", - "@glimmer/syntax": "0.94.9", + "@glimmer/syntax": "0.95.0", "@prettier/cli": "0.9.0", "@prettier/html-tags": "1.1.0", "@prettier/parse-srcset": "3.1.0", diff --git a/tests/format/misc/errors/handlebars/__snapshots__/format.test.js.snap b/tests/format/misc/errors/handlebars/__snapshots__/format.test.js.snap index 8eb48d537..a5571eb1a 100644 --- a/tests/format/misc/errors/handlebars/__snapshots__/format.test.js.snap +++ b/tests/format/misc/errors/handlebars/__snapshots__/format.test.js.snap @@ -1,7 +1,7 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`invalid.hbs [glimmer] format 1`] = ` -"Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'INVALID' (2:11) +"Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_ARRAY', 'CLOSE_ARRAY', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', 'PRIVATE_SEP', got 'INVALID' (2:11) 1 | > 2 | x, {{@name} | ^ @@ -9,7 +9,7 @@ exports[`invalid.hbs [glimmer] format 1`] = ` Cause: Parse error on line 2: x, {{@name} --------------^ -Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'INVALID'" +Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_ARRAY', 'CLOSE_ARRAY', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', 'PRIVATE_SEP', got 'INVALID'" `; exports[`invalid-2.hbs [glimmer] format 1`] = ` @@ -29,7 +29,7 @@ Cause: Unclosed element \`@name\`: `; exports[`invalid-3.hbs [glimmer] format 1`] = ` -"Expecting 'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE' (3:3) +"Expecting 'OPEN_SEXPR', 'ID', 'OPEN_ARRAY', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE' (3:3) 1 | 2 | > 3 | {{}} @@ -38,7 +38,7 @@ exports[`invalid-3.hbs [glimmer] format 1`] = ` Cause: Parse error on line 3: {{}} -----^ -Expecting 'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE'" +Expecting 'OPEN_SEXPR', 'ID', 'OPEN_ARRAY', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE'" `; exports[`snippet: IMG [glimmer] format 1`] = ` @@ -406,23 +406,23 @@ Cause: elements do not need end tags. You should remove it: `; exports[`tilde-comments-1.hbs [glimmer] format 1`] = ` -"Expecting 'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE' (1:4) +"Expecting 'OPEN_SEXPR', 'ID', 'OPEN_ARRAY', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE' (1:4) > 1 | {{~}} | ^ 2 | Cause: Parse error on line 1: {{~}} ---^ -Expecting 'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE'" +Expecting 'OPEN_SEXPR', 'ID', 'OPEN_ARRAY', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE'" `; exports[`tilde-comments-2.hbs [glimmer] format 1`] = ` -"Expecting 'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE' (1:4) +"Expecting 'OPEN_SEXPR', 'ID', 'OPEN_ARRAY', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE' (1:4) > 1 | {{~~}} | ^ 2 | Cause: Parse error on line 1: {{~~}} ---^ -Expecting 'OPEN_SEXPR', 'ID', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE'" +Expecting 'OPEN_SEXPR', 'ID', 'OPEN_ARRAY', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', got 'CLOSE'" `; diff --git a/yarn.lock b/yarn.lock index dd6aed7cc..58a488e18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1394,16 +1394,16 @@ __metadata: languageName: node linkType: hard -"@glimmer/syntax@npm:0.94.9": - version: 0.94.9 - resolution: "@glimmer/syntax@npm:0.94.9" +"@glimmer/syntax@npm:0.95.0": + version: 0.95.0 + resolution: "@glimmer/syntax@npm:0.95.0" dependencies: "@glimmer/interfaces": "npm:0.94.6" "@glimmer/util": "npm:0.94.8" "@glimmer/wire-format": "npm:0.94.8" - "@handlebars/parser": "npm:~2.0.0" + "@handlebars/parser": "npm:~2.2.0" simple-html-tokenizer: "npm:^0.5.11" - checksum: 10/b2ed32fc4614b609f6088f8be74cad163b78835f69661a7b111c98e8a4de0e9eab481026f908e6cfd79408806a7f5f49aff08deeba859e9fcec3bef2a515154f + checksum: 10/bc773a7a6fb1d1fe13a4df4d86296c1a5128bc14062f7fc0be3943d7bf67939e5ca35bba74f2646531c2e0ba156db2e78b82e1ef2c5fa846715f6133fb8beee9 languageName: node linkType: hard @@ -1425,10 +1425,10 @@ __metadata: languageName: node linkType: hard -"@handlebars/parser@npm:~2.0.0": - version: 2.0.0 - resolution: "@handlebars/parser@npm:2.0.0" - checksum: 10/1c7c7fbe5dac683483fc963a932bfa856429342ac55c4f41c91a519cb7bb0ccb81259c0aadb8b1bbe59600c8050502bec0d493fbd497ce6e310c60f2aebec58f +"@handlebars/parser@npm:~2.2.0": + version: 2.2.1 + resolution: "@handlebars/parser@npm:2.2.1" + checksum: 10/14126dd5d0f185f4121d6ad81f88939294e9d4a539f10e2e5772c1b9cd6b610949595f15e106315cfe9fedbcc22d8cf93242ee0c5c002699e4b672fe379d83e4 languageName: node linkType: hard @@ -7443,7 +7443,7 @@ __metadata: "@babel/types": "npm:7.28.0" "@eslint-react/eslint-plugin": "npm:1.52.3" "@eslint/js": "npm:9.32.0" - "@glimmer/syntax": "npm:0.94.9" + "@glimmer/syntax": "npm:0.95.0" "@prettier/cli": "npm:0.9.0" "@prettier/html-tags": "npm:1.1.0" "@prettier/parse-srcset": "npm:3.1.0"