Skip to content

Commit be0e0da

Browse files
[ci] release (#261)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e5bb120 commit be0e0da

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.changeset/many-humans-trade.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/utils/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @inox-tools/utils
22

3+
## 0.8.1
4+
5+
### Patch Changes
6+
7+
- e5bb120: Export utility type `UnwrapLazies` to turn an array of `Lazy` instances into an array of their lazy values.
8+
39
## 0.8.0
410

511
### Minor Changes

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inox-tools/utils",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "A collection of utilities used throughout Inox Tools",
55
"keywords": [
66
"utilities"

packages/utils/src/lazy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Lazy<T> implements Promise<T> {
4545

4646
private attachments?: ((value: T) => void)[] = [];
4747

48-
private constructor(private factory: () => T) { }
48+
private constructor(private factory: () => T) {}
4949

5050
/**
5151
* Creates a new Lazy instance from a factory function.
@@ -264,7 +264,7 @@ export class LazyKeyed<T> {
264264
/** List of callbacks to invoke when any value is created */
265265
private readonly attachments: LazyMapping<T>[] = [];
266266

267-
private constructor(private factory: (key: string) => T) { }
267+
private constructor(private factory: (key: string) => T) {}
268268

269269
/**
270270
* Creates a new LazyKeyed instance from a factory function.

0 commit comments

Comments
 (0)