@babel/plugin-transform-modules-umd
Advanced tools
Comparing version 7.12.13 to 7.13.0
@@ -40,2 +40,4 @@ "use strict"; | ||
var _default = (0, _helperPluginUtils.declare)((api, options) => { | ||
var _api$assumption, _api$assumption2; | ||
api.assertVersion(7); | ||
@@ -45,3 +47,2 @@ const { | ||
exactGlobals, | ||
loose, | ||
allowTopLevelThis, | ||
@@ -52,2 +53,4 @@ strict, | ||
} = options; | ||
const constantReexports = (_api$assumption = api.assumption("constantReexports")) != null ? _api$assumption : options.loose; | ||
const enumerableModuleMeta = (_api$assumption2 = api.assumption("enumerableModuleMeta")) != null ? _api$assumption2 : options.loose; | ||
@@ -113,3 +116,4 @@ function buildBrowserInit(browserGlobals, exactGlobals, filename, moduleName) { | ||
} = (0, _helperModuleTransforms.rewriteModuleStatementsAndPrepareHeader)(path, { | ||
loose, | ||
constantReexports, | ||
enumerableModuleMeta, | ||
strict, | ||
@@ -149,3 +153,3 @@ strictMode, | ||
headers.push(...(0, _helperModuleTransforms.buildNamespaceInitStatements)(meta, metadata, loose)); | ||
headers.push(...(0, _helperModuleTransforms.buildNamespaceInitStatements)(meta, metadata, constantReexports)); | ||
} | ||
@@ -152,0 +156,0 @@ |
{ | ||
"name": "@babel/plugin-transform-modules-umd", | ||
"version": "7.12.13", | ||
"version": "7.13.0", | ||
"description": "This plugin transforms ES2015 modules to UMD", | ||
@@ -17,4 +17,4 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-module-transforms": "^7.12.13", | ||
"@babel/helper-plugin-utils": "^7.12.13" | ||
"@babel/helper-module-transforms": "^7.13.0", | ||
"@babel/helper-plugin-utils": "^7.13.0" | ||
}, | ||
@@ -28,5 +28,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/core": "7.12.13", | ||
"@babel/core": "7.13.0", | ||
"@babel/helper-plugin-test-runner": "7.12.13" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9171
148