distillate 0.7.0 → 0.8.0
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 +22 -19
- package/dist/blocked/index.cjs +11 -112
- package/dist/blocked/index.d.cts +2 -2
- package/dist/blocked/index.d.ts +2 -2
- package/dist/blocked/index.js +6 -113
- package/dist/bloom/index.cjs +8 -97
- package/dist/bloom/index.d.cts +2 -2
- package/dist/bloom/index.d.ts +2 -2
- package/dist/bloom/index.js +3 -98
- package/dist/fuse/index.cjs +10 -111
- package/dist/fuse/index.d.cts +2 -2
- package/dist/fuse/index.d.ts +2 -2
- package/dist/fuse/index.js +5 -112
- package/dist/index.cjs +1 -2
- package/dist/index.js +1 -2
- package/dist/{params-BrWuBC2A.js → params-CeajSrwv.js} +0 -7
- package/dist/{params--8CNXYWu.cjs → params-UTZbJ22c.cjs} +0 -7
- package/dist/{serialize-BnwtzcMw.js → serialize-BqIcsR2J.js} +3 -29
- package/dist/{serialize-BIIKUHH6.cjs → serialize-CXnRWItH.cjs} +26 -28
- package/dist/serialize-ChyWpB9F.d.cts +73 -0
- package/dist/serialize-ChyWpB9F.d.ts +73 -0
- package/package.json +2 -3
- package/dist/serialize-DRKh6QOr.d.cts +0 -15
- package/dist/serialize-DRKh6QOr.d.ts +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "distillate",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Probabilistic data structures for JavaScript. Space-efficient, approximate-membership filters (Bloom, Blocked Bloom, Binary Fuse) with tunable error and a portable binary format; zero dependencies, universal.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bloom-filter",
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
"tsdown": "^0.22.14",
|
|
75
75
|
"tsx": "^4.23.12",
|
|
76
76
|
"typedoc": "^0.28.20",
|
|
77
|
-
"typedoc-plugin-markdown": "^4.12.0",
|
|
78
77
|
"typescript": "^5.9.3",
|
|
79
78
|
"vitest": "^4.1.10"
|
|
80
79
|
},
|
|
@@ -90,7 +89,7 @@
|
|
|
90
89
|
"coverage": "vitest run --coverage",
|
|
91
90
|
"api:report": "node scripts/api-extractor.mjs --local",
|
|
92
91
|
"api:check": "node scripts/api-extractor.mjs",
|
|
93
|
-
"docs:
|
|
92
|
+
"docs:check": "typedoc --emit none",
|
|
94
93
|
"golden:gen": "tsx scripts/gen-golden.ts",
|
|
95
94
|
"size:check": "node scripts/size-check.mjs",
|
|
96
95
|
"bench": "tsx bench/core.bench.ts && tsx bench/bloom.bench.ts && tsx bench/blocked.bench.ts && tsx bench/fuse.bench.ts && tsx bench/accuracy.bench.ts",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
//#region src/core/bytes.d.ts
|
|
2
|
-
type BytesLike = string | Uint8Array | ArrayBuffer;
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/core/serialize.d.ts
|
|
5
|
-
/** JSON-friendly envelope for a filter: the binary frame, base64-encoded. */
|
|
6
|
-
interface FilterJSON {
|
|
7
|
-
/** Format tag; always `"distillate"`. */
|
|
8
|
-
$: string;
|
|
9
|
-
/** Binary format version. */
|
|
10
|
-
v: number;
|
|
11
|
-
/** Base64 of the `toBytes` frame. */
|
|
12
|
-
data: string;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { BytesLike as n, FilterJSON as t };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
//#region src/core/bytes.d.ts
|
|
2
|
-
type BytesLike = string | Uint8Array | ArrayBuffer;
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/core/serialize.d.ts
|
|
5
|
-
/** JSON-friendly envelope for a filter: the binary frame, base64-encoded. */
|
|
6
|
-
interface FilterJSON {
|
|
7
|
-
/** Format tag; always `"distillate"`. */
|
|
8
|
-
$: string;
|
|
9
|
-
/** Binary format version. */
|
|
10
|
-
v: number;
|
|
11
|
-
/** Base64 of the `toBytes` frame. */
|
|
12
|
-
data: string;
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { BytesLike as n, FilterJSON as t };
|