Socket
Socket
Sign inDemoInstall

@babel/helper-module-transforms

Package Overview
Dependencies
Maintainers
4
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-module-transforms - npm Package Compare versions

Comparing version 7.22.19 to 7.22.20

12

lib/dynamic-import.js

@@ -9,10 +9,6 @@ "use strict";

{
{
{
exports.getDynamicImportSource = function getDynamicImportSource(node) {
const [source] = node.arguments;
return _core.types.isStringLiteral(source) || _core.types.isTemplateLiteral(source) ? source : _core.template.expression.ast`\`\${${source}}\``;
};
}
}
exports.getDynamicImportSource = function getDynamicImportSource(node) {
const [source] = node.arguments;
return _core.types.isStringLiteral(source) || _core.types.isTemplateLiteral(source) ? source : _core.template.expression.ast`\`\${${source}}\``;
};
}

@@ -19,0 +15,0 @@ function buildDynamicImport(node, deferToThen, wrapWithPromise, builder) {

@@ -70,7 +70,3 @@ "use strict";

{
{
{
exports.getDynamicImportSource = require("./dynamic-import").getDynamicImportSource;
}
}
exports.getDynamicImportSource = require("./dynamic-import").getDynamicImportSource;
}

@@ -77,0 +73,0 @@ function rewriteModuleStatementsAndPrepareHeader(path, {

{
"name": "@babel/helper-module-transforms",
"version": "7.22.19",
"version": "7.22.20",
"description": "Babel helper functions for implementing ES6 module transformations",

@@ -18,11 +18,11 @@ "author": "The Babel Team (https://babel.dev/team)",

"dependencies": {
"@babel/helper-environment-visitor": "^7.22.5",
"@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-module-imports": "^7.22.15",
"@babel/helper-simple-access": "^7.22.5",
"@babel/helper-split-export-declaration": "^7.22.6",
"@babel/helper-validator-identifier": "^7.22.19"
"@babel/helper-validator-identifier": "^7.22.20"
},
"devDependencies": {
"@babel/core": "^7.22.19",
"@babel/traverse": "^7.22.19"
"@babel/core": "^7.22.20",
"@babel/traverse": "^7.22.20"
},

@@ -29,0 +29,0 @@ "peerDependencies": {

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