-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update glimmer to v0.88.1 (#15991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker <[email protected]>
- Loading branch information
1 parent
45baee0
commit 8cbee2e
Showing
9 changed files
with
117 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
export { visitorKeys as default } from "@glimmer/syntax"; | ||
import { visitorKeys as glimmerVisitorKeys } from "@glimmer/syntax"; | ||
|
||
const { | ||
// These node types presents on `ElementNode`, but we don't care about them | ||
// https://github.com/glimmerjs/glimmer-vm/pull/1553 | ||
ElementStartNode, // `ElementNode.startTag` | ||
ElementPartNode, // `ElementNode.parts` | ||
ElementEndNode, // `ElementNode.endTag` | ||
ElementNameNode, // `ElementNode.nameNode` | ||
|
||
// This presents on `{Block,ElementNode}.blockParamNodes`, but we don't care about them | ||
// https://github.com/glimmerjs/glimmer-vm/pull/1552 | ||
BlockParam, | ||
|
||
...visitorKeys | ||
} = glimmerVisitorKeys; | ||
|
||
export default visitorKeys; |
16 changes: 16 additions & 0 deletions
16
tests/format/handlebars/block-param/__snapshots__/jsfmt.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`block-param.hbs format 1`] = ` | ||
====================================options===================================== | ||
parsers: ["glimmer"] | ||
printWidth: 80 | ||
| printWidth | ||
=====================================input====================================== | ||
<Foo as | ||
|bar baz qux|></Foo>{{#Foo as | ||
|bar baz qux|}}{{/Foo}} | ||
=====================================output===================================== | ||
<Foo as |bar baz qux| />{{#Foo as |bar baz qux|}}{{/Foo}} | ||
================================================================================ | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<Foo as | ||
|bar baz qux|></Foo>{{#Foo as | ||
|bar baz qux|}}{{/Foo}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
runFormatTest(import.meta, ["glimmer"]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<Foo as |bar|> | ||
<bar.x.y class='bar'/> | ||
<bar.x.y class='bar'></bar.x.y> | ||
</Foo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters