Skip to content

Commit 2cc43e6

Browse files
committed
Auto-generated commit
1 parent 422291f commit 2cc43e6

File tree

13 files changed

+26
-24
lines changed

13 files changed

+26
-24
lines changed

โ€ŽCHANGELOG.mdโ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-09-01)
7+
## Unreleased (2025-09-06)
88

99
<section class="features">
1010

@@ -52,6 +52,7 @@
5252

5353
<details>
5454

55+
- [`380f888`](https://github.com/stdlib-js/stdlib/commit/380f888de613b7b07e909ce7a1bc53f5a9801717) - **docs:** fix TypeScript declaration examples in string packages _(by Philipp Burckhardt)_
5556
- [`774b270`](https://github.com/stdlib-js/stdlib/commit/774b270d053d49740326553d549f698c7a5e94c8) - **feat:** add missing exports to namespaces _(by Philipp Burckhardt)_
5657
- [`ccb87b6`](https://github.com/stdlib-js/stdlib/commit/ccb87b67fc9b58a37d5603ee1b86658bc70f0ef3) - **feat:** add missing exports to namespaces _(by Philipp Burckhardt)_
5758
- [`3d2f3c7`](https://github.com/stdlib-js/stdlib/commit/3d2f3c70a73bfb11428d490e91c04f4744d32d23) - **docs:** clean-up example code _(by Philipp Burckhardt)_

โ€ŽCONTRIBUTORSโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Bruno Fenzl <brunofenzl@gmail.com>
4242
Bryan Elee <rxbryn@gmail.com>
4343
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
4444
Christopher Dambamuromo <chridam@gmail.com>
45+
DUDHAT HEMIL PRAVINKUMAR <138382078+Hemil36@users.noreply.github.com>
4546
Dan Rose <danoftheroses@gmail.com>
4647
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4748
Daniel Killenberger <daniel.killenberger@gmail.com>

โ€Žbase/docs/types/index.d.tsโ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ interface Namespace {
474474
* console.log( '%d: %s', index, value );
475475
* }
476476
*
477-
* forEach( 'Hello, World!', log );
477+
* ns.forEachRight( 'Hello, World!', log );
478478
*/
479479
forEachRight: typeof forEachRight;
480480

@@ -963,11 +963,11 @@ interface Namespace {
963963
*
964964
* var str = 'Oranges and lemons say the bells of St. Clement\'s';
965965
*
966-
* function ns.replacer( match, p1 ) {
966+
* function replacer( match, p1 ) {
967967
* return capitalize( p1 );
968968
* }
969969
*
970-
* var out = ns.replace( str, /([^\s]*)/gi, ns.replacer );
970+
* var out = ns.replace( str, /([^\s]*)/gi, replacer );
971971
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
972972
*/
973973
replace: typeof replace;
@@ -1004,7 +1004,7 @@ interface Namespace {
10041004
*
10051005
* @example
10061006
* var out = ns.replaceAfter( 'beep boop', ' ', 'foo' , 5 );
1007-
* // returns 'beep foo'
1007+
* // returns 'beep boop'
10081008
*
10091009
* @example
10101010
* var out = ns.replaceAfter( 'beep boop beep baz', 'beep', 'foo' , 5 );
@@ -1083,7 +1083,7 @@ interface Namespace {
10831083
*
10841084
* @example
10851085
* var out = ns.replaceBefore( 'Hello World!', '', 'foo', 0 );
1086-
* // returns 'Hello world!'
1086+
* // returns 'Hello World!'
10871087
*
10881088
* @example
10891089
* var out = ns.replaceBefore( 'Hello World!', 'xyz', 'foo', 0 );

โ€Žbase/for-each-right/docs/types/index.d.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type Callback<T> = Nullary<T> | Unary<T> | Binary<T> | Ternary<T>;
8383
* console.log( '%d: %s', index, value );
8484
* }
8585
*
86-
* forEach( 'Hello, World!', log );
86+
* forEachRight( 'Hello, World!', log );
8787
*/
8888
declare function forEachRight<T = unknown>( str: string, clbk: Callback<T>, thisArg?: ThisParameterType<Callback<T>> ): string;
8989

โ€Žbase/replace-after/docs/types/index.d.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
*
5151
* @example
5252
* var out = replaceAfter( 'beep boop', ' ', 'foo' , 5 );
53-
* // returns 'beep foo'
53+
* // returns 'beep boop'
5454
*
5555
* @example
5656
* var out = replaceAfter( 'beep boop beep baz', 'beep', 'foo' , 5 );

โ€Ždocs/types/index.d.tsโ€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -869,11 +869,11 @@ interface Namespace {
869869
*
870870
* var str = 'Oranges and lemons say the bells of St. Clement\'s';
871871
*
872-
* function ns.replacer( match, p1 ) {
872+
* function replacer( match, p1 ) {
873873
* return capitalize( p1 );
874874
* }
875875
*
876-
* var out = ns.replace( str, /([^\s]*)/gi, ns.replacer);
876+
* var out = ns.replace( str, /([^\s]*)/gi, replacer);
877877
* // returns 'Oranges And Lemons Say The Bells Of St. Clement\'s'
878878
*/
879879
replace: typeof replace;
@@ -896,7 +896,7 @@ interface Namespace {
896896
*
897897
* @example
898898
* var out = ns.replaceBefore( 'Hello World!', '', 'foo' );
899-
* // returns 'Hello world!'
899+
* // returns 'Hello World!'
900900
*
901901
* @example
902902
* var out = ns.replaceBefore( 'Hello World!', 'xyz', 'foo' );
@@ -1259,15 +1259,15 @@ interface Namespace {
12591259
*
12601260
* @example
12611261
* var result = ns.toWellFormed( '\uDBFF' );
1262-
* // returns ๏ฟฝ
1262+
* // returns '๏ฟฝ'
12631263
*
12641264
* @example
12651265
* var result = ns.toWellFormed( '\uDBFFFF\uDBFF' );
1266-
* // returns ๏ฟฝFF๏ฟฝ
1266+
* // returns '๏ฟฝFF๏ฟฝ'
12671267
*
12681268
* @example
12691269
* var result = ns.toWellFormed( '-5' );
1270-
* // returns -5
1270+
* // returns '-5'
12711271
*/
12721272
toWellFormed: typeof toWellFormed;
12731273

โ€Žfirst/docs/types/index.d.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ declare function first( str: string, n: number, options?: Options ): string;
7575
* var out = first( '๐Ÿถ๐Ÿฎ๐Ÿท๐Ÿฐ๐Ÿธ', {
7676
* 'mode': 'grapheme'
7777
* });
78-
* // returns '๐Ÿถ๐Ÿฎ'
78+
* // returns '๐Ÿถ'
7979
*/
8080
declare function first( str: string, options?: Options ): string;
8181

โ€Žlast/docs/types/index.d.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ declare function last( str: string, n: number, options?: Options ): string;
7575
* var out = last( '๐Ÿถ๐Ÿฎ๐Ÿท๐Ÿฐ๐Ÿธ', {
7676
* 'mode': 'grapheme'
7777
* });
78-
* // returns '๐Ÿฐ๐Ÿธ'
78+
* // returns '๐Ÿธ'
7979
*/
8080
declare function last( str: string, options?: Options ): string;
8181

โ€Žnum-code-points/docs/types/index.d.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*
3939
* @example
4040
* var out = numCodePoints( 'เค…เคจเฅเคšเฅเค›เฅ‡เคฆ' );
41-
* // returns 5
41+
* // returns 8
4242
*/
4343
declare function numCodePoints( str: string ): number;
4444

โ€Žremove-last/docs/types/index.d.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ declare function removeLast( str: string, n: number, options?: Options ): string
7474
* // returns 'last man standin'
7575
*
7676
* @example
77-
* var out = removeFirst( '๐Ÿถ๐Ÿฎ๐Ÿท๐Ÿฐ๐Ÿธ', {
77+
* var out = removeLast( '๐Ÿถ๐Ÿฎ๐Ÿท๐Ÿฐ๐Ÿธ', {
7878
* 'mode': 'grapheme'
7979
* });
8080
* // returns '๐Ÿถ๐Ÿฎ๐Ÿท๐Ÿฐ'

0 commit comments

Comments
ย (0)