Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #244 from amtrack/fix/replace-event-stream-with-me…
Browse files Browse the repository at this point in the history
…rge-stream

fix(deps): replace event-stream with merge-stream
  • Loading branch information
amtrack authored May 23, 2020
2 parents fbca8bd + fc45a18 commit 0a9cfab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 57 deletions.
4 changes: 2 additions & 2 deletions lib/cli/changeset.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var fs = require('fs-extra');
var vinylFs = require('vinyl-fs');
var miss = require('mississippi')
var split = require('split2');
var es = require('event-stream');
var mergeStream = require('merge-stream');

var doc = "Usage:\n" +
" force-dev-tool changeset create <name> [<metadataFileOrComponentNames>...] [options]\n" +
Expand Down Expand Up @@ -104,7 +104,7 @@ SubCommand.prototype.process = function(proc, callback) {
stdin.end();
});

es.merge(stdin, metadataContainer.getStream())
mergeStream(stdin, metadataContainer.getStream())
.pipe(MetadataContainer.completeMetadataStream())
.pipe(MetadataContainer.outputStream({
apiVersion: apiVersion
Expand Down
60 changes: 6 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"async": "^3.0.0",
"chalk": "^4.0.0",
"docopt": "^0.6.2",
"event-stream": "3.3.5",
"find-up": "^4.0.0",
"fs-extra": "^9.0.0",
"glob": "^7.0.6",
"jsforce": "^1.7.0",
"merge-stream": "^2.0.0",
"mississippi": "^4.0.0",
"mkdirp": "^0.5.1",
"multimatch": "^4.0.0",
Expand Down

0 comments on commit 0a9cfab

Please sign in to comment.