From ea85e50805121e00e5d0b54f4acbb61e7e94022e Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 12:27:45 +0000 Subject: [PATCH 1/6] fix: register short option aliases in `_tools/repl-txt/wrap-text` The CLI usage text documents `-i` and `-w` as short forms of `--indent` and `--max-width`, but neither was registered in `etc/cli_opts.json`, so minimist parsed them as unrelated `i` and `w` flags. `bin/cli` only reads `flags.indent` and `flags[ 'max-width' ]`, meaning the short forms were silently ignored and the defaults (4 and 80) applied. Ref: 81c7584d9 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LeUVqypEsPk1bBjJY3615J --- .../@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json index e6e97eff8f1e..217f89201179 100644 --- a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json +++ b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json @@ -13,6 +13,12 @@ ], "version": [ "V" + ], + "indent": [ + "i" + ], + "max-width": [ + "w" ] } } From dc7a4a23355e8049585b613684dfe68961349703 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 12:27:54 +0000 Subject: [PATCH 2/6] style: add missing whitespace after commas in `ndarray/base/kernels/generic/ternary-strided1d/blocked` The `kernel2d` through `kernel10d` signatures in `docs/repl.txt` omitted whitespace after the commas separating the stride and strategy arguments. The sibling `binary-strided1d/blocked` and `unary-strided1d/blocked` packages, and this package's own README, all use spaced parameter lists. Ref: 25aa58ae7 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LeUVqypEsPk1bBjJY3615J --- .../ternary-strided1d/blocked/docs/repl.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt b/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt index a7a44c814d07..6012ff8c7d8d 100644 --- a/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt +++ b/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt @@ -45,7 +45,7 @@ -{{alias}}.kernel2d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel2d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -93,7 +93,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel3d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel3d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -141,7 +141,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel4d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel4d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -189,7 +189,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel5d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel5d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -237,7 +237,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel6d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel6d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -285,7 +285,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel7d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel7d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -333,7 +333,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel8d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel8d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -381,7 +381,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel9d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel9d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -429,7 +429,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel10d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) +{{alias}}.kernel10d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. From 88e8d9e3c7b43cb9ac160ef1279dd4b096e539e7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 12:28:02 +0000 Subject: [PATCH 3/6] docs: fix example output in `blas/ext/fill-range` The final element of the `complex128` example output was written as `00.0` instead of `0.0`. Ref: 71a87cf23 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LeUVqypEsPk1bBjJY3615J --- .../@stdlib/blas/ext/fill-range/docs/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/ext/fill-range/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/ext/fill-range/docs/types/index.d.ts index d398a0139663..6eb03ead2164 100644 --- a/lib/node_modules/@stdlib/blas/ext/fill-range/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/ext/fill-range/docs/types/index.d.ts @@ -238,7 +238,7 @@ interface FillRange { * }); * * var y = fillRange( x, 10.0, 1, 3 ); - * // returns [ [ 0.0, 0.0 ], [ 10.0, 0.0 ], [ 10.0, 0.0 ], [ 00.0, 0.0 ] ] + * // returns [ [ 0.0, 0.0 ], [ 10.0, 0.0 ], [ 10.0, 0.0 ], [ 0.0, 0.0 ] ] * * var bool = ( x === y ); * // returns true From 164116892599b9c022f3a005a0729d8e8dffc839 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 12:32:50 +0000 Subject: [PATCH 4/6] Revert "style: add missing whitespace after commas in `ndarray/base/kernels/generic/ternary-strided1d/blocked`" This reverts commit dc7a4a2334bcd1e2bd0dd35f8b9c9f8b47ef44d0. The compact spacing was not an oversight. REPL help text is capped at 80 characters by `@stdlib/_tools/repl-txt/rules/line-length`, and the ternary signature does not fit with whitespace after every comma: `kernel2d` through `kernel9d` come to 83 characters and `kernel10d` to 84. Dropping the whitespace between the stride and strategy arguments is how the signature was made to fit. The binary and unary siblings have one fewer argument in each group and stay within the limit, which is why they can space theirs out. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LeUVqypEsPk1bBjJY3615J --- .../ternary-strided1d/blocked/docs/repl.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt b/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt index 6012ff8c7d8d..a7a44c814d07 100644 --- a/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt +++ b/lib/node_modules/@stdlib/ndarray/base/kernels/generic/ternary-strided1d/blocked/docs/repl.txt @@ -45,7 +45,7 @@ -{{alias}}.kernel2d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel2d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -93,7 +93,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel3d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel3d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -141,7 +141,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel4d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel4d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -189,7 +189,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel5d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel5d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -237,7 +237,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel6d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel6d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -285,7 +285,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel7d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel7d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -333,7 +333,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel8d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel8d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -381,7 +381,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel9d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel9d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. @@ -429,7 +429,7 @@ Function options which are passed through to `fcn`. -{{alias}}.kernel10d( fcn, arr, views, sh, sx, sy, sz, sw, stx, sty, stz, stw, opts ) +{{alias}}.kernel10d( fcn, arr, views, sh, sx,sy,sz,sw, stx,sty,stz,stw, opts ) Applies a one-dimensional strided array function to a list of specified dimensions in three input ndarrays and assigns results to a provided output ndarray via loop blocking. From ecf70599501359d42fe6f3830819a8a7361249c4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 20:31:20 +0000 Subject: [PATCH 5/6] docs: drop unregistered short options from `_tools/repl-txt/wrap-text` usage text `docs/usage.txt` advertised `-i` for `--indent` and `-w` for `--max-width`, but neither alias is registered in `etc/cli_opts.json`, so both were parsed by minimist as `flags.i`/`flags.w` and silently ignored by `bin/cli`. Per review, the aliases are intentionally absent: `i` and `w` carry other conventional meanings and are not wanted here. Remove them from the usage text instead, matching how long-only options are rendered in sibling CLIs such as `_tools/github/get` and `net/disposable-http-server`. This supersedes the alias registration in ea85e5080, which is reverted by this commit. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LeUVqypEsPk1bBjJY3615J --- .../@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt | 4 ++-- .../@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt index 84d29511dc3a..ce0efa2c1953 100644 --- a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt +++ b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt @@ -5,6 +5,6 @@ Options: -h, --help Print this message. -V, --version Print the package version. - -i, --indent indent Number of leading spaces per line. Default: 4. - -w, --max-width width Total line width limit. Default: 80. + --indent indent Number of leading spaces per line. Default: 4. + --max-width width Total line width limit. Default: 80. diff --git a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json index 217f89201179..e6e97eff8f1e 100644 --- a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json +++ b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/etc/cli_opts.json @@ -13,12 +13,6 @@ ], "version": [ "V" - ], - "indent": [ - "i" - ], - "max-width": [ - "w" ] } } From 63bc3ebf11ceed4f9dfb62bdb20db240fc23fe56 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 26 Sep 2026 20:35:36 +0000 Subject: [PATCH 6/6] style: align `_tools/repl-txt/wrap-text` usage text to even indentation `.editorconfig` sets `indent_size = 2` for `usage.txt`, so leading indentation must be a multiple of two. Removing the short forms in ecf705995 left the long-only options at a nine-space indent, which tripped `lint-editorconfig-files`. Shift the option column from 9 to 8 so short-flag rows keep a two-space indent and long-only rows get eight, matching `_tools/github/get`. Description column is unchanged. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LeUVqypEsPk1bBjJY3615J --- .../@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt index ce0efa2c1953..cc56953eaf36 100644 --- a/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt +++ b/lib/node_modules/@stdlib/_tools/repl-txt/wrap-text/docs/usage.txt @@ -3,8 +3,8 @@ Usage: wrap-text [options] [str] Options: - -h, --help Print this message. - -V, --version Print the package version. - --indent indent Number of leading spaces per line. Default: 4. - --max-width width Total line width limit. Default: 80. + -h, --help Print this message. + -V, --version Print the package version. + --indent indent Number of leading spaces per line. Default: 4. + --max-width width Total line width limit. Default: 80.