@babel/plugin-transform-modules-commonjs
Advanced tools
Comparing version 7.14.5 to 7.15.0
@@ -19,3 +19,3 @@ "use strict"; | ||
var _default = (0, _helperPluginUtils.declare)((api, options) => { | ||
var _api$assumption, _api$assumption2; | ||
var _api$assumption, _api$assumption2, _api$assumption3; | ||
@@ -37,2 +37,3 @@ api.assertVersion(7); | ||
const enumerableModuleMeta = (_api$assumption2 = api.assumption("enumerableModuleMeta")) != null ? _api$assumption2 : options.loose; | ||
const noIncompleteNsImportDetection = (_api$assumption3 = api.assumption("noIncompleteNsImportDetection")) != null ? _api$assumption3 : false; | ||
@@ -159,3 +160,4 @@ if (typeof lazy !== "boolean" && typeof lazy !== "function" && (!Array.isArray(lazy) || !lazy.every(item => typeof item === "string"))) { | ||
lazy, | ||
esNamespaceOnly: typeof state.filename === "string" && /\.mjs$/.test(state.filename) ? mjsStrictNamespace : strictNamespace | ||
esNamespaceOnly: typeof state.filename === "string" && /\.mjs$/.test(state.filename) ? mjsStrictNamespace : strictNamespace, | ||
noIncompleteNsImportDetection | ||
}); | ||
@@ -162,0 +164,0 @@ |
{ | ||
"name": "@babel/plugin-transform-modules-commonjs", | ||
"version": "7.14.5", | ||
"version": "7.15.0", | ||
"description": "This plugin transforms ES2015 modules to CommonJS", | ||
@@ -16,5 +16,5 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-module-transforms": "^7.14.5", | ||
"@babel/helper-module-transforms": "^7.15.0", | ||
"@babel/helper-plugin-utils": "^7.14.5", | ||
"@babel/helper-simple-access": "^7.14.5", | ||
"@babel/helper-simple-access": "^7.14.8", | ||
"babel-plugin-dynamic-import-node": "^2.3.3" | ||
@@ -29,3 +29,3 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "7.14.5", | ||
"@babel/core": "7.15.0", | ||
"@babel/helper-plugin-test-runner": "7.14.5", | ||
@@ -32,0 +32,0 @@ "@babel/plugin-external-helpers": "7.14.5", |
9761
167
+ Addedcaniuse-lite@1.0.30001616(transitive)
+ Addedpicocolors@1.0.0(transitive)
+ Addedupdate-browserslist-db@1.0.15(transitive)
- Removedcaniuse-lite@1.0.30001618(transitive)
- Removedpicocolors@1.0.1(transitive)
- Removedupdate-browserslist-db@1.0.16(transitive)