Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

babel-plugin-debug-macros

Package Overview
Dependencies
53
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

.eslintignore

8

CHANGELOG.md
# Changelog
## v0.3.1 (2019-04-11)
#### :rocket: Enhancement
* [#77](https://github.com/ember-cli/babel-plugin-debug-macros/pull/77) Remove requirement for 'debugTools' options ([@chadhietala](https://github.com/chadhietala))
#### Committers: 1
- Chad Hietala ([@chadhietala](https://github.com/chadhietala))
## v0.3.0 (2019-01-29)

@@ -4,0 +12,0 @@

2

package.json
{
"name": "babel-plugin-debug-macros",
"version": "0.3.0",
"version": "0.3.1",
"description": "Debug macros and feature flag stripping",

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

@@ -18,3 +18,3 @@ # Babel Debug Macros And Feature Flags

['babel-debug-macros', {
// @required
// @optional
debugTools: {

@@ -21,0 +21,0 @@ isDebug: true,

@@ -6,8 +6,8 @@ 'use strict';

function parseDebugTools(options) {
let debugTools = options.debugTools || {};
let debugTools = options.debugTools || {
isDebug: false,
source: '',
assertPredicateIndex: undefined,
};
if (!debugTools) {
throw new Error('You must specify `debugTools.source`');
}
let isDebug = debugTools.isDebug;

@@ -21,6 +21,2 @@ let debugToolsImport = debugTools.source;

if (isDebug === undefined) {
throw new Error('You must specify `debugTools.isDebug`');
}
return {

@@ -27,0 +23,0 @@ isDebug,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc