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

debug

Package Overview
Dependencies
Maintainers
6
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 3.2.2 to 3.2.3

35

dist/debug.js
"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",

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