hops-debug
Advanced tools
Comparing version 13.4.2 to 13.4.3
@@ -9,4 +9,3 @@ /* eslint-env browser */ | ||
const isEnabled = debugCookie !== '' && debugRegex.test(name); | ||
return isEnabled | ||
const fn = isEnabled | ||
? (format, ...args) => { | ||
@@ -31,2 +30,6 @@ if (typeof format === 'string') { | ||
: () => {}; | ||
fn.extend = (suffix) => debug(`${name}:${suffix}`); | ||
return fn; | ||
}; |
@@ -6,2 +6,13 @@ # Change Log | ||
## [13.4.3](https://github.com/xing/hops/compare/v13.4.2...v13.4.3) (2021-06-14) | ||
### Bug Fixes | ||
* **debug:** provide method extend in the browser ([e2a1471](https://github.com/xing/hops/commit/e2a147157466a90c5b48687297c48c0abf4beb75)) | ||
## [13.4.2](https://github.com/xing/hops/compare/v13.4.1...v13.4.2) (2021-04-20) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "hops-debug", | ||
"version": "13.4.2", | ||
"version": "13.4.3", | ||
"description": "Hops debug wrapper", | ||
@@ -23,3 +23,3 @@ "main": "node.js", | ||
}, | ||
"gitHead": "e4c799feb860140388556ce0c8e48ed38b3121c5" | ||
"gitHead": "56c858c32fdf44c3ed6c937418221f0b4f5af065" | ||
} |
4606
30