Skip to content

Commit 411cc8f

Browse files
committed
Auto-generated commit
1 parent 28fee80 commit 411cc8f

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTORS

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,37 @@
33
# Contributors listed in alphabetical order.
44

55
Ali Salesi <ali_sal1381@yahoo.com>
6+
Amit Jimiwal <amitjimiwal45@gmail.com>
67
Athan Reines <kgryte@gmail.com>
78
Brendan Graetz <bguiz@users.noreply.github.com>
89
Bruno Fenzl <brunofenzl@gmail.com>
910
Christopher Dambamuromo <chridam@gmail.com>
11+
Dan Rose <danoftheroses@gmail.com>
1012
Dominik Moritz <domoritz@gmail.com>
13+
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
1114
Frank Kovacs <fran70kk@gmail.com>
12-
Harshita Kalani <95532771+HarshitaKalani@users.noreply.github.com>
13-
James <jdgelok@gmail.com>
15+
Harshita Kalani <harshitakalani02@gmail.com>
16+
James Gelok <jdgelok@gmail.com>
1417
Jithin KS <jithinks112@gmail.com>
1518
Joey Reed <joeyrreed@gmail.com>
16-
Jordan-Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
19+
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
1720
Joris Labie <joris.labie1@gmail.com>
1821
Justin Dennison <justin1dennison@gmail.com>
19-
KATTA NAGA NITHIN <88046362+nithinkatta@users.noreply.github.com>
20-
Marcus <mfantham@users.noreply.github.com>
22+
Marcus Fantham <mfantham@users.noreply.github.com>
2123
Matt Cochrane <matthew.cochrane.eng@gmail.com>
2224
Milan Raj <rajsite@users.noreply.github.com>
2325
Momtchil Momtchev <momtchil@momtchev.com>
24-
Naresh Jagadeesan <37257700+Infinage@users.noreply.github.com>
26+
Naresh Jagadeesan <naresh.naresh000@gmail.com>
27+
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
2528
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
2629
Philipp Burckhardt <pburckhardt@outlook.com>
27-
Pranav <85227306+Pranavchiku@users.noreply.github.com>
30+
Pranav Goswami <goswami.4@iitj.ac.in>
2831
Ricky Reusser <rsreusser@gmail.com>
2932
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
3033
Ryan Seal <splrk@users.noreply.github.com>
3134
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
3235
Shraddheya Shendre <shendreshraddheya@gmail.com>
3336
Stephannie Jiménez Gacha <steff456@hotmail.com>
3437
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
35-
dorrin-sot <59933477+dorrin-sot@users.noreply.github.com>
36-
drunken_devv <90555965+amitjimiwal@users.noreply.github.com>
3738
orimiles5 <97595296+orimiles5@users.noreply.github.com>
38-
rei2hu <rei2hu@users.noreply.github.com>
39+
rei2hu <reimu@reimu.ws>

lib/factory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var isObject = require( '@stdlib/assert-is-plain-object' );
2424
var format = require( '@stdlib/string-format' );
25-
var copy = require( '@stdlib/utils-copy' );
25+
var assign = require( '@stdlib/object-assign' );
2626
var Stream = require( './main.js' );
2727

2828

@@ -60,7 +60,7 @@ function streamFactory( options ) {
6060
if ( !isObject( options ) ) {
6161
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
6262
}
63-
opts = copy( options );
63+
opts = assign( {}, options );
6464
} else {
6565
opts = {};
6666
}

lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var InspectSinkStream = require( '@stdlib/streams-node-inspect-sink' );
2424
var isFunction = require( '@stdlib/assert-is-function' );
2525
var isBuffer = require( '@stdlib/assert-is-buffer' );
2626
var format = require( '@stdlib/string-format' );
27-
var copy = require( '@stdlib/utils-copy' );
27+
var assign = require( '@stdlib/object-assign' );
2828
var inherit = require( '@stdlib/utils-inherit' );
2929
var debug = require( './debug.js' );
3030
var DEFAULTS = require( './defaults.json' );
@@ -75,7 +75,7 @@ function DebugSinkStream( options, clbk ) {
7575
}
7676
return new DebugSinkStream();
7777
}
78-
opts = copy( DEFAULTS );
78+
opts = assign( {}, DEFAULTS );
7979
if ( arguments.length > 1 ) {
8080
if ( !isFunction( clbk ) ) {
8181
throw new TypeError( format( 'invalid argument. Callback argument must be a function. Value: `%s`.', clbk ) );

lib/object_mode.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var isFunction = require( '@stdlib/assert-is-function' );
2424
var isObject = require( '@stdlib/assert-is-plain-object' );
2525
var format = require( '@stdlib/string-format' );
26-
var copy = require( '@stdlib/utils-copy' );
26+
var assign = require( '@stdlib/object-assign' );
2727
var Stream = require( './main.js' );
2828

2929

@@ -60,7 +60,7 @@ function objectMode( options, clbk ) {
6060
if ( !isObject( options ) ) {
6161
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
6262
}
63-
opts = copy( options );
63+
opts = assign( {}, options );
6464
cb = clbk;
6565
if ( !isFunction( clbk ) ) {
6666
throw new TypeError( format( 'invalid argument. Callback argument must be a function. Value: `%s`.', clbk ) );
@@ -73,7 +73,7 @@ function objectMode( options, clbk ) {
7373
if ( !isObject( options ) ) {
7474
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
7575
}
76-
opts = copy( options );
76+
opts = assign( {}, options );
7777
}
7878
} else {
7979
opts = {};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
"@stdlib/assert-is-nonnegative-number": "^0.0.7",
4545
"@stdlib/assert-is-plain-object": "^0.0.7",
4646
"@stdlib/assert-is-string": "^0.0.8",
47+
"@stdlib/object-assign": "github:stdlib-js/object-assign#main",
4748
"@stdlib/streams-node-inspect-sink": "^0.0.6",
4849
"@stdlib/string-format": "^0.0.3",
49-
"@stdlib/utils-copy": "^0.0.7",
5050
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.7",
5151
"@stdlib/utils-inherit": "^0.0.8",
5252
"debug": "^2.6.9"

0 commit comments

Comments
 (0)