chore: update parser snapshots (#17267)

* chore: update snapshots

* update .prettierignore
hydratable-thenable
Rich Harris 10 months ago committed by GitHub
parent 570f64963b
commit 6d696be170
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -25,6 +25,10 @@ packages/svelte/tests/**/_output
packages/svelte/tests/**/shards/*.test.js packages/svelte/tests/**/shards/*.test.js
packages/svelte/tests/hydration/samples/*/_expected.html packages/svelte/tests/hydration/samples/*/_expected.html
packages/svelte/tests/hydration/samples/*/_override.html packages/svelte/tests/hydration/samples/*/_override.html
packages/svelte/tests/parser-legacy/samples/*/_actual.json
packages/svelte/tests/parser-legacy/samples/*/output.json
packages/svelte/tests/parser-modern/samples/*/_actual.json
packages/svelte/tests/parser-modern/samples/*/output.json
packages/svelte/types packages/svelte/types
packages/svelte/compiler/index.js packages/svelte/compiler/index.js
playgrounds/sandbox/src/* playgrounds/sandbox/src/*

@ -15,7 +15,9 @@
"end": 36, "end": 36,
"type": "StyleDirective", "type": "StyleDirective",
"name": "color", "name": "color",
"modifiers": ["important"], "modifiers": [
"important"
],
"value": [ "value": [
{ {
"type": "MustacheTag", "type": "MustacheTag",

@ -9,7 +9,10 @@
"start": 0, "start": 0,
"end": 31, "end": 31,
"data": " svelte-ignore foo, bar ", "data": " svelte-ignore foo, bar ",
"ignores": ["foo", "bar"] "ignores": [
"foo",
"bar"
]
} }
] ]
} }

@ -79,7 +79,6 @@
}, },
"name": "y" "name": "y"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 14, "start": 14,
@ -127,7 +126,8 @@
"value": "z", "value": "z",
"raw": "'z'" "raw": "'z'"
} }
} },
"kind": "init"
} }
] ]
} }
@ -211,7 +211,6 @@
}, },
"name": "y" "name": "y"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 47, "start": 47,
@ -259,7 +258,8 @@
"value": "{", "value": "{",
"raw": "'{'" "raw": "'{'"
} }
} },
"kind": "init"
} }
] ]
} }
@ -343,7 +343,6 @@
}, },
"name": "y" "name": "y"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 80, "start": 80,
@ -391,7 +390,8 @@
"value": "]", "value": "]",
"raw": "']'" "raw": "']'"
} }
} },
"kind": "init"
} }
] ]
} }
@ -475,7 +475,6 @@
}, },
"name": "y" "name": "y"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 113, "start": 113,
@ -603,7 +602,8 @@
} }
] ]
} }
} },
"kind": "init"
} }
] ]
} }
@ -687,7 +687,6 @@
}, },
"name": "y" "name": "y"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 151, "start": 151,
@ -815,7 +814,8 @@
} }
] ]
} }
} },
"kind": "init"
} }
] ]
} }

@ -204,7 +204,6 @@
}, },
"name": "name" "name": "name"
}, },
"kind": "init",
"value": { "value": {
"type": "Identifier", "type": "Identifier",
"start": 19, "start": 19,
@ -220,7 +219,8 @@
} }
}, },
"name": "name" "name": "name"
} },
"kind": "init"
}, },
{ {
"type": "Property", "type": "Property",
@ -255,7 +255,6 @@
}, },
"name": "cool" "name": "cool"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 25, "start": 25,
@ -303,7 +302,8 @@
"value": true, "value": true,
"raw": "true" "raw": "true"
} }
} },
"kind": "init"
} }
] ]
} }
@ -512,7 +512,6 @@
}, },
"name": "name" "name": "name"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 115, "start": 115,
@ -619,7 +618,8 @@
} }
] ]
} }
} },
"kind": "init"
}, },
{ {
"type": "Property", "type": "Property",
@ -654,7 +654,6 @@
}, },
"name": "cool" "name": "cool"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 139, "start": 139,
@ -702,7 +701,8 @@
"value": true, "value": true,
"raw": "true" "raw": "true"
} }
} },
"kind": "init"
} }
] ]
} }
@ -911,7 +911,6 @@
}, },
"name": "name" "name": "name"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 229, "start": 229,
@ -1087,7 +1086,8 @@
"arguments": [], "arguments": [],
"optional": false "optional": false
} }
} },
"kind": "init"
}, },
{ {
"type": "Property", "type": "Property",
@ -1122,7 +1122,6 @@
}, },
"name": "cool" "name": "cool"
}, },
"kind": "init",
"value": { "value": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"start": 275, "start": 275,
@ -1170,7 +1169,8 @@
"value": true, "value": true,
"raw": "true" "raw": "true"
} }
} },
"kind": "init"
} }
] ]
} }

Loading…
Cancel
Save