Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-modules-commonjs

Package Overview
Dependencies
70
Maintainers
6
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.14.5 to 7.15.0

6

lib/index.js

@@ -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",

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