@thi.ng/bidir-index 1.1.2 → 1.1.4

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-08-18T14:11:34Z
3
+ - **Last updated**: 2024-10-05T12:12:32Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/index.d.ts CHANGED
@@ -27,19 +27,19 @@ export declare class BidirIndex<T> {
27
27
  /**
28
28
  * Yields same result as {@link BidirIndex.entries}.
29
29
  */
30
- [Symbol.iterator](): IterableIterator<[T, number]>;
30
+ [Symbol.iterator](): MapIterator<[T, number]>;
31
31
  /**
32
32
  * Returns iterator of `[key,id]` pairs.
33
33
  */
34
- entries(): IterableIterator<[T, number]>;
34
+ entries(): MapIterator<[T, number]>;
35
35
  /**
36
36
  * Returns iterator of all indexed keys.
37
37
  */
38
- keys(): IterableIterator<T>;
38
+ keys(): MapIterator<T>;
39
39
  /**
40
40
  * Returns iterator of all indexed IDs.
41
41
  */
42
- values(): IterableIterator<number>;
42
+ values(): MapIterator<number>;
43
43
  /**
44
44
  * Returns true if given `key` is known/indexed.
45
45
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/bidir-index",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Bi-directional index mapping arbitrary keys to numeric IDs & vice versa",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,10 +36,10 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "devDependencies": {
39
- "@microsoft/api-extractor": "^7.47.5",
40
- "esbuild": "^0.23.0",
41
- "typedoc": "^0.26.5",
42
- "typescript": "^5.5.4"
39
+ "@microsoft/api-extractor": "^7.47.9",
40
+ "esbuild": "^0.24.0",
41
+ "typedoc": "^0.26.7",
42
+ "typescript": "^5.6.2"
43
43
  },
44
44
  "keywords": [
45
45
  "bidirectional",
@@ -76,5 +76,5 @@
76
76
  ],
77
77
  "year": 2022
78
78
  },
79
- "gitHead": "f6e26ea1142525171de5d36b9c3119f2782bb437\n"
79
+ "gitHead": "11ae480076e61a2263f5730ffb37dfddbf01c7d1\n"
80
80
  }