diff --git a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js index 46d0e56d74f3..8a7dd9ab0db4 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/resolve.sync.js @@ -56,7 +56,7 @@ function getPkgs( pkgs, basedir ) { len = pkgs.length; debug( 'Resolving %d packages...', len ); - out = new Array( len ); + out = []; for ( i = 0; i < len; i++ ) { pkg = pkgs[ i ]; k = i + 1; @@ -65,7 +65,7 @@ function getPkgs( pkgs, basedir ) { opts = { 'basedir': basedir }; - out[ i ] = {}; + out.push( {} ); out[ i ].pkg = pkg; main = resolve( pkg, opts ); diff --git a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js index 5e3bc9868412..e4ff920a74b6 100644 --- a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js @@ -66,7 +66,7 @@ bench( pkg+'::0d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [], { 'dtype': 'float64' } ), @@ -76,7 +76,7 @@ bench( pkg+'::0d,non-base', function benchmark( b ) { empty( [], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = []; @@ -131,7 +131,7 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2 ], { 'dtype': 'float64' } ), @@ -141,7 +141,7 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { empty( [ 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1 ]; @@ -201,7 +201,7 @@ bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2 ], { 'dtype': 'float64' } ), @@ -211,7 +211,7 @@ bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) { empty( [ 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ -20 ]; opts = { @@ -269,7 +269,7 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2 ], { 'dtype': 'float64' } ), @@ -279,7 +279,7 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { empty( [ 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1 ]; @@ -339,7 +339,7 @@ bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2 ], { 'dtype': 'float64' } ), @@ -349,7 +349,7 @@ bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { empty( [ 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ -20, null ]; opts = { @@ -407,7 +407,7 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ), @@ -417,7 +417,7 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { empty( [ 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1 ]; @@ -477,7 +477,7 @@ bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2, 2 ], { 'dtype': 'float64' } ), @@ -487,7 +487,7 @@ bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { empty( [ 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, -20, null ]; opts = { @@ -545,7 +545,7 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ), @@ -555,7 +555,7 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1, 1 ]; @@ -615,7 +615,7 @@ bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2, 2, 2 ], { 'dtype': 'float64' } ), @@ -625,7 +625,7 @@ bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { empty( [ 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, -20, null ]; opts = { @@ -683,7 +683,7 @@ bench( pkg+'::5d,non-base', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ), @@ -693,7 +693,7 @@ bench( pkg+'::5d,non-base', function benchmark( b ) { empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1, 1, 1 ]; @@ -753,7 +753,7 @@ bench( pkg+'::5d,non-base,out-of-bounds', function benchmark( b ) { var s; var i; - /* eslint-disable object-curly-newline */ + /* eslint-disable object-curly-newline, stdlib/line-closing-bracket-spacing */ values = [ empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'float64' } ), @@ -763,7 +763,7 @@ bench( pkg+'::5d,non-base,out-of-bounds', function benchmark( b ) { empty( [ 2, 2, 2, 2, 2 ], { 'dtype': 'generic' } ) ]; - /* eslint-enable object-curly-newline */ + /* eslint-enable object-curly-newline, stdlib/line-closing-bracket-spacing */ s = [ 1, 1, 1, -20, null ]; opts = {