@babel/plugin-transform-modules-commonjs
Advanced tools
+1
-1
@@ -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 |
+1
-1
@@ -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) { |
+4
-4
| { | ||
| "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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
41587
0.02%