File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " debug" ,
3
- "version" : " 4.4.0 " ,
3
+ "version" : " 4.4.1 " ,
4
4
"repository" : {
5
5
"type" : " git" ,
6
6
"url" : " git://github.com/debug-js/debug.git"
26
26
"scripts" : {
27
27
"lint" : " xo" ,
28
28
"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" ,
30
30
"test:browser" : " karma start --single-run" ,
31
31
"test:coverage" : " cat ./coverage/lcov.info | coveralls"
32
32
},
37
37
"brfs" : " ^2.0.1" ,
38
38
"browserify" : " ^16.2.3" ,
39
39
"coveralls" : " ^3.0.2" ,
40
- "istanbul" : " ^0.4.5" ,
41
40
"karma" : " ^3.1.4" ,
42
41
"karma-browserify" : " ^6.0.0" ,
43
42
"karma-chrome-launcher" : " ^2.2.0" ,
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ function save(namespaces) {
219
219
function load ( ) {
220
220
let r ;
221
221
try {
222
- r = exports . storage . getItem ( 'debug' ) ;
222
+ r = exports . storage . getItem ( 'debug' ) || exports . storage . getItem ( 'DEBUG' ) ;
223
223
} catch ( error ) {
224
224
// Swallow
225
225
// XXX (@Qix-) should we be logging these?
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ function setup(env) {
168
168
169
169
const split = ( typeof namespaces === 'string' ? namespaces : '' )
170
170
. trim ( )
171
- . replace ( ' ' , ',' )
171
+ . replace ( / \s + / g , ',' )
172
172
. split ( ',' )
173
173
. filter ( Boolean ) ;
174
174
Original file line number Diff line number Diff line change 6964
6964
}
6965
6965
},
6966
6966
"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 ==",
6970
6970
"inBundle": true,
6971
6971
"license": "MIT",
6972
6972
"dependencies": {
You can’t perform that action at this time.
0 commit comments