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 fea1937 commit c99680a
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 @@ -25,6 +25,8 @@
"test": "test"
},
"dependencies": {
"@ljharb/resumer": "^0.0.1",
"@ljharb/through": "^2.3.9",
"array.prototype.every": "^1.1.4",
"call-bind": "^1.0.2",
"deep-equal": "^2.2.2",
Expand All @@ -43,9 +45,7 @@
"object-keys": "^1.1.1",
"object.assign": "^4.1.4",
"resolve": "^2.0.0-next.4",
"resumer": "^0.0.0",
"string.prototype.trim": "^1.2.7",
"through": "^2.3.8"
"string.prototype.trim": "^1.2.7"
},
"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 c99680a

Please sign in to comment.