Skip to content

Commit fc6c7ab

Browse files
committed
Auto-generated commit
1 parent 4f8b1d8 commit fc6c7ab

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
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/ctor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var logger = require( 'debug' );
2424
var Transform = require( 'readable-stream' ).Transform;
2525
var inherit = require( '@stdlib/utils-inherit' );
26-
var copy = require( '@stdlib/utils-copy' );
26+
var assign = require( '@stdlib/object-assign' );
2727
var DEFAULTS = require( './defaults.json' );
2828
var validate = require( './validate.js' );
2929
var destroy = require( './destroy.js' );
@@ -82,7 +82,7 @@ function ctor( options ) {
8282
var copts;
8383
var err;
8484

85-
copts = copy( DEFAULTS );
85+
copts = assign( {}, DEFAULTS );
8686
if ( arguments.length ) {
8787
err = validate( copts, options );
8888
if ( err ) {
@@ -133,7 +133,7 @@ function ctor( options ) {
133133
}
134134
return new TransformStream();
135135
}
136-
opts = copy( copts );
136+
opts = assign( {}, copts );
137137
if ( arguments.length ) {
138138
err = validate( opts, options );
139139
if ( err ) {

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

@@ -67,7 +67,7 @@ function streamFactory( options ) {
6767
if ( !isObject( options ) ) {
6868
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
6969
}
70-
opts = copy( options );
70+
opts = assign( {}, options );
7171
} else {
7272
opts = {};
7373
}

lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var logger = require( 'debug' );
2424
var Transform = require( 'readable-stream' ).Transform;
2525
var inherit = require( '@stdlib/utils-inherit' );
26-
var copy = require( '@stdlib/utils-copy' );
26+
var assign = require( '@stdlib/object-assign' );
2727
var DEFAULTS = require( './defaults.json' );
2828
var validate = require( './validate.js' );
2929
var destroy = require( './destroy.js' );
@@ -74,7 +74,7 @@ var debug = logger( 'transform-stream:main' );
7474
*
7575
* // prints: '1\n2\n3\n'
7676
*/
77-
function TransformStream( options ) {
77+
function TransformStream( options ) { // eslint-disable-line stdlib/no-redeclare
7878
var opts;
7979
var err;
8080
if ( !( this instanceof TransformStream ) ) {
@@ -83,7 +83,7 @@ function TransformStream( options ) {
8383
}
8484
return new TransformStream();
8585
}
86-
opts = copy( DEFAULTS );
86+
opts = assign( {}, DEFAULTS );
8787
if ( arguments.length ) {
8888
err = validate( opts, options );
8989
if ( err ) {

lib/object_mode.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

@@ -77,7 +77,7 @@ function objectMode( options ) {
7777
if ( !isObject( options ) ) {
7878
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
7979
}
80-
opts = copy( options );
80+
opts = assign( {}, options );
8181
} else {
8282
opts = {};
8383
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"@stdlib/assert-is-nonnegative-number": "^0.0.7",
4444
"@stdlib/assert-is-plain-object": "^0.0.7",
4545
"@stdlib/assert-is-string": "^0.0.8",
46+
"@stdlib/object-assign": "github:stdlib-js/object-assign#main",
4647
"@stdlib/string-format": "^0.0.3",
47-
"@stdlib/utils-copy": "^0.0.7",
4848
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.7",
4949
"@stdlib/utils-inherit": "^0.0.8",
5050
"@stdlib/utils-next-tick": "^0.0.8",

0 commit comments

Comments
 (0)