Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-modules-systemjs

Package Overview
Dependencies
Maintainers
4
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-modules-systemjs - npm Package Compare versions

Comparing version 7.24.7 to 7.25.0

13

lib/index.js

@@ -9,3 +9,2 @@ "use strict";

var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _helperHoistVariables = require("@babel/helper-hoist-variables");
var _core = require("@babel/core");

@@ -353,8 +352,12 @@ var _helperModuleTransforms = require("@babel/helper-module-transforms");

if (moduleName) moduleName = _core.types.stringLiteral(moduleName);
(0, _helperHoistVariables.default)(path, (id, name, hasInit) => {
{
var _path$scope, _path$scope$hoistVari;
(_path$scope$hoistVari = (_path$scope = path.scope).hoistVariables) != null ? _path$scope$hoistVari : _path$scope.hoistVariables = require("@babel/traverse").Scope.prototype.hoistVariables;
}
path.scope.hoistVariables((id, hasInit) => {
variableIds.push(id);
if (!hasInit && name in exportMap) {
for (const exported of exportMap[name]) {
if (!hasInit && id.name in exportMap) {
for (const exported of exportMap[id.name]) {
exportNames.push(exported);
exportValues.push(scope.buildUndefinedNode());
exportValues.push(_core.types.buildUndefinedNode());
}

@@ -361,0 +364,0 @@ }

{
"name": "@babel/plugin-transform-modules-systemjs",
"version": "7.24.7",
"version": "7.25.0",
"description": "This plugin transforms ES2015 modules to SystemJS",

@@ -16,6 +16,6 @@ "repository": {

"dependencies": {
"@babel/helper-hoist-variables": "^7.24.7",
"@babel/helper-module-transforms": "^7.24.7",
"@babel/helper-plugin-utils": "^7.24.7",
"@babel/helper-validator-identifier": "^7.24.7"
"@babel/helper-module-transforms": "^7.25.0",
"@babel/helper-plugin-utils": "^7.24.8",
"@babel/helper-validator-identifier": "^7.24.7",
"@babel/traverse": "^7.25.0"
},

@@ -29,5 +29,5 @@ "keywords": [

"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/core": "^7.24.9",
"@babel/helper-plugin-test-runner": "^7.24.7",
"@babel/helper-transform-fixture-test-runner": "^7.24.7",
"@babel/helper-transform-fixture-test-runner": "^7.25.0",
"core-js": "^3.35.0"

@@ -34,0 +34,0 @@ },

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