Socket
Socket
Sign inDemoInstall

babel-plugin-debug-macros

Package Overview
Dependencies
53
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0-beta.3 to 0.2.0-beta.4

2

package.json

@@ -15,3 +15,3 @@ {

"name": "babel-plugin-debug-macros",
"version": "0.2.0-beta.3",
"version": "0.2.0-beta.4",
"description": "Debug macros and feature flag stripping",

@@ -18,0 +18,0 @@ "main": "src/index.js",

@@ -175,3 +175,9 @@ 'use strict';

specifiers.forEach(specifier => {
if (specifier.imported && this.featuresMap[source][specifier.imported.name] !== null) {
if (!specifier.imported) {
return;
}
let isKnownFeature = specifier.imported.name in this.featuresMap[source];
if (!isKnownFeature) {
throw new Error(

@@ -178,0 +184,0 @@ `Imported ${specifier.imported.name} from ${source} which is not a supported flag.`

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