@keyv/compress-brotli 2.0.2 → 2.0.3
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/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +70 -74
package/dist/index.d.cts
CHANGED
|
@@ -6,14 +6,14 @@ type Serialize = {
|
|
|
6
6
|
value?: InputType;
|
|
7
7
|
expires?: number;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type Options = {
|
|
10
10
|
compressOptions?: BrotliOptions;
|
|
11
11
|
decompressOptions?: BrotliOptions;
|
|
12
12
|
enable?: boolean;
|
|
13
13
|
serialize?: any;
|
|
14
14
|
deserialize?: any;
|
|
15
15
|
iltorb?: any;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
|
|
18
18
|
declare class KeyvBrotli {
|
|
19
19
|
private readonly brotli;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,14 +6,14 @@ type Serialize = {
|
|
|
6
6
|
value?: InputType;
|
|
7
7
|
expires?: number;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type Options = {
|
|
10
10
|
compressOptions?: BrotliOptions;
|
|
11
11
|
decompressOptions?: BrotliOptions;
|
|
12
12
|
enable?: boolean;
|
|
13
13
|
serialize?: any;
|
|
14
14
|
deserialize?: any;
|
|
15
15
|
iltorb?: any;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
|
|
18
18
|
declare class KeyvBrotli {
|
|
19
19
|
private readonly brotli;
|
package/package.json
CHANGED
|
@@ -1,75 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"dist",
|
|
73
|
-
"LICENSE"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
2
|
+
"name": "@keyv/compress-brotli",
|
|
3
|
+
"version": "2.0.3",
|
|
4
|
+
"description": "brotli compression for keyv",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"require": "./dist/index.cjs",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"xo": {
|
|
16
|
+
"rules": {
|
|
17
|
+
"@typescript-eslint/no-unsafe-assignment": 0
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/jaredwray/keyv.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"compress",
|
|
26
|
+
"brotli",
|
|
27
|
+
"keyv",
|
|
28
|
+
"storage",
|
|
29
|
+
"adapter",
|
|
30
|
+
"key",
|
|
31
|
+
"value",
|
|
32
|
+
"store",
|
|
33
|
+
"cache",
|
|
34
|
+
"ttl"
|
|
35
|
+
],
|
|
36
|
+
"author": "Jared Wray <me@jaredwray.com> (https://jaredwray.com)",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/jaredwray/keyv/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/jaredwray/keyv",
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"compress-brotli": "^1.3.12",
|
|
44
|
+
"keyv": "^5.2.3",
|
|
45
|
+
"@keyv/serialize": "^1.0.2"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
49
|
+
"c8": "^10.1.3",
|
|
50
|
+
"rimraf": "^6.0.1",
|
|
51
|
+
"vitest": "^2.1.8",
|
|
52
|
+
"xo": "^0.60.0",
|
|
53
|
+
"@keyv/test-suite": "^2.0.3"
|
|
54
|
+
},
|
|
55
|
+
"tsd": {
|
|
56
|
+
"directory": "test"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">= 18"
|
|
60
|
+
},
|
|
61
|
+
"files": [
|
|
62
|
+
"dist",
|
|
63
|
+
"LICENSE"
|
|
64
|
+
],
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
|
|
67
|
+
"test": "xo --fix && vitest run --coverage",
|
|
68
|
+
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
|
|
69
|
+
"clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist"
|
|
70
|
+
}
|
|
71
|
+
}
|