You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@babel/plugin-transform-modules-commonjs

Package Overview
Dependencies
Maintainers
4
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version
7.27.1
to
7.28.6
+1
-1
lib/index.js

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

getWrapperPayload: hooks.getWrapperPayload,
esNamespaceOnly: typeof state.filename === "string" && /\.mjs$/.test(state.filename) ? mjsStrictNamespace : strictNamespace,
esNamespaceOnly: typeof state.filename === "string" && state.filename.endsWith(".mjs") ? mjsStrictNamespace : strictNamespace,
noIncompleteNsImportDetection,

@@ -155,0 +155,0 @@ filename: this.file.opts.filename

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

name: `${"@babel/plugin-transform-modules-commonjs"}/lazy`,
version: "7.27.1",
version: "7.28.6",
getWrapperPayload(source, metadata) {

@@ -14,0 +14,0 @@ if ((0, _helperModuleTransforms.isSideEffectImport)(metadata) || metadata.reexportAll) {

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

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

"dependencies": {
"@babel/helper-module-transforms": "^7.27.1",
"@babel/helper-plugin-utils": "^7.27.1"
"@babel/helper-module-transforms": "^7.28.6",
"@babel/helper-plugin-utils": "^7.28.6"
},

@@ -27,3 +27,3 @@ "keywords": [

"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/core": "^7.28.6",
"@babel/helper-plugin-test-runner": "^7.27.1",

@@ -30,0 +30,0 @@ "@babel/plugin-external-helpers": "^7.27.1"

Sorry, the diff of this file is not supported yet