Skip to content

Commit ab3fa9d

Browse files
committed
Auto-generated commit
1 parent 4f126fb commit ab3fa9d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,7 @@ A total of 12 issues were closed in this release:
799799

800800
##### Bug Fixes
801801

802+
- [`629ce7b`](https://github.com/stdlib-js/stdlib/commit/629ce7bfa31b0d263f36fd597bb67acfc87689ff) - ensure support for typed arrays larger than 2^32-1
802803
- [`dcfa1d6`](https://github.com/stdlib-js/stdlib/commit/dcfa1d62126625847df6517662851e812ef997be) - update import name
803804

804805
</section>
@@ -868,6 +869,7 @@ A total of 12 people contributed to this release. Thank you to the following con
868869

869870
<details>
870871

872+
- [`629ce7b`](https://github.com/stdlib-js/stdlib/commit/629ce7bfa31b0d263f36fd597bb67acfc87689ff) - **fix:** ensure support for typed arrays larger than 2^32-1 _(by Athan Reines)_
871873
- [`b8c41df`](https://github.com/stdlib-js/stdlib/commit/b8c41df78cd2cdc9cd3c3c6b223759d32f4f6e14) - **docs:** update related packages sections [(#3915)](https://github.com/stdlib-js/stdlib/pull/3915) _(by stdlib-bot)_
872874
- [`02fe522`](https://github.com/stdlib-js/stdlib/commit/02fe52268be65ac41e413c27cef0f1f83b94636a) - **refactor:** remove unused file _(by Athan Reines)_
873875
- [`0c9faed`](https://github.com/stdlib-js/stdlib/commit/0c9faedab42d5b816921487891de6aef305aa54f) - **docs:** update namespace table of contents [(#3902)](https://github.com/stdlib-js/stdlib/pull/3902) _(by stdlib-bot, Philipp Burckhardt)_

to-fancy/lib/factory.js

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

2121
// MODULES //
2222

23+
var isCollection = require( '@stdlib/assert/is-collection' );
2324
var isArrayLike = require( '@stdlib/assert/is-array-like' );
2425
var Proxy = require( '@stdlib/proxy/ctor' );
2526
var arraylike2object = require( './../../base/arraylike2object' );
@@ -124,7 +125,7 @@ function factory() {
124125
var arr;
125126
var dt;
126127
var o;
127-
if ( !isArrayLike( x ) ) {
128+
if ( !isArrayLike( x ) && !isCollection( x ) ) {
128129
throw new TypeError( format( 'invalid argument. First argument must be array-like. Value: `%s`.', x ) );
129130
}
130131
if ( hasProxySupport ) {

to-fancy/lib/set.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ var setSlice = require( './set_slice.js' );
3737
*
3838
* @private
3939
* @param {Object} ctx - context object
40-
* @param {Function} ctx.setter - accessor for setting array elements
4140
* @param {string} ctx.dtype - array data type
4241
* @param {boolean} ctx.strict - boolean indicating whether to enforce strict bounds checking
4342
* @param {Function} ctx.validator - function for validating new values

0 commit comments

Comments
 (0)