Socket
Socket
Sign inDemoInstall

babel-plugin-debug-macros

Package Overview
Dependencies
1
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

2

dist/lib/utils/macros.js

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

specifiers.forEach(specifier => {
if (featuresMap[source][specifier.imported.name] !== null) {
if (specifier.imported && featuresMap[source][specifier.imported.name] !== null) {
throw new Error(`Imported ${specifier.imported.name} from ${source} which is not a supported flag.`);

@@ -151,0 +151,0 @@ }

@@ -13,3 +13,3 @@ {

"name": "babel-plugin-debug-macros",
"version": "0.0.5",
"version": "0.0.6",
"description": "Debug macros and feature flag stripping",

@@ -16,0 +16,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc