@webreflection/utils 0.2.17 → 0.2.18

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -7,15 +7,15 @@
7
7
 
8
8
  A curated, *TypeScript*-friendly [collection](./src/) of utilities:
9
9
 
10
- * **[all](https://github.com/WebReflection/utils/tree/main/src#all)** - `Promise.all` via object destructuring
11
- * **[ascii](https://github.com/WebReflection/utils/tree/main/src#ascii)** - basic string-to-buffer conversion without validation
12
- * **[bound-once](https://github.com/WebReflection/utils/tree/main/src#bound-once)** - retrieve unique bound methods per realm
13
- * **[bound](https://github.com/WebReflection/utils/tree/main/src#bound)** - retrieve one-off bound methods
14
- * **[iterable](https://github.com/WebReflection/utils/tree/main/src#iterable)** - make plain objects iterable as `Object.entries(object)` pairs, without touching objects that are already iterable
15
- * **[json-storage](https://github.com/WebReflection/utils/tree/main/src#json-storage)** - use `localStorage` or `sessionStorage` through a JSON-aware, iterable, *Map*-friendly API
16
- * **[registry](https://github.com/WebReflection/utils/tree/main/src#registry)** - use a `Map`-like API with key/value validation and duplicate-key protection by default
17
- * **[shared-array-buffer](https://github.com/WebReflection/utils/tree/main/src#shared-array-buffer)** - simulate *SAB* when not available
18
- * **[sticky](https://github.com/WebReflection/utils/tree/main/src#sticky)** - keep useful values stable once per realm
19
- * **[with-resolvers](https://github.com/WebReflection/utils/tree/main/src#with-resolvers)** - use a self-bound `Promise.withResolvers()` helper for older runtimes
10
+ * **[all](./src/#all)** - `Promise.all` via object destructuring
11
+ * **[ascii](./src#ascii)** - basic string-to-buffer conversion without validation
12
+ * **[bound-once](./src#bound-once)** - retrieve unique bound methods per realm
13
+ * **[bound](./src#bound)** - retrieve one-off bound methods
14
+ * **[iterable](./src#iterable)** - make plain objects iterable as `Object.entries(object)` pairs, without touching objects that are already iterable
15
+ * **[json-storage](./src#json-storage)** - use `localStorage` or `sessionStorage` through a JSON-aware, iterable, *Map*-friendly API
16
+ * **[registry](./src#registry)** - use a `Map`-like API with key/value validation and duplicate-key protection by default
17
+ * **[shared-array-buffer](./src#shared-array-buffer)** - simulate *SAB* when not available
18
+ * **[sticky](./src#sticky)** - keep useful values stable once per realm
19
+ * **[with-resolvers](./src#with-resolvers)** - use a self-bound `Promise.withResolvers()` helper for older runtimes
20
20
 
21
21
  MIT-style license.
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@webreflection/utils",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "type": "module",
5
5
  "types": {
6
6
  "./all": "./types/all.d.ts",
7
7
  "./ascii": "./types/ascii.d.ts",
8
8
  "./bound-once": "./types/bound-once.d.ts",
9
9
  "./bound": "./types/bound.d.ts",
10
+ "./iterable": "./types/iterable.d.ts",
11
+ "./json-storage": "./types/json-storage.d.ts",
12
+ "./registry": "./types/registry.d.ts",
10
13
  "./shared-array-buffer": "./types/shared-array-buffer.d.ts",
11
14
  "./sticky": "./types/sticky.d.ts",
12
15
  "./with-resolvers": "./types/with-resolvers.d.ts"