@thi.ng/bidir-index 1.5.3 → 1.5.5
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/README.md +10 -9
- package/bidir-index.d.ts +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/bidir-index)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -35,11 +36,11 @@ extracted from the [@thi.ng/associative](https://thi.ng/associative) package.
|
|
|
35
36
|
|
|
36
37
|
**STABLE** - used in production
|
|
37
38
|
|
|
38
|
-
[Search or submit any issues for this package](https://
|
|
39
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bbidir-index%5D)
|
|
39
40
|
|
|
40
41
|
## Related packages
|
|
41
42
|
|
|
42
|
-
- [@thi.ng/associative](https://
|
|
43
|
+
- [@thi.ng/associative](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/associative) - ES Map/Set-compatible implementations with customizable equality semantics & supporting operations
|
|
43
44
|
|
|
44
45
|
## Installation
|
|
45
46
|
|
|
@@ -71,8 +72,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.04 KB
|
|
|
71
72
|
|
|
72
73
|
## Dependencies
|
|
73
74
|
|
|
74
|
-
- [@thi.ng/api](https://
|
|
75
|
-
- [@thi.ng/checks](https://
|
|
75
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
76
|
+
- [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
|
|
76
77
|
|
|
77
78
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
78
79
|
|
package/bidir-index.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ export declare class BidirIndex<T> implements IClear, ICopy<BidirIndex<T>>, IEmp
|
|
|
150
150
|
* @param currKey
|
|
151
151
|
* @param newKey
|
|
152
152
|
*/
|
|
153
|
-
renameKey(currKey: T, newKey: T): "
|
|
153
|
+
renameKey(currKey: T, newKey: T): "ok" | "missing" | "conflict";
|
|
154
154
|
/**
|
|
155
155
|
* Returns a compact JSON serializable version of the index. Use
|
|
156
156
|
* {@link bidirIndexFromJSON} to instantiate an index from such a JSON
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/bidir-index",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "Bi-directional index mapping arbitrary keys to numeric IDs & vice versa",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/bidir-index"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/bidir-index",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/checks": "^3.8.
|
|
43
|
+
"@thi.ng/api": "^8.12.19",
|
|
44
|
+
"@thi.ng/checks": "^3.8.9"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"esbuild": "^0.
|
|
48
|
-
"typedoc": "^0.28.
|
|
47
|
+
"esbuild": "^0.28.0",
|
|
48
|
+
"typedoc": "^0.28.18",
|
|
49
49
|
"typescript": "^5.9.3"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
],
|
|
96
96
|
"year": 2022
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
|
|
99
99
|
}
|