Skip to content

Commit 37a4418

Browse files
committed
Auto-generated commit
1 parent e050c98 commit 37a4418

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2024-12-29)
7+
## Unreleased (2024-12-31)
88

99
<section class="bug-fixes">
1010

1111
### Bug Fixes
1212

13+
- [`78087d9`](https://github.com/stdlib-js/stdlib/commit/78087d9a551783d642d885fb42b89b4e23acd671) - provide missing argument to function
1314
- [`629ce7b`](https://github.com/stdlib-js/stdlib/commit/629ce7bfa31b0d263f36fd597bb67acfc87689ff) - ensure support for typed arrays larger than 2^32-1
1415
- [`dcfa1d6`](https://github.com/stdlib-js/stdlib/commit/dcfa1d62126625847df6517662851e812ef997be) - update import name
1516

@@ -23,6 +24,8 @@
2324

2425
<details>
2526

27+
- [`78087d9`](https://github.com/stdlib-js/stdlib/commit/78087d9a551783d642d885fb42b89b4e23acd671) - **fix:** provide missing argument to function _(by Athan Reines)_
28+
- [`c13c153`](https://github.com/stdlib-js/stdlib/commit/c13c1532c804118dc9ccbcb81867d7723215f671) - **docs:** document exceptions _(by Athan Reines)_
2629
- [`64e4bd6`](https://github.com/stdlib-js/stdlib/commit/64e4bd6055042207ce2e5ae6687ca8992b06367f) - **docs:** fix missing option description _(by Athan Reines)_
2730
- [`629ce7b`](https://github.com/stdlib-js/stdlib/commit/629ce7bfa31b0d263f36fd597bb67acfc87689ff) - **fix:** ensure support for typed arrays larger than 2^32-1 _(by Athan Reines)_
2831
- [`02fe522`](https://github.com/stdlib-js/stdlib/commit/02fe52268be65ac41e413c27cef0f1f83b94636a) - **refactor:** remove unused file _(by Athan Reines)_

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/get_element.js

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ var resolveIndex = require( './resolve_index.js' );
3434
* @param {Object} ctx - context object
3535
* @param {Function} ctx.getter - accessor for retrieving array elements
3636
* @param {boolean} ctx.strict - boolean indicating whether to enforce strict bounds checking
37+
* @throws {RangeError} index exceeds array bounds
3738
* @returns {*} result
3839
*/
3940
function getElement( target, property, ctx ) {

lib/set.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function factory( ctx ) {
6969
if ( isIntegerString( property ) ) {
7070
return setElement( target, property, value, ctx );
7171
}
72-
if ( hasProperty( property ) || !isString( property ) ) {
72+
if ( hasProperty( target, property ) || !isString( property ) ) {
7373
return setValue( target, property, value, ctx );
7474
}
7575
if ( isArrayIndexString( property ) ) {

lib/set_element.js

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ var resolveIndex = require( './resolve_index.js' );
4040
* @param {(Function|null)} ctx.preSetElement - function for normalizing new values (if necessary)
4141
* @throws {TypeError} assigned value cannot be safely cast to the target array data type
4242
* @throws {TypeError} target array must have a supported data type
43+
* @throws {RangeError} index exceeds array bounds
4344
* @returns {boolean} boolean indicating whether assignment succeeded
4445
*/
4546
function setElement( target, property, value, ctx ) {

0 commit comments

Comments
 (0)