prisma 6.7.0-dev.33 → 6.7.0-dev.35
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/build/index.js +588 -582
- package/package.json +14 -14
- package/prisma-client/generator-build/index.js +33 -3
- package/prisma-client/package.json +1 -1
- package/prisma-client/runtime/binary.js +2 -2
- package/prisma-client/runtime/binary.mjs +2 -2
- package/prisma-client/runtime/client.js +2 -2
- package/prisma-client/runtime/client.mjs +2 -2
- package/prisma-client/runtime/edge-esm.js +2 -2
- package/prisma-client/runtime/edge.js +2 -2
- package/prisma-client/runtime/library.js +2 -2
- package/prisma-client/runtime/library.mjs +2 -2
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/scripts/default-index.js +1 -1
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "6.7.0-dev.
|
2
|
+
"version": "6.7.0-dev.35",
|
3
3
|
"name": "prisma",
|
4
4
|
"description": "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.",
|
5
5
|
"keywords": [
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"node": ">=18.18"
|
42
42
|
},
|
43
43
|
"prisma": {
|
44
|
-
"prismaCommit": "
|
44
|
+
"prismaCommit": "2036e6dfae8f227d80755280ee64d845553ff4a3"
|
45
45
|
},
|
46
46
|
"files": [
|
47
47
|
"README.md",
|
@@ -152,20 +152,20 @@
|
|
152
152
|
"xdg-app-paths": "8.3.0",
|
153
153
|
"zod": "3.24.2",
|
154
154
|
"zx": "8.4.1",
|
155
|
-
"@prisma/
|
156
|
-
"@prisma/
|
157
|
-
"@prisma/
|
158
|
-
"@prisma/
|
159
|
-
"@prisma/dmmf": "6.7.0-dev.
|
160
|
-
"@prisma/fetch-engine": "6.7.0-dev.
|
161
|
-
"@prisma/
|
162
|
-
"@prisma/
|
163
|
-
"@prisma/
|
164
|
-
"@prisma/internals": "6.7.0-dev.
|
155
|
+
"@prisma/adapter-libsql": "6.7.0-dev.35",
|
156
|
+
"@prisma/client": "6.7.0-dev.35",
|
157
|
+
"@prisma/client-generator-registry": "6.7.0-dev.35",
|
158
|
+
"@prisma/debug": "6.7.0-dev.35",
|
159
|
+
"@prisma/dmmf": "6.7.0-dev.35",
|
160
|
+
"@prisma/fetch-engine": "6.7.0-dev.35",
|
161
|
+
"@prisma/generator": "6.7.0-dev.35",
|
162
|
+
"@prisma/get-platform": "6.7.0-dev.35",
|
163
|
+
"@prisma/migrate": "6.7.0-dev.35",
|
164
|
+
"@prisma/internals": "6.7.0-dev.35"
|
165
165
|
},
|
166
166
|
"dependencies": {
|
167
|
-
"@prisma/config": "6.7.0-dev.
|
168
|
-
"@prisma/engines": "6.7.0-dev.
|
167
|
+
"@prisma/config": "6.7.0-dev.35",
|
168
|
+
"@prisma/engines": "6.7.0-dev.35"
|
169
169
|
},
|
170
170
|
"optionalDependencies": {
|
171
171
|
"fsevents": "2.3.3"
|
@@ -7542,7 +7542,7 @@ var import_pkg_up = __toESM(require_pkg_up());
|
|
7542
7542
|
// package.json
|
7543
7543
|
var package_default = {
|
7544
7544
|
name: "@prisma/client",
|
7545
|
-
version: "6.7.0-dev.
|
7545
|
+
version: "6.7.0-dev.35",
|
7546
7546
|
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.",
|
7547
7547
|
keywords: [
|
7548
7548
|
"ORM",
|
@@ -12930,6 +12930,24 @@ function buildTypedSql({
|
|
12930
12930
|
return fileMap;
|
12931
12931
|
}
|
12932
12932
|
|
12933
|
+
// ../client-generator-js/src/utils/addPreamble.ts
|
12934
|
+
var generatedCodePreamble = `
|
12935
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
12936
|
+
/* eslint-disable */
|
12937
|
+
`;
|
12938
|
+
function addPreambleToJSFiles(fileMap) {
|
12939
|
+
for (const [key, value] of Object.entries(fileMap)) {
|
12940
|
+
if (typeof value === "string" && (key.endsWith(".js") || key.endsWith(".mjs"))) {
|
12941
|
+
fileMap[key] = addPreamble(value);
|
12942
|
+
} else if (typeof value === "object" && value !== null) {
|
12943
|
+
addPreambleToJSFiles(value);
|
12944
|
+
}
|
12945
|
+
}
|
12946
|
+
}
|
12947
|
+
function addPreamble(fileContent) {
|
12948
|
+
return generatedCodePreamble + fileContent;
|
12949
|
+
}
|
12950
|
+
|
12933
12951
|
// ../client-generator-js/src/generateClient.ts
|
12934
12952
|
var debug2 = Debug("prisma:client:generateClient");
|
12935
12953
|
var DenylistError = class extends Error {
|
@@ -13153,6 +13171,7 @@ export * from './edge.js'`;
|
|
13153
13171
|
});
|
13154
13172
|
}
|
13155
13173
|
fileMap["package.json"] = JSON.stringify(pkgJson, null, 2);
|
13174
|
+
addPreambleToJSFiles(fileMap);
|
13156
13175
|
return {
|
13157
13176
|
fileMap,
|
13158
13177
|
// a map of file names to their contents
|
@@ -13494,7 +13513,18 @@ async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
|
|
13494
13513
|
if (sourceMaps) {
|
13495
13514
|
files.push(...files.filter((file2) => file2.endsWith(".js")).map((file2) => `${file2}.map`));
|
13496
13515
|
}
|
13497
|
-
await Promise.all(
|
13516
|
+
await Promise.all(
|
13517
|
+
files.map(async (file2) => {
|
13518
|
+
const sourcePath = import_path6.default.join(from, file2);
|
13519
|
+
const targetPath = import_path6.default.join(to, file2);
|
13520
|
+
if (file2.endsWith(".js")) {
|
13521
|
+
const content = await import_promises.default.readFile(sourcePath, "utf-8");
|
13522
|
+
await import_promises.default.writeFile(targetPath, addPreamble(content));
|
13523
|
+
} else {
|
13524
|
+
await import_promises.default.copyFile(sourcePath, targetPath);
|
13525
|
+
}
|
13526
|
+
})
|
13527
|
+
);
|
13498
13528
|
}
|
13499
13529
|
async function deleteOutputDir(outputDir) {
|
13500
13530
|
try {
|
@@ -13520,7 +13550,7 @@ var import_node_path3 = __toESM(require("node:path"));
|
|
13520
13550
|
var import_engines_version = __toESM(require_engines_version());
|
13521
13551
|
|
13522
13552
|
// ../client-generator-js/package.json
|
13523
|
-
var version = "6.7.0-dev.
|
13553
|
+
var version = "6.7.0-dev.35";
|
13524
13554
|
|
13525
13555
|
// ../client-generator-js/src/resolvePrismaClient.ts
|
13526
13556
|
var import_promises4 = __toESM(require("node:fs/promises"));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prisma/client",
|
3
|
-
"version": "6.7.0-dev.
|
3
|
+
"version": "6.7.0-dev.35",
|
4
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
5
|
"keywords": [
|
6
6
|
"ORM",
|