Skip to content

Commit 6aa7358

Browse files
committed
Auto-generated commit
1 parent a9a8e82 commit 6aa7358

File tree

10 files changed

+17
-14
lines changed

10 files changed

+17
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
### Bug Fixes
2727

28+
- [`376e7a3`](https://github.com/stdlib-js/stdlib/commit/376e7a36d5239ed7a21a3fb3f8114561cc0c20ef) - update TypeScript definitions to use `keys` instead of `indices`
2829
- [`d2d06f4`](https://github.com/stdlib-js/stdlib/commit/d2d06f45f5df1d830aa0a14331bd6b883d9992d5) - avoid infinite recursion and update examples
2930
- [`6d021ff`](https://github.com/stdlib-js/stdlib/commit/6d021ff12baa5380b83daffc78b7d64a308e1e9d) - markdown lint error in `utils/object-inverse` [(#9438)](https://github.com/stdlib-js/stdlib/pull/9438)
3031
- [`1b9a036`](https://github.com/stdlib-js/stdlib/commit/1b9a036d676b247bf502c4ede08635b99fa611ca) - allow correct values for `returns` option
@@ -324,6 +325,8 @@ A total of 26 issues were closed in this release:
324325

325326
<details>
326327

328+
- [`376e7a3`](https://github.com/stdlib-js/stdlib/commit/376e7a36d5239ed7a21a3fb3f8114561cc0c20ef) - **fix:** update TypeScript definitions to use `keys` instead of `indices` _(by Philipp Burckhardt)_
329+
- [`7e63571`](https://github.com/stdlib-js/stdlib/commit/7e63571d1ad59b012697ee2ce76e3ca3ac008e7e) - **chore:** minor clean-up _(by Philipp Burckhardt)_
327330
- [`363aead`](https://github.com/stdlib-js/stdlib/commit/363aeadb3882671cf1429fc5e2f4a99dbaa9e09a) - **docs:** update examples [(#9575)](https://github.com/stdlib-js/stdlib/pull/9575) _(by stdlib-bot)_
328331
- [`d2d06f4`](https://github.com/stdlib-js/stdlib/commit/d2d06f45f5df1d830aa0a14331bd6b883d9992d5) - **fix:** avoid infinite recursion and update examples _(by Athan Reines)_
329332
- [`2fee906`](https://github.com/stdlib-js/stdlib/commit/2fee906e7981ff2a9a0bf37bfcbfe3b77421bfcd) - **docs:** resolve lint failures _(by Athan Reines)_

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Copyright (c) 2016-2025 The Stdlib Authors.
1+
Copyright (c) 2016-2026 The Stdlib Authors.

bifurcate-own/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ var opts = {
122122
'returns': '*'
123123
};
124124
var out = bifurcateOwn( obj, opts, predicate );
125-
// e.g., returns [ [ [ 'a', 'beep' ], [ 'b', 'boop ], [ 'd', 'bar' ] ], [ [ 'c', 'foo' ] ] ]
125+
// e.g., returns [ [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], [ [ 'c', 'foo' ] ] ]
126126
```
127127

128128
To set the `predicate` execution context, provide a `thisArg`.

bifurcate-own/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ interface Options {
2828
thisArg?: any;
2929

3030
/**
31-
* If `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned.
31+
* If `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned.
3232
*/
33-
returns?: 'values' | 'indices' | '*';
33+
returns?: 'values' | 'keys' | '*';
3434
}
3535

3636
/**

bifurcate-own/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Foo {
4949
bifurcateOwn( obj, predicate ); // $ExpectType any[][]
5050
bifurcateOwn( {}, predicate ); // $ExpectType any[][]
5151
const opts = {
52-
'returns': 'indices' as 'indices'
52+
'returns': 'keys' as 'keys'
5353
};
5454
bifurcateOwn( obj, opts, predicate ); // $ExpectType any[][]
5555
}
@@ -78,7 +78,7 @@ class Foo {
7878
bifurcateOwn( obj, null, predicate ); // $ExpectError
7979
}
8080

81-
// The compiler throws an error if the function is provided a `returns` option which is not one of 'indices', 'values', or '*'...
81+
// The compiler throws an error if the function is provided a `returns` option which is not one of 'keys', 'values', or '*'...
8282
{
8383
const obj = new Foo();
8484
bifurcateOwn( obj, { 'returns': '5' }, predicate ); // $ExpectError

group-in/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ var opts = {
146146
'returns': '*'
147147
};
148148
var out = groupIn( obj, opts, indicator );
149-
// e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] }
149+
// e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] }
150150
```
151151

152152
To set the `indicator` execution context, provide a `thisArg`.

group-in/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ interface Options {
2828
thisArg?: any;
2929

3030
/**
31-
* If `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned.
31+
* If `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned.
3232
*/
33-
returns?: 'values' | 'indices' | '*';
33+
returns?: 'values' | 'keys' | '*';
3434
}
3535

3636
/**

group-in/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Foo {
4949
groupIn( obj, indicator ); // $ExpectType any
5050
groupIn( {}, indicator ); // $ExpectType any
5151
const opts = {
52-
'returns': 'indices' as 'indices'
52+
'returns': 'keys' as 'keys'
5353
};
5454
groupIn( obj, opts, indicator ); // $ExpectType any
5555
}
@@ -78,7 +78,7 @@ class Foo {
7878
groupIn( obj, null, indicator ); // $ExpectError
7979
}
8080

81-
// The compiler throws an error if the function is provided a `returns` option which is not one of 'indices', 'values', or '*'...
81+
// The compiler throws an error if the function is provided a `returns` option which is not one of 'keys', 'values', or '*'...
8282
{
8383
const obj = new Foo();
8484
groupIn( obj, { 'returns': '5' }, indicator ); // $ExpectError

group-own/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ var opts = {
122122
'returns': '*'
123123
};
124124
var out = groupOwn( obj, opts, indicator );
125-
// e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] }
125+
// e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] }
126126
```
127127

128128
To set the `indicator` execution context, provide a `thisArg`.

group-own/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Foo {
4949
groupOwn( obj, indicator ); // $ExpectType { [x: string]: string[]; }
5050
groupOwn( {}, indicator ); // $ExpectType { [x: string]: never[]; }
5151
const opts = {
52-
'returns': 'indices' as const
52+
'returns': 'keys' as const
5353
};
5454
groupOwn( obj, opts, indicator ); // $ExpectType { [x: string]: (keyof Foo)[]; }
5555

@@ -97,7 +97,7 @@ class Foo {
9797
groupOwn( obj, null, indicator ); // $ExpectError
9898
}
9999

100-
// The compiler throws an error if the function is provided a `returns` option which is not one of 'indices', 'values', or '*'...
100+
// The compiler throws an error if the function is provided a `returns` option which is not one of 'keys', 'values', or '*'...
101101
{
102102
const obj = new Foo();
103103
groupOwn( obj, { 'returns': '5' }, indicator ); // $ExpectError

0 commit comments

Comments
 (0)