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..b5d209053a72 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; diff --git a/lib/node_modules/@stdlib/assert/is-truthy/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/is-truthy/docs/types/index.d.ts index aa57ca569fa4..a2e37268ae3a 100644 --- a/lib/node_modules/@stdlib/assert/is-truthy/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/is-truthy/docs/types/index.d.ts @@ -56,7 +56,7 @@ * var bool = isTruthy( NaN ); * // returns false */ -declare function isTruthy( value: any ): boolean; +declare function isTruthy( value: unknown ): boolean; // EXPORTS // diff --git a/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct/lib/5d.js b/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct/lib/5d.js index 6daf87b332ab..e22f1ef369d1 100644 --- a/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct/lib/5d.js +++ b/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-assign-struct/lib/5d.js @@ -185,7 +185,7 @@ var offsets = require( './offsets.js' ); * } * * // Perform a reduction: -* unary5d( ztest, [ x, y, alternative, alpha, mu, sigma ], views, [ 12, 12, 12, 12, 4 ], true, strategy, {} ); +* unary5d( z_test, [ x, y, alternative, alpha, mu, sigma ], views, [ 12, 12, 12, 12, 4 ], true, strategy, {} ); * * var arr = ndarray2array( y.data, y.shape, y.strides, y.offset, y.order ); * // returns [ [ [ [ [ , , ] ] ] ] ] diff --git a/lib/node_modules/@stdlib/ndarray/next-dtype/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/next-dtype/docs/types/index.d.ts index 848c38ce8eea..0649d08962ee 100644 --- a/lib/node_modules/@stdlib/ndarray/next-dtype/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/next-dtype/docs/types/index.d.ts @@ -34,7 +34,7 @@ * var dt = nextDataType( 'float32' ); * // returns 'float64' */ -declare function nextDataType( dtype?: any ): any; +declare function nextDataType( dtype?: string ): str; // EXPORTS // 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..f3b8dadf003f 100644 --- a/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice-to/benchmark/benchmark.js @@ -69,11 +69,11 @@ bench( pkg+'::0d,non-base', function benchmark( b ) { /* 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 */ @@ -134,11 +134,11 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { /* 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 */ diff --git a/lib/node_modules/@stdlib/stats/base/dists/laplace/quantile/benchmark/r/benchmark.R b/lib/node_modules/@stdlib/stats/base/dists/laplace/quantile/benchmark/r/benchmark.R index 5431496a83f4..9bdde22d3b9c 100755 --- a/lib/node_modules/@stdlib/stats/base/dists/laplace/quantile/benchmark/r/benchmark.R +++ b/lib/node_modules/@stdlib/stats/base/dists/laplace/quantile/benchmark/r/benchmark.R @@ -25,7 +25,7 @@ options( digits = 16L ); #' main(); main <- function() { # Define benchmark parameters: - name <- "dist-laplace-quantile"; + name <- 'dist-laplace-quantile'; iterations <- 1000000L; repeats <- 3L; @@ -34,7 +34,7 @@ main <- function() { #' @examples #' print_version(); print_version <- function() { - cat( "TAP version 13\n" ); + cat( 'TAP version 13\n' ); } #' Print the TAP summary. @@ -46,11 +46,11 @@ main <- function() { #' print_summary( 3, 3 ); print_summary <- function( total, passing ) { cat( "#\n" ); - cat( paste0( "1..", total, "\n" ) ); # TAP plan - cat( paste0( "# total ", total, "\n" ) ); - cat( paste0( "# pass ", passing, "\n" ) ); - cat( "#\n" ); - cat( "# ok\n" ); + cat( paste0( '1..', total, '\n' ) ); # TAP plan + cat( paste0( '# total ', total, '\n' ) ); + cat( paste0( '# pass ', passing, '\n' ) ); + cat( '#\n' ); + cat( '# ok\n' ); } #' Print benchmark results.