From 040e9cc6fa09f670d77d9da8b60ec44391f6db81 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Thu, 22 Oct 2020 15:53:56 -0400 Subject: [PATCH] fix code generation error with nullish coalescing operator and logical operators (#5564) --- CHANGELOG.md | 4 ++++ package-lock.json | 10 +++++----- package.json | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87645dd1d1..9a7bbe1f57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Svelte changelog +## Unreleased + +* Fix code generation error with `??` alongside logical operators ([#5558](https://github.com/sveltejs/svelte/issues/5558)) + ## 3.29.3 * Hopefully actually republish with proper UMD build for use in the REPL diff --git a/package-lock.json b/package-lock.json index 93c6d785e1..f565b18059 100644 --- a/package-lock.json +++ b/package-lock.json @@ -144,8 +144,8 @@ } }, "@sveltejs/eslint-config": { - "version": "github:sveltejs/eslint-config#673335baf2ebc4b845eca9ea8eb51a050fd5cc25", - "from": "github:sveltejs/eslint-config#v5.2.0", + "version": "github:sveltejs/eslint-config#5d1ba28f99568e42f26d9b7484ab57720f6ec9b4", + "from": "github:sveltejs/eslint-config#v5.4.0", "dev": true }, "@tootallnate/once": { @@ -804,9 +804,9 @@ } }, "code-red": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/code-red/-/code-red-0.1.3.tgz", - "integrity": "sha512-3n9i1Jv0om4+2Aq7pCL8M5xRgc2wTXsblsYUxXJDpgBZ3wJP1zbcNzu4XgUqrG0rjc1to2yh+3n9rwHsJa7qSA==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/code-red/-/code-red-0.1.4.tgz", + "integrity": "sha512-NPiLFd1EfonYONCNXCH1oVirQMXk5oAOQ3FanRbjB4HZ09rTU/lZGKjVOOP0FKr4pccGVYE5I4CqtyU6ens2VA==", "dev": true, "requires": { "acorn": "^7.3.1", diff --git a/package.json b/package.json index 1e717bab5e..36ffb6a508 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "acorn": "^7.4.0", "agadoo": "^1.1.0", "c8": "^5.0.1", - "code-red": "^0.1.3", + "code-red": "^0.1.4", "codecov": "^3.5.0", "css-tree": "1.0.0-alpha22", "eslint": "^7.1.0",