Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-transform-modules-umd

Package Overview
Dependencies
Maintainers
6
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-modules-umd - npm Package Compare versions

Comparing version 7.12.13 to 7.13.0

10

lib/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc