From 8bce313809325deae74d171bd45013c235346bd4 Mon Sep 17 00:00:00 2001 From: SuYaSh-PaThAk04 Date: Wed, 21 Jan 2026 16:42:52 +0530 Subject: [PATCH 1/8] chore: fix JavaScript lint errors (issue #9843) --- .../@stdlib/_tools/bib/citation-reference/lib/sync.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js b/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js index 1a699af75341..10ae6b8aa0ef 100644 --- a/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js @@ -56,11 +56,12 @@ var debug = logger( 'to-reference:sync' ); * @throws {TypeError} first argument must be a string * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options +* @throws {Error} if the citation cannot be generated * @returns {string} reference * * @example * var ref = toReference( '@press1992' ); -* // returns '...' +* // throws */ function toReference( id, options ) { var outFile; From 822348cc9abb4c222142cfc33b6e0fba0e250f52 Mon Sep 17 00:00:00 2001 From: SuYaSh-PaThAk04 Date: Wed, 21 Jan 2026 16:49:43 +0530 Subject: [PATCH 2/8] fix: removed new array --- lib/node_modules/@stdlib/utils/values/lib/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/utils/values/lib/main.js b/lib/node_modules/@stdlib/utils/values/lib/main.js index 079068895502..a0333be8e365 100644 --- a/lib/node_modules/@stdlib/utils/values/lib/main.js +++ b/lib/node_modules/@stdlib/utils/values/lib/main.js @@ -53,7 +53,8 @@ function objectValues( obj ) { } keys = objectKeys( obj ); len = keys.length; - out = new Array( len ); + out = []; + out.length = len; for ( i = 0; i < len; i++ ) { out[ i ] = obj[ keys[i] ]; } From a60a5f33f6aacafa750591c3410ad28d743e7551 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Wed, 21 Jan 2026 19:15:55 +0530 Subject: [PATCH 3/8] Update sync.js Signed-off-by: Suyash Pathak --- .../@stdlib/_tools/bib/citation-reference/lib/sync.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js b/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js index 10ae6b8aa0ef..866be33716df 100644 --- a/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/bib/citation-reference/lib/sync.js @@ -56,12 +56,8 @@ var debug = logger( 'to-reference:sync' ); * @throws {TypeError} first argument must be a string * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options -* @throws {Error} if the citation cannot be generated +* @throws {Error} unable to generate a reference * @returns {string} reference -* -* @example -* var ref = toReference( '@press1992' ); -* // throws */ function toReference( id, options ) { var outFile; From ef06765376446e0e84eac075b821c36051f1e3db Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Thu, 22 Jan 2026 13:18:48 +0530 Subject: [PATCH 4/8] Update benchmark.js Signed-off-by: Suyash Pathak --- .../ndarray/slice/benchmark/benchmark.js | 160 +++++++++--------- 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js index 3a5ccf49330f..6d830a82aac1 100644 --- a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js @@ -71,11 +71,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 */ @@ -136,11 +136,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 */ @@ -201,11 +201,11 @@ bench( pkg+'::1d,non-base,reduced', 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 */ @@ -271,11 +271,11 @@ bench( pkg+'::1d,non-base,out-of-bounds', 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 */ @@ -339,11 +339,11 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { /* 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 */ @@ -404,11 +404,11 @@ bench( pkg+'::2d,non-base,reduced', function benchmark( b ) { /* 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 */ @@ -474,11 +474,11 @@ bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { /* 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 */ @@ -542,11 +542,11 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { /* 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 */ @@ -607,11 +607,11 @@ bench( pkg+'::3d,non-base,reduced', function benchmark( b ) { /* 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 */ @@ -677,11 +677,11 @@ bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { /* 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 */ @@ -745,11 +745,11 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { /* 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 */ @@ -810,11 +810,11 @@ bench( pkg+'::4d,non-base,reduced', function benchmark( b ) { /* 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 */ @@ -880,11 +880,11 @@ bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { /* 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 */ @@ -948,11 +948,11 @@ bench( pkg+'::5d,non-base', function benchmark( b ) { /* 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 */ @@ -1013,11 +1013,11 @@ bench( pkg+'::5d,non-base,reduced', function benchmark( b ) { /* 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 */ @@ -1083,11 +1083,11 @@ bench( pkg+'::5d,non-base,out-of-bounds', function benchmark( b ) { /* 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 */ From 6b48e1bae52c5af049423d538493ce6763d83988 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Thu, 22 Jan 2026 14:42:39 +0530 Subject: [PATCH 5/8] Update benchmark.js Signed-off-by: Suyash Pathak --- .../ndarray/slice/benchmark/benchmark.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js index 6d830a82aac1..9f817d19003d 100644 --- a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js @@ -25,6 +25,7 @@ var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' ); var MultiSlice = require( '@stdlib/slice/multi' ); var Slice = require( '@stdlib/slice/ctor' ); var baseEmpty = require( '@stdlib/ndarray/base/empty' ); +var format = require( '@stdlib/string/format' ); var empty = require( '@stdlib/ndarray/empty' ); var pkg = require( './../package.json' ).name; var slice = require( './../lib' ); @@ -32,7 +33,7 @@ var slice = require( './../lib' ); // MAIN // -bench( pkg+'::0d,base', function benchmark( b ) { +bench( format( '%s::0d,base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -62,7 +63,7 @@ bench( pkg+'::0d,base', function benchmark( b ) { b.end(); }); -bench( pkg+'::0d,non-base', function benchmark( b ) { +bench( format( '%s::0d,non-base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -97,7 +98,7 @@ bench( pkg+'::0d,non-base', function benchmark( b ) { b.end(); }); -bench( pkg+'::1d,base', function benchmark( b ) { +bench( format( '%s::1d,base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -127,7 +128,7 @@ bench( pkg+'::1d,base', function benchmark( b ) { b.end(); }); -bench( pkg+'::1d,non-base', function benchmark( b ) { +bench( format( '%s::1d,non-base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -162,7 +163,7 @@ bench( pkg+'::1d,non-base', function benchmark( b ) { b.end(); }); -bench( pkg+'::1d,base,reduced', function benchmark( b ) { +bench( format( '%s::1d,base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -192,7 +193,7 @@ bench( pkg+'::1d,base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::1d,non-base,reduced', function benchmark( b ) { +bench( format( '%s::1d,non-base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -227,7 +228,7 @@ bench( pkg+'::1d,non-base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::1d,base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::1d,base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -261,7 +262,7 @@ bench( pkg+'::1d,base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::1d,non-base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -300,7 +301,7 @@ bench( pkg+'::1d,non-base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::2d,base', function benchmark( b ) { +bench( format( '%s::2d,base', pkg ), function benchmark( b ) { var values; var v; var s; From 4228ad7dc845094663d8d4700a2456048a25174a Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Thu, 22 Jan 2026 16:46:34 +0530 Subject: [PATCH 6/8] Update benchmark.js Signed-off-by: Suyash Pathak --- .../ndarray/slice/benchmark/benchmark.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js index 9f817d19003d..8f198b305af1 100644 --- a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js @@ -331,7 +331,7 @@ bench( format( '%s::2d,base', pkg ), function benchmark( b ) { b.end(); }); -bench( pkg+'::2d,non-base', function benchmark( b ) { +bench( format( '%s::2d,non-base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -366,7 +366,7 @@ bench( pkg+'::2d,non-base', function benchmark( b ) { b.end(); }); -bench( pkg+'::2d,base,reduced', function benchmark( b ) { +bench( format( '%s::2d,base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -396,7 +396,7 @@ bench( pkg+'::2d,base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::2d,non-base,reduced', function benchmark( b ) { +bench( format( '%s::2d,non-base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -431,7 +431,7 @@ bench( pkg+'::2d,non-base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::2d,base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::2d,base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -465,7 +465,7 @@ bench( pkg+'::2d,base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::2d,non-base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -504,7 +504,7 @@ bench( pkg+'::2d,non-base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::3d,base', function benchmark( b ) { +bench( format( '%s::3d,base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -534,7 +534,7 @@ bench( pkg+'::3d,base', function benchmark( b ) { b.end(); }); -bench( pkg+'::3d,non-base', function benchmark( b ) { +bench( format( '%s::3d,non-base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -569,7 +569,7 @@ bench( pkg+'::3d,non-base', function benchmark( b ) { b.end(); }); -bench( pkg+'::3d,base,reduced', function benchmark( b ) { +bench( format( '%s::3d,base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -599,7 +599,7 @@ bench( pkg+'::3d,base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::3d,non-base,reduced', function benchmark( b ) { +bench( format( '%s::3d,non-base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; From 8c8b2826e1df22867aa854bb480fff1824fc4b89 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Thu, 22 Jan 2026 16:54:47 +0530 Subject: [PATCH 7/8] Update benchmark.js Signed-off-by: Suyash Pathak --- .../ndarray/slice/benchmark/benchmark.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js index 8f198b305af1..60128c539645 100644 --- a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js @@ -634,7 +634,7 @@ bench( format( '%s::3d,non-base,reduced', pkg ), function benchmark( b ) { b.end(); }); -bench( pkg+'::3d,base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::3d,base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -668,7 +668,7 @@ bench( pkg+'::3d,base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::3d,non-base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -707,7 +707,7 @@ bench( pkg+'::3d,non-base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::4d,base', function benchmark( b ) { +bench( format( '%s::4d,base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -737,7 +737,7 @@ bench( pkg+'::4d,base', function benchmark( b ) { b.end(); }); -bench( pkg+'::4d,non-base', function benchmark( b ) { +bench( format( '%s::4d,non-base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -772,7 +772,7 @@ bench( pkg+'::4d,non-base', function benchmark( b ) { b.end(); }); -bench( pkg+'::4d,base,reduced', function benchmark( b ) { +bench( format( '%s::4d,base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -802,7 +802,7 @@ bench( pkg+'::4d,base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::4d,non-base,reduced', function benchmark( b ) { +bench( format( '%s::4d,non-base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -837,7 +837,7 @@ bench( pkg+'::4d,non-base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::4d,base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::4d,base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -871,7 +871,7 @@ bench( pkg+'::4d,base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::4d,non-base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -910,7 +910,7 @@ bench( pkg+'::4d,non-base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::5d,base', function benchmark( b ) { +bench( format( '%s::5d,base', pkg ), function benchmark( b ) { var values; var v; var s; @@ -940,7 +940,7 @@ bench( pkg+'::5d,base', function benchmark( b ) { b.end(); }); -bench( pkg+'::5d,non-base', function benchmark( b ) { +bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) { var values; var v; var s; From 46e7020bc5a512f855c60d25eb8a3ffb31dac78b Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Thu, 22 Jan 2026 17:00:21 +0530 Subject: [PATCH 8/8] Update benchmark.js Signed-off-by: Suyash Pathak --- .../@stdlib/ndarray/slice/benchmark/benchmark.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js index 60128c539645..5f1305ca283f 100644 --- a/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/ndarray/slice/benchmark/benchmark.js @@ -975,7 +975,7 @@ bench( format( '%s::5d,non-base', pkg ), function benchmark( b ) { b.end(); }); -bench( pkg+'::5d,base,reduced', function benchmark( b ) { +bench( format( '%s::5d,base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -1005,7 +1005,7 @@ bench( pkg+'::5d,base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::5d,non-base,reduced', function benchmark( b ) { +bench( format( '%s::5d,non-base,reduced', pkg ), function benchmark( b ) { var values; var v; var s; @@ -1040,7 +1040,7 @@ bench( pkg+'::5d,non-base,reduced', function benchmark( b ) { b.end(); }); -bench( pkg+'::5d,base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::5d,base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v; @@ -1074,7 +1074,7 @@ bench( pkg+'::5d,base,out-of-bounds', function benchmark( b ) { b.end(); }); -bench( pkg+'::5d,non-base,out-of-bounds', function benchmark( b ) { +bench( format( '%s::5d,non-base,out-of-bounds', pkg ), function benchmark( b ) { var values; var opts; var v;