Skip to content

Commit 026af91

Browse files
committed
Auto-generated commit
1 parent da5b906 commit 026af91

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-05-24)
7+
## Unreleased (2026-05-31)
88

99
<section class="features">
1010

@@ -179,6 +179,8 @@
179179

180180
### Bug Fixes
181181

182+
- [`003cb6e`](https://github.com/stdlib-js/stdlib/commit/003cb6ec82ce83ad9dd4d972aabe316a10da382d) - ensure error message is consistent with project conventions
183+
- [`4f28e69`](https://github.com/stdlib-js/stdlib/commit/4f28e6916d4242d02918457f6480b01d42f980c9) - ensure consistent error messages
182184
- [`2d234cc`](https://github.com/stdlib-js/stdlib/commit/2d234cc858ceeea867610d7c86dd309766990dcd) - use `empty` instead of `zeros` in `array/from-scalar` [(#11628)](https://github.com/stdlib-js/stdlib/pull/11628)
183185
- [`ae32f26`](https://github.com/stdlib-js/stdlib/commit/ae32f26441101c24f0faf1a04ecceb3e66387578) - ensure support for boolean arrays in polyfill
184186
- [`3a0b3cc`](https://github.com/stdlib-js/stdlib/commit/3a0b3cc30d966f8739511d4f0cedc73b07376e59) - improve `entries` return type and examples in `array/complex128` types
@@ -276,6 +278,8 @@ A total of 38 issues were closed in this release:
276278

277279
<details>
278280

281+
- [`003cb6e`](https://github.com/stdlib-js/stdlib/commit/003cb6ec82ce83ad9dd4d972aabe316a10da382d) - **fix:** ensure error message is consistent with project conventions _(by Athan Reines)_
282+
- [`4f28e69`](https://github.com/stdlib-js/stdlib/commit/4f28e6916d4242d02918457f6480b01d42f980c9) - **fix:** ensure consistent error messages _(by Athan Reines)_
279283
- [`6742bc8`](https://github.com/stdlib-js/stdlib/commit/6742bc8b4bee95d10b29c7d8d8446e3416057441) - **docs:** follow-up fixes for commits merged to `develop` on 2026-05-24 [(#12265)](https://github.com/stdlib-js/stdlib/pull/12265) _(by Philipp Burckhardt)_
280284
- [`da0bf4e`](https://github.com/stdlib-js/stdlib/commit/da0bf4e0579edef12373a0e3c4eadbcbf402e192) - **docs:** update related packages sections [(#12237)](https://github.com/stdlib-js/stdlib/pull/12237) _(by stdlib-bot, Athan Reines)_
281285
- [`00885d3`](https://github.com/stdlib-js/stdlib/commit/00885d3e6afd8118ce2b6e5f7a1c544d5b6d4ffb) - **bench:** refactor to use string interpolation in `array` [(#11411)](https://github.com/stdlib-js/stdlib/pull/11411) _(by Karan Anand, Athan Reines)_

float16/lib/polyfill/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ setReadOnly( Float16Array, 'from', function from( src ) {
365365
throw new TypeError( 'invalid invocation. `this` context must be a constructor.' );
366366
}
367367
if ( !isFloatingPointArrayConstructor( this ) ) {
368-
throw new TypeError( 'invalid invocation. `this` is not a floating-point array.' );
368+
throw new TypeError( 'invalid invocation. `this` is not a floating-point number array.' );
369369
}
370370
nargs = arguments.length;
371371
if ( nargs > 1 ) {
@@ -2397,7 +2397,7 @@ setReadOnly( Float16Array.prototype, 'with', function copyWith( index, value ) {
23972397
throw new RangeError( format( 'invalid argument. Index argument is out-of-bounds. Value: `%s`.', index ) );
23982398
}
23992399
if ( !isNumber( value ) ) {
2400-
throw new TypeError( format( 'invalid argument. Second argument must be a floating-point number. Value: `%s`.', value ) );
2400+
throw new TypeError( format( 'invalid argument. Second argument must be a number. Value: `%s`.', value ) );
24012401
}
24022402
out = new this.constructor( this );
24032403
out[ index ] = value;

0 commit comments

Comments
 (0)