Skip to content

Commit a4315d6

Browse files
committed
Auto-generated commit
1 parent 79daed8 commit a4315d6

File tree

90 files changed

+2920
-198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+2920
-198
lines changed

CHANGELOG.md

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

7-
## Unreleased (2025-09-20)
7+
## Unreleased (2025-09-21)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`6f68eff`](https://github.com/stdlib-js/stdlib/commit/6f68effedeecde36720abe994269424b692d2663) - add `dtypeObjects` to namespace
14+
- [`57e97ae`](https://github.com/stdlib-js/stdlib/commit/57e97ae489b90d630a5f6789154eca2c92740bf9) - add `ndarray/base/dtype-objects`
15+
- [`45e2822`](https://github.com/stdlib-js/stdlib/commit/45e2822d8f257cfeb3911a40961ba6e95d437ed3) - add `dtypeEnums` to namespace
16+
- [`a263d70`](https://github.com/stdlib-js/stdlib/commit/a263d7026590a59eb0aba0c80b27df80733a4489) - add `ndarray/base/dtype-enums`
17+
- [`b141f04`](https://github.com/stdlib-js/stdlib/commit/b141f0413f4893571f82c746453d128174a26137) - add `dtypeStrings` to namespace
18+
- [`1c38368`](https://github.com/stdlib-js/stdlib/commit/1c383680d297a2b8b3dd12c0db0e40a6a796e1e4) - add `ndarray/base/dtype-strings`
1319
- [`ffe223b`](https://github.com/stdlib-js/stdlib/commit/ffe223b04476eb50c17cc7b94943ede80296aaa5) - add support for non-string data types
1420
- [`599cf73`](https://github.com/stdlib-js/stdlib/commit/599cf7317ccf5c97d7d110e0d38f4f7db14ad0d2) - add support for non-string data types
1521
- [`41fca83`](https://github.com/stdlib-js/stdlib/commit/41fca8339a466eed84400b23652fd60bd9c36e54) - add support for non-string data types
@@ -418,6 +424,7 @@
418424

419425
### Bug Fixes
420426

427+
- [`5b491c9`](https://github.com/stdlib-js/stdlib/commit/5b491c98f454c2413c23eaa901543bef9e3642f2) - allow enums to be nonpositive integers
421428
- [`a278663`](https://github.com/stdlib-js/stdlib/commit/a2786634547c68e950444c8a16d522d2ab79e335) - ensure \"generic\" data type objects are considered valid
422429
- [`f8e5205`](https://github.com/stdlib-js/stdlib/commit/f8e520591bc2a8d8436ebb4fbe1604a7376105cd) - use correct `sliceAssign` alias
423430
- [`08c21f1`](https://github.com/stdlib-js/stdlib/commit/08c21f19a3dc1c7352e4760c19c1ec8aab714b54) - update return type
@@ -577,6 +584,25 @@ A total of 24 issues were closed in this release:
577584

578585
<details>
579586

587+
- [`d6074e2`](https://github.com/stdlib-js/stdlib/commit/d6074e22f1bc049ded9d4a37e1d3ecbe64ee3f7e) - **docs:** fix require path _(by Athan Reines)_
588+
- [`9a85422`](https://github.com/stdlib-js/stdlib/commit/9a85422a57096503cb099dbc2a1b893ec9dc32f5) - **docs:** fix require path _(by Athan Reines)_
589+
- [`3d09030`](https://github.com/stdlib-js/stdlib/commit/3d09030cc4f13ac5fa69ce4a0fe2546464cdbf0c) - **docs:** document exported data type instances _(by Athan Reines)_
590+
- [`6f68eff`](https://github.com/stdlib-js/stdlib/commit/6f68effedeecde36720abe994269424b692d2663) - **feat:** add `dtypeObjects` to namespace _(by Athan Reines)_
591+
- [`57e97ae`](https://github.com/stdlib-js/stdlib/commit/57e97ae489b90d630a5f6789154eca2c92740bf9) - **feat:** add `ndarray/base/dtype-objects` _(by Athan Reines)_
592+
- [`2cbcb64`](https://github.com/stdlib-js/stdlib/commit/2cbcb64f40cca8ac4b0328e48abcf247abe4717d) - **docs:** access enum values via data type objects _(by Athan Reines)_
593+
- [`49013b4`](https://github.com/stdlib-js/stdlib/commit/49013b4760a464c19a9c858479d8d8c1344caa58) - **docs:** access enum values via data type objects _(by Athan Reines)_
594+
- [`ddccd36`](https://github.com/stdlib-js/stdlib/commit/ddccd36b228566f4b5c3287ecfb855f68970cf58) - **refactor:** make internal properties read-only and add instance check _(by Athan Reines)_
595+
- [`bd31cd9`](https://github.com/stdlib-js/stdlib/commit/bd31cd9ab358b0f2cecd1c82d42cd394e75bad75) - **refactor:** use internal utility and expose DataType instances, rather than enums _(by Athan Reines)_
596+
- [`5b491c9`](https://github.com/stdlib-js/stdlib/commit/5b491c98f454c2413c23eaa901543bef9e3642f2) - **fix:** allow enums to be nonpositive integers _(by Athan Reines)_
597+
- [`61d37ac`](https://github.com/stdlib-js/stdlib/commit/61d37acb4507de68f39331a22657278ae8eb78c3) - **refactor:** update require paths _(by Athan Reines)_
598+
- [`944c779`](https://github.com/stdlib-js/stdlib/commit/944c779002753edbe3ba889b01b555ae7863385e) - **refactor:** update require paths _(by Athan Reines)_
599+
- [`978698b`](https://github.com/stdlib-js/stdlib/commit/978698b1e3e7ddb8eed1a6b2540ece7139d20cdd) - **refactor:** update require path _(by Athan Reines)_
600+
- [`476b018`](https://github.com/stdlib-js/stdlib/commit/476b0181203eb4c523ebfb1390ad8c39dd509b24) - **refactor:** update require path _(by Athan Reines)_
601+
- [`45e2822`](https://github.com/stdlib-js/stdlib/commit/45e2822d8f257cfeb3911a40961ba6e95d437ed3) - **feat:** add `dtypeEnums` to namespace _(by Athan Reines)_
602+
- [`a263d70`](https://github.com/stdlib-js/stdlib/commit/a263d7026590a59eb0aba0c80b27df80733a4489) - **feat:** add `ndarray/base/dtype-enums` _(by Athan Reines)_
603+
- [`bcc1af5`](https://github.com/stdlib-js/stdlib/commit/bcc1af5db7947fcef9a41c727843453d14a9ced1) - **refactor:** update require paths to use lower-level utility _(by Athan Reines)_
604+
- [`b141f04`](https://github.com/stdlib-js/stdlib/commit/b141f0413f4893571f82c746453d128174a26137) - **feat:** add `dtypeStrings` to namespace _(by Athan Reines)_
605+
- [`1c38368`](https://github.com/stdlib-js/stdlib/commit/1c383680d297a2b8b3dd12c0db0e40a6a796e1e4) - **feat:** add `ndarray/base/dtype-strings` _(by Athan Reines)_
580606
- [`832da9f`](https://github.com/stdlib-js/stdlib/commit/832da9fbeec39f4bb00ad8ca14d322a1bc399faa) - **test:** fix require path _(by Athan Reines)_
581607
- [`ffe223b`](https://github.com/stdlib-js/stdlib/commit/ffe223b04476eb50c17cc7b94943ede80296aaa5) - **feat:** add support for non-string data types _(by Athan Reines)_
582608
- [`599cf73`](https://github.com/stdlib-js/stdlib/commit/599cf7317ccf5c97d7d110e0d38f4f7db14ad0d2) - **feat:** add support for non-string data types _(by Athan Reines)_

base/assert/is-allowed-data-type-cast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The following [casting][@stdlib/ndarray/casting-modes] modes are supported:
8484
```javascript
8585
var nCartesianProduct = require( '@stdlib/array/base/n-cartesian-product' );
8686
var unzip = require( '@stdlib/utils/unzip' );
87-
var dtypes = require( '@stdlib/ndarray/dtypes' );
87+
var dtypes = require( '@stdlib/ndarray/base/dtype-strings' );
8888
var modes = require( '@stdlib/ndarray/casting-modes' );
8989
var logEachMap = require( '@stdlib/console/log-each-map' );
9090
var isAllowedCast = require( '@stdlib/ndarray/base/assert/is-allowed-data-type-cast' );

base/assert/is-allowed-data-type-cast/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
25-
var dtypes = require( './../../../../dtypes' );
25+
var dtypes = require( './../../../../base/dtype-strings' );
2626
var pkg = require( './../package.json' ).name;
2727
var isAllowedCast = require( './../lib' );
2828

base/assert/is-allowed-data-type-cast/examples/index.js

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

2121
var nCartesianProduct = require( '@stdlib/array/base/n-cartesian-product' );
2222
var unzip = require( '@stdlib/utils/unzip' );
23-
var dtypes = require( './../../../../dtypes' );
23+
var dtypes = require( './../../../../base/dtype-strings' );
2424
var modes = require( './../../../../casting-modes' );
2525
var logEachMap = require( '@stdlib/console/log-each-map' );
2626
var isAllowedCast = require( './../lib' );

base/assert/is-allowed-data-type-cast/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var tape = require( 'tape' );
2424
var DataType = require( './../../../../dtype-ctor' );
2525
var structFactory = require( '@stdlib/dstructs/struct' );
26-
var dtypes = require( './../../../../dtypes' );
26+
var dtypes = require( './../../../../base/dtype-strings' );
2727
var isSafeCast = require( './../../../../base/assert/is-safe-data-type-cast' );
2828
var isMostlySafeCast = require( './../../../../base/assert/is-mostly-safe-data-type-cast' );
2929
var isSameKindCast = require( './../../../../base/assert/is-same-kind-data-type-cast' );

base/assert/is-boolean-data-type/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var contains = require( '@stdlib/array/base/assert/contains' ).factory;
24-
var dtypes = require( './../../../../dtypes' );
24+
var dtypes = require( './../../../../base/dtype-strings' );
2525

2626

2727
// VARIABLES //

base/assert/is-boolean-index-data-type/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var contains = require( '@stdlib/array/base/assert/contains' ).factory;
24-
var dtypes = require( './../../../../dtypes' );
24+
var dtypes = require( './../../../../base/dtype-strings' );
2525

2626

2727
// VARIABLES //

base/assert/is-complex-floating-point-data-type/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var contains = require( '@stdlib/array/base/assert/contains' ).factory;
24-
var dtypes = require( './../../../../dtypes' );
24+
var dtypes = require( './../../../../base/dtype-strings' );
2525

2626

2727
// VARIABLES //

base/assert/is-data-type-object/lib/main.js

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

2121
// MODULES //
2222

23-
var isPositiveInteger = require( '@stdlib/assert/is-positive-integer' ).isPrimitive;
2423
var isInteger = require( '@stdlib/assert/is-integer' ).isPrimitive;
2524
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
2625
var hasProp = require( '@stdlib/assert/has-property' );
@@ -54,7 +53,7 @@ function isDataTypeObject( value ) {
5453
isInteger( value.byteLength ) &&
5554
isString( value.byteOrder ) &&
5655
isString( value.char ) &&
57-
isPositiveInteger( value.enum ) &&
56+
isInteger( value.enum ) &&
5857
hasProp( value, 'value' )
5958
);
6059
}

base/assert/is-data-type-string/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var contains = require( '@stdlib/array/base/assert/contains' ).factory;
24-
var dtypes = require( './../../../../dtypes' );
24+
var dtypes = require( './../../../../base/dtype-strings' );
2525

2626

2727
// MAIN //

0 commit comments

Comments
 (0)