@keyv/serialize 1.1.1 → 6.0.0-alpha.1
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 +1 -1
- package/package.json +21 -15
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://github.com/jaredwray/keyv/blob/main/LICENSE)
|
|
9
9
|
[](https://npmjs.com/package/@keyv/serialize)
|
|
10
10
|
|
|
11
|
-
This is the serialization functionality for [Keyv](https://github.com/jaredwray/keyv/tree/main/
|
|
11
|
+
This is the serialization functionality for [Keyv](https://github.com/jaredwray/keyv/tree/main/core/keyv). It is used to serialize and deserialize data for storage and retrieval. You can also create your own [custom serialization functions](https://github.com/jaredwray/keyv/tree/main/core/keyv#custom-serializers).
|
|
12
12
|
|
|
13
13
|
## License
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keyv/serialize",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-alpha.1",
|
|
4
4
|
"description": "Serialization for Keyv",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.
|
|
7
|
-
"module": "dist/index.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"require":
|
|
12
|
-
|
|
11
|
+
"require": {
|
|
12
|
+
"types": "./dist/index.d.cts",
|
|
13
|
+
"default": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"import": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
13
19
|
}
|
|
14
20
|
},
|
|
15
21
|
"repository": {
|
|
@@ -30,14 +36,12 @@
|
|
|
30
36
|
},
|
|
31
37
|
"homepage": "https://github.com/jaredwray/keyv",
|
|
32
38
|
"devDependencies": {
|
|
33
|
-
"@biomejs/biome": "^2.
|
|
34
|
-
"@vitest/coverage-v8": "^
|
|
35
|
-
"rimraf": "^6.
|
|
39
|
+
"@biomejs/biome": "^2.3.13",
|
|
40
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
41
|
+
"rimraf": "^6.1.2",
|
|
36
42
|
"tsd": "^0.33.0",
|
|
37
|
-
"typescript": "^5.9.
|
|
38
|
-
"vitest": "^
|
|
39
|
-
"@keyv/test-suite": "^2.1.1",
|
|
40
|
-
"keyv": "^5.5.0"
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"vitest": "^4.0.18"
|
|
41
45
|
},
|
|
42
46
|
"tsd": {
|
|
43
47
|
"directory": "test"
|
|
@@ -48,8 +52,10 @@
|
|
|
48
52
|
],
|
|
49
53
|
"scripts": {
|
|
50
54
|
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
55
|
+
"lint": "biome check --write --error-on-warnings",
|
|
56
|
+
"lint:ci": "biome check --error-on-warnings",
|
|
57
|
+
"test": "pnpm lint && vitest run --coverage",
|
|
58
|
+
"test:ci": "pnpm lint:ci && vitest --run --sequence.setupFiles=list --coverage",
|
|
53
59
|
"clean": "rimraf ./node_modules ./coverage ./dist"
|
|
54
60
|
}
|
|
55
61
|
}
|