Comparing version 3.2.2 to 3.2.3
"use strict"; | ||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } | ||
(function (f) { | ||
if ((typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined") { | ||
if ((typeof exports === "undefined" ? "undefined" : _typeof2(exports)) === "object" && typeof module !== "undefined") { | ||
module.exports = f(); | ||
@@ -87,3 +87,3 @@ } else if (typeof define === "function" && define.amd) { | ||
var type = _typeof(val); | ||
var type = _typeof2(val); | ||
@@ -455,2 +455,17 @@ if (type === 'string' && val.length > 0) { | ||
(function (process) { | ||
"use strict"; | ||
function _typeof(obj) { | ||
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { | ||
_typeof = function _typeof(obj) { | ||
return _typeof2(obj); | ||
}; | ||
} else { | ||
_typeof = function _typeof(obj) { | ||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); | ||
}; | ||
} | ||
return _typeof(obj); | ||
} | ||
/* eslint-env browser */ | ||
@@ -461,2 +476,4 @@ | ||
*/ | ||
exports.log = log; | ||
@@ -548,6 +565,6 @@ exports.formatArgs = formatArgs; | ||
function log() { | ||
var _console; | ||
var _console; // This hackery is required for IE8/9, where | ||
// the `console.log` function doesn't have 'apply' | ||
// This hackery is required for IE8/9, where | ||
// the `console.log` function doesn't have 'apply' | ||
return (typeof console === "undefined" ? "undefined" : _typeof(console)) === 'object' && console.log && (_console = console).log.apply(_console, arguments); | ||
@@ -639,2 +656,3 @@ } | ||
4: [function (require, module, exports) { | ||
"use strict"; | ||
/** | ||
@@ -644,2 +662,3 @@ * This is the common logic for both the Node.js and web browser | ||
*/ | ||
function setup(env) { | ||
@@ -707,5 +726,5 @@ createDebug.debug = createDebug; | ||
args[_key] = arguments[_key]; | ||
} | ||
} // Disabled? | ||
// Disabled? | ||
if (!debug.enabled) { | ||
@@ -712,0 +731,0 @@ return; |
{ | ||
"name": "debug", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
79967
1248