@keyv/serialize 1.1.1 → 6.0.0-alpha.2

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/README.md +1 -1
  2. package/package.json +21 -15
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![GitHub license](https://img.shields.io/github/license/jaredwray/keyv)](https://github.com/jaredwray/keyv/blob/main/LICENSE)
9
9
  [![npm](https://img.shields.io/npm/dm/@keyv/serialize)](https://npmjs.com/package/@keyv/serialize)
10
10
 
11
- This is the serialization functionality for [Keyv](https://github.com/jaredwray/keyv/tree/main/packages/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/packages/keyv#custom-serializers).
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": "1.1.1",
3
+ "version": "6.0.0-alpha.2",
4
4
  "description": "Serialization for Keyv",
5
5
  "type": "module",
6
- "main": "dist/index.cjs",
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": "./dist/index.cjs",
12
- "import": "./dist/index.js"
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.2.3",
34
- "@vitest/coverage-v8": "^3.2.4",
35
- "rimraf": "^6.0.1",
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.2",
38
- "vitest": "^3.2.4",
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
- "test": "biome check --write && vitest run --coverage",
52
- "test:ci": "biome check && vitest --run --sequence.setupFiles=list --coverage",
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
  }