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.20.2 to 7.20.7

4

lib/normalize-and-load-metadata.js

@@ -53,3 +53,3 @@ "use strict";

}, stringSpecifiers);
removeModuleDeclarations(programPath);
removeImportExportDeclarations(programPath);

@@ -330,3 +330,3 @@ for (const [, metadata] of source) {

}
function removeModuleDeclarations(programPath) {
function removeImportExportDeclarations(programPath) {
programPath.get("body").forEach(child => {

@@ -333,0 +333,0 @@ if (child.isImportDeclaration()) {

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

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

"@babel/helper-validator-identifier": "^7.19.1",
"@babel/template": "^7.18.10",
"@babel/traverse": "^7.20.1",
"@babel/types": "^7.20.2"
"@babel/template": "^7.20.7",
"@babel/traverse": "^7.20.7",
"@babel/types": "^7.20.7"
},

@@ -28,0 +28,0 @@ "engines": {

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