From 302c2000ae4a83308e5a736dae80abba63f45039 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Sat, 22 Aug 2026 00:38:48 -0500 Subject: [PATCH 1/2] fix: add missing argument to format call in `ndarray/count-if` Co-Authored-By: Claude Fable 5 --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: na - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- lib/node_modules/@stdlib/ndarray/count-if/lib/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/ndarray/count-if/lib/validate.js b/lib/node_modules/@stdlib/ndarray/count-if/lib/validate.js index 3a1f3837df22..fe5c7b00edc0 100644 --- a/lib/node_modules/@stdlib/ndarray/count-if/lib/validate.js +++ b/lib/node_modules/@stdlib/ndarray/count-if/lib/validate.js @@ -77,7 +77,7 @@ function validate( opts, ndims, options ) { return new Error( format( 'invalid option. `%s` option contains duplicate indices. Option: [%s].', 'dims', join( opts.dims, ',' ) ) ); } if ( tmp.length > ndims ) { - return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', ndims, join( opts.dims, ',' ) ) ); + return new RangeError( format( 'invalid option. `%s` option specifies more dimensions than exists in the input array. Number of dimensions: %d. Option: [%s].', 'dims', ndims, join( opts.dims, ',' ) ) ); } opts.dims = tmp; } From c4a161e3fa865443f7f69bb4e15abe310da56678 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Sat, 22 Aug 2026 00:38:58 -0500 Subject: [PATCH 2/2] fix: add missing arguments to format call in `stats/binomial-test` Co-Authored-By: Claude Fable 5 --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown_pkg_readmes status: na - task: lint_markdown_docs status: na - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- lib/node_modules/@stdlib/stats/binomial-test/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/binomial-test/lib/main.js b/lib/node_modules/@stdlib/stats/binomial-test/lib/main.js index af86438987f1..a6f7c30fdd4d 100644 --- a/lib/node_modules/@stdlib/stats/binomial-test/lib/main.js +++ b/lib/node_modules/@stdlib/stats/binomial-test/lib/main.js @@ -123,7 +123,7 @@ function binomialTest() { throw new TypeError( format( 'invalid argument. Must provide a nonnegative integer. Value: `%s`.', n ) ); } if ( x > n ) { - throw new TypeError( format( 'invalid arguments. Number of successes cannot be larger than the total number of observations. x: `%u`. n: `%u`.' ) ); + throw new TypeError( format( 'invalid arguments. Number of successes cannot be larger than the total number of observations. x: `%u`. n: `%u`.', x, n ) ); } if ( arguments[ 2 ] ) { err = validate( opts, arguments[ 2 ] );