[Pkg-javascript-commits] [node-tap] 144/186: Remove minipass

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 16:40:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-tap.

commit 8b79cd765e21117ba53c389bcbe38e0ddd3417c9
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Dec 1 16:32:04 2017 +0100

    Remove minipass
    
    Forwarded: no
---
 lib/base.js   | 2 +-
 package.json  | 1 -
 test/stdin.js | 2 +-
 test/test.js  | 2 +-
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/base.js b/lib/base.js
index 8c32cb7..86cafb4 100644
--- a/lib/base.js
+++ b/lib/base.js
@@ -1,6 +1,6 @@
 'use strict'
 
-const MiniPass = require('minipass')
+const MiniPass = require('stream').PassThrough
 
 const extraFromError = require('./extra-from-error.js')
 const assert = require('assert')
diff --git a/package.json b/package.json
index 82a7aab..50a5203 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,6 @@
     "glob": "^7.0.0",
     "isexe": "^2.0.0",
     "js-yaml": "^3.10.0",
-    "minipass": "^2.2.1",
     "mkdirp": "^0.5.1",
     "own-or": "^1.0.0",
     "own-or-env": "^1.0.0",
diff --git a/test/stdin.js b/test/stdin.js
index c0d3ef7..16518af 100644
--- a/test/stdin.js
+++ b/test/stdin.js
@@ -1,6 +1,6 @@
 const t = require('../')
 const Stdin = require('../lib/stdin.js')
-const MP = require('minipass')
+const MP = require('stream').PassThrough
 
 process.env.TAP_BAIL = ''
 process.env.TAP_BUFFER = ''
diff --git a/test/test.js b/test/test.js
index 1be4f1f..b160171 100644
--- a/test/test.js
+++ b/test/test.js
@@ -6,7 +6,7 @@ const Test = t.Test
 const util = require('util')
 const assert = require('assert')
 const EE = require('events').EventEmitter
-const MiniPass = require('minipass')
+const MiniPass = require('stream').PassThrough
 
 // set this forcibly so it doesn't interfere with other tests.
 process.env.TAP_DIAG = ''

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-tap.git



More information about the Pkg-javascript-commits mailing list