Skip to content

Commit 4a70790

Browse files
committed
style: add missing spaces
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: passed - task: run_c_examples status: passed - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: failed ---
1 parent 2965f8f commit 4a70790

File tree

135 files changed

+237
-237
lines changed

Some content is hidden

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

135 files changed

+237
-237
lines changed

Diff for: lib/node_modules/@stdlib/_tools/changelog/recommend-version-bump/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function recommendVersionBump( commits ) {
4949
if ( hasFeature ) {
5050
return 'minor';
5151
}
52-
if ( hasFix) {
52+
if ( hasFix ) {
5353
return 'patch';
5454
}
5555
return null;

Diff for: lib/node_modules/@stdlib/_tools/eslint/rules/no-empty-comments/lib/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var rule;
3131
* @param {Object} context - ESLint context
3232
* @returns {Object} validators
3333
*/
34-
function main(context) {
34+
function main( context ) {
3535
var comments;
3636
var visited;
3737
var source;
@@ -45,7 +45,7 @@ function main(context) {
4545
* @private
4646
* @param {Object} comment - comment node
4747
*/
48-
function report(comment) {
48+
function report( comment ) {
4949
context.report({
5050
'node': null,
5151
'message': 'Empty comments are not allowed',

Diff for: lib/node_modules/@stdlib/_tools/eslint/rules/require-globals/test/fixtures/invalid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ test = {
134134
' var z;',
135135
'',
136136
' z = new Float64Array( m * m );',
137-
' for ( i = 0; i < m; i++) {',
137+
' for ( i = 0; i < m; i++ ) {',
138138
' for ( j = 0; j < m; j++ ) {',
139139
' s = 0;',
140140
' for ( k = 0; k < m; k++ ) {',

Diff for: lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function create( fullPath ) {
235235
RE = new RegExp( 'setReadOnly\\( '+nsIdentifier+', \'([a-z0-9_]+)\', require\\( \'([^\']+)\' \\) \\)', 'ig' );
236236
match = RE.exec( indexFile );
237237
}
238-
while ( match !== null) {
238+
while ( match !== null ) {
239239
name = match[ 1 ];
240240
pkgPath = match[ 2 ];
241241

Diff for: lib/node_modules/@stdlib/array/base/cuevery-by/lib/assign.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function indexed( x, out, stride, offset, predicate, thisArg ) {
6161
io += stride;
6262
continue;
6363
}
64-
if ( !predicate.call( thisArg, x[ i ], i, x )) {
64+
if ( !predicate.call( thisArg, x[ i ], i, x ) ) {
6565
flg = false;
6666
}
6767
out[ io ] = flg;

Diff for: lib/node_modules/@stdlib/array/base/take-map/lib/assign.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ var ind = require( '@stdlib/ndarray/base/ind' ).factory;
4747
* var out = [ 0, 0, 0, 0 ];
4848
*
4949
* function clbk( val ){
50-
return val;
51-
}
50+
* return val;
51+
* }
5252
*
5353
* var arr = takeMapIndexed( x, indices, 'throw', out, 1, 0, clbk );
5454
* // returns [ 4, 2, 3, 1 ]
@@ -73,7 +73,7 @@ function takeMapIndexed( x, indices, mode, out, stride, offset, clbk ) {
7373
out[ io ] = x[ j ];
7474
io += stride;
7575
}
76-
for (i = 0; i<out.length; i++) {
76+
for ( i = 0; i < out.length; i++ ) {
7777
// eslint-disable-next-line no-useless-call
7878
out[i] = clbk.call( null, out[i], i );
7979
}
@@ -137,7 +137,7 @@ function accessorsMap( x, indices, mode, out, stride, offset, clbk ) {
137137

138138
// Extract each desired element from the provided array...
139139
io = offset;
140-
for (i = 0; i < idata.length; i++) {
140+
for ( i = 0; i < idata.length; i++ ) {
141141
j = getIndex( iget( idata, i ), max );
142142

143143
// eslint-disable-next-line no-useless-call

Diff for: lib/node_modules/@stdlib/array/fixed-endian-factory/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ function factory( dtype ) { // eslint-disable-line max-lines-per-function, stdli
610610
}
611611
buf = this._buffer;
612612
out = [];
613-
for ( i = 0; i < this._length; i++) {
613+
for ( i = 0; i < this._length; i++ ) {
614614
v = buf[ GETTER ]( i*BYTES_PER_ELEMENT, this._isLE );
615615
if ( predicate.call( thisArg, v, i, this ) ) {
616616
out.push( v );

Diff for: lib/node_modules/@stdlib/assert/is-well-formed-string/lib/iswellformed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var RE_UTF16_HIGH_SURROGATE = /[\uD800-\uDBFF]/;
4040
* var bool = isWellFormed( new String( '\uDC00' ) );
4141
* // returns false
4242
*/
43-
function isWellFormed(str) {
43+
function isWellFormed( str ) {
4444
var i;
4545
for ( i = 0; i < str.length; i++ ) {
4646
// Checking if a low surrogate is present at the beginning

Diff for: lib/node_modules/@stdlib/bench/harness/test/test.bench.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ tape( 'the function runs benchmarks (sync)', function test( t ) {
456456
function beep( b ) {
457457
var i;
458458
b.tic();
459-
for ( i = 0; i < b.iterations; i++) {
459+
for ( i = 0; i < b.iterations; i++ ) {
460460
b.ok( true, 'is okay' );
461461
}
462462
b.toc();
@@ -466,7 +466,7 @@ tape( 'the function runs benchmarks (sync)', function test( t ) {
466466
function boop( b ) {
467467
var i;
468468
b.tic();
469-
for ( i = 0; i < b.iterations; i++) {
469+
for ( i = 0; i < b.iterations; i++ ) {
470470
b.equal( true, true, 'is equal' );
471471
}
472472
b.toc();
@@ -591,7 +591,7 @@ tape( 'the function runs benchmarks (sync and async)', function test( t ) {
591591
function beep( b ) {
592592
var i;
593593
b.tic();
594-
for ( i = 0; i < b.iterations; i++) {
594+
for ( i = 0; i < b.iterations; i++ ) {
595595
b.ok( true, 'is okay' );
596596
}
597597
b.toc();
@@ -662,7 +662,7 @@ tape( 'if the `iterations` option is `null`, the function supports automatically
662662
t.strictEqual( b.iterations >= 1, true, 'iteration number is >= 1' );
663663

664664
b.tic();
665-
for ( i = 0; i < b.iterations; i++) {
665+
for ( i = 0; i < b.iterations; i++ ) {
666666
x = (randu()*100.0) - 50.0;
667667
y = cos( x );
668668
if ( y < -1.0 || y > 1.0 ) {
@@ -745,7 +745,7 @@ tape( 'by default, the `iterations` option is `null` and the number of repeats i
745745
t.strictEqual( b.iterations >= 1, true, 'iteration number is >= 1' );
746746

747747
b.tic();
748-
for ( i = 0; i < b.iterations; i++) {
748+
for ( i = 0; i < b.iterations; i++ ) {
749749
x = (randu()*100.0) - 50.0;
750750
y = cos( x );
751751
if ( y < -1.0 || y > 1.0 ) {
@@ -847,7 +847,7 @@ tape( 'if the `skip` option is `true`, the function skips a benchmark', function
847847
t.strictEqual( b.iterations >= 1, true, 'iteration number is >= 1' );
848848

849849
b.tic();
850-
for ( i = 0; i < b.iterations; i++) {
850+
for ( i = 0; i < b.iterations; i++ ) {
851851
x = (randu()*100.0) - 50.0;
852852
y = cos( x );
853853
if ( y < -1.0 || y > 1.0 ) {
@@ -994,7 +994,7 @@ tape( 'if `createStream` is called before providing adding one or more benchmark
994994
function beep( b ) {
995995
var i;
996996
b.tic();
997-
for ( i = 0; i < b.iterations; i++) {
997+
for ( i = 0; i < b.iterations; i++ ) {
998998
b.ok( true, 'is okay' );
999999
}
10001000
b.toc();
@@ -1004,7 +1004,7 @@ tape( 'if `createStream` is called before providing adding one or more benchmark
10041004
function boop( b ) {
10051005
var i;
10061006
b.tic();
1007-
for ( i = 0; i < b.iterations; i++) {
1007+
for ( i = 0; i < b.iterations; i++ ) {
10081008
b.equal( true, true, 'is equal' );
10091009
}
10101010
b.toc();

Diff for: lib/node_modules/@stdlib/bench/harness/test/test.harness.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ tape( 'the function returns a function (no arguments)', function test( t ) {
161161
});
162162

163163
tape( 'the function returns a function (options)', function test( t ) {
164-
var harness = createHarness( {} );
164+
var harness = createHarness({} );
165165
t.strictEqual( typeof harness, 'function', 'returns a function' );
166166
t.end();
167167
});
@@ -173,7 +173,7 @@ tape( 'the function returns a function (callback)', function test( t ) {
173173
});
174174

175175
tape( 'the function returns a function (more than 1 argument)', function test( t ) {
176-
var harness = createHarness( {}, noop );
176+
var harness = createHarness({}, noop );
177177
t.strictEqual( typeof harness, 'function', 'returns a function' );
178178
t.end();
179179
});
@@ -379,7 +379,7 @@ tape( 'the returned function runs benchmarks (sync)', function test( t ) {
379379
function beep( b ) {
380380
var i;
381381
b.tic();
382-
for ( i = 0; i < b.iterations; i++) {
382+
for ( i = 0; i < b.iterations; i++ ) {
383383
b.ok( true, 'is okay' );
384384
}
385385
b.toc();
@@ -389,7 +389,7 @@ tape( 'the returned function runs benchmarks (sync)', function test( t ) {
389389
function boop( b ) {
390390
var i;
391391
b.tic();
392-
for ( i = 0; i < b.iterations; i++) {
392+
for ( i = 0; i < b.iterations; i++ ) {
393393
b.equal( true, true, 'is equal' );
394394
}
395395
b.toc();
@@ -505,7 +505,7 @@ tape( 'the returned function runs benchmarks (sync and async)', function test( t
505505
function beep( b ) {
506506
var i;
507507
b.tic();
508-
for ( i = 0; i < b.iterations; i++) {
508+
for ( i = 0; i < b.iterations; i++ ) {
509509
b.ok( true, 'is okay' );
510510
}
511511
b.toc();
@@ -571,7 +571,7 @@ tape( 'if the `iterations` option is `null`, the returned function supports auto
571571
t.strictEqual( b.iterations >= 1, true, 'iteration number is >= 1' );
572572

573573
b.tic();
574-
for ( i = 0; i < b.iterations; i++) {
574+
for ( i = 0; i < b.iterations; i++ ) {
575575
x = (randu()*100.0) - 50.0;
576576
y = cos( x );
577577
if ( y < -1.0 || y > 1.0 ) {
@@ -646,7 +646,7 @@ tape( 'by default, the `iterations` option is `null` and the number of repeats i
646646
t.strictEqual( b.iterations >= 1, true, 'iteration number is >= 1' );
647647

648648
b.tic();
649-
for ( i = 0; i < b.iterations; i++) {
649+
for ( i = 0; i < b.iterations; i++ ) {
650650
x = (randu()*100.0) - 50.0;
651651
y = cos( x );
652652
if ( y < -1.0 || y > 1.0 ) {
@@ -735,7 +735,7 @@ tape( 'if the `skip` option is `true`, the returned function skips a benchmark',
735735
t.strictEqual( b.iterations >= 1, true, 'iteration number is >= 1' );
736736

737737
b.tic();
738-
for ( i = 0; i < b.iterations; i++) {
738+
for ( i = 0; i < b.iterations; i++ ) {
739739
x = (randu()*100.0) - 50.0;
740740
y = cos( x );
741741
if ( y < -1.0 || y > 1.0 ) {
@@ -852,7 +852,7 @@ tape( 'the `createStream` method supports returning an object mode stream', func
852852
function beep( b ) {
853853
var i;
854854
b.tic();
855-
for ( i = 0; i < b.iterations; i++) {
855+
for ( i = 0; i < b.iterations; i++ ) {
856856
b.ok( true, 'is okay' );
857857
}
858858
b.toc();
@@ -917,7 +917,7 @@ tape( 'if all benchmarks succeed, the harness exit code is `0`', function test(
917917
var i;
918918

919919
b.tic();
920-
for ( i = 0; i < b.iterations; i++) {
920+
for ( i = 0; i < b.iterations; i++ ) {
921921
x = (randu()*100.0) - 50.0;
922922
y = cos( x );
923923
if ( y < -1.0 && y > 1.0 ) {
@@ -984,7 +984,7 @@ tape( 'if a benchmark fails, the harness exit code is `1`', function test( t ) {
984984
var i;
985985

986986
b.tic();
987-
for ( i = 0; i < b.iterations; i++) {
987+
for ( i = 0; i < b.iterations; i++ ) {
988988
x = (randu()*100.0) - 50.0;
989989
y = cos( x );
990990
if ( y >= -1.0 && y <= 1.0 ) {
@@ -1057,7 +1057,7 @@ tape( 'the function supports automatically closing a benchmark harness', functio
10571057
var i;
10581058

10591059
b.tic();
1060-
for ( i = 0; i < b.iterations; i++) {
1060+
for ( i = 0; i < b.iterations; i++ ) {
10611061
x = (randu()*100.0) - 50.0;
10621062
y = cos( x );
10631063
if ( y < -1.0 && y > 1.0 ) {
@@ -1145,7 +1145,7 @@ tape( 'the function supports manually closing a benchmark harness', function tes
11451145
var i;
11461146

11471147
b.tic();
1148-
for ( i = 0; i < b.iterations; i++) {
1148+
for ( i = 0; i < b.iterations; i++ ) {
11491149
x = (randu()*100.0) - 50.0;
11501150
y = cos( x );
11511151
if ( y < -1.0 && y > 1.0 ) {
@@ -1254,7 +1254,7 @@ tape( 'the function supports forcefully exiting a benchmark harness (while runni
12541254
harness.exit();
12551255
}
12561256
b.tic();
1257-
for ( i = 0; i < b.iterations; i++) {
1257+
for ( i = 0; i < b.iterations; i++ ) {
12581258
x = (randu()*100.0) - 50.0;
12591259
y = cos( x );
12601260
if ( y < -1.0 && y > 1.0 ) {
@@ -1309,7 +1309,7 @@ tape( 'the function supports forcefully exiting a benchmark harness (after runni
13091309
var i;
13101310

13111311
b.tic();
1312-
for ( i = 0; i < b.iterations; i++) {
1312+
for ( i = 0; i < b.iterations; i++ ) {
13131313
x = (randu()*100.0) - 50.0;
13141314
y = cos( x );
13151315
if ( y < -1.0 && y > 1.0 ) {
@@ -1386,7 +1386,7 @@ tape( 'attempting to exit a harness after the harness has closed is a no-op', fu
13861386
var i;
13871387

13881388
b.tic();
1389-
for ( i = 0; i < b.iterations; i++) {
1389+
for ( i = 0; i < b.iterations; i++ ) {
13901390
x = (randu()*100.0) - 50.0;
13911391
y = cos( x );
13921392
if ( y < -1.0 && y > 1.0 ) {

Diff for: lib/node_modules/@stdlib/blas/base/drotg/test/test.assign.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ tape( 'the function computes a Givens plane rotation', function test( t ) {
8989
t.end();
9090
});
9191

92-
tape( 'the function returns an array of NaNs if provided a rotation elimination parameter equal to NaN', function test(t) {
92+
tape( 'the function returns an array of NaNs if provided a rotation elimination parameter equal to NaN', function test( t ) {
9393
var actual;
9494
var i;
9595

@@ -110,7 +110,7 @@ tape( 'the function returns an array of NaNs if provided a rotation elimination
110110
t.end();
111111
});
112112

113-
tape( 'the function supports providing a positive stride', function test(t) {
113+
tape( 'the function supports providing a positive stride', function test( t ) {
114114
var expected;
115115
var actual;
116116
var delta;
@@ -135,7 +135,7 @@ tape( 'the function supports providing a positive stride', function test(t) {
135135
t.end();
136136
});
137137

138-
tape( 'the function supports providing a negative stride', function test(t) {
138+
tape( 'the function supports providing a negative stride', function test( t ) {
139139
var expected;
140140
var actual;
141141
var delta;
@@ -160,7 +160,7 @@ tape( 'the function supports providing a negative stride', function test(t) {
160160
t.end();
161161
});
162162

163-
tape( 'the function supports providing a positive offset', function test(t) {
163+
tape( 'the function supports providing a positive offset', function test( t ) {
164164
var expected;
165165
var actual;
166166
var delta;
@@ -185,7 +185,7 @@ tape( 'the function supports providing a positive offset', function test(t) {
185185
t.end();
186186
});
187187

188-
tape( 'the function supports providing both a stride and offset', function test(t) {
188+
tape( 'the function supports providing both a stride and offset', function test( t ) {
189189
var expected;
190190
var actual;
191191
var delta;

0 commit comments

Comments
 (0)