Comparing version 1.1.3 to 1.1.4
@@ -13,4 +13,6 @@ "use strict"; | ||
}; | ||
wrappedDebugger.enabled = origDebugger.enabled; | ||
wrappedDebugger.namespace = origDebugger.namespace; | ||
['namespace', 'enabled', 'userColors', 'color'].forEach(i => { | ||
wrappedDebugger[i] = origDebugger[i]; | ||
}); | ||
wrappedDebugger['destroy'] = () => origDebugger['destroy'](); | ||
Object.defineProperty(wrappedDebugger, 'log', { | ||
@@ -48,2 +50,5 @@ get: () => origDebugger.log, | ||
out = createLogger(ns, context); | ||
for (let i in out) { | ||
out[i].destroy(); // this is to avoid caching forever in debug.instances | ||
} | ||
} | ||
@@ -50,0 +55,0 @@ else { |
{ | ||
"name": "debuggo", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "General purpose debug library based on visionmedia/debug", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6776
102