From 01ed0ce3de421a641bbd53a84b02ae39c3d6f5c3 Mon Sep 17 00:00:00 2001 From: Alan Pierce Date: Thu, 7 Oct 2021 12:37:37 -0700 Subject: [PATCH] v3.20.2 --- CHANGELOG.md | 6 ++++++ package.json | 4 ++-- website/package.json | 2 +- website/yarn.lock | 8 ++++---- yarn.lock | 8 ++++---- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 750cd4cb..b785fac3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 3.20.2 (2021-10-07) + +* Fix ASI issue that broke function declarations immediately following a default + export. ([#648]) (Ben Lambert) + # 3.20.1 (2021-08-09) * Fix transformation of anonymous "export default" classes. ([#614]) (Matthieu Gicquel) @@ -377,3 +382,4 @@ [#636]: https://github.com/alangpierce/sucrase/pull/636 [#637]: https://github.com/alangpierce/sucrase/pull/637 [#642]: https://github.com/alangpierce/sucrase/pull/642 +[#648]: https://github.com/alangpierce/sucrase/pull/648 diff --git a/package.json b/package.json index 36a07b33..b814ea57 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sucrase", - "version": "3.20.1", + "version": "3.20.2", "description": "Super-fast alternative to Babel for when you can target modern JS runtimes", "author": "Alan Pierce ", "license": "MIT", @@ -61,7 +61,7 @@ "mocha": "^7.1.1", "nyc": "^14.1.1", "prettier": "^2.0.5", - "sucrase": "^3.20.1", + "sucrase": "^3.20.2", "test262-harness": "^6.5.0", "ts-interface-builder": "^0.2.1", "typescript": "^4.1.3" diff --git a/website/package.json b/website/package.json index 1d898f48..8a7eaea7 100644 --- a/website/package.json +++ b/website/package.json @@ -38,7 +38,7 @@ "react-monaco-editor": "^0.32.1", "react-virtualized": "^9.21.1", "style-loader": "^1.0.0", - "sucrase": "^3.20.1", + "sucrase": "^3.20.2", "typescript": "^4.1.3", "url-loader": "^2.2.0", "webpack": "^4.41.2", diff --git a/website/yarn.lock b/website/yarn.lock index e6bdf117..4c74fe94 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -7023,10 +7023,10 @@ style-loader@^1.0.0: loader-utils "^2.0.0" schema-utils "^2.7.0" -sucrase@^3.20.1: - version "3.20.1" - resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.20.1.tgz#1c055e97d0fab2f9857f02461364075b3a4ab226" - integrity sha512-BIG59HaJOxNct9Va6KvT5yzBA/rcMGetzvZyTx0ZdCcspIbpJTPS64zuAfYlJuOj+3WaI5JOdA+F0bJQQi8ZiQ== +sucrase@^3.20.2: + version "3.20.2" + resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.20.2.tgz#28a28dc58a55be0d6916d5c9b2440d203e9ffe62" + integrity sha512-EdJ5M6VEvToIZwIWiZ71cxe4CklDRG8PdSjUSst+BZCUGlaEhnrdQo/LOXsuq3MjWRbfepg1XTffClK0Tmo0HQ== dependencies: commander "^4.0.0" glob "7.1.6" diff --git a/yarn.lock b/yarn.lock index 5bf1b181..d3627a0e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2742,10 +2742,10 @@ stubs@^3.0.0: resolved "https://registry.yarnpkg.com/stubs/-/stubs-3.0.0.tgz#e8d2ba1fa9c90570303c030b6900f7d5f89abe5b" integrity sha1-6NK6H6nJBXAwPAMLaQD31fiavls= -sucrase@^3.20.1: - version "3.20.1" - resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.20.1.tgz#1c055e97d0fab2f9857f02461364075b3a4ab226" - integrity sha512-BIG59HaJOxNct9Va6KvT5yzBA/rcMGetzvZyTx0ZdCcspIbpJTPS64zuAfYlJuOj+3WaI5JOdA+F0bJQQi8ZiQ== +sucrase@^3.20.2: + version "3.20.2" + resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.20.2.tgz#28a28dc58a55be0d6916d5c9b2440d203e9ffe62" + integrity sha512-EdJ5M6VEvToIZwIWiZ71cxe4CklDRG8PdSjUSst+BZCUGlaEhnrdQo/LOXsuq3MjWRbfepg1XTffClK0Tmo0HQ== dependencies: commander "^4.0.0" glob "7.1.6"