Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-dynamic-import

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-dynamic-import - npm Package Compare versions

Comparing version 7.24.7 to 7.25.7

6

lib/index.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc