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

babel-plugin-import-regexp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-import-regexp - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

lib/Plugin.js

@@ -132,2 +132,4 @@ "use strict";

if (!supportRegExp && value === libraryName || supportRegExp && libraryName.test(value)) {
console.log('specifiers', node.specifiers);
console.log('types', types);
node.specifiers.forEach(spec => {

@@ -134,0 +136,0 @@ if (types.isImportSpecifier(spec)) {

2

package.json
{
"name": "babel-plugin-import-regexp",
"version": "1.0.1",
"version": "1.0.2",
"description": "Component modular import plugin for babel.",

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

@@ -140,2 +140,4 @@ import { join } from 'path';

if (!supportRegExp && value === libraryName || supportRegExp && libraryName.test(value)) {
console.log('specifiers', node.specifiers)
console.log('types', types)
node.specifiers.forEach(spec => {

@@ -142,0 +144,0 @@ if (types.isImportSpecifier(spec)) {

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