Skip to content

Commit 0e39934

Browse files
committed
Auto-generated commit
1 parent d727f87 commit 0e39934

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 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 (2025-06-23)
7+
## Unreleased (2025-06-24)
88

99
<section class="features">
1010

@@ -49,6 +49,7 @@
4949

5050
### Bug Fixes
5151

52+
- [`04fbd21`](https://github.com/stdlib-js/stdlib/commit/04fbd2138efb9db2fc14dcff5be31f200004a9e2) - add missing `isStruct` method check
5253
- [`21cdf0c`](https://github.com/stdlib-js/stdlib/commit/21cdf0c4d3de902744dfecd3387bc64317eddfd4) - javascript lint errors [(#7143)](https://github.com/stdlib-js/stdlib/pull/7143)
5354

5455
</section>
@@ -107,6 +108,7 @@ A total of 6 issues were closed in this release:
107108

108109
<details>
109110

111+
- [`04fbd21`](https://github.com/stdlib-js/stdlib/commit/04fbd2138efb9db2fc14dcff5be31f200004a9e2) - **fix:** add missing `isStruct` method check _(by Athan Reines)_
110112
- [`0ba0d91`](https://github.com/stdlib-js/stdlib/commit/0ba0d912c0608c3fa8daff70874c9fa8de672a3a) - **feat:** add `isStructConstructorLike` to namespace _(by Athan Reines)_
111113
- [`67b59c6`](https://github.com/stdlib-js/stdlib/commit/67b59c6d61abd31bc0fa7fadc673a0dbfb02d387) - **feat:** add `assert/is-struct-constructor-like` _(by Athan Reines)_
112114
- [`f58120f`](https://github.com/stdlib-js/stdlib/commit/f58120f6a16840c817e26f439224a67e1680e21c) - **feat:** add header for asserting is a Node-API value is a DataView _(by Athan Reines)_

is-struct-constructor-like/lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ function isStructConstructorLike( value ) {
5858
isFunction( value.byteLengthOf ) &&
5959
isFunction( value.byteOffsetOf ) &&
6060
isFunction( value.bufferOf ) &&
61+
isFunction( value.isStruct ) &&
6162
isFunction( value.viewOf ) &&
6263
hasOwnProp( value, 'fields' ) &&
6364
hasOwnProp( value, 'layout' )

is-struct-constructor-like/test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ tape( 'the function returns `true` if provided a struct constructor-like object'
5959
Struct.byteLengthOf = noop;
6060
Struct.byteOffsetOf = noop;
6161
Struct.bufferOf = noop;
62+
Struct.isStruct = noop;
6263
Struct.viewOf = noop;
6364
Struct.fields = [ 'foo' ];
6465
Struct.layout = '';

0 commit comments

Comments
 (0)