Skip to content

Commit

Permalink
[Deps] switch from through and resumer to @ljharb/through and `…
Browse files Browse the repository at this point in the history
…@ljharb/resumer`
  • Loading branch information
ljharb committed Jul 18, 2023
1 parent feee094 commit a8a7d67
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var defined = require('defined');
var createDefaultStream = require('./lib/default_stream');
var Test = require('./lib/test');
var createResult = require('./lib/results');
var through = require('through');
var through = require('@ljharb/through');

var canEmitExit = typeof process !== 'undefined' && process
&& typeof process.on === 'function' && process.browser !== true;
Expand Down
2 changes: 1 addition & 1 deletion lib/default_stream.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var through = require('through');
var through = require('@ljharb/through');
var fs = require('fs');

module.exports = function () {
Expand Down
4 changes: 2 additions & 2 deletions lib/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
var defined = require('defined');
var EventEmitter = require('events').EventEmitter;
var inherits = require('inherits');
var through = require('through');
var resumer = require('resumer');
var through = require('@ljharb/through');
var resumer = require('@ljharb/resumer');
var inspect = require('object-inspect');
var callBound = require('call-bind/callBound');
var has = require('has');
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"test": "test"
},
"dependencies": {
"@ljharb/resumer": "~0.0.1",
"@ljharb/through": "~2.3.9",
"call-bind": "~1.0.2",
"deep-equal": "~1.1.1",
"defined": "~1.0.1",
Expand All @@ -24,9 +26,7 @@
"minimist": "~1.2.8",
"object-inspect": "~1.12.3",
"resolve": "~1.22.6",
"resumer": "~0.0.0",
"string.prototype.trim": "~1.2.8",
"through": "~2.3.8"
"string.prototype.trim": "~1.2.8"
},
"devDependencies": {
"@ljharb/eslint-config": "^21.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/objectMode.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var tap = require('tap');
var tape = require('../');
var forEach = require('for-each');
var through = require('through');
var through = require('@ljharb/through');

tap.test('object results', function (assert) {
var printer = through({ objectMode: true });
Expand Down
2 changes: 1 addition & 1 deletion test/objectModeWithComment.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var tap = require('tap');
var tape = require('../');
var through = require('through');
var through = require('@ljharb/through');

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

0 comments on commit a8a7d67

Please sign in to comment.