@dereekb/util 12.6.21 → 12.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util",
3
- "version": "12.6.21",
3
+ "version": "12.7.0",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./src/index.d.ts",
package/src/lib/key.d.ts CHANGED
@@ -17,6 +17,10 @@ export type ReadKeyFunction<T, K extends PrimativeKey = PrimativeKey> = MapFunct
17
17
  * Reads a key value from the input object that is required to exist.
18
18
  */
19
19
  export type ReadRequiredKeyFunction<T, K extends PrimativeKey = PrimativeKey> = MapFunction<T, K>;
20
+ /**
21
+ * Reads all keys from the input object. Can return null/undefined.
22
+ */
23
+ export type ReadAllKeysFunction<T, K extends PrimativeKey = PrimativeKey> = MapFunction<T, Maybe<ArrayOrValue<K>>>;
20
24
  /**
21
25
  * Reads one or more keys from the input object.
22
26
  */
@@ -1,6 +1,6 @@
1
1
  import { type ArrayOrValue } from '../array/array';
2
2
  import { type Milliseconds } from '../date/date';
3
- import { type PrimativeKey, type ReadOneOrMoreKeysFunction } from '../key';
3
+ import { type ReadAllKeysFunction, type PrimativeKey } from '../key';
4
4
  import { type StringFactory } from '../string/factory';
5
5
  import { type IndexNumber } from '../value';
6
6
  import { type Maybe } from '../value/maybe.type';
@@ -95,7 +95,7 @@ export interface PerformTasksFromFactoryInParallelFunctionConfig<I, K extends Pr
95
95
  *
96
96
  * When in use the order is not guranteed.
97
97
  */
98
- readonly nonConcurrentTaskKeyFactory?: ReadOneOrMoreKeysFunction<I, K>;
98
+ readonly nonConcurrentTaskKeyFactory?: Maybe<ReadAllKeysFunction<I, K>>;
99
99
  /**
100
100
  * Whether or not tasks are performed sequentially or if tasks are all done in "parellel".
101
101
  *
package/test/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ # [12.7.0](https://github.com/dereekb/dbx-components/compare/v12.6.21-dev...v12.7.0) (2026-02-20)
6
+
7
+
8
+
5
9
  ## [12.6.21](https://github.com/dereekb/dbx-components/compare/v12.6.20-dev...v12.6.21) (2026-02-18)
6
10
 
7
11
 
package/test/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util/test",
3
- "version": "12.6.21",
3
+ "version": "12.7.0",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@dereekb/util": "*"