From 3e6ee6bd33668ed8d183e7753fdcf0967ac80a99 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 13:14:32 +0000 Subject: [PATCH 1/4] docs: add missing blank line in `math/base/special/kernel-betainc` Propagates fix from d213b8d ("docs: add missing blank line") to a sibling C doc comment in which the description runs directly into the first `@param` tag. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD7BKpboBu8CFoDkNRsW --- .../@stdlib/math/base/special/kernel-betainc/src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/math/base/special/kernel-betainc/src/main.c b/lib/node_modules/@stdlib/math/base/special/kernel-betainc/src/main.c index 9361c84f010c..dabd444d1432 100644 --- a/lib/node_modules/@stdlib/math/base/special/kernel-betainc/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/kernel-betainc/src/main.c @@ -200,6 +200,7 @@ static void ibetaFraction2t( const double a, const double b, const double x, dou * ----- * b3 + ... * ``` +* * @param a function parameter * @param b function parameter * @param x function parameter From e1d5c71900f9459b1dc902c5db1802fd41f3a84b Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 13:14:33 +0000 Subject: [PATCH 2/4] docs: remove obsolete annotation in `ndarray/fancy` Propagates fix from d9185877 ("docs: remove obsolete annotation") to `ndarray/fancy`, which delegates to `ndarray/ctor` and likewise never throws when `shape` length mismatches the number of dimensions. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD7BKpboBu8CFoDkNRsW --- lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts | 3 --- lib/node_modules/@stdlib/ndarray/fancy/lib/main.js | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts index 4096b768653b..467477a8163a 100644 --- a/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts @@ -63,7 +63,6 @@ interface Constructor { * @param options.readonly - specifies whether an array should be read-only (default: false) * @throws `buffer` argument `get` and `set` properties must be functions * @throws `shape` argument must be an array-like object containing nonnegative integers - * @throws `shape` argument length must equal the number of dimensions * @throws `strides` argument must be an array-like object containing integers * @throws `strides` argument length must equal the number of dimensions (except for zero-dimensional arrays; in which case, the `strides` argument length must be equal to `1`) * @throws for zero-dimensional ndarrays, the `strides` argument must contain a single element equal to `0` @@ -98,7 +97,6 @@ interface Constructor { * @param options.readonly - specifies whether an array should be read-only (default: false) * @throws `buffer` argument `get` and `set` properties must be functions * @throws `shape` argument must be an array-like object containing nonnegative integers - * @throws `shape` argument length must equal the number of dimensions * @throws `strides` argument must be an array-like object containing integers * @throws `strides` argument length must equal the number of dimensions (except for zero-dimensional arrays; in which case, the `strides` argument length must be equal to `1`) * @throws for zero-dimensional ndarrays, the `strides` argument must contain a single element equal to `0` @@ -134,7 +132,6 @@ interface Constructor { * @param options.readonly - specifies whether an array should be read-only (default: false) * @throws `buffer` argument `get` and `set` properties must be functions * @throws `shape` argument must be an array-like object containing nonnegative integers -* @throws `shape` argument length must equal the number of dimensions * @throws `strides` argument must be an array-like object containing integers * @throws `strides` argument length must equal the number of dimensions (except for zero-dimensional arrays; in which case, the `strides` argument length must be equal to `1`) * @throws for zero-dimensional ndarrays, the `strides` argument must contain a single element equal to `0` diff --git a/lib/node_modules/@stdlib/ndarray/fancy/lib/main.js b/lib/node_modules/@stdlib/ndarray/fancy/lib/main.js index d1a509abe7d5..4f5f77b7578e 100644 --- a/lib/node_modules/@stdlib/ndarray/fancy/lib/main.js +++ b/lib/node_modules/@stdlib/ndarray/fancy/lib/main.js @@ -48,7 +48,6 @@ var ndarray2fancy = require( '@stdlib/ndarray/to-fancy' ); * @throws {TypeError} `buffer` argument must be an array-like object, typed-array-like, or a Buffer * @throws {TypeError} `buffer` argument `get` and `set` properties must be functions * @throws {TypeError} `shape` argument must be an array-like object containing nonnegative integers -* @throws {Error} `shape` argument length must equal the number of dimensions * @throws {TypeError} `strides` argument must be an array-like object containing integers * @throws {Error} `strides` argument length must equal the number of dimensions (except for zero-dimensional arrays; in which case, the `strides` argument length must be equal to `1`) * @throws {Error} for zero-dimensional ndarrays, the `strides` argument must contain a single element equal to `0` From dfeb75658702e9a1b9a0e2c3bcceeaff760d5499 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 13:14:34 +0000 Subject: [PATCH 3/4] style: add missing spaces before closing parentheses Propagates fix from 2d7198f ("style: add missing space") to sibling `lib/` sources containing call expressions or parameter lists lacking a space before the closing parenthesis. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD7BKpboBu8CFoDkNRsW --- .../@stdlib/_tools/github/starred/lib/validate.js | 2 +- .../@stdlib/_tools/github/user-repos/lib/validate.js | 2 +- .../@stdlib/blas/ext/base/dsnansum/lib/dsnansum.js | 2 +- .../@stdlib/blas/ext/base/gcusumpw/lib/accessors.js | 4 ++-- .../@stdlib/ndarray/base/nullary-strided1d/lib/6d_blocked.js | 2 +- .../stats/base/dists/binomial/quantile/lib/search_left.js | 2 +- .../@stdlib/stats/base/dists/levy/quantile/lib/native.js | 2 +- lib/node_modules/@stdlib/stats/kde2d/lib/validate.js | 2 +- lib/node_modules/@stdlib/stats/pcorrtest/lib/main.js | 2 +- .../@stdlib/stats/strided/nanmskrange/lib/main.js | 2 +- .../@stdlib/stats/strided/range-by/lib/accessors.js | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/github/starred/lib/validate.js b/lib/node_modules/@stdlib/_tools/github/starred/lib/validate.js index c537a9c0bc84..848e8892f2b7 100644 --- a/lib/node_modules/@stdlib/_tools/github/starred/lib/validate.js +++ b/lib/node_modules/@stdlib/_tools/github/starred/lib/validate.js @@ -71,7 +71,7 @@ function validate( opts, options ) { if ( hasOwnProp( options, 'direction' ) ) { opts.direction = options.direction; if ( !isString( opts.direction ) ) { - return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'direction', opts.direction) ); + return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'direction', opts.direction ) ); } } return null; diff --git a/lib/node_modules/@stdlib/_tools/github/user-repos/lib/validate.js b/lib/node_modules/@stdlib/_tools/github/user-repos/lib/validate.js index bc56f9a5bc1d..e3a0f025c8f9 100644 --- a/lib/node_modules/@stdlib/_tools/github/user-repos/lib/validate.js +++ b/lib/node_modules/@stdlib/_tools/github/user-repos/lib/validate.js @@ -74,7 +74,7 @@ function validate( opts, options ) { if ( hasOwnProp( options, 'direction' ) ) { opts.direction = options.direction; if ( !isString( opts.direction ) ) { - return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'direction', opts.direction) ); + return new TypeError( format( 'invalid option. `%s` option must be a string. Option: `%s`.', 'direction', opts.direction ) ); } } if ( hasOwnProp( options, 'visibility' ) ) { diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsnansum/lib/dsnansum.js b/lib/node_modules/@stdlib/blas/ext/base/dsnansum/lib/dsnansum.js index 7b01a9a9d08f..d872cf4f76b5 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsnansum/lib/dsnansum.js +++ b/lib/node_modules/@stdlib/blas/ext/base/dsnansum/lib/dsnansum.js @@ -43,7 +43,7 @@ var ndarray = require( './ndarray.js' ); * // returns 1.0 */ function dsnansum( N, x, strideX ) { - return ndarray( N, x, strideX, stride2offset( N, strideX) ); + return ndarray( N, x, strideX, stride2offset( N, strideX ) ); } diff --git a/lib/node_modules/@stdlib/blas/ext/base/gcusumpw/lib/accessors.js b/lib/node_modules/@stdlib/blas/ext/base/gcusumpw/lib/accessors.js index 2767866761f7..16d5163f1b35 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/gcusumpw/lib/accessors.js +++ b/lib/node_modules/@stdlib/blas/ext/base/gcusumpw/lib/accessors.js @@ -92,12 +92,12 @@ function gcusumpw( N, sum, x, strideX, offsetX, y, strideY, offsetY ) { iy = offsetY; if ( N <= BLOCKSIZE ) { s = xget( xbuf, ix ); - yset( ybuf, iy, sum + s); + yset( ybuf, iy, sum + s ); ix += strideX; iy += strideY; for ( i = 1; i < N; i++ ) { s += xget( xbuf, ix ); - yset( ybuf, iy, sum + s); + yset( ybuf, iy, sum + s ); ix += strideX; iy += strideY; } diff --git a/lib/node_modules/@stdlib/ndarray/base/nullary-strided1d/lib/6d_blocked.js b/lib/node_modules/@stdlib/ndarray/base/nullary-strided1d/lib/6d_blocked.js index 33b11a9f8969..75497c27f11a 100644 --- a/lib/node_modules/@stdlib/ndarray/base/nullary-strided1d/lib/6d_blocked.js +++ b/lib/node_modules/@stdlib/ndarray/base/nullary-strided1d/lib/6d_blocked.js @@ -189,7 +189,7 @@ function blockednullary6d( fcn, arrays, views, shape, stridesX, strategyX, opts x = arrays[ 0 ]; // Resolve the loop interchange order: - o = loopOrder( shape, stridesX); + o = loopOrder( shape, stridesX ); sh = o.sh; sv = [ o.sx ]; for ( k = 1; k < N; k++ ) { diff --git a/lib/node_modules/@stdlib/stats/base/dists/binomial/quantile/lib/search_left.js b/lib/node_modules/@stdlib/stats/base/dists/binomial/quantile/lib/search_left.js index 985a8ae2eb4f..c041a82615be 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/binomial/quantile/lib/search_left.js +++ b/lib/node_modules/@stdlib/stats/base/dists/binomial/quantile/lib/search_left.js @@ -36,7 +36,7 @@ var cdf = require( '@stdlib/stats/base/dists/binomial/cdf' ); * @returns {NonNegativeInteger} `r` quantile of the specified distribution */ function searchLeft( x, r, n, p ) { - while ( x !== 0 && cdf( x-1, n, p) >= r ) { + while ( x !== 0 && cdf( x-1, n, p ) >= r ) { x -=1; } return x; diff --git a/lib/node_modules/@stdlib/stats/base/dists/levy/quantile/lib/native.js b/lib/node_modules/@stdlib/stats/base/dists/levy/quantile/lib/native.js index c50da4b733a6..8c8497bf8c07 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/levy/quantile/lib/native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/levy/quantile/lib/native.js @@ -68,7 +68,7 @@ var addon = require( './../src/addon.node' ); * // returns NaN */ function quantile( p, mu, c ) { - return addon( p, mu, c); + return addon( p, mu, c ); } diff --git a/lib/node_modules/@stdlib/stats/kde2d/lib/validate.js b/lib/node_modules/@stdlib/stats/kde2d/lib/validate.js index ebf2fba0f84a..e6308133b80d 100644 --- a/lib/node_modules/@stdlib/stats/kde2d/lib/validate.js +++ b/lib/node_modules/@stdlib/stats/kde2d/lib/validate.js @@ -67,7 +67,7 @@ function validate( opts, options ) { } if ( hasOwnProp( options, 'h' ) ) { opts.h = options.h; - if ( !isPositiveNumberArray( opts.h) ) { + if ( !isPositiveNumberArray( opts.h ) ) { return new TypeError( format( 'invalid option. `%s` option must be an array of positive numbers. Option: `%s`.', 'h', opts.h ) ); } if ( opts.h.length !== 2 ) { diff --git a/lib/node_modules/@stdlib/stats/pcorrtest/lib/main.js b/lib/node_modules/@stdlib/stats/pcorrtest/lib/main.js index ddff4159ccec..faedad93ceb2 100644 --- a/lib/node_modules/@stdlib/stats/pcorrtest/lib/main.js +++ b/lib/node_modules/@stdlib/stats/pcorrtest/lib/main.js @@ -138,7 +138,7 @@ function pcorrTest( x, y, options ) { break; case 'two-sided': default: - pval = 2.0 * min( tCDF( stat, df), 1.0 - tCDF( stat, df ) ); + pval = 2.0 * min( tCDF( stat, df ), 1.0 - tCDF( stat, df ) ); break; } } else { diff --git a/lib/node_modules/@stdlib/stats/strided/nanmskrange/lib/main.js b/lib/node_modules/@stdlib/stats/strided/nanmskrange/lib/main.js index 8f5472380007..1fe1c682db2d 100644 --- a/lib/node_modules/@stdlib/stats/strided/nanmskrange/lib/main.js +++ b/lib/node_modules/@stdlib/stats/strided/nanmskrange/lib/main.js @@ -45,7 +45,7 @@ var ndarray = require( './ndarray.js' ); */ function nanmskrange( N, x, strideX, mask, strideMask ) { var ix = stride2offset( N, strideX ); - var im = stride2offset( N, strideMask); + var im = stride2offset( N, strideMask ); return ndarray( N, x, strideX, ix, mask, strideMask, im ); } diff --git a/lib/node_modules/@stdlib/stats/strided/range-by/lib/accessors.js b/lib/node_modules/@stdlib/stats/strided/range-by/lib/accessors.js index 85bfabd0bb72..33fd6d4cf9f8 100644 --- a/lib/node_modules/@stdlib/stats/strided/range-by/lib/accessors.js +++ b/lib/node_modules/@stdlib/stats/strided/range-by/lib/accessors.js @@ -51,7 +51,7 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' ); * var v = rangeBy( x.length, arraylike2object( x ), 1, 0, accessor ); * // returns 18.0 */ -function rangeBy( N, x, strideX, offsetX, clbk, thisArg) { +function rangeBy( N, x, strideX, offsetX, clbk, thisArg ) { var xbuf; var get; var max; From 16381e4a4c949100c482d208d4b49866eac9796b Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 13:25:12 +0000 Subject: [PATCH 4/4] docs: add doctest alias to `ndarray/fancy` declarations Fixes `stdlib/tsdoc-declarations-doctest` failures ("FancyArray is not defined"), as the declaration examples reference `FancyArray` while the export is declared as `ctor`. Mirrors the alias used in `ndarray/ctor`. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD7BKpboBu8CFoDkNRsW --- lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts index 467477a8163a..3c322e3e1725 100644 --- a/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/fancy/docs/types/index.d.ts @@ -155,3 +155,5 @@ declare var ctor: Constructor; // EXPORTS // export = ctor; + +// eslint-doctest-alias: FancyArray