Socket
Socket
Sign inDemoInstall

@babel/helper-module-transforms

Package Overview
Dependencies
58
Maintainers
4
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0-alpha.4 to 8.0.0-alpha.5

9

lib/index.js

@@ -1115,3 +1115,4 @@ import assert from 'assert';

computed: template.expression`EXPORTS["NAME"] = VALUE`,
default: template.expression`EXPORTS.NAME = VALUE`
default: template.expression`EXPORTS.NAME = VALUE`,
define: template.expression`Object.defineProperty(EXPORTS, "NAME", { enumerable:true, value: void 0, writable: true })["NAME"] = VALUE`
};

@@ -1129,7 +1130,9 @@ function buildInitStatement(metadata, exportNames, initExpr) {

};
if (exportName === "__proto__") {
return InitTemplate.define(params);
}
if (stringSpecifiers.has(exportName)) {
return InitTemplate.computed(params);
} else {
return InitTemplate.default(params);
}
return InitTemplate.default(params);
}, initExpr));

@@ -1136,0 +1139,0 @@ }

{
"name": "@babel/helper-module-transforms",
"version": "8.0.0-alpha.4",
"version": "8.0.0-alpha.5",
"description": "Babel helper functions for implementing ES6 module transformations",

@@ -18,14 +18,14 @@ "author": "The Babel Team (https://babel.dev/team)",

"dependencies": {
"@babel/helper-environment-visitor": "^8.0.0-alpha.4",
"@babel/helper-module-imports": "^8.0.0-alpha.4",
"@babel/helper-simple-access": "^8.0.0-alpha.4",
"@babel/helper-split-export-declaration": "^8.0.0-alpha.4",
"@babel/helper-validator-identifier": "^8.0.0-alpha.4"
"@babel/helper-environment-visitor": "^8.0.0-alpha.5",
"@babel/helper-module-imports": "^8.0.0-alpha.5",
"@babel/helper-simple-access": "^8.0.0-alpha.5",
"@babel/helper-split-export-declaration": "^8.0.0-alpha.5",
"@babel/helper-validator-identifier": "^8.0.0-alpha.5"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.4",
"@babel/traverse": "^8.0.0-alpha.4"
"@babel/core": "^8.0.0-alpha.5",
"@babel/traverse": "^8.0.0-alpha.5"
},
"peerDependencies": {
"@babel/core": "^8.0.0-alpha.4"
"@babel/core": "^8.0.0-alpha.5"
},

@@ -32,0 +32,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc