@thi.ng/bidir-index 1.3.7 → 1.3.12

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/package.json +92 -92
  2. package/CHANGELOG.md +0 -38
package/package.json CHANGED
@@ -1,93 +1,93 @@
1
1
  {
2
- "name": "@thi.ng/bidir-index",
3
- "version": "1.3.7",
4
- "description": "Bi-directional index mapping arbitrary keys to numeric IDs & vice versa",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/bidir-index",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "devDependencies": {
42
- "esbuild": "^0.25.9",
43
- "typedoc": "^0.28.12",
44
- "typescript": "^5.9.2"
45
- },
46
- "keywords": [
47
- "bidirectional",
48
- "datastructure",
49
- "decode",
50
- "encode",
51
- "identifier",
52
- "invert",
53
- "iterator",
54
- "keys",
55
- "map",
56
- "typescript"
57
- ],
58
- "publishConfig": {
59
- "access": "public"
60
- },
61
- "browser": {
62
- "process": false,
63
- "setTimeout": false
64
- },
65
- "engines": {
66
- "node": ">=18"
67
- },
68
- "files": [
69
- "./*.js",
70
- "./*.d.ts"
71
- ],
72
- "exports": {
73
- ".": {
74
- "default": "./index.js"
75
- },
76
- "./api": {
77
- "default": "./api.js"
78
- },
79
- "./bidir-index": {
80
- "default": "./bidir-index.js"
81
- },
82
- "./encode": {
83
- "default": "./encode.js"
84
- }
85
- },
86
- "thi.ng": {
87
- "related": [
88
- "associative"
89
- ],
90
- "year": 2022
91
- },
92
- "gitHead": "e215a3e8de3809736ba0042c93bd8703a5a1a337\n"
93
- }
2
+ "name": "@thi.ng/bidir-index",
3
+ "version": "1.3.12",
4
+ "description": "Bi-directional index mapping arbitrary keys to numeric IDs & vice versa",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/bidir-index",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "devDependencies": {
42
+ "esbuild": "^0.25.11",
43
+ "typedoc": "^0.28.14",
44
+ "typescript": "^5.9.3"
45
+ },
46
+ "keywords": [
47
+ "bidirectional",
48
+ "datastructure",
49
+ "decode",
50
+ "encode",
51
+ "identifier",
52
+ "invert",
53
+ "iterator",
54
+ "keys",
55
+ "map",
56
+ "typescript"
57
+ ],
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "browser": {
62
+ "process": false,
63
+ "setTimeout": false
64
+ },
65
+ "engines": {
66
+ "node": ">=18"
67
+ },
68
+ "files": [
69
+ "./*.js",
70
+ "./*.d.ts"
71
+ ],
72
+ "exports": {
73
+ ".": {
74
+ "default": "./index.js"
75
+ },
76
+ "./api": {
77
+ "default": "./api.js"
78
+ },
79
+ "./bidir-index": {
80
+ "default": "./bidir-index.js"
81
+ },
82
+ "./encode": {
83
+ "default": "./encode.js"
84
+ }
85
+ },
86
+ "thi.ng": {
87
+ "related": [
88
+ "associative"
89
+ ],
90
+ "year": 2022
91
+ },
92
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
93
+ }
package/CHANGELOG.md DELETED
@@ -1,38 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/bidir-index@1.3.0) (2025-06-09)
15
-
16
- #### 🚀 Features
17
-
18
- - add `.addAllUnique()` & `.getAllUnique()` ([175e3dc](https://github.com/thi-ng/umbrella/commit/175e3dc))
19
-
20
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/bidir-index@1.2.0) (2025-04-30)
21
-
22
- #### 🚀 Features
23
-
24
- - restructure pkg, add `encodeObject()` / `decodeObject()` ([e812cac](https://github.com/thi-ng/umbrella/commit/e812cac))
25
- - split up source files
26
- - add new encoding/decoding fns
27
- - add tests
28
- - add iterator versions of object encoders/decoders ([f647d5c](https://github.com/thi-ng/umbrella/commit/f647d5c))
29
- - add `encodeObjectIterator()`
30
- - add `decodeObjectIterator()`
31
- - add tests
32
-
33
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/bidir-index@1.1.0) (2024-07-22)
34
-
35
- #### 🚀 Features
36
-
37
- - import as new package ([#486](https://github.com/thi-ng/umbrella/issues/486)) ([a047796](https://github.com/thi-ng/umbrella/commit/a047796))
38
- - extract `BidirIndex` from [@thi.ng/associative](https://github.com/thi-ng/umbrella/tree/main/packages/associative)