Skip to content

Commit 0e62e37

Browse files
committed
Auto-generated commit
1 parent 416b382 commit 0e62e37

18 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ A total of 2 issues were closed in this release:
9090

9191
<details>
9292

93+
- [`fdbc822`](https://github.com/stdlib-js/stdlib/commit/fdbc82241f30438af95d53f451c1c4cd4523859f) - **chore:** remove unnecessary `format` calls [(#14520)](https://github.com/stdlib-js/stdlib/pull/14520) _(by Philipp Burckhardt)_
9394
- [`668ccdd`](https://github.com/stdlib-js/stdlib/commit/668ccdd7e8a924d21f431ca83782bb8f6af724f2) - **fix:** add missing arguments to `format` calls [(#14517)](https://github.com/stdlib-js/stdlib/pull/14517) _(by Philipp Burckhardt)_
9495
- [`cb7c674`](https://github.com/stdlib-js/stdlib/commit/cb7c674be0615fb38e4ddcdec80c52581b224e25) - **feat:** update `ndarray/base` TypeScript declarations [(#14464)](https://github.com/stdlib-js/stdlib/pull/14464) _(by stdlib-bot)_
9596
- [`c5d553b`](https://github.com/stdlib-js/stdlib/commit/c5d553b67e4bd6497dc2b99ee8787b54b1e3e761) - **docs:** update namespace table of contents [(#14465)](https://github.com/stdlib-js/stdlib/pull/14465) _(by stdlib-bot)_

‎base/binary-reduce-strided1d-dispatch/lib/main.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ function BinaryStrided1dDispatch( table, idtypes, odtypes, policies ) {
128128
throw new TypeError( format( 'invalid argument. First argument must be an object. Value: `%s`.', table ) );
129129
}
130130
if ( !isFunction( table.default ) ) {
131-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and an associated method.' ) );
131+
throw new TypeError( 'invalid argument. First argument must be an object having a "default" property and an associated method.' );
132132
}
133133
if ( hasProp( table, 'types' ) && !isCollection( table.types ) && !isEmptyCollection( table.types ) ) {
134-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' ) );
134+
throw new TypeError( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' );
135135
}
136136
if ( hasProp( table, 'fcns' ) && !isFunctionArray( table.fcns ) && !isEmptyCollection( table.fcns ) ) {
137-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' ) );
137+
throw new TypeError( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' );
138138
}
139139
if ( !isCollection( idtypes ) ) {
140140
throw new TypeError( format( 'invalid argument. Second argument must be an array-like object. Value: `%s`.', idtypes ) );

‎base/every/scripts/predicate_loops.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function createSourceFile( signature ) {
347347
tmp = format( 'f( (%s)v )', ct1 );
348348
}
349349
} else { // e.g., c, z, f, d, b, etc
350-
tmp = format( 'f( v )' );
350+
tmp = 'f( v )';
351351
}
352352
file = replace( file, '{{CALLBACK_EXPRESSION_0D}}', tmp );
353353

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ function NullaryStrided1dDispatch( table, idtypes, odtypes, options ) {
110110
throw new TypeError( format( 'invalid argument. First argument must be an object. Value: `%s`.', table ) );
111111
}
112112
if ( !isFunction( table.default ) ) {
113-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and an associated method.' ) );
113+
throw new TypeError( 'invalid argument. First argument must be an object having a "default" property and an associated method.' );
114114
}
115115
if ( hasProp( table, 'types' ) && !isCollection( table.types ) && !isEmptyCollection( table.types ) ) {
116-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' ) );
116+
throw new TypeError( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' );
117117
}
118118
if ( hasProp( table, 'fcns' ) && !isFunctionArray( table.fcns ) && !isEmptyCollection( table.fcns ) ) {
119-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' ) );
119+
throw new TypeError( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' );
120120
}
121121
if ( !isCollection( idtypes ) ) {
122122
throw new TypeError( format( 'invalid argument. Second argument must be an array-like object. Value: `%s`.', idtypes ) );

‎base/nullary/scripts/loops.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ function createSourceFile( signature ) {
561561
tmp = format( '(%s)f()', dtype2c( t1 ) );
562562
}
563563
} else { // e.g., c, z, f, d, b, etc
564-
tmp = format( 'f()' );
564+
tmp = 'f()';
565565
}
566566
file = replace( file, '{{CALLBACK_EXPRESSION_0D}}', tmp );
567567

‎base/unary-reduce-strided1d-dispatch-by/lib/main.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ function UnaryStrided1dDispatchBy( table, idtypes, odtypes, policies ) {
126126
throw new TypeError( format( 'invalid argument. First argument must be an object. Value: `%s`.', table ) );
127127
}
128128
if ( !isFunction( table.default ) ) {
129-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and an associated method.' ) );
129+
throw new TypeError( 'invalid argument. First argument must be an object having a "default" property and an associated method.' );
130130
}
131131
if ( hasProp( table, 'types' ) && !isCollection( table.types ) && !isEmptyCollection( table.types ) ) {
132-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' ) );
132+
throw new TypeError( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' );
133133
}
134134
if ( hasProp( table, 'fcns' ) && !isFunctionArray( table.fcns ) && !isEmptyCollection( table.fcns ) ) {
135-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' ) );
135+
throw new TypeError( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' );
136136
}
137137
if ( !isCollection( idtypes ) ) {
138138
throw new TypeError( format( 'invalid argument. Second argument must be an array-like object. Value: `%s`.', idtypes ) );

‎base/unary-reduce-strided1d-dispatch/lib/main.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ function UnaryStrided1dDispatch( table, idtypes, odtypes, policies ) {
122122
throw new TypeError( format( 'invalid argument. First argument must be an object. Value: `%s`.', table ) );
123123
}
124124
if ( !isFunction( table.default ) ) {
125-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and an associated method.' ) );
125+
throw new TypeError( 'invalid argument. First argument must be an object having a "default" property and an associated method.' );
126126
}
127127
if ( hasProp( table, 'types' ) && !isCollection( table.types ) && !isEmptyCollection( table.types ) ) {
128-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' ) );
128+
throw new TypeError( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' );
129129
}
130130
if ( hasProp( table, 'fcns' ) && !isFunctionArray( table.fcns ) && !isEmptyCollection( table.fcns ) ) {
131-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' ) );
131+
throw new TypeError( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' );
132132
}
133133
if ( !isCollection( idtypes ) ) {
134134
throw new TypeError( format( 'invalid argument. Second argument must be an array-like object. Value: `%s`.', idtypes ) );

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ function UnaryStrided1dDispatch( table, idtypes, odtypes, policies, options ) {
127127
throw new TypeError( format( 'invalid argument. First argument must be an object. Value: `%s`.', table ) );
128128
}
129129
if ( !isFunction( table.default ) ) {
130-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "default" property and an associated method.' ) );
130+
throw new TypeError( 'invalid argument. First argument must be an object having a "default" property and an associated method.' );
131131
}
132132
if ( hasProp( table, 'types' ) && !isCollection( table.types ) && !isEmptyCollection( table.types ) ) {
133-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' ) );
133+
throw new TypeError( 'invalid argument. First argument must be an object having a "types" property whose associated value is an array-like object.' );
134134
}
135135
if ( hasProp( table, 'fcns' ) && !isFunctionArray( table.fcns ) && !isEmptyCollection( table.fcns ) ) {
136-
throw new TypeError( format( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' ) );
136+
throw new TypeError( 'invalid argument. First argument must be an object having a "fcns" property whose associated value is an array-like object containing functions.' );
137137
}
138138
if ( !isCollection( idtypes ) ) {
139139
throw new TypeError( format( 'invalid argument. Second argument must be an array-like object. Value: `%s`.', idtypes ) );

‎iter/column-entries/lib/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function nditerColumnEntries( x ) {
110110
}
111111
opts.writable = !options.readonly;
112112
if ( opts.writable && isReadOnly( x ) ) {
113-
throw new Error( format( 'invalid option. Cannot write to read-only array.' ) );
113+
throw new Error( 'invalid option. Cannot write to read-only array.' );
114114
}
115115
}
116116
}

‎iter/columns/lib/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function nditerColumns( x ) {
110110
}
111111
opts.writable = !options.readonly;
112112
if ( opts.writable && isReadOnly( x ) ) {
113-
throw new Error( format( 'invalid option. Cannot write to read-only array.' ) );
113+
throw new Error( 'invalid option. Cannot write to read-only array.' );
114114
}
115115
}
116116
}

0 commit comments

Comments
 (0)