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

babel-plugin-import

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-import - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

lib/index.js

@@ -72,3 +72,3 @@ 'use strict';

var methods = ['ImportDeclaration', 'CallExpression', 'MemberExpression', 'Property', 'VariableDeclarator', 'LogicalExpression', 'ConditionalExpression', 'IfStatement', 'ExpressionStatement', 'ReturnStatement', 'ExportDefaultDeclaration'];
var methods = ['ImportDeclaration', 'CallExpression', 'MemberExpression', 'Property', 'VariableDeclarator', 'LogicalExpression', 'ConditionalExpression', 'IfStatement', 'ExpressionStatement', 'ReturnStatement', 'ExportDefaultDeclaration', 'BinaryExpression'];

@@ -75,0 +75,0 @@ var ret = {

@@ -238,2 +238,10 @@ 'use strict';

}
}, {
key: 'BinaryExpression',
value: function BinaryExpression(path, _ref8) {
var opts = _ref8.opts;
var node = path.node;
this.buildExpressionHandler(node, ['left', 'right'], path, opts);
}
}]);

@@ -240,0 +248,0 @@

{
"name": "babel-plugin-import",
"version": "1.3.0",
"version": "1.3.1",
"description": "Component modular import plugin for babel.",

@@ -5,0 +5,0 @@ "repository": {

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