From 0d631c192615f7c1943bdf065234c0c5e7f8b6fd Mon Sep 17 00:00:00 2001 From: Nathanael Mbale <66083904+nathanaelmbale@users.noreply.github.com> Date: Wed, 6 May 2026 00:28:51 -0400 Subject: [PATCH 1/3] fix: resolve JavaScript lint errors --- .../@stdlib/assert/is-readable-property/benchmark/benchmark.js | 2 +- lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js b/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js index 66066cd50017..b5e170381a6d 100644 --- a/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js @@ -33,7 +33,7 @@ bench( pkg, function benchmark( b ) { var arr; var i; - arr = new Array( 100 ); + arr = []; b.tic(); for ( i = 0; i < b.iterations; i++ ) { diff --git a/lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.js index 9a1e063efa32..e03016251470 100644 --- a/lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/sger/test/test.ndarray.js @@ -44,7 +44,6 @@ var csa1nsa2n = require( './fixtures/column_major_sa1n_sa2n.json' ); var ccap = require( './fixtures/column_major_complex_access_pattern.json' ); var cx0 = require( './fixtures/column_major_x_zeros.json' ); var cy0 = require( './fixtures/column_major_y_zeros.json' ); - var rm = require( './fixtures/row_major.json' ); var roa = require( './fixtures/row_major_oa.json' ); var rox = require( './fixtures/row_major_ox.json' ); From 15d36cf66084a6d8d0c7357b08068bab156f9229 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 8 May 2026 23:16:20 -0700 Subject: [PATCH 2/3] bench: fix array initialization Signed-off-by: Athan --- .../@stdlib/assert/is-readable-property/benchmark/benchmark.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js b/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js index b5e170381a6d..fdbe23d7c76c 100644 --- a/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js @@ -22,6 +22,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; +var zeros = require( '@stdlib/array/base/zeros' ); var pkg = require( './../package.json' ).name; var isReadableProperty = require( './../lib' ); @@ -33,7 +34,7 @@ bench( pkg, function benchmark( b ) { var arr; var i; - arr = []; + arr = zeros( 100 ); b.tic(); for ( i = 0; i < b.iterations; i++ ) { From 6467037c3908f345cef42c3923dcbe88cb258dde Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 8 May 2026 23:17:09 -0700 Subject: [PATCH 3/3] bench: use top-level API Signed-off-by: Athan --- .../assert/is-readable-property/benchmark/benchmark.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js b/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js index fdbe23d7c76c..668977176c26 100644 --- a/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/assert/is-readable-property/benchmark/benchmark.js @@ -22,7 +22,7 @@ var bench = require( '@stdlib/bench' ); var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive; -var zeros = require( '@stdlib/array/base/zeros' ); +var zeros = require( '@stdlib/array/zeros' ); var pkg = require( './../package.json' ).name; var isReadableProperty = require( './../lib' ); @@ -34,7 +34,7 @@ bench( pkg, function benchmark( b ) { var arr; var i; - arr = zeros( 100 ); + arr = zeros( 100, 'generic' ); b.tic(); for ( i = 0; i < b.iterations; i++ ) {