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

cleaver

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleaver - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

10

lib/helper.js

@@ -8,2 +8,3 @@ var Q = require('q');

var normalizePath;
var debugInited = false;

@@ -264,6 +265,9 @@

// the require line, but after that point we lose access to `.enable()`.
if (shouldDebug) {
debug.enable('*');
if (!debugInited) {
if (shouldDebug) {
debug.enable('*');
}
debug = debug('helper');
debugInited = true;
}
debug = debug('helper');

@@ -270,0 +274,0 @@ // TODO: I bet we can simply all this nonsense with a chdir()

@@ -11,2 +11,3 @@ var Q = require('q');

var helper;
var debugInited = false;

@@ -29,6 +30,9 @@

if (this.options.debug) {
debug.enable('*');
if (!debugInited) {
if (this.options.debug) {
debug.enable('*');
}
debug = debug('cleaver');
debugInited = true;
}
debug = debug('cleaver');

@@ -35,0 +39,0 @@ /**

{
"name": "cleaver",
"preferGlobal": true,
"version": "0.7.3",
"version": "0.7.4",
"author": "Jordan Scales <scalesjordan@gmail.com>",

@@ -6,0 +6,0 @@ "description": "30-second slideshows for hackers",

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