@prisma/get-platform 6.16.0-dev.2 → 6.16.0-dev.20
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.
|
@@ -24,29 +24,10 @@ module.exports = __toCommonJS(jestSnapshotSerializer_exports);
|
|
|
24
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
|
-
var require_ansi_regex = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
28
|
-
"../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports, module2) {
|
|
29
|
-
"use strict";
|
|
30
|
-
module2.exports = ({ onlyFirst = false } = {}) => {
|
|
31
|
-
const pattern = [
|
|
32
|
-
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
33
|
-
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
|
|
34
|
-
].join("|");
|
|
35
|
-
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
var require_strip_ansi = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
40
|
-
"../../node_modules/.pnpm/strip-ansi@6.0.1/node_modules/strip-ansi/index.js"(exports, module2) {
|
|
41
|
-
"use strict";
|
|
42
|
-
var ansiRegex = require_ansi_regex();
|
|
43
|
-
module2.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string;
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
27
|
var require_jestSnapshotSerializer = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
47
28
|
"src/test-utils/jestSnapshotSerializer.js"(exports, module2) {
|
|
48
|
-
var path = (0, import_chunk_2ESYSVXG.__require)("path");
|
|
49
|
-
var
|
|
29
|
+
var path = (0, import_chunk_2ESYSVXG.__require)("node:path");
|
|
30
|
+
var { stripVTControlCharacters } = (0, import_chunk_2ESYSVXG.__require)("node:util");
|
|
50
31
|
var { binaryTargetRegex } = ((0, import_chunk_IPLRRT6O.init_binaryTargetRegex)(), (0, import_chunk_2ESYSVXG.__toCommonJS)(import_chunk_IPLRRT6O.binaryTargetRegex_exports));
|
|
51
32
|
var pipe = (...fns) => (x) => fns.reduce((v, f) => f(v), x);
|
|
52
33
|
function normalizePrismaPaths(str) {
|
|
@@ -131,7 +112,7 @@ var require_jestSnapshotSerializer = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
131
112
|
serialize(value) {
|
|
132
113
|
const message = typeof value === "string" ? value : value instanceof Error ? value.message : "";
|
|
133
114
|
return pipe(
|
|
134
|
-
|
|
115
|
+
stripVTControlCharacters,
|
|
135
116
|
// integration-tests pkg
|
|
136
117
|
prepareSchemaForSnapshot,
|
|
137
118
|
// Generic
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/get-platform",
|
|
3
|
-
"version": "6.16.0-dev.
|
|
3
|
+
"version": "6.16.0-dev.20",
|
|
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",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"jest": "29.7.0",
|
|
27
27
|
"jest-junit": "16.0.0",
|
|
28
28
|
"kleur": "4.1.5",
|
|
29
|
-
"strip-ansi": "6.0.1",
|
|
30
29
|
"tempy": "1.0.1",
|
|
31
30
|
"terminal-link": "4.0.0",
|
|
32
31
|
"ts-pattern": "5.6.2",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"vitest": "3.2.4"
|
|
35
34
|
},
|
|
36
35
|
"dependencies": {
|
|
37
|
-
"@prisma/debug": "6.16.0-dev.
|
|
36
|
+
"@prisma/debug": "6.16.0-dev.20"
|
|
38
37
|
},
|
|
39
38
|
"files": [
|
|
40
39
|
"README.md",
|