Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/helper-module-transforms

Package Overview
Dependencies
Maintainers
4
Versions
123
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.17 to 7.22.18

9

lib/normalize-and-load-metadata.js

@@ -53,4 +53,9 @@ "use strict";

for (const [source, metadata] of sources) {
if (metadata.importsNamespace.size > 0) {
metadata.name = metadata.importsNamespace.values().next().value;
const {
importsNamespace,
imports
} = metadata;
if (importsNamespace.size > 0 && imports.size === 0) {
const [nameOfnamespace] = importsNamespace;
metadata.name = nameOfnamespace;
}

@@ -57,0 +62,0 @@ const resolvedInterop = resolveImportInterop(importInterop, source, filename);

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

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

"@babel/helper-split-export-declaration": "^7.22.6",
"@babel/helper-validator-identifier": "^7.22.15"
"@babel/helper-validator-identifier": "^7.22.18"
},
"devDependencies": {
"@babel/core": "^7.22.17",
"@babel/traverse": "^7.22.17"
"@babel/core": "^7.22.18",
"@babel/traverse": "^7.22.18"
},

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

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