[fix] code generation with arrow functions and object destructuring assignments ()

pull/5176/head
Conduitry 3 years ago committed by GitHub
parent 3f577d0bcc
commit fb419d2fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,7 @@
* Fix non-boolean attribute rendering in SSR to render truthy values as-is ([#6121](https://github.com/sveltejs/svelte/issues/6121)) * Fix non-boolean attribute rendering in SSR to render truthy values as-is ([#6121](https://github.com/sveltejs/svelte/issues/6121))
* Fix `{:else if}` value incorrectly being cached ([#7043](https://github.com/sveltejs/svelte/pull/7043)) * Fix `{:else if}` value incorrectly being cached ([#7043](https://github.com/sveltejs/svelte/pull/7043))
* Add `a11y-no-redundant-roles` warning ([#7067](https://github.com/sveltejs/svelte/pull/7067)) * Add `a11y-no-redundant-roles` warning ([#7067](https://github.com/sveltejs/svelte/pull/7067))
* Fix code generation error with arrow functions whose bodies are object destructuring assignments ([#7087](https://github.com/sveltejs/svelte/issues/7087))
## 3.44.3 ## 3.44.3

14
package-lock.json generated

@ -25,7 +25,7 @@
"acorn": "^8.4.1", "acorn": "^8.4.1",
"agadoo": "^1.1.0", "agadoo": "^1.1.0",
"c8": "^5.0.1", "c8": "^5.0.1",
"code-red": "^0.2.3", "code-red": "^0.2.4",
"codecov": "^3.5.0", "codecov": "^3.5.0",
"css-tree": "^1.1.2", "css-tree": "^1.1.2",
"eslint": "^7.32.0", "eslint": "^7.32.0",
@ -1082,9 +1082,9 @@
} }
}, },
"node_modules/code-red": { "node_modules/code-red": {
"version": "0.2.3", "version": "0.2.4",
"resolved": "https://registry.npmjs.org/code-red/-/code-red-0.2.3.tgz", "resolved": "https://registry.npmjs.org/code-red/-/code-red-0.2.4.tgz",
"integrity": "sha512-l9MRiYO9iNx3dCpoZBZkaHAVtbhig8TBddEHq7ssWcZRAjaYR8NoRFzZ56VJ20TIg7hEQegCVCH3fVus+2Ol4Q==", "integrity": "sha512-tAJQiZviSyB2KUhz+rocKFzCHPkVooX2aFrdpfWDRvxWJaBQTYFJ/Z2TcWqbjXj5oJJBlqd2GxBXdtAhOXySVQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/estree": "^0.0.50", "@types/estree": "^0.0.50",
@ -6376,9 +6376,9 @@
} }
}, },
"code-red": { "code-red": {
"version": "0.2.3", "version": "0.2.4",
"resolved": "https://registry.npmjs.org/code-red/-/code-red-0.2.3.tgz", "resolved": "https://registry.npmjs.org/code-red/-/code-red-0.2.4.tgz",
"integrity": "sha512-l9MRiYO9iNx3dCpoZBZkaHAVtbhig8TBddEHq7ssWcZRAjaYR8NoRFzZ56VJ20TIg7hEQegCVCH3fVus+2Ol4Q==", "integrity": "sha512-tAJQiZviSyB2KUhz+rocKFzCHPkVooX2aFrdpfWDRvxWJaBQTYFJ/Z2TcWqbjXj5oJJBlqd2GxBXdtAhOXySVQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/estree": "^0.0.50", "@types/estree": "^0.0.50",

@ -132,7 +132,7 @@
"acorn": "^8.4.1", "acorn": "^8.4.1",
"agadoo": "^1.1.0", "agadoo": "^1.1.0",
"c8": "^5.0.1", "c8": "^5.0.1",
"code-red": "^0.2.3", "code-red": "^0.2.4",
"codecov": "^3.5.0", "codecov": "^3.5.0",
"css-tree": "^1.1.2", "css-tree": "^1.1.2",
"eslint": "^7.32.0", "eslint": "^7.32.0",

Loading…
Cancel
Save