Skip to content

Commit a8a7d67

Browse files
committed
[Deps] switch from through and resumer to @ljharb/through and @ljharb/resumer
1 parent feee094 commit a8a7d67

6 files changed

+9
-9
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var defined = require('defined');
44
var createDefaultStream = require('./lib/default_stream');
55
var Test = require('./lib/test');
66
var createResult = require('./lib/results');
7-
var through = require('through');
7+
var through = require('@ljharb/through');
88

99
var canEmitExit = typeof process !== 'undefined' && process
1010
&& typeof process.on === 'function' && process.browser !== true;

lib/default_stream.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var through = require('through');
3+
var through = require('@ljharb/through');
44
var fs = require('fs');
55

66
module.exports = function () {

lib/results.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
var defined = require('defined');
44
var EventEmitter = require('events').EventEmitter;
55
var inherits = require('inherits');
6-
var through = require('through');
7-
var resumer = require('resumer');
6+
var through = require('@ljharb/through');
7+
var resumer = require('@ljharb/resumer');
88
var inspect = require('object-inspect');
99
var callBound = require('call-bind/callBound');
1010
var has = require('has');

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"test": "test"
1313
},
1414
"dependencies": {
15+
"@ljharb/resumer": "~0.0.1",
16+
"@ljharb/through": "~2.3.9",
1517
"call-bind": "~1.0.2",
1618
"deep-equal": "~1.1.1",
1719
"defined": "~1.0.1",
@@ -24,9 +26,7 @@
2426
"minimist": "~1.2.8",
2527
"object-inspect": "~1.12.3",
2628
"resolve": "~1.22.6",
27-
"resumer": "~0.0.0",
28-
"string.prototype.trim": "~1.2.8",
29-
"through": "~2.3.8"
29+
"string.prototype.trim": "~1.2.8"
3030
},
3131
"devDependencies": {
3232
"@ljharb/eslint-config": "^21.1.0",

test/objectMode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var tap = require('tap');
44
var tape = require('../');
55
var forEach = require('for-each');
6-
var through = require('through');
6+
var through = require('@ljharb/through');
77

88
tap.test('object results', function (assert) {
99
var printer = through({ objectMode: true });

test/objectModeWithComment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var tap = require('tap');
44
var tape = require('../');
5-
var through = require('through');
5+
var through = require('@ljharb/through');
66

77
tap.test('test.comment() in objectMode', function (assert) {
88
var printer = through({ objectMode: true });

0 commit comments

Comments
 (0)