Skip to content

Commit ef79309

Browse files
committed
Auto-generated commit
1 parent 7d1faf1 commit ef79309

File tree

20 files changed

+402
-30
lines changed

20 files changed

+402
-30
lines changed

CHANGELOG.md

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

7-
## Unreleased (2025-08-12)
7+
## Unreleased (2025-08-31)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`132f36a`](https://github.com/stdlib-js/stdlib/commit/132f36a977386ab096662902eb7830fe6b140c76) - update error databases [(#7991)](https://github.com/stdlib-js/stdlib/pull/7991)
14+
- [`d9443db`](https://github.com/stdlib-js/stdlib/commit/d9443dbda63b97e6f17b991f17cac96e7a8b8e8c) - update error databases [(#7943)](https://github.com/stdlib-js/stdlib/pull/7943)
1315
- [`d6ee4e5`](https://github.com/stdlib-js/stdlib/commit/d6ee4e5db0d8c86c57fc7c110ad41c0fdb00b321) - update error databases [(#7752)](https://github.com/stdlib-js/stdlib/pull/7752)
1416
- [`a337404`](https://github.com/stdlib-js/stdlib/commit/a3374043768674fe57765ead5aa348067b3c4880) - update error databases [(#7700)](https://github.com/stdlib-js/stdlib/pull/7700)
1517
- [`1c2c241`](https://github.com/stdlib-js/stdlib/commit/1c2c241591ad0be0cd68cb5a6143c5040f42971d) - update error databases [(#7441)](https://github.com/stdlib-js/stdlib/pull/7441)
@@ -50,6 +52,12 @@ This release closes the following issue:
5052

5153
<details>
5254

55+
- [`132f36a`](https://github.com/stdlib-js/stdlib/commit/132f36a977386ab096662902eb7830fe6b140c76) - **feat:** update error databases [(#7991)](https://github.com/stdlib-js/stdlib/pull/7991) _(by stdlib-bot)_
56+
- [`d9443db`](https://github.com/stdlib-js/stdlib/commit/d9443dbda63b97e6f17b991f17cac96e7a8b8e8c) - **feat:** update error databases [(#7943)](https://github.com/stdlib-js/stdlib/pull/7943) _(by stdlib-bot)_
57+
- [`7add020`](https://github.com/stdlib-js/stdlib/commit/7add0201c13e56a0381926ccfd4073c84eaf2ed4) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
58+
- [`11581aa`](https://github.com/stdlib-js/stdlib/commit/11581aaca8c3cb824cbb92c0c0f80e76890bdb20) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
59+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
60+
- [`f344466`](https://github.com/stdlib-js/stdlib/commit/f344466c6dcfb8f52d7f3148acaadd52772938da) - **test:** use .strictEqual() instead of .equal() and fix lint errors _(by Philipp Burckhardt)_
5361
- [`77867ac`](https://github.com/stdlib-js/stdlib/commit/77867ac1767a186023f633dea30ddf860962aaed) - **docs:** remove trailing whitespace _(by Philipp Burckhardt)_
5462
- [`d6ee4e5`](https://github.com/stdlib-js/stdlib/commit/d6ee4e5db0d8c86c57fc7c110ad41c0fdb00b321) - **feat:** update error databases [(#7752)](https://github.com/stdlib-js/stdlib/pull/7752) _(by stdlib-bot)_
5563
- [`a337404`](https://github.com/stdlib-js/stdlib/commit/a3374043768674fe57765ead5aa348067b3c4880) - **feat:** update error databases [(#7700)](https://github.com/stdlib-js/stdlib/pull/7700) _(by stdlib-bot, Athan Reines)_

CONTRIBUTORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Ruthwik Chikoti <[email protected]>
166166
Ryan Seal <[email protected]>
167167
Rylan Yang <[email protected]>
168168
SAHIL KUMAR <[email protected]>
169+
SAUJANYA MAGARDE <[email protected]>
169170
SHIVAM YADAV <[email protected]>
170171
Sachin Raj <[email protected]>
171172
Sahil Goyal <[email protected]>
@@ -188,6 +189,7 @@ Sivam Das <[email protected]>
188189
Snehil Shah <[email protected]>
189190
Soumajit Chatterjee <[email protected]>
190191
Spandan Barve <[email protected]>
192+
Srinivas Batthula <[email protected]>
191193
Stephannie Jiménez Gacha <[email protected]>
192194
Suhaib Ilahi <[email protected]>
193195
Suraj Kumar <[email protected]>

reviver/test/test.ctors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ tape( 'main export is a function hash', function test( t ) {
3434
var i;
3535

3636
t.ok( true, __filename );
37-
t.equal( isPlainObject( ctors ), true, 'main export is an object' );
37+
t.strictEqual( isPlainObject( ctors ), true, 'main export is an object' );
3838

3939
keys = objectKeys( ctors );
4040
t.ok( keys.length > 0, 'has keys' );
4141

4242
for ( i = 0; i < keys.length; i++ ) {
43-
t.equal( isFunction( ctors[ keys[i] ] ), true, keys[i] + ' value is a function' );
43+
t.strictEqual( isFunction( ctors[ keys[i] ] ), true, keys[i] + ' value is a function' );
4444
}
4545
t.end();
4646
});

reviver/test/test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ tape( 'values which are not recognized as serialized error objects are unaffecte
5858

5959
// Null edge case:
6060
actual = JSON.parse( 'null', reviveError );
61-
t.equal( actual, null, 'returns expected value' );
61+
t.strictEqual( actual, null, 'returns expected value' );
6262

6363
t.end();
6464
});
@@ -141,8 +141,8 @@ tape( 'the function will revive a JSON-serialized error object', function test(
141141
actual = JSON.parse( JSON.stringify( json ), reviveError );
142142

143143
t.ok( actual instanceof ctors[ i ], 'instance of type ' + types[i] );
144-
t.equal( actual.message, expected.message, 'returns expected value' );
145-
t.equal( actual.stack, expected.stack, 'returns expected value' );
144+
t.strictEqual( actual.message, expected.message, 'returns expected value' );
145+
t.strictEqual( actual.stack, expected.stack, 'returns expected value' );
146146
}
147147
t.end();
148148
});
@@ -157,7 +157,7 @@ tape( 'non-standard error properties are bound to the revived error instance', f
157157

158158
err = JSON.parse( JSON.stringify( json ), reviveError );
159159

160-
t.equal( err.beep, json.beep, 'shallow properties' );
160+
t.strictEqual( err.beep, json.beep, 'shallow properties' );
161161

162162
t.notEqual( err.arr, json.arr, 'separate instances' );
163163
t.deepEqual( err.arr, json.arr, 'returns expected value' );
@@ -219,8 +219,8 @@ tape( 'the function will revive deeply nested serialized error objects', functio
219219
expected.stack = 'boop';
220220

221221
t.ok( actual[i] instanceof ctors[i], 'instance of ' + ctors[ i ] );
222-
t.equal( actual[i].message, expected.message, 'returns expected value' );
223-
t.equal( actual[i].stack, expected.stack, 'returns expected value' );
222+
t.strictEqual( actual[i].message, expected.message, 'returns expected value' );
223+
t.strictEqual( actual[i].stack, expected.stack, 'returns expected value' );
224224
}
225225

226226
json = {
@@ -240,9 +240,9 @@ tape( 'the function will revive deeply nested serialized error objects', functio
240240

241241
t.ok( actual.beep.boop instanceof RangeError, 'instance of RangeError' );
242242

243-
t.equal( actual.beep.boop.message, expected.beep.boop.message, 'returns expected value' );
243+
t.strictEqual( actual.beep.boop.message, expected.beep.boop.message, 'returns expected value' );
244244

245-
t.equal( actual.beep.boop.stack, expected.beep.boop.stack, 'returns expected value' );
245+
t.strictEqual( actual.beep.boop.stack, expected.beep.boop.stack, 'returns expected value' );
246246

247247
t.end();
248248
});

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ tape( 'main export is an object', function test( t ) {
3535

3636
tape( 'the exported object contains key-value pairs', function test( t ) {
3737
var keys = objectKeys( ns );
38-
t.equal( keys.length > 0, true, 'has keys' );
38+
t.strictEqual( keys.length > 0, true, 'has keys' );
3939
t.end();
4040
});

tools/database/data/data.csv

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,3 +1190,13 @@
11901190
"JB","invalid argument. Second argument must be either an ndarray or a scalar value. Value: `%s`.","TypeError"
11911191
"JC","invalid argument. Third argument must be an ndarray. Value: `%s`.","TypeError"
11921192
"JD","invalid argument. Third argument must be either an ndarray or an integer. Value: `%s`.","TypeError"
1193+
"JE","invalid operation. Environment lacks support for HTTP/2. Ensure that you are running on a Node.js version which supports HTTP/2 and has been built to include support for the Node.js `crypto` module.","Error"
1194+
"JF","invalid argument. Input arrays must have the same number of dimensions. First array dimensions: %d. Second array dimensions: %d.","Error"
1195+
"JG","invalid argument. Input arrays must have the same shape. First array shape: [%s]. Second array shape: [%s].","Error"
1196+
"JH","invalid argument. Output array must have the same number of non-reduced dimensions as input arrays. Input array shape: [%s]. Number of non-reduced dimensions: %d. Output array shape: [%s].","Error"
1197+
"JI","invalid argument. Array arguments after the first array must have the same number of loop dimensions. Input array shape: [%s]. Number of loop dimensions: %d. Array shape: [%s] (index: %d).","Error"
1198+
"JJ","invalid argument. Second argument contains an out-of-bounds index. Array shape: (%s). Value: `[%s]`.","RangeError"
1199+
"JK","invalid argument. Thirteenth argument must be non-zero. Value: `%d`.","RangeError"
1200+
"JL","invalid argument. Sixth argument must be greater than or equal to max(1,%d). Value: `%d`.","RangeError"
1201+
"JM","invalid argument. Fifth argument must be non-zero. Value: `%s`.","RangeError"
1202+
"JN","invalid argument. Sixth argument must be non-zero. Value: `%s`.","RangeError"

tools/database/data/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tools/database/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tape( 'main export is a function', function test( t ) {
3737
tape( 'the function returns an object mappping error codes to error messages', function test( t ) {
3838
var data = database();
3939
var keys = objectKeys( data );
40-
t.equal( isPlainObject( data ), true, 'returns a plain object' );
41-
t.equal( keys.length > 0, true, 'the returned object has keys' );
40+
t.strictEqual( isPlainObject( data ), true, 'returns expected value' );
41+
t.strictEqual( keys.length > 0, true, 'the returned object has keys' );
4242
t.end();
4343
});

tools/fmtprodmsg-factory/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ tape( 'the function returns an error message function', function test( t ) {
9494
formatProdErrorMessage = fmtprodmsgFactory( opts );
9595
str = formatProdErrorMessage( '6', 'boop' );
9696

97-
t.equal( typeof formatProdErrorMessage, 'function', 'returns a function' );
98-
t.equal( typeof str, 'string', 'returned function returns a string' );
97+
t.strictEqual( typeof formatProdErrorMessage, 'function', 'returns expected value' );
98+
t.strictEqual( typeof str, 'string', 'returned function returns a string' );
9999
t.end();
100100
});

tools/fmtprodmsg-factory/test/test.validate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ tape( 'the function returns `null` if all options are valid', function test( t )
118118
obj = {};
119119
err = validate( obj, opts );
120120

121-
t.equal( err, null, 'returns null' );
122-
t.equal( obj.url, opts.url, 'sets url option' );
123-
t.equal( obj.message, opts.message, 'sets message option' );
121+
t.strictEqual( err, null, 'returns expected value' );
122+
t.strictEqual( obj.url, opts.url, 'sets url option' );
123+
t.strictEqual( obj.message, opts.message, 'sets message option' );
124124

125125
t.end();
126126
});
@@ -138,7 +138,7 @@ tape( 'the function ignores unsupported/unrecognized options', function test( t
138138
obj = {};
139139
err = validate( obj, opts );
140140

141-
t.equal( err, null, 'returns null' );
141+
t.strictEqual( err, null, 'returns expected value' );
142142
t.deepEqual( obj, {}, 'does not set any options' );
143143

144144
t.end();

0 commit comments

Comments
 (0)