Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-dynamic-import

Package Overview
Dependencies
55
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.21.4-esm to 7.21.4-esm.1

17

lib/index.js

@@ -1,9 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxDynamicImport = require("@babel/plugin-syntax-dynamic-import");
import { declare } from "@babel/helper-plugin-utils";
import syntaxDynamicImport from "@babel/plugin-syntax-dynamic-import";
const SUPPORTED_MODULES = ["commonjs", "amd", "systemjs"];

@@ -22,9 +16,9 @@ const MODULES_NOT_FOUND = `\

`;
var _default = (0, _helperPluginUtils.declare)(api => {
export default declare(api => {
api.assertVersion(7);
return {
name: "proposal-dynamic-import",
inherits: _pluginSyntaxDynamicImport.default,
inherits: syntaxDynamicImport.default,
pre() {
this.file.set("@babel/plugin-proposal-dynamic-import", "7.21.4-esm");
this.file.set("@babel/plugin-proposal-dynamic-import", "7.21.4-esm.1");
},

@@ -41,4 +35,3 @@ visitor: {

});
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-dynamic-import",
"version": "7.21.4-esm",
"version": "7.21.4-esm.1",
"description": "Transform import() expressions",

@@ -19,11 +19,11 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.21.4-esm",
"@babel/helper-plugin-utils": "^7.21.4-esm.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0 || 7.21.4-esm"
"@babel/core": "^7.0.0-0 || 7.21.4-esm.1"
},
"devDependencies": {
"@babel/core": "^7.21.4-esm",
"@babel/helper-plugin-test-runner": "^7.21.4-esm"
"@babel/core": "^7.21.4-esm.1",
"@babel/helper-plugin-test-runner": "^7.21.4-esm.1"
},

@@ -34,3 +34,3 @@ "engines": {

"author": "The Babel Team (https://babel.dev/team)",
"type": "commonjs"
"type": "module"
}

Sorry, the diff of this file is not supported yet

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