Skip to content

Commit 6cf9f1e

Browse files
committed
Auto-generated commit
1 parent ca20b5c commit 6cf9f1e

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
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 <[email protected]>
6+
Amit Jimiwal <[email protected]>
67
Athan Reines <[email protected]>
78
Brendan Graetz <[email protected]>
89
Bruno Fenzl <[email protected]>
910
Christopher Dambamuromo <[email protected]>
11+
1012
Dominik Moritz <[email protected]>
13+
Dorrin Sotoudeh <[email protected]>
1114
Frank Kovacs <[email protected]>
12-
Harshita Kalani <[email protected].com>
13-
15+
Harshita Kalani <harshitakalani02@gmail.com>
16+
James Gelok <[email protected]>
1417
Jithin KS <[email protected]>
1518
Joey Reed <[email protected]>
16-
Jordan-Gallivan <[email protected]>
19+
Jordan Gallivan <[email protected]>
1720
Joris Labie <[email protected]>
1821
Justin Dennison <[email protected]>
19-
KATTA NAGA NITHIN <[email protected]>
20-
22+
Marcus Fantham <[email protected]>
2123
Matt Cochrane <[email protected]>
2224
Milan Raj <[email protected]>
2325
Momtchil Momtchev <[email protected]>
24-
Naresh Jagadeesan <[email protected]>
26+
Naresh Jagadeesan <[email protected]>
27+
Nithin Katta <[email protected]>
2528
Ognjen Jevremović <[email protected]>
2629
Philipp Burckhardt <[email protected]>
27-
30+
Pranav Goswami <[email protected]>
2831
Ricky Reusser <[email protected]>
2932
Roman Stetsyk <[email protected]>
3033
Ryan Seal <[email protected]>
3134
Seyyed Parsa Neshaei <[email protected]>
3235
Shraddheya Shendre <[email protected]>
3336
Stephannie Jiménez Gacha <[email protected]>
3437
Yernar Yergaziyev <[email protected]>
35-
dorrin-sot <[email protected]>
36-
drunken_devv <[email protected]>
3738
orimiles5 <[email protected]>
38-
39+

lib/factory.js

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

2121
// MODULES //
2222

23-
var copy = require( '@stdlib/utils-copy' );
23+
var assign = require( '@stdlib/object-assign' );
2424
var ArrayStream = require( './main.js' );
2525

2626

@@ -66,7 +66,7 @@ var ArrayStream = require( './main.js' );
6666
function factory( options ) {
6767
var opts;
6868
if ( arguments.length ) {
69-
opts = copy( options, 1 );
69+
opts = assign( {}, options );
7070
} else {
7171
opts = {};
7272
}

lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var isCollection = require( '@stdlib/assert-is-collection' );
2525
var isError = require( '@stdlib/assert-is-error' );
2626
var isBuffer = require( '@stdlib/assert-is-buffer' );
2727
var format = require( '@stdlib/string-format' );
28-
var copy = require( '@stdlib/utils-copy' );
28+
var assign = require( '@stdlib/object-assign' );
2929
var inherit = require( '@stdlib/utils-inherit' );
3030
var setNonEnumerable = require( '@stdlib/utils-define-nonenumerable-property' );
3131
var setNonEnumerableReadOnly = require( '@stdlib/utils-define-nonenumerable-read-only-property' );
@@ -183,7 +183,7 @@ function ArrayStream( src, options ) {
183183
if ( !isCollection( src ) ) {
184184
throw new TypeError( format( 'invalid argument. First argument must be an array-like object. Value: `%s`.', src ) );
185185
}
186-
opts = copy( DEFAULTS );
186+
opts = assign( {}, DEFAULTS );
187187
if ( arguments.length > 1 ) {
188188
err = validate( opts, options );
189189
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 ArrayStream = require( './main.js' );
2727

2828

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
"@stdlib/assert-is-string": "^0.0.8",
4949
"@stdlib/buffer-ctor": "^0.0.7",
5050
"@stdlib/buffer-from-string": "^0.0.8",
51+
"@stdlib/object-assign": "github:stdlib-js/object-assign#main",
5152
"@stdlib/string-format": "^0.0.3",
5253
"@stdlib/types": "^0.0.14",
53-
"@stdlib/utils-copy": "^0.0.7",
5454
"@stdlib/utils-define-nonenumerable-property": "^0.0.7",
5555
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.7",
5656
"@stdlib/utils-inherit": "^0.0.8",

0 commit comments

Comments
 (0)