From 249348631e6f629a877bdecbccc8dffe13ed1258 Mon Sep 17 00:00:00 2001 From: Jalajk3004 Date: Fri, 28 Feb 2025 06:24:41 +0000 Subject: [PATCH 1/5] fixed linting error: removed the cinstructor --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na --- --- lib/node_modules/@stdlib/_tools/github/get/lib/cache.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js index 31da3bab4bd4..41c218f54875 100644 --- a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js +++ b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js @@ -28,10 +28,13 @@ * @returns {Array} cache */ function create( size ) { - return new Array( size ); + const cache = []; + for (let i = 0; i < size; i++) { + cache.push(undefined); + } + return cache; } - // EXPORTS // module.exports = create; From 5839d9c49bd970b300241ae604b6a5bfb6bda62c Mon Sep 17 00:00:00 2001 From: Jalajk3004 Date: Fri, 28 Feb 2025 06:44:03 +0000 Subject: [PATCH 2/5] fixed linting error --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na --- --- .../@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js index 7429d3b90311..0aab01830ff7 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js @@ -55,7 +55,7 @@ var debug = logger( 'browser-entry-points:sync' ); * var pkgs = [ '/foo/bar/baz' ]; * * var entries = entryPoints( pkgs ); -* // returns [{...}] +* // throws */ function entryPoints( pkgs, options ) { var results; From fc4b9d0d71efa54a387b7b1c63932452454b2407 Mon Sep 17 00:00:00 2001 From: Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com> Date: Sat, 1 Mar 2025 15:17:05 +0530 Subject: [PATCH 3/5] Update cache.js Signed-off-by: Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com> --- .../@stdlib/_tools/github/get/lib/cache.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js index 41c218f54875..da538e107f2a 100644 --- a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js +++ b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js @@ -28,11 +28,12 @@ * @returns {Array} cache */ function create( size ) { - const cache = []; - for (let i = 0; i < size; i++) { - cache.push(undefined); - } - return cache; + var cache = []; + var i; + for ( i = 0; i < size; i++ ) { + cache.push( null ); + } + return cache; } // EXPORTS // From af1cfcecdb2c5f039adc2916ab67e35638176795 Mon Sep 17 00:00:00 2001 From: Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com> Date: Sat, 1 Mar 2025 15:17:46 +0530 Subject: [PATCH 4/5] Update sync.js Signed-off-by: Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com> --- .../@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js index 0aab01830ff7..194e1ddceeac 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js @@ -55,7 +55,7 @@ var debug = logger( 'browser-entry-points:sync' ); * var pkgs = [ '/foo/bar/baz' ]; * * var entries = entryPoints( pkgs ); -* // throws +* // e.g., returns [{...}] */ function entryPoints( pkgs, options ) { var results; From bc0bfb84fb2bf7868e745c66cadbaa8e5a2019d0 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Tue, 4 Mar 2025 22:16:07 -0500 Subject: [PATCH 5/5] chore: add missing newline before exports section --- lib/node_modules/@stdlib/_tools/github/get/lib/cache.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js index da538e107f2a..ea10317f348e 100644 --- a/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js +++ b/lib/node_modules/@stdlib/_tools/github/get/lib/cache.js @@ -36,6 +36,7 @@ function create( size ) { return cache; } + // EXPORTS // module.exports = create;