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

follow

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

follow - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

AUTHORS

33

lib/index.js

@@ -34,20 +34,11 @@ // Copyright 2011 Iris Couch

// Wrap log4js so it will not be a dependency.
var VERBOSE;
if(require.isBrowser)
VERBOSE = true;
else
VERBOSE = (process.env.verbose === 'true');
var debug = require('debug')
var noop = function() {}
if(process.env.TAP_DIAG)
noop = console.error
function noops() {
function getLogger(name) {
return { "trace": noop
, "debug": VERBOSE ? console.log : noop
, "info" : VERBOSE ? console.info : noop
, "warn" : VERBOSE ? console.warn : noop
, "error": VERBOSE ? console.error : noop
, "fatal": VERBOSE ? console.error : noop
, "debug": debug('follow:' + name + ':debug')
, "info" : debug('follow:' + name + ':info')
, "warn" : debug('follow:' + name + ':warn')
, "error": debug('follow:' + name + ':error')
, "fatal": debug('follow:' + name + ':fatal')

@@ -59,10 +50,2 @@ , "level": {'level':0, 'levelStr':'noop'}

try {
if(! process.env.log_plain)
exports.log4js = require('log4js');
} catch(e) {
exports.log4js = null;
}
exports.log4js = exports.log4js || { 'getLogger': function() { return noops() } }
exports.log4js = { 'getLogger': getLogger }
{ "name": "follow"
, "version": "0.9.0"
, "version": "0.10.0"
, "author": { "name": "Jason Smith"

@@ -12,2 +12,4 @@ , "email": "jhs@iriscouch.com" }

, "dependencies" : { "request" : "~2.16.2"
, "browser-request" : "~0.3.0"
, "debug": "~0.7.2"
}

@@ -17,5 +19,6 @@ , "devDependencies": { "tap": "~0.4.0"

}
, "browser": { "request" : "browser-request"
}
, "main": "./api.js"
, "bin": {"follow": "./cli.js"}
}
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