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 8.0.0-alpha.11 to 8.0.0-alpha.12

2

lib/index.d.ts

@@ -14,4 +14,4 @@ import * as _babel_core from '@babel/core';

}
declare const _default: (api: _babel_core.PluginAPI, options: {}, dirname: string) => _babel_core.PluginObject<PluginState & PluginPass<{}>>;
declare const _default: (api: _babel_core.PluginAPI, options: object, dirname: string) => _babel_core.PluginObject<PluginState & PluginPass>;
export { type Options, _default as default, getExportSpecifierName };
import { declare } from '@babel/helper-plugin-utils';
import hoistVariables from '@babel/helper-hoist-variables';
import { template, types } from '@babel/core';

@@ -72,3 +71,3 @@ import { buildDynamicImport, rewriteThis, getModuleName } from '@babel/helper-module-transforms';

var index = declare((api, options) => {
api.assertVersion("8.0.0-alpha.11");
api.assertVersion("8.0.0-alpha.12");
const {

@@ -342,8 +341,8 @@ systemGlobal = "System",

if (moduleName) moduleName = types.stringLiteral(moduleName);
hoistVariables(path, (id, name, hasInit) => {
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(types.buildUndefinedNode());
}

@@ -350,0 +349,0 @@ }

{
"name": "@babel/plugin-transform-modules-systemjs",
"version": "8.0.0-alpha.11",
"version": "8.0.0-alpha.12",
"description": "This plugin transforms ES2015 modules to SystemJS",

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

"dependencies": {
"@babel/helper-hoist-variables": "^8.0.0-alpha.11",
"@babel/helper-module-transforms": "^8.0.0-alpha.11",
"@babel/helper-plugin-utils": "^8.0.0-alpha.11",
"@babel/helper-validator-identifier": "^8.0.0-alpha.11"
"@babel/helper-module-transforms": "^8.0.0-alpha.12",
"@babel/helper-plugin-utils": "^8.0.0-alpha.12",
"@babel/helper-validator-identifier": "^8.0.0-alpha.12"
},

@@ -26,8 +25,8 @@ "keywords": [

"peerDependencies": {
"@babel/core": "^8.0.0-alpha.11"
"@babel/core": "^8.0.0-alpha.12"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.11",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.11",
"@babel/helper-transform-fixture-test-runner": "^8.0.0-alpha.11",
"@babel/core": "^8.0.0-alpha.12",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.12",
"@babel/helper-transform-fixture-test-runner": "^8.0.0-alpha.12",
"core-js": "^3.35.0"

@@ -34,0 +33,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