Comparing version 2.6.0 to 2.6.1
@@ -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 @@ ================== |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40427
618
8