Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jsenv/log

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/log - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

5

package.json
{
"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",

12

src/log.js

@@ -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,
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc