Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-modules-commonjs

Package Overview
Dependencies
70
Maintainers
4
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.18.2 to 7.18.6

4

lib/index.js

@@ -187,3 +187,3 @@ "use strict";

if (metadata.lazy) {
header = _core.template.ast`
header = _core.template.statement.ast`
function ${metadata.name}() {

@@ -196,3 +196,3 @@ const data = ${init};

} else {
header = _core.template.ast`
header = _core.template.statement.ast`
var ${metadata.name} = ${init};

@@ -199,0 +199,0 @@ `;

{
"name": "@babel/plugin-transform-modules-commonjs",
"version": "7.18.2",
"version": "7.18.6",
"description": "This plugin transforms ES2015 modules to CommonJS",

@@ -16,5 +16,5 @@ "repository": {

"dependencies": {
"@babel/helper-module-transforms": "^7.18.0",
"@babel/helper-plugin-utils": "^7.17.12",
"@babel/helper-simple-access": "^7.18.2",
"@babel/helper-module-transforms": "^7.18.6",
"@babel/helper-plugin-utils": "^7.18.6",
"@babel/helper-simple-access": "^7.18.6",
"babel-plugin-dynamic-import-node": "^2.3.3"

@@ -29,5 +29,5 @@ },

"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/helper-plugin-test-runner": "^7.16.7",
"@babel/plugin-external-helpers": "^7.17.12",
"@babel/core": "^7.18.6",
"@babel/helper-plugin-test-runner": "^7.18.6",
"@babel/plugin-external-helpers": "^7.18.6",
"@babel/plugin-syntax-class-static-block": "^7.14.5",

@@ -40,3 +40,4 @@ "@babel/plugin-syntax-object-rest-spread": "^7.8.3"

},
"author": "The Babel Team (https://babel.dev/team)"
"author": "The Babel Team (https://babel.dev/team)",
"type": "commonjs"
}
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