@prisma/get-platform 5.23.0-dev.3 → 5.23.0-dev.31

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,13 +26,13 @@ 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_M5NKJZ76_exports = {};
30
- __export(chunk_M5NKJZ76_exports, {
29
+ var chunk_2GHEBYIY_exports = {};
30
+ __export(chunk_2GHEBYIY_exports, {
31
31
  jestConsoleContext: () => jestConsoleContext,
32
32
  jestContext: () => jestContext,
33
33
  jestProcessContext: () => jestProcessContext
34
34
  });
35
- module.exports = __toCommonJS(chunk_M5NKJZ76_exports);
35
+ module.exports = __toCommonJS(chunk_2GHEBYIY_exports);
36
36
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
37
37
  var import_path = __toESM(require("path"));
38
38
  var require_windows = (0, import_chunk_2ESYSVXG.__commonJS)({
@@ -3485,6 +3485,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
3485
3485
  continue;
3486
3486
  }
3487
3487
  switch (c) {
3488
+ /* istanbul ignore next */
3488
3489
  case "/": {
3489
3490
  return false;
3490
3491
  }
@@ -3492,6 +3493,8 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
3492
3493
  clearStateChar();
3493
3494
  escaping = true;
3494
3495
  continue;
3496
+ // the various stateChar values
3497
+ // for the "extglob" stuff.
3495
3498
  case "?":
3496
3499
  case "*":
3497
3500
  case "+":
@@ -3551,6 +3554,7 @@ var require_minimatch = (0, import_chunk_2ESYSVXG.__commonJS)({
3551
3554
  clearStateChar();
3552
3555
  re += "|";
3553
3556
  continue;
3557
+ // these are mostly the same in regexp and glob
3554
3558
  case "[":
3555
3559
  clearStateChar();
3556
3560
  if (inClass) {
@@ -12581,6 +12585,7 @@ var require_minimatch2 = (0, import_chunk_2ESYSVXG.__commonJS)({
12581
12585
  continue;
12582
12586
  }
12583
12587
  switch (c) {
12588
+ /* istanbul ignore next */
12584
12589
  case "/": {
12585
12590
  return false;
12586
12591
  }
@@ -12588,6 +12593,8 @@ var require_minimatch2 = (0, import_chunk_2ESYSVXG.__commonJS)({
12588
12593
  clearStateChar();
12589
12594
  escaping = true;
12590
12595
  continue;
12596
+ // the various stateChar values
12597
+ // for the "extglob" stuff.
12591
12598
  case "?":
12592
12599
  case "*":
12593
12600
  case "+":
@@ -12648,6 +12655,7 @@ var require_minimatch2 = (0, import_chunk_2ESYSVXG.__commonJS)({
12648
12655
  clearStateChar();
12649
12656
  re += "|";
12650
12657
  continue;
12658
+ // these are mostly the same in regexp and glob
12651
12659
  case "[":
12652
12660
  clearStateChar();
12653
12661
  if (inClass) {
@@ -13233,6 +13241,7 @@ var require_sync7 = (0, import_chunk_2ESYSVXG.__commonJS)({
13233
13241
  }
13234
13242
  var prefix;
13235
13243
  switch (n) {
13244
+ // if not, then this is rather simple
13236
13245
  case pattern.length:
13237
13246
  this._processSimple(pattern.join("/"), index);
13238
13247
  return;
@@ -13394,6 +13403,7 @@ var require_sync7 = (0, import_chunk_2ESYSVXG.__commonJS)({
13394
13403
  GlobSync.prototype._readdirError = function(f, er) {
13395
13404
  switch (er.code) {
13396
13405
  case "ENOTSUP":
13406
+ // https://github.com/isaacs/node-glob/issues/205
13397
13407
  case "ENOTDIR":
13398
13408
  var abs = this._makeAbs(f);
13399
13409
  this.cache[abs] = "FILE";
@@ -13405,6 +13415,7 @@ var require_sync7 = (0, import_chunk_2ESYSVXG.__commonJS)({
13405
13415
  }
13406
13416
  break;
13407
13417
  case "ENOENT":
13418
+ // not terribly unusual
13408
13419
  case "ELOOP":
13409
13420
  case "ENAMETOOLONG":
13410
13421
  case "UNKNOWN":
@@ -13848,6 +13859,7 @@ var require_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
13848
13859
  }
13849
13860
  var prefix;
13850
13861
  switch (n) {
13862
+ // if not, then this is rather simple
13851
13863
  case pattern.length:
13852
13864
  this._processSimple(pattern.join("/"), index, cb);
13853
13865
  return;
@@ -14037,6 +14049,7 @@ var require_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
14037
14049
  return;
14038
14050
  switch (er.code) {
14039
14051
  case "ENOTSUP":
14052
+ // https://github.com/isaacs/node-glob/issues/205
14040
14053
  case "ENOTDIR":
14041
14054
  var abs = this._makeAbs(f);
14042
14055
  this.cache[abs] = "FILE";
@@ -14049,6 +14062,7 @@ var require_glob = (0, import_chunk_2ESYSVXG.__commonJS)({
14049
14062
  }
14050
14063
  break;
14051
14064
  case "ENOENT":
14065
+ // not terribly unusual
14052
14066
  case "ELOOP":
14053
14067
  case "ENAMETOOLONG":
14054
14068
  case "UNKNOWN":
package/dist/index.js CHANGED
@@ -24,14 +24,14 @@ __export(dist_exports, {
24
24
  getNodeAPIName: () => import_chunk_2U36ISZO.getNodeAPIName,
25
25
  getPlatformInfo: () => import_chunk_YDM7ULQH.getPlatformInfo,
26
26
  getos: () => import_chunk_YDM7ULQH.getos,
27
- jestConsoleContext: () => import_chunk_M5NKJZ76.jestConsoleContext,
28
- jestContext: () => import_chunk_M5NKJZ76.jestContext,
29
- jestProcessContext: () => import_chunk_M5NKJZ76.jestProcessContext,
27
+ jestConsoleContext: () => import_chunk_2GHEBYIY.jestConsoleContext,
28
+ jestContext: () => import_chunk_2GHEBYIY.jestContext,
29
+ jestProcessContext: () => import_chunk_2GHEBYIY.jestProcessContext,
30
30
  link: () => import_chunk_D7S5FGQN.link
31
31
  });
32
32
  module.exports = __toCommonJS(dist_exports);
33
33
  var import_chunk_6HZWON4S = require("./chunk-6HZWON4S.js");
34
- var import_chunk_M5NKJZ76 = require("./chunk-M5NKJZ76.js");
34
+ var import_chunk_2GHEBYIY = require("./chunk-2GHEBYIY.js");
35
35
  var import_chunk_O5EOXX3N = require("./chunk-O5EOXX3N.js");
36
36
  var import_chunk_2U36ISZO = require("./chunk-2U36ISZO.js");
37
37
  var import_chunk_YDM7ULQH = require("./chunk-YDM7ULQH.js");
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var test_utils_exports = {};
20
20
  __export(test_utils_exports, {
21
- jestConsoleContext: () => import_chunk_M5NKJZ76.jestConsoleContext,
22
- jestContext: () => import_chunk_M5NKJZ76.jestContext,
23
- jestProcessContext: () => import_chunk_M5NKJZ76.jestProcessContext
21
+ jestConsoleContext: () => import_chunk_2GHEBYIY.jestConsoleContext,
22
+ jestContext: () => import_chunk_2GHEBYIY.jestContext,
23
+ jestProcessContext: () => import_chunk_2GHEBYIY.jestProcessContext
24
24
  });
25
25
  module.exports = __toCommonJS(test_utils_exports);
26
26
  var import_chunk_6HZWON4S = require("../chunk-6HZWON4S.js");
27
- var import_chunk_M5NKJZ76 = require("../chunk-M5NKJZ76.js");
27
+ var import_chunk_2GHEBYIY = require("../chunk-2GHEBYIY.js");
28
28
  var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var jestContext_exports = {};
20
20
  __export(jestContext_exports, {
21
- jestConsoleContext: () => import_chunk_M5NKJZ76.jestConsoleContext,
22
- jestContext: () => import_chunk_M5NKJZ76.jestContext,
23
- jestProcessContext: () => import_chunk_M5NKJZ76.jestProcessContext
21
+ jestConsoleContext: () => import_chunk_2GHEBYIY.jestConsoleContext,
22
+ jestContext: () => import_chunk_2GHEBYIY.jestContext,
23
+ jestProcessContext: () => import_chunk_2GHEBYIY.jestProcessContext
24
24
  });
25
25
  module.exports = __toCommonJS(jestContext_exports);
26
- var import_chunk_M5NKJZ76 = require("../chunk-M5NKJZ76.js");
26
+ var import_chunk_2GHEBYIY = require("../chunk-2GHEBYIY.js");
27
27
  var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/get-platform",
3
- "version": "5.23.0-dev.3",
3
+ "version": "5.23.0-dev.31",
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",
@@ -16,8 +16,8 @@
16
16
  "devDependencies": {
17
17
  "@codspeed/benchmark.js-plugin": "3.1.1",
18
18
  "@swc/core": "1.6.13",
19
- "@swc/jest": "0.2.36",
20
- "@types/jest": "29.5.12",
19
+ "@swc/jest": "0.2.37",
20
+ "@types/jest": "29.5.14",
21
21
  "@types/node": "18.19.31",
22
22
  "benchmark": "2.1.4",
23
23
  "jest": "29.7.0",
@@ -34,7 +34,7 @@
34
34
  "ts-pattern": "5.2.0"
35
35
  },
36
36
  "dependencies": {
37
- "@prisma/debug": "5.23.0-dev.3"
37
+ "@prisma/debug": "5.23.0-dev.31"
38
38
  },
39
39
  "files": [
40
40
  "README.md",