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

babel-plugin-transform-imports

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-imports - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js

@@ -36,3 +36,3 @@ var _template = require('lodash.template');

if (opts.preventFullImport)
throw new Error(pluginName + ': import of entire module ${source} not allowed due to preventFullImport setting');
throw new Error(pluginName + ': import of entire module ' + source + ' not allowed due to preventFullImport setting');

@@ -39,0 +39,0 @@ if (memberImports.length > 0) {

{
"name": "babel-plugin-transform-imports",
"version": "0.2.0",
"version": "0.2.1",
"description": "Transforms member style imports (import {x} from 'y') into default style imports (import x from 'y/lib/x')",

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

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