@babel/plugin-transform-dynamic-import
Advanced tools
Comparing version 7.24.7 to 7.25.7
@@ -8,3 +8,3 @@ "use strict"; | ||
var _helperPluginUtils = require("@babel/helper-plugin-utils"); | ||
const SUPPORTED_MODULES = ["commonjs", "amd", "systemjs"]; | ||
const SUPPORTED_MODULES = new Set(["commonjs", "amd", "systemjs"]); | ||
const MODULES_NOT_FOUND = `\ | ||
@@ -28,3 +28,3 @@ @babel/plugin-transform-dynamic-import depends on a modules | ||
pre() { | ||
this.file.set("@babel/plugin-proposal-dynamic-import", "7.24.7"); | ||
this.file.set("@babel/plugin-proposal-dynamic-import", "7.25.7"); | ||
}, | ||
@@ -34,3 +34,3 @@ visitor: { | ||
const modules = this.file.get("@babel/plugin-transform-modules-*"); | ||
if (!SUPPORTED_MODULES.includes(modules)) { | ||
if (!SUPPORTED_MODULES.has(modules)) { | ||
throw new Error(MODULES_NOT_FOUND); | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "@babel/plugin-transform-dynamic-import", | ||
"version": "7.24.7", | ||
"version": "7.25.7", | ||
"description": "Transform import() expressions", | ||
@@ -19,3 +19,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.24.7", | ||
"@babel/helper-plugin-utils": "^7.25.7", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3" | ||
@@ -27,4 +27,4 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7", | ||
"@babel/helper-plugin-test-runner": "^7.24.7" | ||
"@babel/core": "^7.25.7", | ||
"@babel/helper-plugin-test-runner": "^7.25.7" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
@@ -15,4 +15,7 @@ /* This file is automatically generated by scripts/generators/tsconfig.js */ | ||
"path": "../../packages/babel-helper-plugin-utils" | ||
}, | ||
{ | ||
"path": "../../packages/babel-core" | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76760
56
+ Addedcaniuse-lite@1.0.30001667(transitive)
+ Addedelectron-to-chromium@1.5.33(transitive)
- Removedcaniuse-lite@1.0.30001666(transitive)
- Removedelectron-to-chromium@1.5.31(transitive)