From 60a037b87f011bdbb4f7608338478296254d0ea1 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Aug 2026 13:25:56 +0000 Subject: [PATCH 1/2] docs: remove duplicate period in comment in `constants/float32/eps` Propagates fix from 10f021cc6 ("docs: fix example and description") to a sibling site with the same doubled sentence-ending period in a C header documentation comment. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JPpNMgm5XwGLrxHLQK1oVg --- .../float32/eps/include/stdlib/constants/float32/eps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/constants/float32/eps/include/stdlib/constants/float32/eps.h b/lib/node_modules/@stdlib/constants/float32/eps/include/stdlib/constants/float32/eps.h index ec887c8f94a1..9b978bb7c0b0 100644 --- a/lib/node_modules/@stdlib/constants/float32/eps/include/stdlib/constants/float32/eps.h +++ b/lib/node_modules/@stdlib/constants/float32/eps/include/stdlib/constants/float32/eps.h @@ -20,7 +20,7 @@ #define STDLIB_CONSTANTS_FLOAT32_EPS_H /** -* Macro for the difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number.. +* Macro for the difference between one and the smallest value greater than one that can be represented as a single-precision floating-point number. */ #define STDLIB_CONSTANT_FLOAT32_EPS 1.1920928955078125e-7f From cf5511b68254c65f024a094daf7ff46f5c9bf568 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 12 Aug 2026 13:26:10 +0000 Subject: [PATCH 2/2] style: add missing spaces in `ndarray` and `string` doc examples Propagates fixes from cb9723af6 ("docs: update examples") and 7026843ac ("style: add missing spaces") to the remaining TypeScript declaration files indenting object-literal option keys in JSDoc examples with four spaces instead of five. Affected packages: `ndarray`, `ndarray/find`, `ndarray/find-last`, `ndarray/broadcast-scalar-like`, `ndarray/from-scalar-like`, `string/first`, and `string/last`. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JPpNMgm5XwGLrxHLQK1oVg --- .../docs/types/index.d.ts | 52 +++++++++---------- .../@stdlib/ndarray/docs/types/index.d.ts | 2 +- .../ndarray/find-last/docs/types/index.d.ts | 2 +- .../ndarray/find/docs/types/index.d.ts | 2 +- .../from-scalar-like/docs/types/index.d.ts | 48 ++++++++--------- .../string/first/docs/types/index.d.ts | 4 +- .../@stdlib/string/last/docs/types/index.d.ts | 4 +- 7 files changed, 57 insertions(+), 57 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/broadcast-scalar-like/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/broadcast-scalar-like/docs/types/index.d.ts index 3c000b27fcaf..e9ef788d9785 100644 --- a/lib/node_modules/@stdlib/ndarray/broadcast-scalar-like/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/broadcast-scalar-like/docs/types/index.d.ts @@ -223,7 +223,7 @@ declare function broadcastScalarLike( x: float64ndarray, value: number, options? * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'float64' +* 'dtype': 'float64' * }); * // returns */ @@ -241,7 +241,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Float6 * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'float32' +* 'dtype': 'float32' * }); * // returns * @@ -265,7 +265,7 @@ declare function broadcastScalarLike( x: float32ndarray, value: number, options? * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'float32' +* 'dtype': 'float32' * }); * // returns */ @@ -283,7 +283,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Float3 * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'complex128' +* 'dtype': 'complex128' * }); * // returns * @@ -307,7 +307,7 @@ declare function broadcastScalarLike( x: complex128ndarray, value: number | Comp * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'complex128' +* 'dtype': 'complex128' * }); * // returns */ @@ -325,7 +325,7 @@ declare function broadcastScalarLike( x: ndarray, value: number | ComplexLike, o * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'complex64' +* 'dtype': 'complex64' * }); * // returns * @@ -349,7 +349,7 @@ declare function broadcastScalarLike( x: complex64ndarray, value: number | Compl * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'complex64' +* 'dtype': 'complex64' * }); * // returns */ @@ -367,7 +367,7 @@ declare function broadcastScalarLike( x: ndarray, value: number | ComplexLike, o * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'bool' +* 'dtype': 'bool' * }); * // returns * @@ -391,7 +391,7 @@ declare function broadcastScalarLike( x: boolndarray, value: boolean, options?: * // returns * * var out = broadcastScalarLike( x, true, { -* 'dtype': 'bool' +* 'dtype': 'bool' * }); * // returns */ @@ -409,7 +409,7 @@ declare function broadcastScalarLike( x: ndarray, value: boolean, options: BoolO * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'int32' +* 'dtype': 'int32' * }); * // returns * @@ -433,7 +433,7 @@ declare function broadcastScalarLike( x: int32ndarray, value: number, options?: * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'int32' +* 'dtype': 'int32' * }); * // returns */ @@ -451,7 +451,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Int32O * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'int16' +* 'dtype': 'int16' * }); * // returns * @@ -475,7 +475,7 @@ declare function broadcastScalarLike( x: int16ndarray, value: number, options?: * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'int16' +* 'dtype': 'int16' * }); * // returns */ @@ -493,7 +493,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Int16O * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'int8' +* 'dtype': 'int8' * }); * // returns * @@ -517,7 +517,7 @@ declare function broadcastScalarLike( x: int8ndarray, value: number, options?: B * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'int8' +* 'dtype': 'int8' * }); * // returns */ @@ -535,7 +535,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Int8Op * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'uint32' +* 'dtype': 'uint32' * }); * // returns * @@ -559,7 +559,7 @@ declare function broadcastScalarLike( x: uint32ndarray, value: number, options?: * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'uint32' +* 'dtype': 'uint32' * }); * // returns */ @@ -577,7 +577,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Uint32 * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'uint16' +* 'dtype': 'uint16' * }); * // returns * @@ -601,7 +601,7 @@ declare function broadcastScalarLike( x: uint16ndarray, value: number, options?: * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'uint16' +* 'dtype': 'uint16' * }); * // returns */ @@ -619,7 +619,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Uint16 * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'uint8' +* 'dtype': 'uint8' * }); * // returns * @@ -643,7 +643,7 @@ declare function broadcastScalarLike( x: uint8ndarray, value: number, options?: * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'uint8' +* 'dtype': 'uint8' * }); * // returns */ @@ -661,7 +661,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Uint8O * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'uint8c' +* 'dtype': 'uint8c' * }); * // returns * @@ -685,7 +685,7 @@ declare function broadcastScalarLike( x: uint8cndarray, value: number, options?: * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'uint8c' +* 'dtype': 'uint8c' * }); * // returns */ @@ -703,7 +703,7 @@ declare function broadcastScalarLike( x: ndarray, value: number, options: Uint8c * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'generic' +* 'dtype': 'generic' * }); * // returns * @@ -727,7 +727,7 @@ declare function broadcastScalarLike( x: genericndarray, value * // returns * * var out = broadcastScalarLike( x, 1.0, { -* 'dtype': 'generic' +* 'dtype': 'generic' * }); * // returns */ @@ -745,7 +745,7 @@ declare function broadcastScalarLike( x: ndarray, value: T, options * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { -* 'dtype': 'generic' +* 'dtype': 'generic' * }); * // returns * diff --git a/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts index bada8c57f910..8a189b16e93d 100644 --- a/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts @@ -554,7 +554,7 @@ interface Namespace { * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2, 2 ], { - * 'dtype': 'generic' + * 'dtype': 'generic' * }); * // returns * diff --git a/lib/node_modules/@stdlib/ndarray/find-last/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/find-last/docs/types/index.d.ts index 387fbe27ee7b..0e767f5c8698 100644 --- a/lib/node_modules/@stdlib/ndarray/find-last/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/find-last/docs/types/index.d.ts @@ -173,7 +173,7 @@ interface FindLast { * var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' ); * * var opts = { - * 'dims': [ 0 ] + * 'dims': [ 0 ] * }; * * // Perform the operation: diff --git a/lib/node_modules/@stdlib/ndarray/find/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/find/docs/types/index.d.ts index 4465dd95a120..bf56eddad8de 100644 --- a/lib/node_modules/@stdlib/ndarray/find/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/find/docs/types/index.d.ts @@ -176,7 +176,7 @@ interface Find { * var x = new ndarray( 'float64', xbuf, sh, sx, ox, 'row-major' ); * * var opts = { - * 'dims': [ 0 ] + * 'dims': [ 0 ] * }; * * // Perform the operation: diff --git a/lib/node_modules/@stdlib/ndarray/from-scalar-like/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/from-scalar-like/docs/types/index.d.ts index d6c30867735f..3d1b50932441 100644 --- a/lib/node_modules/@stdlib/ndarray/from-scalar-like/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/from-scalar-like/docs/types/index.d.ts @@ -222,7 +222,7 @@ declare function scalar2ndarrayLike( x: float64ndarray, value: number, options?: * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'float64' +* 'dtype': 'float64' * }); * // returns [ 1.0 ] * @@ -248,7 +248,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Float64 * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'float32' +* 'dtype': 'float32' * }); * // returns * @@ -280,7 +280,7 @@ declare function scalar2ndarrayLike( x: float32ndarray, value: number, options?: * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'float32' +* 'dtype': 'float32' * }); * // returns [ 1.0 ] * @@ -306,7 +306,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Float32 * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'complex128' +* 'dtype': 'complex128' * }); * // returns * @@ -338,7 +338,7 @@ declare function scalar2ndarrayLike( x: complex128ndarray, value: number | Compl * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'complex128' +* 'dtype': 'complex128' * }); * // returns [ [ 1.0, 0.0 ] ] * @@ -364,7 +364,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number | ComplexLike, op * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'complex64' +* 'dtype': 'complex64' * }); * // returns * @@ -396,7 +396,7 @@ declare function scalar2ndarrayLike( x: complex64ndarray, value: number | Comple * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'complex64' +* 'dtype': 'complex64' * }); * // returns [ [ 1.0, 0.0 ] ] * @@ -422,7 +422,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number | ComplexLike, op * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'bool' +* 'dtype': 'bool' * }); * // returns * @@ -454,7 +454,7 @@ declare function scalar2ndarrayLike( x: boolndarray, value: boolean, options?: B * // returns * * var out = scalar2ndarrayLike( x, true, { -* 'dtype': 'bool' +* 'dtype': 'bool' * }); * // returns [ true ] * @@ -480,7 +480,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: boolean, options: BoolOp * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'int32' +* 'dtype': 'int32' * }); * // returns * @@ -512,7 +512,7 @@ declare function scalar2ndarrayLike( x: int32ndarray, value: number, options?: B * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'int32' +* 'dtype': 'int32' * }); * // returns [ 1 ] * @@ -538,7 +538,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Int32Op * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'int16' +* 'dtype': 'int16' * }); * // returns * @@ -570,7 +570,7 @@ declare function scalar2ndarrayLike( x: int16ndarray, value: number, options?: B * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'int16' +* 'dtype': 'int16' * }); * // returns [ 1 ] * @@ -596,7 +596,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Int16Op * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'int8' +* 'dtype': 'int8' * }); * // returns * @@ -628,7 +628,7 @@ declare function scalar2ndarrayLike( x: int8ndarray, value: number, options?: Ba * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'int8' +* 'dtype': 'int8' * }); * // returns [ 1 ] * @@ -654,7 +654,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Int8Opt * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'uint32' +* 'dtype': 'uint32' * }); * // returns * @@ -686,7 +686,7 @@ declare function scalar2ndarrayLike( x: uint32ndarray, value: number, options?: * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'uint32' +* 'dtype': 'uint32' * }); * // returns [ 1 ] * @@ -712,7 +712,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Uint32O * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'uint16' +* 'dtype': 'uint16' * }); * // returns * @@ -744,7 +744,7 @@ declare function scalar2ndarrayLike( x: uint16ndarray, value: number, options?: * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'uint16' +* 'dtype': 'uint16' * }); * // returns [ 1 ] * @@ -770,7 +770,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Uint16O * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'uint8' +* 'dtype': 'uint8' * }); * // returns * @@ -802,7 +802,7 @@ declare function scalar2ndarrayLike( x: uint8ndarray, value: number, options?: B * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'uint8' +* 'dtype': 'uint8' * }); * // returns [ 1 ] * @@ -828,7 +828,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Uint8Op * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'uint8c' +* 'dtype': 'uint8c' * }); * // returns * @@ -860,7 +860,7 @@ declare function scalar2ndarrayLike( x: uint8cndarray, value: number, options?: * // returns * * var out = scalar2ndarrayLike( x, 1.0, { -* 'dtype': 'uint8c' +* 'dtype': 'uint8c' * }); * // returns [ 1 ] * @@ -886,7 +886,7 @@ declare function scalar2ndarrayLike( x: ndarray, value: number, options: Uint8cO * var empty = require( '@stdlib/ndarray/empty' ); * * var x = empty( [ 2 ], { -* 'dtype': 'generic' +* 'dtype': 'generic' * }); * // returns * diff --git a/lib/node_modules/@stdlib/string/first/docs/types/index.d.ts b/lib/node_modules/@stdlib/string/first/docs/types/index.d.ts index 8852086bf30b..6e1e82dd2fd3 100644 --- a/lib/node_modules/@stdlib/string/first/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/string/first/docs/types/index.d.ts @@ -52,7 +52,7 @@ interface Options { * * @example * var out = first( '🐶🐮🐷🐰🐸', 2, { -* 'mode': 'grapheme' +* 'mode': 'grapheme' * }); * // returns '🐶🐮' */ @@ -73,7 +73,7 @@ declare function first( str: string, n: number, options?: Options ): string; * * @example * var out = first( '🐶🐮🐷🐰🐸', { -* 'mode': 'grapheme' +* 'mode': 'grapheme' * }); * // returns '🐶' */ diff --git a/lib/node_modules/@stdlib/string/last/docs/types/index.d.ts b/lib/node_modules/@stdlib/string/last/docs/types/index.d.ts index ebabaea16e3f..d42ab5c95cd6 100644 --- a/lib/node_modules/@stdlib/string/last/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/string/last/docs/types/index.d.ts @@ -52,7 +52,7 @@ interface Options { * * @example * var out = last( '🐶🐮🐷🐰🐸', 2, { -* 'mode': 'grapheme' +* 'mode': 'grapheme' * }); * // returns '🐰🐸' */ @@ -73,7 +73,7 @@ declare function last( str: string, n: number, options?: Options ): string; * * @example * var out = last( '🐶🐮🐷🐰🐸', { -* 'mode': 'grapheme' +* 'mode': 'grapheme' * }); * // returns '🐸' */