console-ui
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,9 @@ | ||
## v3.0.1 (2019-03-29) | ||
#### :rocket: Enhancement | ||
* [#65](https://github.com/ember-cli/console-ui/pull/65) [feature] use through2 instead of through ([@gabrielcsapo](https://github.com/gabrielcsapo)) | ||
#### Committers: 1 | ||
- Gabriel Csapo ([@gabrielcsapo](https://github.com/gabrielcsapo)) | ||
## v3.0.0 (2019-01-08) | ||
@@ -2,0 +10,0 @@ |
@@ -10,2 +10,3 @@ 'use strict'; | ||
const fs = require('fs'); | ||
const through = require('through2'); | ||
@@ -37,6 +38,5 @@ const DEFAULT_WRITE_LEVEL = 'INFO'; | ||
let options = _options || {}; | ||
this.through = require('through'); | ||
// Output stream | ||
this.actualOutputStream = options.outputStream || process.stdout; | ||
this.outputStream = this.through(function (data) { | ||
this.outputStream = through(function (data) { | ||
spinner.stop(); | ||
@@ -43,0 +43,0 @@ this.emit('data', data); |
{ | ||
"name": "console-ui", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "common interface for abstracting a console ui", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/ember-cli/console-ui#readme", | ||
"json-stable-stringify": "^1.0.1", | ||
"ora": "^3.0.0", | ||
"through": "^2.3.8" | ||
"ora": "^3.2.0", | ||
"through2": "^3.0.1" | ||
}, | ||
@@ -32,3 +32,3 @@ "devDependencies": { | ||
"lerna-changelog": "^0.8.2", | ||
"mocha": "^5.0.0" | ||
"mocha": "^6.0.2" | ||
}, | ||
@@ -35,0 +35,0 @@ "engines": { |
133897
16
+ Addedthrough2@^3.0.1
+ Addedinherits@2.0.4(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedthrough2@3.0.2(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removedthrough@^2.3.8
Updatedora@^3.2.0