From 34f354b2a0eeb6c148ca485ae3558842814ea4d2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 1 Mar 2021 10:20:44 -0500 Subject: [PATCH] fix(deps): pin Rollup to 2.38 Rollup 2.39 changes cjs re-exports code generation which breaks named exports static analysis of cjs-module-lexer / Node esm mode. close #3332 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8316acb17d3..b5423e71f60 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "npm-run-all": "^4.1.5", "prettier": "~1.14.0", "puppeteer": "^2.0.0", - "rollup": "^2.26.11", + "rollup": "~2.38.5", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-terser": "^7.0.2", diff --git a/yarn.lock b/yarn.lock index e4654e3e743..357eb992fb8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6370,10 +6370,10 @@ rollup-pluginutils@^2.3.1: dependencies: estree-walker "^0.6.1" -rollup@^2.26.11: - version "2.40.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.40.0.tgz#efc218eaede7ab590954df50f96195188999c304" - integrity sha512-WiOGAPbXoHu+TOz6hyYUxIksOwsY/21TRWoO593jgYt8mvYafYqQl+axaA8y1z2HFazNUUrsMSjahV2A6/2R9A== +rollup@~2.38.5: + version "2.38.5" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.38.5.tgz#be41ad4fe0c103a8794377afceb5f22b8f603d6a" + integrity sha512-VoWt8DysFGDVRGWuHTqZzT02J0ASgjVq/hPs9QcBOGMd7B+jfTr/iqMVEyOi901rE3xq+Deq66GzIT1yt7sGwQ== optionalDependencies: fsevents "~2.3.1"