chore: update parser snapshots (#17267)

* chore: update snapshots

* update .prettierignore
hydratable-thenable
Rich Harris 1 week 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",
@ -45,4 +47,4 @@
} }
] ]
} }
} }

@ -109,4 +109,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -119,4 +119,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

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

@ -82,4 +82,4 @@
"comment": null "comment": null
} }
} }
} }

@ -481,4 +481,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -266,4 +266,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -241,4 +241,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -869,4 +869,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -119,4 +119,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -147,4 +147,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -176,4 +176,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -147,4 +147,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -147,4 +147,4 @@
"sourceType": "module" "sourceType": "module"
} }
} }
} }

@ -138,4 +138,4 @@
] ]
}, },
"options": null "options": null
} }

@ -1114,4 +1114,4 @@
] ]
}, },
"options": null "options": null
} }

@ -406,4 +406,4 @@
"nodes": [] "nodes": []
}, },
"options": null "options": null
} }

@ -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"
} }
] ]
} }
@ -823,4 +823,4 @@
] ]
}, },
"options": null "options": null
} }

@ -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"
} }
] ]
} }
@ -1178,4 +1178,4 @@
] ]
}, },
"options": null "options": null
} }

@ -108,4 +108,4 @@
] ]
}, },
"options": null "options": null
} }

@ -202,4 +202,4 @@
] ]
}, },
"options": null "options": null
} }

@ -45,4 +45,4 @@
] ]
}, },
"options": null "options": null
} }

@ -168,4 +168,4 @@
] ]
}, },
"options": null "options": null
} }

@ -483,4 +483,4 @@
] ]
}, },
"options": null "options": null
} }

@ -411,4 +411,4 @@
] ]
}, },
"options": null "options": null
} }

@ -429,4 +429,4 @@
] ]
}, },
"options": null "options": null
} }

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save