Skip to content

Commit 7a0723f

Browse files
committed
deps: debug@4.4.1
1 parent 9a342a4 commit 7a0723f

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

node_modules/debug/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "debug",
3-
"version": "4.4.0",
3+
"version": "4.4.1",
44
"repository": {
55
"type": "git",
66
"url": "git://github.com/debug-js/debug.git"
@@ -26,7 +26,7 @@
2626
"scripts": {
2727
"lint": "xo",
2828
"test": "npm run test:node && npm run test:browser && npm run lint",
29-
"test:node": "istanbul cover _mocha -- test.js test.node.js",
29+
"test:node": "mocha test.js test.node.js",
3030
"test:browser": "karma start --single-run",
3131
"test:coverage": "cat ./coverage/lcov.info | coveralls"
3232
},
@@ -37,7 +37,6 @@
3737
"brfs": "^2.0.1",
3838
"browserify": "^16.2.3",
3939
"coveralls": "^3.0.2",
40-
"istanbul": "^0.4.5",
4140
"karma": "^3.1.4",
4241
"karma-browserify": "^6.0.0",
4342
"karma-chrome-launcher": "^2.2.0",

node_modules/debug/src/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function save(namespaces) {
219219
function load() {
220220
let r;
221221
try {
222-
r = exports.storage.getItem('debug');
222+
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
223223
} catch (error) {
224224
// Swallow
225225
// XXX (@Qix-) should we be logging these?

node_modules/debug/src/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function setup(env) {
168168

169169
const split = (typeof namespaces === 'string' ? namespaces : '')
170170
.trim()
171-
.replace(' ', ',')
171+
.replace(/\s+/g, ',')
172172
.split(',')
173173
.filter(Boolean);
174174

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6964,9 +6964,9 @@
69646964
}
69656965
},
69666966
"node_modules/debug": {
6967-
"version": "4.4.0",
6968-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
6969-
"integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
6967+
"version": "4.4.1",
6968+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
6969+
"integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
69706970
"inBundle": true,
69716971
"license": "MIT",
69726972
"dependencies": {

0 commit comments

Comments
 (0)