Comparing version 0.3.1 to 0.3.3
@@ -13,3 +13,3 @@ var CLI = require('../lib/clui.js'), | ||
function drawProgress () { | ||
process.stdout.write('\033[9A'); | ||
process.stdout.write('\x1b[9A'); | ||
var blankLine = new Line().fill().output(); | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "clui", | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"description": "A Node.js toolkit for drawing nice command line tables, gauges, spinners, and sparklines.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/clui", |
@@ -1,2 +0,2 @@ | ||
clui | ||
clui [![Changelog Status](https://changelogs.md/img/changelog-check-green.svg)](https://changelogs.md/github/nathanpeck/clui/) | ||
============= | ||
@@ -13,2 +13,4 @@ | ||
_October 8, 2014_ - Adding Line.contents() for fetching the contents of a line as a string. | ||
_June 2, 2014_ - Fixed a crash caused by inability to locate the required trim helper in the latest version of cli-color. (And locked down the version of the cli-color dependency to stop this from ever happening again.) Also removed lodash as a dependency in favor of vanilla JS, to keep installs faster and smaller than ever. | ||
@@ -37,3 +39,3 @@ | ||
* `addLine(Line)` - Put a `Line` object into the `LineBuffer`. | ||
* `file()` - If you don't have enough lines in the buffer this will fill the rest of the lines | ||
* `fill()` - If you don't have enough lines in the buffer this will fill the rest of the lines | ||
with empty space. | ||
@@ -110,2 +112,3 @@ * `output()` - Draw the `LineBuffer` to screen. | ||
var clui = require('clui'), | ||
clc = require('cli-color'), | ||
Line = clui.Line; | ||
@@ -221,3 +224,3 @@ | ||
* `start()` - Show the spinner on the screen. | ||
* `update(statusMessage)` - Update the status message that follows the spinner. | ||
* `message(statusMessage)` - Update the status message that follows the spinner. | ||
* `stop()` - Erase the spinner from the screen. | ||
@@ -231,3 +234,3 @@ | ||
```js | ||
var CLI = require('../lib/clui.js'), | ||
var CLI = require('clui'), | ||
Spinner = CLI.Spinner; | ||
@@ -234,0 +237,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
73051
15
270
1