@prisma/client 5.21.0-integration-itx-refactor.1 → 5.21.0-integration-25129.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.
- package/generator-build/index.js +13 -6
- package/package.json +17 -17
- package/runtime/binary.js +64 -64
- package/runtime/edge-esm.js +15 -15
- package/runtime/edge.js +15 -15
- package/runtime/library.d.ts +25 -6
- package/runtime/library.js +42 -42
- package/runtime/react-native.d.ts +25 -6
- package/runtime/react-native.js +24 -24
- package/runtime/wasm.js +15 -15
- package/scripts/default-index.js +1 -1
package/generator-build/index.js
CHANGED
|
@@ -2914,9 +2914,9 @@ var require_env_paths = __commonJS({
|
|
|
2914
2914
|
"../../node_modules/.pnpm/env-paths@2.2.1/node_modules/env-paths/index.js"(exports2, module2) {
|
|
2915
2915
|
"use strict";
|
|
2916
2916
|
var path5 = require("path");
|
|
2917
|
-
var
|
|
2918
|
-
var homedir =
|
|
2919
|
-
var tmpdir =
|
|
2917
|
+
var os2 = require("os");
|
|
2918
|
+
var homedir = os2.homedir();
|
|
2919
|
+
var tmpdir = os2.tmpdir();
|
|
2920
2920
|
var { env: env2 } = process;
|
|
2921
2921
|
var macos = (name) => {
|
|
2922
2922
|
const library = path5.join(homedir, "Library");
|
|
@@ -3166,7 +3166,7 @@ var require_package2 = __commonJS({
|
|
|
3166
3166
|
"package.json"(exports2, module2) {
|
|
3167
3167
|
module2.exports = {
|
|
3168
3168
|
name: "@prisma/client",
|
|
3169
|
-
version: "5.21.0-integration-
|
|
3169
|
+
version: "5.21.0-integration-25129.1",
|
|
3170
3170
|
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.",
|
|
3171
3171
|
keywords: [
|
|
3172
3172
|
"ORM",
|
|
@@ -4465,10 +4465,17 @@ var { env, cwd } = import_node_process.default;
|
|
|
4465
4465
|
|
|
4466
4466
|
// ../fetch-engine/src/utils.ts
|
|
4467
4467
|
var import_fs = __toESM(require("fs"));
|
|
4468
|
+
var import_os = __toESM(require("os"));
|
|
4468
4469
|
var debug = src_default("prisma:fetch-engine:cache-dir");
|
|
4469
4470
|
async function overwriteFile(sourcePath, targetPath) {
|
|
4470
|
-
|
|
4471
|
-
|
|
4471
|
+
if (import_os.default.platform() === "darwin") {
|
|
4472
|
+
await removeFileIfExists(targetPath);
|
|
4473
|
+
await import_fs.default.promises.copyFile(sourcePath, targetPath);
|
|
4474
|
+
} else {
|
|
4475
|
+
let tempPath = `${targetPath}.tmp${process.pid}`;
|
|
4476
|
+
await import_fs.default.promises.copyFile(sourcePath, tempPath);
|
|
4477
|
+
await import_fs.default.promises.rename(tempPath, targetPath);
|
|
4478
|
+
}
|
|
4472
4479
|
}
|
|
4473
4480
|
async function removeFileIfExists(filePath) {
|
|
4474
4481
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "5.21.0-integration-
|
|
3
|
+
"version": "5.21.0-integration-25129.1",
|
|
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",
|
|
@@ -237,22 +237,22 @@
|
|
|
237
237
|
"undici": "5.28.4",
|
|
238
238
|
"wrangler": "3.62.0",
|
|
239
239
|
"zx": "7.2.3",
|
|
240
|
-
"@prisma/adapter-
|
|
241
|
-
"@prisma/adapter-
|
|
242
|
-
"@prisma/adapter-neon": "5.21.0-integration-
|
|
243
|
-
"@prisma/adapter-pg-worker": "5.21.0-integration-
|
|
244
|
-
"@prisma/adapter-
|
|
245
|
-
"@prisma/adapter-planetscale": "5.21.0-integration-
|
|
246
|
-
"@prisma/debug": "5.21.0-integration-
|
|
247
|
-
"@prisma/
|
|
248
|
-
"@prisma/
|
|
249
|
-
"@prisma/
|
|
250
|
-
"@prisma/
|
|
251
|
-
"@prisma/
|
|
252
|
-
"@prisma/
|
|
253
|
-
"@prisma/
|
|
254
|
-
"@prisma/migrate": "5.21.0-integration-
|
|
255
|
-
"@prisma/pg-worker": "5.21.0-integration-
|
|
240
|
+
"@prisma/adapter-d1": "5.21.0-integration-25129.1",
|
|
241
|
+
"@prisma/adapter-libsql": "5.21.0-integration-25129.1",
|
|
242
|
+
"@prisma/adapter-neon": "5.21.0-integration-25129.1",
|
|
243
|
+
"@prisma/adapter-pg-worker": "5.21.0-integration-25129.1",
|
|
244
|
+
"@prisma/adapter-pg": "5.21.0-integration-25129.1",
|
|
245
|
+
"@prisma/adapter-planetscale": "5.21.0-integration-25129.1",
|
|
246
|
+
"@prisma/debug": "5.21.0-integration-25129.1",
|
|
247
|
+
"@prisma/driver-adapter-utils": "5.21.0-integration-25129.1",
|
|
248
|
+
"@prisma/engines": "5.21.0-integration-25129.1",
|
|
249
|
+
"@prisma/generator-helper": "5.21.0-integration-25129.1",
|
|
250
|
+
"@prisma/fetch-engine": "5.21.0-integration-25129.1",
|
|
251
|
+
"@prisma/get-platform": "5.21.0-integration-25129.1",
|
|
252
|
+
"@prisma/instrumentation": "5.21.0-integration-25129.1",
|
|
253
|
+
"@prisma/internals": "5.21.0-integration-25129.1",
|
|
254
|
+
"@prisma/migrate": "5.21.0-integration-25129.1",
|
|
255
|
+
"@prisma/pg-worker": "5.21.0-integration-25129.1"
|
|
256
256
|
},
|
|
257
257
|
"peerDependencies": {
|
|
258
258
|
"prisma": "*"
|