Skip to content

Commit

Permalink
Update dynamic import (#11453)
Browse files Browse the repository at this point in the history
* Update babel-plugin-proposal-dynamic-import fixture test outputs

* Update package.json files

Co-authored-by: Arun Kumar Mohan <arunmohandm@gmail.com>
  • Loading branch information
nicolo-ribaudo and arku committed Apr 21, 2020
1 parent 5300880 commit 5b8477e
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
@@ -1,3 +1,3 @@
"use strict";

var modP = Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require("mod")));
var modP = Promise.resolve("mod").then(s => babelHelpers.interopRequireWildcard(require(s)));
@@ -1 +1 @@
var modP = Promise.resolve().then(() => require("mod"));
var modP = Promise.resolve("mod").then(s => require(s));
@@ -1 +1 @@
var modP = Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require("mod")));
var modP = Promise.resolve("mod").then(s => babelHelpers.interopRequireWildcard(require(s)));
Expand Up @@ -2,5 +2,5 @@ var _require2 = "foo";

(async function () {
var _require = "bar";
await Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require("./mod")));
await Promise.resolve("./mod").then(s => babelHelpers.interopRequireWildcard(require(s)));
})();
@@ -1 +1 @@
Promise.resolve().then(() => babelHelpers.interopRequireWildcard(require(`${2}`)));
Promise.resolve(`${2}`).then(s => babelHelpers.interopRequireWildcard(require(s)));
2 changes: 1 addition & 1 deletion packages/babel-plugin-transform-modules-amd/package.json
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@babel/helper-module-transforms": "^7.9.0",
"@babel/helper-plugin-utils": "^7.8.3",
"babel-plugin-dynamic-import-node": "^2.3.0"
"babel-plugin-dynamic-import-node": "^2.3.2"
},
"keywords": [
"babel-plugin"
Expand Down
Expand Up @@ -12,7 +12,7 @@
"@babel/helper-module-transforms": "^7.9.0",
"@babel/helper-plugin-utils": "^7.8.3",
"@babel/helper-simple-access": "^7.8.3",
"babel-plugin-dynamic-import-node": "^2.3.0"
"babel-plugin-dynamic-import-node": "^2.3.2"
},
"keywords": [
"babel-plugin"
Expand Down
Expand Up @@ -12,7 +12,7 @@
"@babel/helper-hoist-variables": "^7.8.3",
"@babel/helper-module-transforms": "^7.9.0",
"@babel/helper-plugin-utils": "^7.8.3",
"babel-plugin-dynamic-import-node": "^2.3.0"
"babel-plugin-dynamic-import-node": "^2.3.2"
},
"keywords": [
"babel-plugin"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b8477e

Please sign in to comment.