@danielhritcu/zenstack-orm 3.5.13 → 3.5.14

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/LICENSE +21 -0
  2. package/package.json +146 -144
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 ZenStack
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,154 +1,156 @@
1
1
  {
2
- "name": "@danielhritcu/zenstack-orm",
3
- "displayName": "ZenStack ORM",
4
- "description": "ZenStack ORM",
5
- "version": "3.5.13",
6
- "type": "module",
7
- "author": {
8
- "name": "ZenStack Team",
9
- "email": "contact@zenstack.dev"
2
+ "name": "@danielhritcu/zenstack-orm",
3
+ "displayName": "ZenStack ORM",
4
+ "description": "ZenStack ORM",
5
+ "version": "3.5.14",
6
+ "type": "module",
7
+ "author": {
8
+ "name": "ZenStack Team",
9
+ "email": "contact@zenstack.dev"
10
+ },
11
+ "homepage": "https://zenstack.dev",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/zenstackhq/zenstack"
15
+ },
16
+ "license": "MIT",
17
+ "keywords": [],
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "exports": {
25
+ ".": {
26
+ "import": {
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.js"
29
+ },
30
+ "require": {
31
+ "types": "./dist/index.d.cts",
32
+ "default": "./dist/index.cjs"
33
+ }
10
34
  },
11
- "homepage": "https://zenstack.dev",
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/zenstackhq/zenstack"
35
+ "./schema": {
36
+ "import": {
37
+ "types": "./dist/schema.d.ts",
38
+ "default": "./dist/schema.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/schema.d.cts",
42
+ "default": "./dist/schema.cjs"
43
+ }
15
44
  },
16
- "license": "MIT",
17
- "scripts": {
18
- "build": "tsc --noEmit && tsup-node",
19
- "watch": "tsup-node --watch",
20
- "lint": "eslint src --ext ts",
21
- "pack": "pnpm pack"
45
+ "./dialects/sqlite": {
46
+ "import": {
47
+ "types": "./dist/dialects/sqlite.d.ts",
48
+ "default": "./dist/dialects/sqlite.js"
49
+ },
50
+ "require": {
51
+ "types": "./dist/dialects/sqlite.d.cts",
52
+ "default": "./dist/dialects/sqlite.cjs"
53
+ }
22
54
  },
23
- "keywords": [],
24
- "files": [
25
- "dist"
26
- ],
27
- "publishConfig": { "access": "public" },
28
- "exports": {
29
- ".": {
30
- "import": {
31
- "types": "./dist/index.d.ts",
32
- "default": "./dist/index.js"
33
- },
34
- "require": {
35
- "types": "./dist/index.d.cts",
36
- "default": "./dist/index.cjs"
37
- }
38
- },
39
- "./schema": {
40
- "import": {
41
- "types": "./dist/schema.d.ts",
42
- "default": "./dist/schema.js"
43
- },
44
- "require": {
45
- "types": "./dist/schema.d.cts",
46
- "default": "./dist/schema.cjs"
47
- }
48
- },
49
- "./dialects/sqlite": {
50
- "import": {
51
- "types": "./dist/dialects/sqlite.d.ts",
52
- "default": "./dist/dialects/sqlite.js"
53
- },
54
- "require": {
55
- "types": "./dist/dialects/sqlite.d.cts",
56
- "default": "./dist/dialects/sqlite.cjs"
57
- }
58
- },
59
- "./dialects/postgres": {
60
- "import": {
61
- "types": "./dist/dialects/postgres.d.ts",
62
- "default": "./dist/dialects/postgres.js"
63
- },
64
- "require": {
65
- "types": "./dist/dialects/postgres.d.cts",
66
- "default": "./dist/dialects/postgres.cjs"
67
- }
68
- },
69
- "./dialects/mysql": {
70
- "import": {
71
- "types": "./dist/dialects/mysql.d.ts",
72
- "default": "./dist/dialects/mysql.js"
73
- },
74
- "require": {
75
- "types": "./dist/dialects/mysql.d.cts",
76
- "default": "./dist/dialects/mysql.cjs"
77
- }
78
- },
79
- "./dialects/sql.js": {
80
- "import": {
81
- "types": "./dist/dialects/sql.js.d.ts",
82
- "default": "./dist/dialects/sql.js.js"
83
- },
84
- "require": {
85
- "types": "./dist/dialects/sql.js.d.cts",
86
- "default": "./dist/dialects/sql.js.cjs"
87
- }
88
- },
89
- "./helpers": {
90
- "import": {
91
- "types": "./dist/helpers.d.ts",
92
- "default": "./dist/helpers.js"
93
- },
94
- "require": {
95
- "types": "./dist/helpers.d.cts",
96
- "default": "./dist/helpers.cjs"
97
- }
98
- },
99
- "./package.json": {
100
- "import": "./package.json",
101
- "require": "./package.json"
102
- }
55
+ "./dialects/postgres": {
56
+ "import": {
57
+ "types": "./dist/dialects/postgres.d.ts",
58
+ "default": "./dist/dialects/postgres.js"
59
+ },
60
+ "require": {
61
+ "types": "./dist/dialects/postgres.d.cts",
62
+ "default": "./dist/dialects/postgres.cjs"
63
+ }
103
64
  },
104
- "dependencies": {
105
- "@paralleldrive/cuid2": "^2.2.2",
106
- "@zenstackhq/common-helpers": "workspace:*",
107
- "@zenstackhq/schema": "workspace:*",
108
- "@zenstackhq/zod": "workspace:*",
109
- "cuid": "^3.0.0",
110
- "decimal.js": "catalog:",
111
- "json-stable-stringify": "^1.3.0",
112
- "kysely": "catalog:",
113
- "nanoid": "^5.0.9",
114
- "postgres-array": "^3.0.4",
115
- "toposort": "^2.0.2",
116
- "ts-pattern": "catalog:",
117
- "ulid": "^3.0.0",
118
- "uuid": "^11.0.5",
119
- "zod-validation-error": "catalog:"
65
+ "./dialects/mysql": {
66
+ "import": {
67
+ "types": "./dist/dialects/mysql.d.ts",
68
+ "default": "./dist/dialects/mysql.js"
69
+ },
70
+ "require": {
71
+ "types": "./dist/dialects/mysql.d.cts",
72
+ "default": "./dist/dialects/mysql.cjs"
73
+ }
120
74
  },
121
- "peerDependencies": {
122
- "better-sqlite3": "catalog:",
123
- "pg": "catalog:",
124
- "mysql2": "catalog:",
125
- "sql.js": "catalog:",
126
- "zod": "catalog:"
75
+ "./dialects/sql.js": {
76
+ "import": {
77
+ "types": "./dist/dialects/sql.js.d.ts",
78
+ "default": "./dist/dialects/sql.js.js"
79
+ },
80
+ "require": {
81
+ "types": "./dist/dialects/sql.js.d.cts",
82
+ "default": "./dist/dialects/sql.js.cjs"
83
+ }
127
84
  },
128
- "peerDependenciesMeta": {
129
- "better-sqlite3": {
130
- "optional": true
131
- },
132
- "pg": {
133
- "optional": true
134
- },
135
- "mysql2": {
136
- "optional": true
137
- },
138
- "sql.js": {
139
- "optional": true
140
- }
85
+ "./helpers": {
86
+ "import": {
87
+ "types": "./dist/helpers.d.ts",
88
+ "default": "./dist/helpers.js"
89
+ },
90
+ "require": {
91
+ "types": "./dist/helpers.d.cts",
92
+ "default": "./dist/helpers.cjs"
93
+ }
141
94
  },
142
- "devDependencies": {
143
- "@types/better-sqlite3": "catalog:",
144
- "@types/pg": "^8.0.0",
145
- "@types/sql.js": "^1.4.9",
146
- "@types/toposort": "^2.0.7",
147
- "@zenstackhq/eslint-config": "workspace:*",
148
- "@zenstackhq/typescript-config": "workspace:*",
149
- "@zenstackhq/vitest-config": "workspace:*",
150
- "tsx": "^4.19.2",
151
- "zod": "^4.1.0"
95
+ "./package.json": {
96
+ "import": "./package.json",
97
+ "require": "./package.json"
98
+ }
99
+ },
100
+ "dependencies": {
101
+ "@paralleldrive/cuid2": "^2.2.2",
102
+ "cuid": "^3.0.0",
103
+ "decimal.js": "^10.4.3",
104
+ "json-stable-stringify": "^1.3.0",
105
+ "kysely": "~0.28.8",
106
+ "nanoid": "^5.0.9",
107
+ "postgres-array": "^3.0.4",
108
+ "toposort": "^2.0.2",
109
+ "ts-pattern": "^5.7.1",
110
+ "ulid": "^3.0.0",
111
+ "uuid": "^11.0.5",
112
+ "zod-validation-error": "^4.0.1",
113
+ "@zenstackhq/common-helpers": "^3.5.4",
114
+ "@zenstackhq/schema": "^3.5.4",
115
+ "@zenstackhq/zod": "^3.5.4"
116
+ },
117
+ "peerDependencies": {
118
+ "better-sqlite3": "^12.5.0",
119
+ "pg": "^8.13.1",
120
+ "mysql2": "^3.16.1",
121
+ "sql.js": "^1.13.0",
122
+ "zod": "^4.0.0"
123
+ },
124
+ "peerDependenciesMeta": {
125
+ "better-sqlite3": {
126
+ "optional": true
152
127
  },
153
- "funding": "https://github.com/sponsors/zenstackhq"
128
+ "pg": {
129
+ "optional": true
130
+ },
131
+ "mysql2": {
132
+ "optional": true
133
+ },
134
+ "sql.js": {
135
+ "optional": true
136
+ }
137
+ },
138
+ "devDependencies": {
139
+ "@types/better-sqlite3": "^7.6.13",
140
+ "@types/pg": "^8.0.0",
141
+ "@types/sql.js": "^1.4.9",
142
+ "@types/toposort": "^2.0.7",
143
+ "tsx": "^4.19.2",
144
+ "zod": "^4.1.0",
145
+ "@zenstackhq/typescript-config": "3.5.4",
146
+ "@zenstackhq/eslint-config": "3.5.4",
147
+ "@zenstackhq/vitest-config": "3.5.4"
148
+ },
149
+ "funding": "https://github.com/sponsors/zenstackhq",
150
+ "scripts": {
151
+ "build": "tsc --noEmit && tsup-node",
152
+ "watch": "tsup-node --watch",
153
+ "lint": "eslint src --ext ts",
154
+ "pack": "pnpm pack"
155
+ }
154
156
  }