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 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"
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 },
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" ,
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ function save(namespaces) {
219219function 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?
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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": {
You can’t perform that action at this time.
0 commit comments