Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 22, 2023
1 parent 0e5158a commit 119d46a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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


Expand Down Expand Up @@ -64,7 +64,7 @@ function streamFactory( options ) {
if ( !isObject( options ) ) {
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
}
opts = copy( options );
opts = assign( {}, options );
} else {
opts = {};
}
Expand Down
4 changes: 2 additions & 2 deletions lib/object_mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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


Expand Down Expand Up @@ -68,7 +68,7 @@ function objectMode( options ) {
if ( !isObject( options ) ) {
throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );
}
opts = copy( options );
opts = assign( {}, options );
} else {
opts = {};
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@stdlib/assert-is-string": "^0.0.8",
"@stdlib/buffer-ctor": "^0.0.7",
"@stdlib/buffer-from-string": "^0.0.8",
"@stdlib/object-assign": "github:stdlib-js/object-assign#main",
"@stdlib/string-format": "^0.0.3",
"@stdlib/utils-copy": "^0.0.7",
"@stdlib/utils-define-nonenumerable-property": "^0.0.7",
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.7",
"@stdlib/utils-inherit": "^0.0.8",
Expand Down

0 comments on commit 119d46a

Please sign in to comment.