From a591cf89c50407b1b138914fa8286087ee21a0ed Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 13:22:11 +0000 Subject: [PATCH 1/4] refactor: insert missing "be" in dtype-validation error messages Propagates the wording fix from 839bce5a6 ("refactor: align iterator-validation error construction in three `@stdlib/iter` packages") to sibling factory packages in `random/array/tools`. The `isStringArray` check in each of `unary-factory`, `binary-factory`, and `ternary-factory` threw with `'... Second argument must an array of strings. Value: \`%s\`.'`, missing the verb "be"; corrected to "must be an array of strings" to match the canonical phrasing used elsewhere in the same files. --- .../@stdlib/random/array/tools/binary-factory/lib/main.js | 2 +- .../@stdlib/random/array/tools/ternary-factory/lib/main.js | 2 +- .../@stdlib/random/array/tools/unary-factory/lib/main.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/random/array/tools/binary-factory/lib/main.js b/lib/node_modules/@stdlib/random/array/tools/binary-factory/lib/main.js index 02aa98289d6f..f74251891aca 100644 --- a/lib/node_modules/@stdlib/random/array/tools/binary-factory/lib/main.js +++ b/lib/node_modules/@stdlib/random/array/tools/binary-factory/lib/main.js @@ -90,7 +90,7 @@ function createFactory( prng, dtypes, dtype ) { } // TODO: tighten this up by actually validating that `dtypes` contains only recognized/supported dtype strings if ( !isStringArray( dtypes ) ) { - throw new TypeError( format( 'invalid argument. Second argument must an array of strings. Value: `%s`.', dtypes ) ); + throw new TypeError( format( 'invalid argument. Second argument must be an array of strings. Value: `%s`.', dtypes ) ); } // Require that the default output array data type be a member of the list of supported output array data types... if ( !contains( dtypes, dtype ) ) { diff --git a/lib/node_modules/@stdlib/random/array/tools/ternary-factory/lib/main.js b/lib/node_modules/@stdlib/random/array/tools/ternary-factory/lib/main.js index e224c9ecdd81..ce6cf044d10d 100644 --- a/lib/node_modules/@stdlib/random/array/tools/ternary-factory/lib/main.js +++ b/lib/node_modules/@stdlib/random/array/tools/ternary-factory/lib/main.js @@ -90,7 +90,7 @@ function createFactory( prng, dtypes, dtype ) { } // TODO: tighten this up by actually validating that `dtypes` contains only recognized/supported dtype strings if ( !isStringArray( dtypes ) ) { - throw new TypeError( format( 'invalid argument. Second argument must an array of strings. Value: `%s`.', dtypes ) ); + throw new TypeError( format( 'invalid argument. Second argument must be an array of strings. Value: `%s`.', dtypes ) ); } // Require that the default output array data type be a member of the list of supported output array data types... if ( !contains( dtypes, dtype ) ) { diff --git a/lib/node_modules/@stdlib/random/array/tools/unary-factory/lib/main.js b/lib/node_modules/@stdlib/random/array/tools/unary-factory/lib/main.js index 16672278670d..264966292a94 100644 --- a/lib/node_modules/@stdlib/random/array/tools/unary-factory/lib/main.js +++ b/lib/node_modules/@stdlib/random/array/tools/unary-factory/lib/main.js @@ -91,7 +91,7 @@ function createFactory( prng, dtypes, dtype ) { } // TODO: tighten this up by actually validating that `dtypes` contains only recognized/supported dtype strings if ( !isStringArray( dtypes ) ) { - throw new TypeError( format( 'invalid argument. Second argument must an array of strings. Value: `%s`.', dtypes ) ); + throw new TypeError( format( 'invalid argument. Second argument must be an array of strings. Value: `%s`.', dtypes ) ); } // Require that the default output array data type be a member of the list of supported output array data types... if ( !contains( dtypes, dtype ) ) { From 861ecbe085710fce2a8abe4be80a79dbfb3c7944 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 13:22:43 +0000 Subject: [PATCH 2/4] docs: tidy doc drift in `@stdlib/constants/float64` Propagates fixes from 8879b1d32 ("docs: tidy doc and C macro drift in `@stdlib/constants/float32`") to sibling `float64` packages with the same doc drift. Restores the canonical `https://en.wikipedia.org/wiki/E_(mathematical_constant)` Wikipedia URL in `log10-e` and `log2-e` (the percent-encoded form `E_%27...%28` mojibake produced a broken link), and renames README top-level headings in `nan`, `ninf`, and `pinf` to match the exported `FLOAT64_NAN`, `FLOAT64_NINF`, and `FLOAT64_PINF` constant names. --- lib/node_modules/@stdlib/constants/float64/log10-e/lib/index.js | 2 +- lib/node_modules/@stdlib/constants/float64/log2-e/lib/index.js | 2 +- lib/node_modules/@stdlib/constants/float64/nan/README.md | 2 +- lib/node_modules/@stdlib/constants/float64/ninf/README.md | 2 +- lib/node_modules/@stdlib/constants/float64/pinf/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float64/log10-e/lib/index.js b/lib/node_modules/@stdlib/constants/float64/log10-e/lib/index.js index 4a79ea3d0454..afaf8807864f 100644 --- a/lib/node_modules/@stdlib/constants/float64/log10-e/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float64/log10-e/lib/index.js @@ -39,7 +39,7 @@ * @type {number} * @default 0.4342944819032518 * @see [OEIS]{@link https://oeis.org/A001113} -* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_%27mathematical_constant%28} +* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_(mathematical_constant)} */ var LOG10E = 4.34294481903251827651128918916605082294397005803666566114453783165864649208870774729224949338431748318706106745e-01; // eslint-disable-line max-len diff --git a/lib/node_modules/@stdlib/constants/float64/log2-e/lib/index.js b/lib/node_modules/@stdlib/constants/float64/log2-e/lib/index.js index 31486b72ae76..20b753dbe352 100644 --- a/lib/node_modules/@stdlib/constants/float64/log2-e/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float64/log2-e/lib/index.js @@ -39,7 +39,7 @@ * @type {number} * @default 1.4426950408889634 * @see [OEIS]{@link https://oeis.org/A001113} -* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_%27mathematical_constant%28} +* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_(mathematical_constant)} */ var LOG2E = 1.442695040888963407359924681001892137426645954152985934135; diff --git a/lib/node_modules/@stdlib/constants/float64/nan/README.md b/lib/node_modules/@stdlib/constants/float64/nan/README.md index fb4aed288650..e605da490f8a 100644 --- a/lib/node_modules/@stdlib/constants/float64/nan/README.md +++ b/lib/node_modules/@stdlib/constants/float64/nan/README.md @@ -18,7 +18,7 @@ limitations under the License. --> -# NAN +# FLOAT64_NAN > [Double-precision floating-point][ieee754] `NaN`. diff --git a/lib/node_modules/@stdlib/constants/float64/ninf/README.md b/lib/node_modules/@stdlib/constants/float64/ninf/README.md index f5fa27bc67b6..c90b13fd9ffa 100644 --- a/lib/node_modules/@stdlib/constants/float64/ninf/README.md +++ b/lib/node_modules/@stdlib/constants/float64/ninf/README.md @@ -18,7 +18,7 @@ limitations under the License. --> -# NINF +# FLOAT64_NINF > [Double-precision floating-point][ieee754] negative infinity. diff --git a/lib/node_modules/@stdlib/constants/float64/pinf/README.md b/lib/node_modules/@stdlib/constants/float64/pinf/README.md index cc7dc4db3798..35852909706b 100644 --- a/lib/node_modules/@stdlib/constants/float64/pinf/README.md +++ b/lib/node_modules/@stdlib/constants/float64/pinf/README.md @@ -18,7 +18,7 @@ limitations under the License. --> -# PINF +# FLOAT64_PINF > [Double-precision floating-point][ieee754] positive infinity. From 592afc645c6b680e289200a5b5ab5bd22231afda Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 13:23:25 +0000 Subject: [PATCH 3/4] docs: align stride length wording in `blas/ext/base/*cartesian-power` Propagates the wording fix from 0f2cc7c6e ("docs: update descriptions") to sibling READMEs in `blas/ext/base/dcartesian-power`, `blas/ext/base/scartesian-power`, and `blas/ext/base/gcartesian-power`. Replaces "stride length of the {first,second} dimension of \`out\`." with "stride length for the {first,second} dimension of \`out\`." in both the JS parameter list and the C API parameter list, matching the parallel "stride length for \`x\`." phrasing already present in each file. --- .../@stdlib/blas/ext/base/dcartesian-power/README.md | 8 ++++---- .../@stdlib/blas/ext/base/gcartesian-power/README.md | 4 ++-- .../@stdlib/blas/ext/base/scartesian-power/README.md | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/ext/base/dcartesian-power/README.md b/lib/node_modules/@stdlib/blas/ext/base/dcartesian-power/README.md index a62e5b475f01..d43856322e5c 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dcartesian-power/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/dcartesian-power/README.md @@ -110,8 +110,8 @@ The function has the following parameters: - **strideX**: stride length for `x`. - **offsetX**: starting index for `x`. - **out**: output [`Float64Array`][@stdlib/array/float64]. -- **strideOut1**: stride length of the first dimension of `out`. -- **strideOut2**: stride length of the second dimension of `out`. +- **strideOut1**: stride length for the first dimension of `out`. +- **strideOut2**: stride length for the second dimension of `out`. - **offsetOut**: starting index for `out`. While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to access only the last two elements: @@ -247,8 +247,8 @@ The function accepts the following arguments: - **strideX**: `[in] CBLAS_INT` stride length for `X`. - **offsetX**: `[in] CBLAS_INT` starting index for `X`. - **Out**: `[out] double*` output array. -- **strideOut1**: `[in] CBLAS_INT` stride length of the first dimension of `Out`. -- **strideOut2**: `[in] CBLAS_INT` stride length of the second dimension of `Out`. +- **strideOut1**: `[in] CBLAS_INT` stride length for the first dimension of `Out`. +- **strideOut2**: `[in] CBLAS_INT` stride length for the second dimension of `Out`. - **offsetOut**: `[in] CBLAS_INT` starting index for `Out`. ```c diff --git a/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md b/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md index d89ace2acf77..40b2b3d5f485 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/gcartesian-power/README.md @@ -104,8 +104,8 @@ The function has the following parameters: - **strideX**: stride length for `x`. - **offsetX**: starting index for `x`. - **out**: output [`Array`][mdn-array] or [`typed array`][mdn-typed-array]. -- **strideOut1**: stride length of the first dimension of `out`. -- **strideOut2**: stride length of the second dimension of `out`. +- **strideOut1**: stride length for the first dimension of `out`. +- **strideOut2**: stride length for the second dimension of `out`. - **offsetOut**: starting index for `out`. While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to access only the last two elements: diff --git a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/README.md b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/README.md index 2cb1e882fb7d..40ceeaac76fc 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/README.md +++ b/lib/node_modules/@stdlib/blas/ext/base/scartesian-power/README.md @@ -110,8 +110,8 @@ The function has the following parameters: - **strideX**: stride length for `x`. - **offsetX**: starting index for `x`. - **out**: output [`Float32Array`][@stdlib/array/float32]. -- **strideOut1**: stride length of the first dimension of `out`. -- **strideOut2**: stride length of the second dimension of `out`. +- **strideOut1**: stride length for the first dimension of `out`. +- **strideOut2**: stride length for the second dimension of `out`. - **offsetOut**: starting index for `out`. While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to access only the last two elements: @@ -247,8 +247,8 @@ The function accepts the following arguments: - **strideX**: `[in] CBLAS_INT` stride length for `X`. - **offsetX**: `[in] CBLAS_INT` starting index for `X`. - **Out**: `[out] float*` output array. -- **strideOut1**: `[in] CBLAS_INT` stride length of the first dimension of `Out`. -- **strideOut2**: `[in] CBLAS_INT` stride length of the second dimension of `Out`. +- **strideOut1**: `[in] CBLAS_INT` stride length for the first dimension of `Out`. +- **strideOut2**: `[in] CBLAS_INT` stride length for the second dimension of `Out`. - **offsetOut**: `[in] CBLAS_INT` starting index for `Out`. ```c From 0719fe8f2fa064caba7474fcb24505ac46717e19 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 2 Jun 2026 13:23:45 +0000 Subject: [PATCH 4/4] docs: align `package.json` descriptions with imperative-mood convention Propagates the wording fix from f7a08b6ce ("docs: align \`package.json\` descriptions with imperative-mood convention") to sibling packages whose \`description\` fields still use 3rd-person present-tense verbs. Updates \`math/base/special/hyp2f1\` ("Evaluates" -> "Evaluate"), \`math/base/special/gammasgnf\` ("Computes" -> "Compute"), and \`object/none-own-by\` ("Tests" -> "Test"). --- .../@stdlib/math/base/special/gammasgnf/package.json | 2 +- lib/node_modules/@stdlib/math/base/special/hyp2f1/package.json | 2 +- lib/node_modules/@stdlib/object/none-own-by/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/gammasgnf/package.json b/lib/node_modules/@stdlib/math/base/special/gammasgnf/package.json index 5a6f87dcefae..30f9e6d5526a 100644 --- a/lib/node_modules/@stdlib/math/base/special/gammasgnf/package.json +++ b/lib/node_modules/@stdlib/math/base/special/gammasgnf/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/gammasgnf", "version": "0.0.0", - "description": "Computes the sign of the gamma function for a single-precision floating-point number.", + "description": "Compute the sign of the gamma function for a single-precision floating-point number.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", diff --git a/lib/node_modules/@stdlib/math/base/special/hyp2f1/package.json b/lib/node_modules/@stdlib/math/base/special/hyp2f1/package.json index 5e92207bbc24..841ee50ad199 100644 --- a/lib/node_modules/@stdlib/math/base/special/hyp2f1/package.json +++ b/lib/node_modules/@stdlib/math/base/special/hyp2f1/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/hyp2f1", "version": "0.0.0", - "description": "Evaluates the Gaussian hypergeometric function.", + "description": "Evaluate the Gaussian hypergeometric function.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", diff --git a/lib/node_modules/@stdlib/object/none-own-by/package.json b/lib/node_modules/@stdlib/object/none-own-by/package.json index 525bb25cf34a..0522f3dc6572 100644 --- a/lib/node_modules/@stdlib/object/none-own-by/package.json +++ b/lib/node_modules/@stdlib/object/none-own-by/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/object/none-own-by", "version": "0.0.0", - "description": "Tests whether every own property of an object fails a test implemented by a predicate function.", + "description": "Test whether every own property of an object fails a test implemented by a predicate function.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors",