@a_team/prisma 2.0.9 → 2.0.10
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/client/LICENSE +201 -0
- package/dist/client/README.md +27 -0
- package/dist/client/default.d.ts +1 -0
- package/dist/client/default.js +3 -0
- package/dist/client/edge.d.ts +1 -0
- package/dist/client/edge.js +4 -0
- package/dist/client/extension.d.ts +1 -0
- package/dist/client/extension.js +4 -0
- package/dist/client/generator-build/index.js +9552 -0
- package/dist/client/index-browser.js +3 -0
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +4 -0
- package/dist/client/package.json +264 -0
- package/dist/client/react-native.d.ts +1 -0
- package/dist/client/react-native.js +3 -0
- package/dist/client/runtime/binary.d.ts +1 -0
- package/dist/client/runtime/binary.js +210 -0
- package/dist/client/runtime/edge-esm.js +31 -0
- package/dist/client/runtime/edge.js +31 -0
- package/dist/client/runtime/index-browser.d.ts +365 -0
- package/dist/client/runtime/index-browser.js +13 -0
- package/dist/client/runtime/library.d.ts +3273 -0
- package/dist/client/runtime/library.js +143 -0
- package/dist/client/runtime/query_engine_bg.mysql.js +2 -0
- package/dist/client/runtime/query_engine_bg.mysql.wasm +0 -0
- package/dist/client/runtime/query_engine_bg.postgresql.js +2 -0
- package/dist/client/runtime/query_engine_bg.postgresql.wasm +0 -0
- package/dist/client/runtime/query_engine_bg.sqlite.js +2 -0
- package/dist/client/runtime/query_engine_bg.sqlite.wasm +0 -0
- package/dist/client/runtime/react-native.d.ts +3273 -0
- package/dist/client/runtime/react-native.js +80 -0
- package/dist/client/runtime/wasm.js +32 -0
- package/dist/client/scripts/colors.js +176 -0
- package/dist/client/scripts/default-deno-edge.ts +9 -0
- package/dist/client/scripts/default-index.d.ts +110 -0
- package/dist/client/scripts/default-index.js +65 -0
- package/dist/client/scripts/postinstall.d.ts +5 -0
- package/dist/client/scripts/postinstall.js +410 -0
- package/dist/client/wasm.d.ts +1 -0
- package/dist/client/wasm.js +4 -0
- package/package.json +2 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '.prisma/client/default'
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@prisma/client",
|
|
3
|
+
"version": "5.17.0",
|
|
4
|
+
"description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ORM",
|
|
7
|
+
"Prisma",
|
|
8
|
+
"prisma2",
|
|
9
|
+
"Prisma Client",
|
|
10
|
+
"client",
|
|
11
|
+
"query",
|
|
12
|
+
"query-builder",
|
|
13
|
+
"database",
|
|
14
|
+
"db",
|
|
15
|
+
"JavaScript",
|
|
16
|
+
"JS",
|
|
17
|
+
"TypeScript",
|
|
18
|
+
"TS",
|
|
19
|
+
"SQL",
|
|
20
|
+
"SQLite",
|
|
21
|
+
"pg",
|
|
22
|
+
"Postgres",
|
|
23
|
+
"PostgreSQL",
|
|
24
|
+
"CockroachDB",
|
|
25
|
+
"MySQL",
|
|
26
|
+
"MariaDB",
|
|
27
|
+
"MSSQL",
|
|
28
|
+
"SQL Server",
|
|
29
|
+
"SQLServer",
|
|
30
|
+
"MongoDB",
|
|
31
|
+
"react-native"
|
|
32
|
+
],
|
|
33
|
+
"main": "default.js",
|
|
34
|
+
"types": "default.d.ts",
|
|
35
|
+
"browser": "index-browser.js",
|
|
36
|
+
"exports": {
|
|
37
|
+
"./package.json": "./package.json",
|
|
38
|
+
".": {
|
|
39
|
+
"require": {
|
|
40
|
+
"types": "./default.d.ts",
|
|
41
|
+
"node": "./default.js",
|
|
42
|
+
"edge-light": "./default.js",
|
|
43
|
+
"workerd": "./default.js",
|
|
44
|
+
"worker": "./default.js",
|
|
45
|
+
"browser": "./index-browser.js"
|
|
46
|
+
},
|
|
47
|
+
"import": {
|
|
48
|
+
"types": "./default.d.ts",
|
|
49
|
+
"node": "./default.js",
|
|
50
|
+
"edge-light": "./default.js",
|
|
51
|
+
"workerd": "./default.js",
|
|
52
|
+
"worker": "./default.js",
|
|
53
|
+
"browser": "./index-browser.js"
|
|
54
|
+
},
|
|
55
|
+
"default": "./default.js"
|
|
56
|
+
},
|
|
57
|
+
"./edge": {
|
|
58
|
+
"types": "./edge.d.ts",
|
|
59
|
+
"require": "./edge.js",
|
|
60
|
+
"import": "./edge.js",
|
|
61
|
+
"default": "./edge.js"
|
|
62
|
+
},
|
|
63
|
+
"./react-native": {
|
|
64
|
+
"types": "./react-native.d.ts",
|
|
65
|
+
"require": "./react-native.js",
|
|
66
|
+
"import": "./react-native.js",
|
|
67
|
+
"default": "./react-native.js"
|
|
68
|
+
},
|
|
69
|
+
"./extension": {
|
|
70
|
+
"types": "./extension.d.ts",
|
|
71
|
+
"require": "./extension.js",
|
|
72
|
+
"import": "./extension.js",
|
|
73
|
+
"default": "./extension.js"
|
|
74
|
+
},
|
|
75
|
+
"./index-browser": {
|
|
76
|
+
"types": "./index.d.ts",
|
|
77
|
+
"require": "./index-browser.js",
|
|
78
|
+
"import": "./index-browser.js",
|
|
79
|
+
"default": "./index-browser.js"
|
|
80
|
+
},
|
|
81
|
+
"./index": {
|
|
82
|
+
"types": "./index.d.ts",
|
|
83
|
+
"require": "./index.js",
|
|
84
|
+
"import": "./index.js",
|
|
85
|
+
"default": "./index.js"
|
|
86
|
+
},
|
|
87
|
+
"./wasm": {
|
|
88
|
+
"types": "./wasm.d.ts",
|
|
89
|
+
"require": "./wasm.js",
|
|
90
|
+
"import": "./wasm.js",
|
|
91
|
+
"default": "./wasm.js"
|
|
92
|
+
},
|
|
93
|
+
"./runtime/library": {
|
|
94
|
+
"types": "./runtime/library.d.ts",
|
|
95
|
+
"require": "./runtime/library.js",
|
|
96
|
+
"import": "./runtime/library.js",
|
|
97
|
+
"default": "./runtime/library.js"
|
|
98
|
+
},
|
|
99
|
+
"./runtime/binary": {
|
|
100
|
+
"types": "./runtime/binary.d.ts",
|
|
101
|
+
"require": "./runtime/binary.js",
|
|
102
|
+
"import": "./runtime/binary.js",
|
|
103
|
+
"default": "./runtime/binary.js"
|
|
104
|
+
},
|
|
105
|
+
"./generator-build": {
|
|
106
|
+
"require": "./generator-build/index.js",
|
|
107
|
+
"import": "./generator-build/index.js",
|
|
108
|
+
"default": "./generator-build/index.js"
|
|
109
|
+
},
|
|
110
|
+
"./*": "./*"
|
|
111
|
+
},
|
|
112
|
+
"license": "Apache-2.0",
|
|
113
|
+
"engines": {
|
|
114
|
+
"node": ">=16.13"
|
|
115
|
+
},
|
|
116
|
+
"homepage": "https://www.prisma.io",
|
|
117
|
+
"repository": {
|
|
118
|
+
"type": "git",
|
|
119
|
+
"url": "https://github.com/prisma/prisma.git",
|
|
120
|
+
"directory": "packages/client"
|
|
121
|
+
},
|
|
122
|
+
"author": "Tim Suchanek <suchanek@prisma.io>",
|
|
123
|
+
"bugs": "https://github.com/prisma/prisma/issues",
|
|
124
|
+
"files": [
|
|
125
|
+
"README.md",
|
|
126
|
+
"runtime",
|
|
127
|
+
"!runtime/*.map",
|
|
128
|
+
"scripts",
|
|
129
|
+
"generator-build",
|
|
130
|
+
"edge.js",
|
|
131
|
+
"edge.d.ts",
|
|
132
|
+
"wasm.js",
|
|
133
|
+
"wasm.d.ts",
|
|
134
|
+
"index.js",
|
|
135
|
+
"index.d.ts",
|
|
136
|
+
"react-native.js",
|
|
137
|
+
"react-native.d.ts",
|
|
138
|
+
"default.js",
|
|
139
|
+
"default.d.ts",
|
|
140
|
+
"index-browser.js",
|
|
141
|
+
"extension.js",
|
|
142
|
+
"extension.d.ts"
|
|
143
|
+
],
|
|
144
|
+
"devDependencies": {
|
|
145
|
+
"@cloudflare/workers-types": "4.20240614.0",
|
|
146
|
+
"@codspeed/benchmark.js-plugin": "3.1.0",
|
|
147
|
+
"@faker-js/faker": "8.4.1",
|
|
148
|
+
"@fast-check/jest": "1.8.2",
|
|
149
|
+
"@inquirer/prompts": "5.0.5",
|
|
150
|
+
"@jest/create-cache-key-function": "29.7.0",
|
|
151
|
+
"@jest/globals": "29.7.0",
|
|
152
|
+
"@jest/test-sequencer": "29.7.0",
|
|
153
|
+
"@libsql/client": "0.6.2",
|
|
154
|
+
"@neondatabase/serverless": "0.9.3",
|
|
155
|
+
"@opentelemetry/api": "1.9.0",
|
|
156
|
+
"@opentelemetry/context-async-hooks": "1.25.1",
|
|
157
|
+
"@opentelemetry/instrumentation": "0.52.1",
|
|
158
|
+
"@opentelemetry/resources": "1.25.1",
|
|
159
|
+
"@opentelemetry/sdk-trace-base": "1.25.1",
|
|
160
|
+
"@opentelemetry/semantic-conventions": "1.25.1",
|
|
161
|
+
"@planetscale/database": "1.18.0",
|
|
162
|
+
"@prisma/engines-version": "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053",
|
|
163
|
+
"@prisma/mini-proxy": "0.9.5",
|
|
164
|
+
"@prisma/query-engine-wasm": "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053",
|
|
165
|
+
"@snaplet/copycat": "0.17.3",
|
|
166
|
+
"@swc-node/register": "1.10.3",
|
|
167
|
+
"@swc/core": "1.6.13",
|
|
168
|
+
"@swc/jest": "0.2.36",
|
|
169
|
+
"@timsuchanek/copy": "1.4.5",
|
|
170
|
+
"@types/debug": "4.1.12",
|
|
171
|
+
"@types/fs-extra": "9.0.13",
|
|
172
|
+
"@types/jest": "29.5.12",
|
|
173
|
+
"@types/js-levenshtein": "1.1.3",
|
|
174
|
+
"@types/mssql": "9.1.5",
|
|
175
|
+
"@types/node": "18.19.31",
|
|
176
|
+
"@types/pg": "8.11.6",
|
|
177
|
+
"arg": "5.0.2",
|
|
178
|
+
"benchmark": "2.1.4",
|
|
179
|
+
"ci-info": "4.0.0",
|
|
180
|
+
"decimal.js": "10.4.3",
|
|
181
|
+
"detect-runtime": "1.0.4",
|
|
182
|
+
"env-paths": "2.2.1",
|
|
183
|
+
"esbuild": "0.23.0",
|
|
184
|
+
"execa": "5.1.1",
|
|
185
|
+
"expect-type": "0.19.0",
|
|
186
|
+
"flat-map-polyfill": "0.3.8",
|
|
187
|
+
"fs-extra": "11.1.1",
|
|
188
|
+
"get-stream": "6.0.1",
|
|
189
|
+
"globby": "11.1.0",
|
|
190
|
+
"indent-string": "4.0.0",
|
|
191
|
+
"jest": "29.7.0",
|
|
192
|
+
"jest-extended": "4.0.2",
|
|
193
|
+
"jest-junit": "16.0.0",
|
|
194
|
+
"jest-serializer-ansi-escapes": "3.0.0",
|
|
195
|
+
"jest-snapshot": "29.7.0",
|
|
196
|
+
"js-levenshtein": "1.1.6",
|
|
197
|
+
"kleur": "4.1.5",
|
|
198
|
+
"klona": "2.0.6",
|
|
199
|
+
"mariadb": "3.3.1",
|
|
200
|
+
"memfs": "4.9.3",
|
|
201
|
+
"mssql": "11.0.1",
|
|
202
|
+
"new-github-issue-url": "0.2.1",
|
|
203
|
+
"node-fetch": "3.3.2",
|
|
204
|
+
"p-retry": "4.6.2",
|
|
205
|
+
"pg": "8.11.5",
|
|
206
|
+
"pkg-up": "3.1.0",
|
|
207
|
+
"pluralize": "8.0.0",
|
|
208
|
+
"resolve": "1.22.8",
|
|
209
|
+
"rimraf": "3.0.2",
|
|
210
|
+
"simple-statistics": "7.8.3",
|
|
211
|
+
"sort-keys": "4.2.0",
|
|
212
|
+
"source-map-support": "0.5.21",
|
|
213
|
+
"sql-template-tag": "5.2.1",
|
|
214
|
+
"stacktrace-parser": "0.1.10",
|
|
215
|
+
"strip-ansi": "6.0.1",
|
|
216
|
+
"strip-indent": "3.0.0",
|
|
217
|
+
"ts-node": "10.9.2",
|
|
218
|
+
"ts-pattern": "5.2.0",
|
|
219
|
+
"tsd": "0.31.1",
|
|
220
|
+
"typescript": "5.4.5",
|
|
221
|
+
"undici": "5.28.4",
|
|
222
|
+
"wrangler": "3.62.0",
|
|
223
|
+
"zx": "7.2.3",
|
|
224
|
+
"@prisma/adapter-d1": "5.17.0",
|
|
225
|
+
"@prisma/adapter-neon": "5.17.0",
|
|
226
|
+
"@prisma/adapter-libsql": "5.17.0",
|
|
227
|
+
"@prisma/adapter-pg": "5.17.0",
|
|
228
|
+
"@prisma/adapter-pg-worker": "5.17.0",
|
|
229
|
+
"@prisma/adapter-planetscale": "5.17.0",
|
|
230
|
+
"@prisma/debug": "5.17.0",
|
|
231
|
+
"@prisma/driver-adapter-utils": "5.17.0",
|
|
232
|
+
"@prisma/engines": "5.17.0",
|
|
233
|
+
"@prisma/fetch-engine": "5.17.0",
|
|
234
|
+
"@prisma/generator-helper": "5.17.0",
|
|
235
|
+
"@prisma/instrumentation": "5.17.0",
|
|
236
|
+
"@prisma/get-platform": "5.17.0",
|
|
237
|
+
"@prisma/internals": "5.17.0",
|
|
238
|
+
"@prisma/migrate": "5.17.0",
|
|
239
|
+
"@prisma/pg-worker": "5.17.0"
|
|
240
|
+
},
|
|
241
|
+
"peerDependencies": {
|
|
242
|
+
"prisma": "*"
|
|
243
|
+
},
|
|
244
|
+
"peerDependenciesMeta": {
|
|
245
|
+
"prisma": {
|
|
246
|
+
"optional": true
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"sideEffects": false,
|
|
250
|
+
"scripts": {
|
|
251
|
+
"dev": "DEV=true tsx helpers/build.ts",
|
|
252
|
+
"build": "tsx helpers/build.ts",
|
|
253
|
+
"test": "dotenv -e ../../.db.env -- jest --silent",
|
|
254
|
+
"test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
|
|
255
|
+
"test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
|
|
256
|
+
"test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
|
|
257
|
+
"test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
|
|
258
|
+
"test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
|
|
259
|
+
"test-notypes": "dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts",
|
|
260
|
+
"generate": "node scripts/postinstall.js",
|
|
261
|
+
"postinstall": "node scripts/postinstall.js",
|
|
262
|
+
"new-test": "tsx ./helpers/new-test/new-test.ts"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '.prisma/client/react-native'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./library"
|