@jsenv/log
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "@jsenv/log", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Nice and dynamic logs in the terminal", | ||
@@ -19,4 +19,3 @@ "license": "MIT", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
"access": "public" | ||
}, | ||
@@ -23,0 +22,0 @@ "type": "module", |
@@ -114,9 +114,15 @@ /* | ||
const destroy = () => { | ||
if (getLastStreamOutput) { | ||
getLastStreamOutput() // this uninstalls the spy | ||
getLastStreamOutput = null | ||
lastOutput = "" | ||
} | ||
} | ||
return { | ||
write, | ||
tryToClear, | ||
testStreamModified: () => { | ||
return getLastStreamOutput().length > 0 | ||
}, | ||
destroy, | ||
} | ||
} |
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
13024
279