@prisma/fetch-engine 6.9.0-dev.51 → 6.9.0-dev.52

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.
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_KYG27BQ5_exports = {};
30
- __export(chunk_KYG27BQ5_exports, {
29
+ var chunk_HDMWQ7J7_exports = {};
30
+ __export(chunk_HDMWQ7J7_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,7 +35,7 @@ __export(chunk_KYG27BQ5_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_KYG27BQ5_exports);
38
+ module.exports = __toCommonJS(chunk_HDMWQ7J7_exports);
39
39
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
40
40
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
41
41
  var import_chunk_4GLRZ2GS = require("./chunk-4GLRZ2GS.js");
@@ -1936,7 +1936,7 @@ var require_package = (0, import_chunk_QGM4M3NI.__commonJS)({
1936
1936
  "package.json"(exports, module2) {
1937
1937
  module2.exports = {
1938
1938
  name: "@prisma/fetch-engine",
1939
- version: "6.9.0-dev.51",
1939
+ version: "6.9.0-dev.52",
1940
1940
  description: "This package is intended for Prisma's internal use",
1941
1941
  main: "dist/index.js",
1942
1942
  types: "dist/index.d.ts",
@@ -2134,6 +2134,9 @@ var exists = (0, import_util.promisify)(import_fs.default.exists);
2134
2134
  var channel = "master";
2135
2135
  var vercelPkgPathRegex = /^((\w:[\\\/])|\/)snapshot[\/\\]/;
2136
2136
  async function download(options) {
2137
+ if (!options.binaries || Object.values(options.binaries).length === 0) {
2138
+ return {};
2139
+ }
2137
2140
  if (enginesOverride?.["branch"] || enginesOverride?.["folder"]) {
2138
2141
  options.version = "_local_";
2139
2142
  options.skipCacheIntegrityCheck = true;
@@ -2152,9 +2155,6 @@ async function download(options) {
2152
2155
  } else if ("libquery-engine" in options.binaries) {
2153
2156
  (0, import_get_platform.assertNodeAPISupported)();
2154
2157
  }
2155
- if (!options.binaries || Object.values(options.binaries).length === 0) {
2156
- return {};
2157
- }
2158
2158
  const opts = {
2159
2159
  ...options,
2160
2160
  binaryTargets: options.binaryTargets ?? [binaryTarget],
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_7SJX62S2_exports = {};
30
- __export(chunk_7SJX62S2_exports, {
29
+ var chunk_QTIVOMZN_exports = {};
30
+ __export(chunk_QTIVOMZN_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,7 +35,7 @@ __export(chunk_7SJX62S2_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_7SJX62S2_exports);
38
+ module.exports = __toCommonJS(chunk_QTIVOMZN_exports);
39
39
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
40
40
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
41
41
  var import_chunk_4GLRZ2GS = require("./chunk-4GLRZ2GS.js");
@@ -2134,6 +2134,9 @@ var exists = (0, import_util.promisify)(import_fs.default.exists);
2134
2134
  var channel = "master";
2135
2135
  var vercelPkgPathRegex = /^((\w:[\\\/])|\/)snapshot[\/\\]/;
2136
2136
  async function download(options) {
2137
+ if (!options.binaries || Object.values(options.binaries).length === 0) {
2138
+ return {};
2139
+ }
2137
2140
  if (enginesOverride?.["branch"] || enginesOverride?.["folder"]) {
2138
2141
  options.version = "_local_";
2139
2142
  options.skipCacheIntegrityCheck = true;
@@ -2152,9 +2155,6 @@ async function download(options) {
2152
2155
  } else if ("libquery-engine" in options.binaries) {
2153
2156
  (0, import_get_platform.assertNodeAPISupported)();
2154
2157
  }
2155
- if (!options.binaries || Object.values(options.binaries).length === 0) {
2156
- return {};
2157
- }
2158
2158
  const opts = {
2159
2159
  ...options,
2160
2160
  binaryTargets: options.binaryTargets ?? [binaryTarget],
package/dist/download.js CHANGED
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var download_exports = {};
20
20
  __export(download_exports, {
21
- download: () => import_chunk_KYG27BQ5.download,
22
- getBinaryName: () => import_chunk_KYG27BQ5.getBinaryName,
23
- getVersion: () => import_chunk_KYG27BQ5.getVersion,
24
- maybeCopyToTmp: () => import_chunk_KYG27BQ5.maybeCopyToTmp,
25
- plusX: () => import_chunk_KYG27BQ5.plusX,
26
- vercelPkgPathRegex: () => import_chunk_KYG27BQ5.vercelPkgPathRegex
21
+ download: () => import_chunk_HDMWQ7J7.download,
22
+ getBinaryName: () => import_chunk_HDMWQ7J7.getBinaryName,
23
+ getVersion: () => import_chunk_HDMWQ7J7.getVersion,
24
+ maybeCopyToTmp: () => import_chunk_HDMWQ7J7.maybeCopyToTmp,
25
+ plusX: () => import_chunk_HDMWQ7J7.plusX,
26
+ vercelPkgPathRegex: () => import_chunk_HDMWQ7J7.vercelPkgPathRegex
27
27
  });
28
28
  module.exports = __toCommonJS(download_exports);
29
- var import_chunk_KYG27BQ5 = require("./chunk-KYG27BQ5.js");
29
+ var import_chunk_HDMWQ7J7 = require("./chunk-HDMWQ7J7.js");
30
30
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
31
31
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
32
32
  var import_chunk_4GLRZ2GS = require("./chunk-4GLRZ2GS.js");
package/dist/index.js CHANGED
@@ -21,20 +21,20 @@ __export(index_exports, {
21
21
  BinaryType: () => import_chunk_X37PZICB.BinaryType,
22
22
  allEngineEnvVarsSet: () => import_chunk_PXQVM7NP.allEngineEnvVarsSet,
23
23
  deprecatedEnvVarMap: () => import_chunk_PXQVM7NP.deprecatedEnvVarMap,
24
- download: () => import_chunk_KYG27BQ5.download,
24
+ download: () => import_chunk_HDMWQ7J7.download,
25
25
  engineEnvVarMap: () => import_chunk_PXQVM7NP.engineEnvVarMap,
26
26
  getBinaryEnvVarPath: () => import_chunk_PXQVM7NP.getBinaryEnvVarPath,
27
- getBinaryName: () => import_chunk_KYG27BQ5.getBinaryName,
27
+ getBinaryName: () => import_chunk_HDMWQ7J7.getBinaryName,
28
28
  getCacheDir: () => import_chunk_YJOPKU47.getCacheDir,
29
29
  getProxyAgent: () => import_chunk_LOOX3H4O.getProxyAgent,
30
- getVersion: () => import_chunk_KYG27BQ5.getVersion,
31
- maybeCopyToTmp: () => import_chunk_KYG27BQ5.maybeCopyToTmp,
30
+ getVersion: () => import_chunk_HDMWQ7J7.getVersion,
31
+ maybeCopyToTmp: () => import_chunk_HDMWQ7J7.maybeCopyToTmp,
32
32
  overwriteFile: () => import_chunk_YJOPKU47.overwriteFile,
33
- plusX: () => import_chunk_KYG27BQ5.plusX,
34
- vercelPkgPathRegex: () => import_chunk_KYG27BQ5.vercelPkgPathRegex
33
+ plusX: () => import_chunk_HDMWQ7J7.plusX,
34
+ vercelPkgPathRegex: () => import_chunk_HDMWQ7J7.vercelPkgPathRegex
35
35
  });
36
36
  module.exports = __toCommonJS(index_exports);
37
- var import_chunk_KYG27BQ5 = require("./chunk-KYG27BQ5.js");
37
+ var import_chunk_HDMWQ7J7 = require("./chunk-HDMWQ7J7.js");
38
38
  var import_chunk_MWVY55RY = require("./chunk-MWVY55RY.js");
39
39
  var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
40
40
  var import_chunk_4GLRZ2GS = require("./chunk-4GLRZ2GS.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/fetch-engine",
3
- "version": "6.9.0-dev.51",
3
+ "version": "6.9.0-dev.52",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,8 +43,8 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@prisma/engines-version": "6.9.0-10.81e4af48011447c3cc503a190e86995b66d2a28e",
46
- "@prisma/get-platform": "6.9.0-dev.51",
47
- "@prisma/debug": "6.9.0-dev.51"
46
+ "@prisma/debug": "6.9.0-dev.52",
47
+ "@prisma/get-platform": "6.9.0-dev.52"
48
48
  },
49
49
  "files": [
50
50
  "README.md",