From 0615847a157cec6ede1daad00811f43e6338b67b Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 16:38:50 +0000 Subject: [PATCH 1/2] docs: fix example variable name in `string/base/repeat` Renamed the `require` binding in the `lib/index.js` module example from `replace` to `repeat`, matching the identifier used in the example calls (consistent with 58/59, or 98%, of `string/base` siblings). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BHWHhHHqjV8UFohsfxoPku --- lib/node_modules/@stdlib/string/base/repeat/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/string/base/repeat/lib/index.js b/lib/node_modules/@stdlib/string/base/repeat/lib/index.js index f062e3f63742..9240b60d7187 100644 --- a/lib/node_modules/@stdlib/string/base/repeat/lib/index.js +++ b/lib/node_modules/@stdlib/string/base/repeat/lib/index.js @@ -24,7 +24,7 @@ * @module @stdlib/string/base/repeat * * @example -* var replace = require( '@stdlib/string/base/repeat' ); +* var repeat = require( '@stdlib/string/base/repeat' ); * * var str = repeat( 'a', 5 ); * // returns 'aaaaa' From 166b8fcb4cea2b457674780d26a5bac1b910beb6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 16:38:50 +0000 Subject: [PATCH 2/2] docs: fix return value description in `string/base/slice` Changed the `@returns` description from "input string" to "output string", matching the package's own TypeScript declarations and REPL text and the `string/base/slice-code-points` and `string/base/slice-grapheme-clusters` siblings (21/22 non-identity string-returning siblings use "output string"). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BHWHhHHqjV8UFohsfxoPku --- lib/node_modules/@stdlib/string/base/slice/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/string/base/slice/lib/main.js b/lib/node_modules/@stdlib/string/base/slice/lib/main.js index dfecb2c98ad3..6d1c8dc14496 100644 --- a/lib/node_modules/@stdlib/string/base/slice/lib/main.js +++ b/lib/node_modules/@stdlib/string/base/slice/lib/main.js @@ -32,7 +32,7 @@ var sliceString = String.prototype.slice; * @param {string} str - input string * @param {integer} start - slice start index (inclusive) * @param {integer} end - slice end index (exclusive) -* @returns {string} input string +* @returns {string} output string * * @example * var out = slice( 'last man standing', 1, 17 );