Socket
Socket
Sign inDemoInstall

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.3 to 3.2.4

node.js

35

dist/debug.js
"use strict";
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 _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 (f) {
if ((typeof exports === "undefined" ? "undefined" : _typeof2(exports)) === "object" && typeof module !== "undefined") {
if ((typeof exports === "undefined" ? "undefined" : _typeof(exports)) === "object" && typeof module !== "undefined") {
module.exports = f();

@@ -87,3 +87,3 @@ } else if (typeof define === "function" && define.amd) {

var type = _typeof2(val);
var type = _typeof(val);

@@ -455,17 +455,2 @@ 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 */

@@ -476,4 +461,2 @@

*/
exports.log = log;

@@ -565,6 +548,6 @@ exports.formatArgs = formatArgs;

function log() {
var _console; // This hackery is required for IE8/9, where
var _console;
// 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);

@@ -656,3 +639,2 @@ }

4: [function (require, module, exports) {
"use strict";
/**

@@ -662,3 +644,2 @@ * This is the common logic for both the Node.js and web browser

*/
function setup(env) {

@@ -726,5 +707,5 @@ createDebug.debug = createDebug;

args[_key] = arguments[_key];
} // Disabled?
}
// Disabled?
if (!debug.enabled) {

@@ -731,0 +712,0 @@ return;

{
"name": "debug",
"version": "3.2.3",
"version": "3.2.4",
"repository": {

@@ -16,2 +16,3 @@ "type": "git",

"src",
"node.js",
"dist/debug.js",

@@ -18,0 +19,0 @@ "LICENSE",

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