@cdlab996/genid 1.4.0 → 1.4.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.
Files changed (1) hide show
  1. package/package.json +70 -70
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
- {
2
- "name": "@cdlab996/genid",
3
- "type": "module",
4
- "version": "1.4.0",
5
- "description": "High-performance distributed unique ID generator based on the Snowflake algorithm",
6
- "author": "wudi <wuchendi96@gmail.com>",
7
- "license": "MIT",
8
- "homepage": "https://github.com/WuChenDi",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/WuChenDi/genid.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/WuChenDi/genid/issues"
15
- },
16
- "keywords": [
17
- "snowflake",
18
- "id-generator",
19
- "distributed-id",
20
- "unique-id",
21
- "genid",
22
- "uuid",
23
- "uid",
24
- "typescript"
25
- ],
26
- "exports": {
27
- ".": {
28
- "require": {
29
- "types": "./dist/index.d.cts",
30
- "default": "./dist/index.cjs"
31
- },
32
- "import": {
33
- "types": "./dist/index.d.mts",
34
- "default": "./dist/index.mjs"
35
- }
36
- }
37
- },
38
- "main": "./dist/index.cjs",
39
- "module": "./dist/index.mjs",
40
- "types": "./dist/index.d.mts",
41
- "files": [
42
- "dist",
43
- "README.md",
44
- "LICENSE"
45
- ],
46
- "engines": {
47
- "node": ">=20"
48
- },
49
- "devDependencies": {
50
- "@biomejs/biome": "^2.4.10",
51
- "@types/node": "^25",
52
- "tsdown": "^0.21.7",
53
- "typescript": "^6",
54
- "vitest": "^4.1.2"
55
- },
56
- "publishConfig": {
57
- "access": "public",
58
- "registry": "https://registry.npmjs.org/"
59
- },
60
- "scripts": {
61
- "build": "tsdown",
62
- "dev": "tsdown --watch",
63
- "test": "vitest --run",
64
- "lint": "biome check",
65
- "format": "biome format --write",
66
- "benchmark": "npx tsx scripts/benchmark.ts",
67
- "clean": "bash ./scripts/clean.sh",
68
- "typecheck": "tsc --project tsconfig.json"
69
- }
70
- }
1
+ {
2
+ "name": "@cdlab996/genid",
3
+ "type": "module",
4
+ "version": "1.4.1",
5
+ "description": "High-performance distributed unique ID generator based on the Snowflake algorithm",
6
+ "author": "wudi <wuchendi96@gmail.com>",
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/WuChenDi",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/WuChenDi/genid.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/WuChenDi/genid/issues"
15
+ },
16
+ "keywords": [
17
+ "snowflake",
18
+ "id-generator",
19
+ "distributed-id",
20
+ "unique-id",
21
+ "genid",
22
+ "uuid",
23
+ "uid",
24
+ "typescript"
25
+ ],
26
+ "exports": {
27
+ ".": {
28
+ "require": {
29
+ "types": "./dist/index.d.cts",
30
+ "default": "./dist/index.cjs"
31
+ },
32
+ "import": {
33
+ "types": "./dist/index.d.mts",
34
+ "default": "./dist/index.mjs"
35
+ }
36
+ }
37
+ },
38
+ "main": "./dist/index.cjs",
39
+ "module": "./dist/index.mjs",
40
+ "types": "./dist/index.d.mts",
41
+ "files": [
42
+ "dist",
43
+ "README.md",
44
+ "LICENSE"
45
+ ],
46
+ "engines": {
47
+ "node": ">=20"
48
+ },
49
+ "scripts": {
50
+ "build": "tsdown",
51
+ "dev": "tsdown --watch",
52
+ "test": "vitest --run",
53
+ "lint": "biome check",
54
+ "format": "biome format --write",
55
+ "benchmark": "npx tsx scripts/benchmark.ts",
56
+ "clean": "bash ./scripts/clean.sh",
57
+ "typecheck": "tsc --project tsconfig.json"
58
+ },
59
+ "devDependencies": {
60
+ "@biomejs/biome": "^2.4.10",
61
+ "@types/node": "^25",
62
+ "tsdown": "^0.21.7",
63
+ "typescript": "^6",
64
+ "vitest": "^4.1.2"
65
+ },
66
+ "publishConfig": {
67
+ "access": "public",
68
+ "registry": "https://registry.npmjs.org/"
69
+ }
70
+ }