Socket
Socket
Sign inDemoInstall

log-update

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log-update - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

5

index.js

@@ -6,2 +6,3 @@ import process from 'node:process';

import sliceAnsi from 'slice-ansi';
import stripAnsi from 'strip-ansi';

@@ -31,4 +32,4 @@ const defaultTerminalHeight = 24;

text,
lines.slice(0, toRemove).join('\n').length + 1,
text.length);
stripAnsi(lines.slice(0, toRemove).join('\n')).length + 1,
);
};

@@ -35,0 +36,0 @@

12

package.json
{
"name": "log-update",
"version": "5.0.0",
"version": "5.0.1",
"description": "Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.",

@@ -47,11 +47,13 @@ "license": "MIT",

"slice-ansi": "^5.0.0",
"strip-ansi": "^7.0.1",
"wrap-ansi": "^8.0.1"
},
"devDependencies": {
"@types/node": "^16.11.1",
"ava": "^3.15.0",
"@types/node": "^17.0.25",
"ava": "^4.2.0",
"terminal.js": "^1.0.11",
"tsd": "^0.18.0",
"xo": "^0.45.0"
"tsd": "^0.20.0",
"wcwidth": "^1.0.1",
"xo": "^0.48.0"
}
}
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