log-update
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -12,3 +12,3 @@ 'use strict'; | ||
let out = [].join.call(arguments, ' ') + '\n'; | ||
out = wrapAnsi(out, process.stdout.columns || 80, {wordWrap: false}); | ||
out = wrapAnsi(out, process.stdout.columns || 80, {wordWrap: false, trim: false, hard: true}); | ||
stream.write(ansiEscapes.eraseLines(prevLineCount) + out); | ||
@@ -15,0 +15,0 @@ prevLineCount = out.split('\n').length; |
{ | ||
"name": "log-update", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.", | ||
@@ -40,5 +40,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"ansi-escapes": "^1.0.0", | ||
"ansi-escapes": "^2.0.0", | ||
"cli-cursor": "^2.0.0", | ||
"wrap-ansi": "^2.1.0" | ||
"wrap-ansi": "^3.0.1" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
@@ -12,3 +12,3 @@ # log-update [![Build Status](https://travis-ci.org/sindresorhus/log-update.svg?branch=master)](https://travis-ci.org/sindresorhus/log-update) | ||
``` | ||
$ npm install --save log-update | ||
$ npm install log-update | ||
``` | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
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
4233
+ Addedansi-escapes@2.0.0(transitive)
+ Addedansi-regex@3.0.1(transitive)
+ Addedis-fullwidth-code-point@2.0.0(transitive)
+ Addedstring-width@2.1.1(transitive)
+ Addedstrip-ansi@4.0.0(transitive)
+ Addedwrap-ansi@3.0.1(transitive)
- Removedansi-escapes@1.4.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedwrap-ansi@2.1.0(transitive)
Updatedansi-escapes@^2.0.0
Updatedwrap-ansi@^3.0.1