@prisma/fetch-engine 6.9.0-dev.48 → 6.9.0-dev.49

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_EJQUYX6K_exports = {};
30
- __export(chunk_EJQUYX6K_exports, {
29
+ var chunk_3XQ7NLQZ_exports = {};
30
+ __export(chunk_3XQ7NLQZ_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,7 +35,7 @@ __export(chunk_EJQUYX6K_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_EJQUYX6K_exports);
38
+ module.exports = __toCommonJS(chunk_3XQ7NLQZ_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,9 +2134,6 @@ 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
- }
2140
2137
  if (enginesOverride?.["branch"] || enginesOverride?.["folder"]) {
2141
2138
  options.version = "_local_";
2142
2139
  options.skipCacheIntegrityCheck = true;
@@ -2155,6 +2152,9 @@ async function download(options) {
2155
2152
  } else if ("libquery-engine" in options.binaries) {
2156
2153
  (0, import_get_platform.assertNodeAPISupported)();
2157
2154
  }
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_2RVFKVAO_exports = {};
30
- __export(chunk_2RVFKVAO_exports, {
29
+ var chunk_VMG6YS3U_exports = {};
30
+ __export(chunk_VMG6YS3U_exports, {
31
31
  download: () => download,
32
32
  getBinaryName: () => getBinaryName,
33
33
  getVersion: () => getVersion,
@@ -35,7 +35,7 @@ __export(chunk_2RVFKVAO_exports, {
35
35
  plusX: () => plusX,
36
36
  vercelPkgPathRegex: () => vercelPkgPathRegex
37
37
  });
38
- module.exports = __toCommonJS(chunk_2RVFKVAO_exports);
38
+ module.exports = __toCommonJS(chunk_VMG6YS3U_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.48",
1939
+ version: "6.9.0-dev.49",
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,9 +2134,6 @@ 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
- }
2140
2137
  if (enginesOverride?.["branch"] || enginesOverride?.["folder"]) {
2141
2138
  options.version = "_local_";
2142
2139
  options.skipCacheIntegrityCheck = true;
@@ -2155,6 +2152,9 @@ async function download(options) {
2155
2152
  } else if ("libquery-engine" in options.binaries) {
2156
2153
  (0, import_get_platform.assertNodeAPISupported)();
2157
2154
  }
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_2RVFKVAO.download,
22
- getBinaryName: () => import_chunk_2RVFKVAO.getBinaryName,
23
- getVersion: () => import_chunk_2RVFKVAO.getVersion,
24
- maybeCopyToTmp: () => import_chunk_2RVFKVAO.maybeCopyToTmp,
25
- plusX: () => import_chunk_2RVFKVAO.plusX,
26
- vercelPkgPathRegex: () => import_chunk_2RVFKVAO.vercelPkgPathRegex
21
+ download: () => import_chunk_VMG6YS3U.download,
22
+ getBinaryName: () => import_chunk_VMG6YS3U.getBinaryName,
23
+ getVersion: () => import_chunk_VMG6YS3U.getVersion,
24
+ maybeCopyToTmp: () => import_chunk_VMG6YS3U.maybeCopyToTmp,
25
+ plusX: () => import_chunk_VMG6YS3U.plusX,
26
+ vercelPkgPathRegex: () => import_chunk_VMG6YS3U.vercelPkgPathRegex
27
27
  });
28
28
  module.exports = __toCommonJS(download_exports);
29
- var import_chunk_2RVFKVAO = require("./chunk-2RVFKVAO.js");
29
+ var import_chunk_VMG6YS3U = require("./chunk-VMG6YS3U.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_2RVFKVAO.download,
24
+ download: () => import_chunk_VMG6YS3U.download,
25
25
  engineEnvVarMap: () => import_chunk_PXQVM7NP.engineEnvVarMap,
26
26
  getBinaryEnvVarPath: () => import_chunk_PXQVM7NP.getBinaryEnvVarPath,
27
- getBinaryName: () => import_chunk_2RVFKVAO.getBinaryName,
27
+ getBinaryName: () => import_chunk_VMG6YS3U.getBinaryName,
28
28
  getCacheDir: () => import_chunk_YJOPKU47.getCacheDir,
29
29
  getProxyAgent: () => import_chunk_LOOX3H4O.getProxyAgent,
30
- getVersion: () => import_chunk_2RVFKVAO.getVersion,
31
- maybeCopyToTmp: () => import_chunk_2RVFKVAO.maybeCopyToTmp,
30
+ getVersion: () => import_chunk_VMG6YS3U.getVersion,
31
+ maybeCopyToTmp: () => import_chunk_VMG6YS3U.maybeCopyToTmp,
32
32
  overwriteFile: () => import_chunk_YJOPKU47.overwriteFile,
33
- plusX: () => import_chunk_2RVFKVAO.plusX,
34
- vercelPkgPathRegex: () => import_chunk_2RVFKVAO.vercelPkgPathRegex
33
+ plusX: () => import_chunk_VMG6YS3U.plusX,
34
+ vercelPkgPathRegex: () => import_chunk_VMG6YS3U.vercelPkgPathRegex
35
35
  });
36
36
  module.exports = __toCommonJS(index_exports);
37
- var import_chunk_2RVFKVAO = require("./chunk-2RVFKVAO.js");
37
+ var import_chunk_VMG6YS3U = require("./chunk-VMG6YS3U.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.48",
3
+ "version": "6.9.0-dev.49",
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-9.7964919760fdc6e0123bfc099b6d157b42d2e686",
46
- "@prisma/debug": "6.9.0-dev.48",
47
- "@prisma/get-platform": "6.9.0-dev.48"
46
+ "@prisma/debug": "6.9.0-dev.49",
47
+ "@prisma/get-platform": "6.9.0-dev.49"
48
48
  },
49
49
  "files": [
50
50
  "README.md",