🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

debug

Package Overview
Dependencies
Maintainers
2
Versions
76
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

to
4.4.1

5

package.json
{
"name": "debug",
"version": "4.4.0",
"version": "4.4.1",
"repository": {

@@ -29,3 +29,3 @@ "type": "git",

"test": "npm run test:node && npm run test:browser && npm run lint",
"test:node": "istanbul cover _mocha -- test.js test.node.js",
"test:node": "mocha test.js test.node.js",
"test:browser": "karma start --single-run",

@@ -41,3 +41,2 @@ "test:coverage": "cat ./coverage/lcov.info | coveralls"

"coveralls": "^3.0.2",
"istanbul": "^0.4.5",
"karma": "^3.1.4",

@@ -44,0 +43,0 @@ "karma-browserify": "^6.0.0",

2

src/browser.js

@@ -222,3 +222,3 @@ /* eslint-env browser */

try {
r = exports.storage.getItem('debug');
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
} catch (error) {

@@ -225,0 +225,0 @@ // Swallow

@@ -171,3 +171,3 @@

.trim()
.replace(' ', ',')
.replace(/\s+/g, ',')
.split(',')

@@ -174,0 +174,0 @@ .filter(Boolean);