@prisma/get-platform 6.6.0-dev.14 → 6.6.0-dev.15

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.
@@ -16,37 +16,37 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_B23KD6U3_exports = {};
20
- __export(chunk_B23KD6U3_exports, {
19
+ var chunk_IPLRRT6O_exports = {};
20
+ __export(chunk_IPLRRT6O_exports, {
21
21
  binaryTargetRegex: () => binaryTargetRegex,
22
22
  binaryTargetRegex_exports: () => binaryTargetRegex_exports,
23
23
  init_binaryTargetRegex: () => init_binaryTargetRegex
24
24
  });
25
- module.exports = __toCommonJS(chunk_B23KD6U3_exports);
25
+ module.exports = __toCommonJS(chunk_IPLRRT6O_exports);
26
26
  var import_chunk_7MLUNQIZ = require("./chunk-7MLUNQIZ.js");
27
27
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
28
- var require_escape_string_regexp = (0, import_chunk_2ESYSVXG.__commonJS)({
29
- "../../node_modules/.pnpm/escape-string-regexp@4.0.0/node_modules/escape-string-regexp/index.js"(exports, module2) {
28
+ function escapeStringRegexp(string) {
29
+ if (typeof string !== "string") {
30
+ throw new TypeError("Expected a string");
31
+ }
32
+ return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
33
+ }
34
+ var init_escape_string_regexp = (0, import_chunk_2ESYSVXG.__esm)({
35
+ "../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js"() {
30
36
  "use strict";
31
- module2.exports = (string) => {
32
- if (typeof string !== "string") {
33
- throw new TypeError("Expected a string");
34
- }
35
- return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
36
- };
37
37
  }
38
38
  });
39
39
  var binaryTargetRegex_exports = {};
40
40
  (0, import_chunk_2ESYSVXG.__export)(binaryTargetRegex_exports, {
41
41
  binaryTargetRegex: () => binaryTargetRegex
42
42
  });
43
- var import_escape_string_regexp, binaryTargetRegex;
43
+ var binaryTargetRegex;
44
44
  var init_binaryTargetRegex = (0, import_chunk_2ESYSVXG.__esm)({
45
45
  "src/test-utils/binaryTargetRegex.ts"() {
46
- import_escape_string_regexp = (0, import_chunk_2ESYSVXG.__toESM)(require_escape_string_regexp());
46
+ init_escape_string_regexp();
47
47
  (0, import_chunk_7MLUNQIZ.init_binaryTargets)();
48
48
  binaryTargetRegex = new RegExp(
49
- "(" + [...import_chunk_7MLUNQIZ.binaryTargets].sort((a, b) => b.length - a.length).map((p) => (0, import_escape_string_regexp.default)(p)).join("|") + ")",
49
+ "(" + [...import_chunk_7MLUNQIZ.binaryTargets].sort((a, b) => b.length - a.length).map((p) => escapeStringRegexp(p)).join("|") + ")",
50
50
  "g"
51
51
  );
52
52
  }
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var binaryTargetRegex_exports = {};
20
20
  __export(binaryTargetRegex_exports, {
21
- binaryTargetRegex: () => import_chunk_B23KD6U3.binaryTargetRegex
21
+ binaryTargetRegex: () => import_chunk_IPLRRT6O.binaryTargetRegex
22
22
  });
23
23
  module.exports = __toCommonJS(binaryTargetRegex_exports);
24
- var import_chunk_B23KD6U3 = require("../chunk-B23KD6U3.js");
24
+ var import_chunk_IPLRRT6O = require("../chunk-IPLRRT6O.js");
25
25
  var import_chunk_7MLUNQIZ = require("../chunk-7MLUNQIZ.js");
26
26
  var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
27
- (0, import_chunk_B23KD6U3.init_binaryTargetRegex)();
27
+ (0, import_chunk_IPLRRT6O.init_binaryTargetRegex)();
@@ -21,7 +21,7 @@ __export(jestSnapshotSerializer_exports, {
21
21
  default: () => jestSnapshotSerializer_default
22
22
  });
23
23
  module.exports = __toCommonJS(jestSnapshotSerializer_exports);
24
- var import_chunk_B23KD6U3 = require("../chunk-B23KD6U3.js");
24
+ var import_chunk_IPLRRT6O = require("../chunk-IPLRRT6O.js");
25
25
  var import_chunk_7MLUNQIZ = require("../chunk-7MLUNQIZ.js");
26
26
  var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
27
27
  var require_ansi_regex = (0, import_chunk_2ESYSVXG.__commonJS)({
@@ -47,7 +47,7 @@ var require_jestSnapshotSerializer = (0, import_chunk_2ESYSVXG.__commonJS)({
47
47
  "src/test-utils/jestSnapshotSerializer.js"(exports, module2) {
48
48
  var path = (0, import_chunk_2ESYSVXG.__require)("path");
49
49
  var stripAnsi = require_strip_ansi();
50
- var { binaryTargetRegex } = ((0, import_chunk_B23KD6U3.init_binaryTargetRegex)(), (0, import_chunk_2ESYSVXG.__toCommonJS)(import_chunk_B23KD6U3.binaryTargetRegex_exports));
50
+ var { binaryTargetRegex } = ((0, import_chunk_IPLRRT6O.init_binaryTargetRegex)(), (0, import_chunk_2ESYSVXG.__toCommonJS)(import_chunk_IPLRRT6O.binaryTargetRegex_exports));
51
51
  var pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x);
52
52
  function normalizePrismaPaths(str) {
53
53
  return str.replace(/prisma\\([\w-]+)\.prisma/g, "prisma/$1.prisma").replace(/prisma\\seed\.ts/g, "prisma/seed.ts").replace(/custom-folder\\seed\.js/g, "custom-folder/seed.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/get-platform",
3
- "version": "6.6.0-dev.14",
3
+ "version": "6.6.0-dev.15",
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",
@@ -23,7 +23,7 @@
23
23
  "jest": "29.7.0",
24
24
  "jest-junit": "16.0.0",
25
25
  "typescript": "5.4.5",
26
- "escape-string-regexp": "4.0.0",
26
+ "escape-string-regexp": "5.0.0",
27
27
  "execa": "5.1.1",
28
28
  "fs-jetpack": "5.1.0",
29
29
  "kleur": "4.1.5",
@@ -33,7 +33,7 @@
33
33
  "ts-pattern": "5.6.2"
34
34
  },
35
35
  "dependencies": {
36
- "@prisma/debug": "6.6.0-dev.14"
36
+ "@prisma/debug": "6.6.0-dev.15"
37
37
  },
38
38
  "files": [
39
39
  "README.md",