Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

// MODULES //

var exec = require( 'child_process' ).execSync;

Check warning on line 23 in lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected sync method: 'execSync'
var join = require( 'path' ).join;
var logger = require( 'debug' );
var copy = require( '@stdlib/utils/copy' );
Expand Down Expand Up @@ -56,11 +56,8 @@
* @throws {TypeError} first argument must be a string
* @throws {TypeError} options argument must be an object
* @throws {TypeError} must provide valid options
* @throws {Error} unable to generate a reference
* @returns {string} reference
*
* @example
* var ref = toReference( '@press1992' );
* // returns '...'
*/
function toReference( id, options ) {
var outFile;
Expand Down
160 changes: 80 additions & 80 deletions lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

// MAIN //

bench( pkg+'::0d,base', function benchmark( b ) {

Check warning on line 35 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand Down Expand Up @@ -62,7 +62,7 @@
b.end();
});

bench( pkg+'::0d,non-base', function benchmark( b ) {

Check warning on line 65 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand All @@ -71,11 +71,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [], { 'dtype': 'float64' } ),
empty( [], { 'dtype': 'float32' } ),
empty( [], { 'dtype': 'int32' } ),
empty( [], { 'dtype': 'complex128' } ),
empty( [], { 'dtype': 'generic' } )
empty( [], { 'dtype': 'float64' }),
empty( [], { 'dtype': 'float32' }),
empty( [], { 'dtype': 'int32' }),
empty( [], { 'dtype': 'complex128' }),
empty( [], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand All @@ -97,7 +97,7 @@
b.end();
});

bench( pkg+'::1d,base', function benchmark( b ) {

Check warning on line 100 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand Down Expand Up @@ -127,7 +127,7 @@
b.end();
});

bench( pkg+'::1d,non-base', function benchmark( b ) {

Check warning on line 130 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand All @@ -136,11 +136,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2 ], { 'dtype': 'float64' } ),
empty( [ 2 ], { 'dtype': 'float32' } ),
empty( [ 2 ], { 'dtype': 'int32' } ),
empty( [ 2 ], { 'dtype': 'complex128' } ),
empty( [ 2 ], { 'dtype': 'generic' } )
empty( [ 2 ], { 'dtype': 'float64' }),
empty( [ 2 ], { 'dtype': 'float32' }),
empty( [ 2 ], { 'dtype': 'int32' }),
empty( [ 2 ], { 'dtype': 'complex128' }),
empty( [ 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand All @@ -162,7 +162,7 @@
b.end();
});

bench( pkg+'::1d,base,reduced', function benchmark( b ) {

Check warning on line 165 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand Down Expand Up @@ -192,7 +192,7 @@
b.end();
});

bench( pkg+'::1d,non-base,reduced', function benchmark( b ) {

Check warning on line 195 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand All @@ -201,11 +201,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2 ], { 'dtype': 'float64' } ),
empty( [ 2 ], { 'dtype': 'float32' } ),
empty( [ 2 ], { 'dtype': 'int32' } ),
empty( [ 2 ], { 'dtype': 'complex128' } ),
empty( [ 2 ], { 'dtype': 'generic' } )
empty( [ 2 ], { 'dtype': 'float64' }),
empty( [ 2 ], { 'dtype': 'float32' }),
empty( [ 2 ], { 'dtype': 'int32' }),
empty( [ 2 ], { 'dtype': 'complex128' }),
empty( [ 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand All @@ -227,7 +227,7 @@
b.end();
});

bench( pkg+'::1d,base,out-of-bounds', function benchmark( b ) {

Check warning on line 230 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var opts;
var v;
Expand Down Expand Up @@ -261,7 +261,7 @@
b.end();
});

bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) {

Check warning on line 264 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var opts;
var v;
Expand All @@ -271,11 +271,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2 ], { 'dtype': 'float64' } ),
empty( [ 2 ], { 'dtype': 'float32' } ),
empty( [ 2 ], { 'dtype': 'int32' } ),
empty( [ 2 ], { 'dtype': 'complex128' } ),
empty( [ 2 ], { 'dtype': 'generic' } )
empty( [ 2 ], { 'dtype': 'float64' }),
empty( [ 2 ], { 'dtype': 'float32' }),
empty( [ 2 ], { 'dtype': 'int32' }),
empty( [ 2 ], { 'dtype': 'complex128' }),
empty( [ 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand All @@ -300,7 +300,7 @@
b.end();
});

bench( pkg+'::2d,base', function benchmark( b ) {

Check warning on line 303 in lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Use `@stdlib/string/format` instead of string concatenation for benchmark descriptions
var values;
var v;
var s;
Expand Down Expand Up @@ -339,11 +339,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -404,11 +404,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -474,11 +474,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -542,11 +542,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -607,11 +607,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -677,11 +677,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -745,11 +745,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -810,11 +810,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -880,11 +880,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -948,11 +948,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -1013,11 +1013,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down Expand Up @@ -1083,11 +1083,11 @@
/* eslint-disable object-curly-newline */

values = [
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' } ),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } )
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float32' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'int32' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'complex128' }),
empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' })
];

/* eslint-enable object-curly-newline */
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/utils/values/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function objectValues( obj ) {
}
keys = objectKeys( obj );
len = keys.length;
out = new Array( len );
out = [];
for ( i = 0; i < len; i++ ) {
out[ i ] = obj[ keys[i] ];
}
Expand Down