You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -13,54 +13,54 @@ Function documentation available [here](https://alcalzone.github.io/shared-utils
13
13
<!--
14
14
Placeholder for the next version (at the beginning of the line):
15
15
### __WORK IN PROGRESS__
16
-
-->
17
-
### __WORK IN PROGRESS__
16
+
-->
17
+
### 5.0.0 (2024-11-06)
18
18
* Breaking: Node.js 18 is now required
19
19
* Breaking: When using TypeScript, `moduleResolution` must be set to `node16` in `tsconfig.json`
20
20
* Breaking: `entries`, `values`, and `composeObject` were removed. Use the widely available `Object.entries`, `Object.values`, and `Object.fromEntries` instead.
21
21
* Breaking: `padStart` and by extension the entire `/strings` submodule were removed. Use the widely available `String.prototype.padStart` instead.
22
-
* The package is now a hybrid ESM/CJS package
23
-
22
+
* The package is now a hybrid ESM/CJS package
23
+
24
24
### 4.0.8 (2022-09-07)
25
-
* Fix: Update return types of `isArray` and `isObject` to use an extensive conditional type to replace what used to work in TS 4.7
26
-
25
+
* Fix: Update return types of `isArray` and `isObject` to use an extensive conditional type to replace what used to work in TS 4.7
26
+
27
27
### 4.0.7 (2022-09-07)
28
-
Undo changes to `isObject` from `4.0.6`. TS narrowing in 4.8.2 is broken.
29
-
28
+
Undo changes to `isObject` from `4.0.6`. TS narrowing in 4.8.2 is broken.
29
+
30
30
### 4.0.6 (2022-09-07)
31
-
* Fix: correctly narrow return type of `isObject`
32
-
31
+
* Fix: correctly narrow return type of `isObject`
32
+
33
33
### 4.0.5 (2022-09-07)
34
-
* Fix: correctly narrow return type of isArray for `{}` arguments
35
-
34
+
* Fix: correctly narrow return type of isArray for `{}` arguments
35
+
36
36
### 4.0.4 (2022-09-07)
37
-
* Fix: narrowed type for `isArray` is inferred correctly for `readonly` arrays
38
-
37
+
* Fix: narrowed type for `isArray` is inferred correctly for `readonly` arrays
38
+
39
39
### 4.0.3 (2022-08-27)
40
-
* Update `isArray` to be compatible with TS 4.8 changes
41
-
40
+
* Update `isArray` to be compatible with TS 4.8 changes
41
+
42
42
### 4.0.1 (2021-11-15)
43
-
`SortedQueue`: Fixed an issue where inserting an item before the first one would cause the queue to lose track of items
44
-
43
+
`SortedQueue`: Fixed an issue where inserting an item before the first one would cause the queue to lose track of items
44
+
45
45
### 4.0.0 (2021-06-19)
46
-
* Node.js 12+ is now required
47
-
46
+
* Node.js 12+ is now required
47
+
48
48
### 3.0.4 (2021-04-24)
49
49
* Fix compatibility of `wait()` with Electron if `unref` is `true`
50
-
* Dependency updates
51
-
50
+
* Dependency updates
51
+
52
52
### 3.0.3 (2021-03-09)
53
53
#### Fixes
54
-
* Fixed compatibility with TypeScript 4.2
55
-
54
+
* Fixed compatibility with TypeScript 4.2
55
+
56
56
### 3.0.2 (2021-01-16)
57
57
#### Fixes
58
-
* The argument to `resolve` of `DeferredPromise` is no longer optional, except for `Promise<void>`
59
-
58
+
* The argument to `resolve` of `DeferredPromise` is no longer optional, except for `Promise<void>`
59
+
60
60
### 3.0.1 (2020-12-05)
61
61
#### Fixes
62
-
* The typeguard `isObject` no longer narrows the type of the argument to `object`
63
-
62
+
* The typeguard `isObject` no longer narrows the type of the argument to `object`
63
+
64
64
### 3.0.0 (2020-08-16)
65
65
#### Breaking changes
66
66
* Renamed the following types:
@@ -85,7 +85,7 @@ Undo changes to `isObject` from `4.0.6`. TS narrowing in 4.8.2 is broken.
85
85
86
86
#### Fixes
87
87
* The type `CallbackAPIReturnType` now works with `strictNullChecks`.
88
-
* The type `Promisify` is no longer experimental and no longer messes up the inferred signature argument names
89
-
88
+
* The type `Promisify` is no longer experimental and no longer messes up the inferred signature argument names
89
+
90
90
### 2.3.0 (2020-06-08)
91
91
* Added optional `unref` parameter to `async` -> `wait(ms, [unref])`
0 commit comments