Explorar el Código

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
Evan You hace 5 años
padre
commit
34f354b2a0
Se han modificado 2 ficheros con 5 adiciones y 5 borrados
  1. 1 1
      package.json
  2. 4 4
      yarn.lock

+ 1 - 1
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",

+ 4 - 4
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"