Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-export-default-from

Package Overview
Dependencies
Maintainers
4
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-export-default-from - npm Package Compare versions

Comparing version 7.18.10 to 7.22.5

lib/index.js.map

12

lib/index.js

@@ -7,9 +7,5 @@ "use strict";

exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _pluginSyntaxExportDefaultFrom = require("@babel/plugin-syntax-export-default-from");
var _core = require("@babel/core");
var _default = (0, _helperPluginUtils.declare)(api => {

@@ -33,3 +29,2 @@ api.assertVersion(7);

} = specifiers.shift();
if (specifiers.every(s => _core.types.isExportSpecifier(s))) {

@@ -39,16 +34,13 @@ specifiers.unshift(_core.types.exportSpecifier(_core.types.identifier("default"), exported));

}
const nodes = [_core.types.exportNamedDeclaration(null, [_core.types.exportSpecifier(_core.types.identifier("default"), exported)], _core.types.cloneNode(source))];
if (specifiers.length >= 1) {
nodes.push(node);
}
path.replaceWithMultiple(nodes);
}
}
};
});
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@babel/plugin-proposal-export-default-from",
"version": "7.18.10",
"version": "7.22.5",
"description": "Compile export default to ES2015",

@@ -20,4 +20,4 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.18.9",
"@babel/plugin-syntax-export-default-from": "^7.18.6"
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/plugin-syntax-export-default-from": "^7.22.5"
},

@@ -28,4 +28,4 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/helper-plugin-test-runner": "^7.18.6"
"@babel/core": "^7.22.5",
"@babel/helper-plugin-test-runner": "^7.22.5"
},

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

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