diff options
author | Gar <gar+gh@danger.computer> | 2022-03-28 23:27:45 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-03-29 01:40:04 +0300 |
commit | 6e0a131d2ff3143856f388bb42c6568d5312c451 (patch) | |
tree | b8dafbad45ff704bf5c3c270d0d569b97b404498 /node_modules | |
parent | 738a404454677b78b25ce82a8d2e4c1f46d57ffa (diff) |
deps: debug@4.3.4
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/debug/package.json | 2 | ||||
-rw-r--r-- | node_modules/debug/src/common.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json index cb7efa8ee..3bcdc242f 100644 --- a/node_modules/debug/package.json +++ b/node_modules/debug/package.json @@ -1,6 +1,6 @@ { "name": "debug", - "version": "4.3.3", + "version": "4.3.4", "repository": { "type": "git", "url": "git://github.com/debug-js/debug.git" diff --git a/node_modules/debug/src/common.js b/node_modules/debug/src/common.js index 6d571d284..e3291b20f 100644 --- a/node_modules/debug/src/common.js +++ b/node_modules/debug/src/common.js @@ -179,7 +179,7 @@ function setup(env) { namespaces = split[i].replace(/\*/g, '.*?'); if (namespaces[0] === '-') { - createDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); + createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); } else { createDebug.names.push(new RegExp('^' + namespaces + '$')); } |