Skip to content

Commit 09f3efe

Browse files
committed
Auto-generated commit
1 parent 1c84d5b commit 09f3efe

File tree

11 files changed

+14
-9
lines changed

11 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@
382382

383383
### Bug Fixes
384384

385+
- [`6f6da0a`](https://github.com/stdlib-js/stdlib/commit/6f6da0afaa12ef31691ae659f6a005f140d81cd1) - add missing argument to format strings
385386
- [`2b5e5c6`](https://github.com/stdlib-js/stdlib/commit/2b5e5c6be9fe4b9f1a0e235a6b50c4fe5554707b) - account for edge case where `n <= 0`
386387
- [`fd9991b`](https://github.com/stdlib-js/stdlib/commit/fd9991b94b618d3adfd81f177ddda412388bf1df) - remove conditional
387388
- [`6d74243`](https://github.com/stdlib-js/stdlib/commit/6d742438beb8e7fe0de4ecfbc82083da16a0a83c) - ensure correct type when providing a `dtype` option
@@ -536,6 +537,8 @@ A total of 24 issues were closed in this release:
536537

537538
<details>
538539

540+
- [`6f6da0a`](https://github.com/stdlib-js/stdlib/commit/6f6da0afaa12ef31691ae659f6a005f140d81cd1) - **fix:** add missing argument to format strings _(by Philipp Burckhardt)_
541+
- [`f709450`](https://github.com/stdlib-js/stdlib/commit/f70945029cc35797e0af5ec1de2fda369b5c222a) - **docs:** correct grammar in JSDoc comments _(by Philipp Burckhardt)_
539542
- [`44c2368`](https://github.com/stdlib-js/stdlib/commit/44c23684fef779a6e62dc18dd01192b192785a41) - **feat:** add `ndarray/base/dtype-alignment` _(by Athan Reines)_
540543
- [`e5bf4a1`](https://github.com/stdlib-js/stdlib/commit/e5bf4a1e92052b705774cbb08bc74295cea3c5fc) - **docs:** update example _(by Athan Reines)_
541544
- [`8b85764`](https://github.com/stdlib-js/stdlib/commit/8b8576416a1925647193338763722d58d8c8752e) - **chore:** clean-up _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
138138
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
139139
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
140140
Ori Miles <97595296+orimiles5@users.noreply.github.com>
141+
Payal Goswami <payalgoswami9711@gmail.com>
141142
Philipp Burckhardt <pburckhardt@outlook.com>
142143
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
143144
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
@@ -179,6 +180,7 @@ Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
179180
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
180181
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
181182
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
183+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
182184
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
183185
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
184186
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>

base/nullary-strided1d-dispatch-factory/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var NullaryStrided1dDispatch = require( './../../../base/nullary-strided1d-dispa
4242
* @throws {TypeError} third argument must be an array of supported data types
4343
* @throws {TypeError} options argument must be an object
4444
* @throws {TypeError} must provide valid options
45-
* @returns {Function} function for applying a strided function an ndarray
45+
* @returns {Function} function for applying a strided function to an ndarray
4646
*
4747
* @example
4848
* var base = require( '@stdlib/blas/ext/base/ndarray/gsorthp' );

base/unary-strided1d-dispatch-factory/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var UnaryStrided1dDispatch = require( './../../../base/unary-strided1d-dispatch'
4747
* @throws {TypeError} fourth argument must be an object having supported policies
4848
* @throws {TypeError} options argument must be an object
4949
* @throws {TypeError} must provide valid options
50-
* @returns {Function} function for applying a strided function an ndarray
50+
* @returns {Function} function for applying a strided function to an ndarray
5151
*
5252
* @example
5353
* var base = require( '@stdlib/stats/base/ndarray/cumax' );

count-falsy/lib/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function validate( opts, ndims, options ) {
7777
return new Error( format( 'invalid option. `%s` option contains duplicate indices. Option: [%s].', 'dims', join( opts.dims, ',' ) ) );
7878
}
7979
if ( tmp.length > ndims ) {
80-
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', ndims, join( opts.dims, ',' ) ) );
80+
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', 'dims', ndims, join( opts.dims, ',' ) ) );
8181
}
8282
opts.dims = tmp;
8383
}

count-truthy/lib/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function validate( opts, ndims, options ) {
7777
return new Error( format( 'invalid option. `%s` option contains duplicate indices. Option: [%s].', 'dims', join( opts.dims, ',' ) ) );
7878
}
7979
if ( tmp.length > ndims ) {
80-
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', ndims, join( opts.dims, ',' ) ) );
80+
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', 'dims', ndims, join( opts.dims, ',' ) ) );
8181
}
8282
opts.dims = tmp;
8383
}

every/lib/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function validate( opts, ndims, options ) {
7777
return new Error( format( 'invalid option. `%s` option contains duplicate indices. Option: [%s].', 'dims', join( opts.dims, ',' ) ) );
7878
}
7979
if ( tmp.length > ndims ) {
80-
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', ndims, join( opts.dims, ',' ) ) );
80+
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', 'dims', ndims, join( opts.dims, ',' ) ) );
8181
}
8282
opts.dims = tmp;
8383
}

flatten-by/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function flattenBy( x, options, fcn, thisArg ) {
139139
}
140140
if ( hasOwnProp( options, 'depth' ) ) {
141141
if ( !isNonNegativeInteger( options.depth ) ) {
142-
throw new TypeError( format( 'invalid option. `%s` option must be a nonnegative integer. Option: `%s`.', options.depth ) );
142+
throw new TypeError( format( 'invalid option. `%s` option must be a nonnegative integer. Option: `%s`.', 'depth', options.depth ) );
143143
}
144144
opts.depth = options.depth;
145145
}

flatten/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function flatten( x, options ) {
309309
}
310310
if ( hasOwnProp( options, 'depth' ) ) {
311311
if ( !isNonNegativeInteger( options.depth ) ) {
312-
throw new TypeError( format( 'invalid option. `%s` option must be a nonnegative integer. Option: `%s`.', options.depth ) );
312+
throw new TypeError( format( 'invalid option. `%s` option must be a nonnegative integer. Option: `%s`.', 'depth', options.depth ) );
313313
}
314314
opts.depth = options.depth;
315315
}

includes/lib/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function validate( opts, ndims, options ) {
7777
return new Error( format( 'invalid option. `%s` option contains duplicate indices. Option: [%s].', 'dims', join( opts.dims, ',' ) ) );
7878
}
7979
if ( tmp.length > ndims ) {
80-
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', ndims, join( opts.dims, ',' ) ) );
80+
return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', 'dims', ndims, join( opts.dims, ',' ) ) );
8181
}
8282
opts.dims = tmp;
8383
}

0 commit comments

Comments
 (0)