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

debug

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debug - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

7

CHANGELOG.md

@@ -0,2 +1,9 @@

2.6.1 / 2017-02-10
==================
* Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error
* Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0)
* Fix: IE8 "Expected identifier" error (#414, @vgoma)
* Fix: Namespaces would not disable once enabled (#409, @musikov)
2.6.0 / 2016-12-28

@@ -3,0 +10,0 @@ ==================

2

component.json

@@ -5,3 +5,3 @@ {

"description": "small debugging utility",
"version": "2.6.0",
"version": "2.6.1",
"keywords": [

@@ -8,0 +8,0 @@ "debug",

{
"name": "debug",
"version": "2.6.0",
"version": "2.6.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -9,3 +9,3 @@

exports = module.exports = createDebug.debug = createDebug.default = createDebug;
exports = module.exports = createDebug.debug = createDebug['default'] = createDebug;
exports.coerce = coerce;

@@ -142,2 +142,5 @@ exports.disable = disable;

exports.names = [];
exports.skips = [];
var split = (namespaces || '').split(/[\s,]+/);

@@ -144,0 +147,0 @@ var len = split.length;

@@ -61,7 +61,8 @@ /**

if ('DEBUG_FD' in process.env) {
util.deprecate(function(){}, '`DEBUG_FD` is deprecated. Override `debug.log` if you want to use a different log function (https://git.io/vMUyr)')()
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
if (1 !== fd && 2 !== fd) {
util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()
}
var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
var stream = 1 === fd ? process.stdout :

@@ -68,0 +69,0 @@ 2 === fd ? process.stderr :

Sorry, the diff of this file is not supported yet

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