@prisma/migrate 6.17.0-dev.22 → 6.17.0-dev.24
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.
package/dist/bin.js
CHANGED
|
@@ -72,7 +72,7 @@ var import_config = require("@prisma/config");
|
|
|
72
72
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
73
73
|
var import_engines_version = require("@prisma/engines-version");
|
|
74
74
|
var import_internals = require("@prisma/internals");
|
|
75
|
-
var version = "6.17.0-dev.
|
|
75
|
+
var version = "6.17.0-dev.24";
|
|
76
76
|
process.on("uncaughtException", (e) => {
|
|
77
77
|
console.log(e);
|
|
78
78
|
});
|
|
@@ -16,12 +16,13 @@ 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
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_OP2BDF75_exports = {};
|
|
20
|
+
__export(chunk_OP2BDF75_exports, {
|
|
21
21
|
require_ms: () => require_ms,
|
|
22
|
-
require_src: () => require_src
|
|
22
|
+
require_src: () => require_src,
|
|
23
|
+
require_supports_color: () => require_supports_color
|
|
23
24
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(chunk_OP2BDF75_exports);
|
|
25
26
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
26
27
|
var require_ms = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
27
28
|
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module2) {
|
package/dist/utils/setupMSSQL.js
CHANGED
|
@@ -32,7 +32,7 @@ __export(setupMSSQL_exports, {
|
|
|
32
32
|
tearDownMSSQL: () => tearDownMSSQL
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(setupMSSQL_exports);
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_OP2BDF75 = require("../chunk-OP2BDF75.js");
|
|
36
36
|
var import_chunk_5R44VVVX = require("../chunk-5R44VVVX.js");
|
|
37
37
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
38
38
|
var import_util = __toESM(require("util"));
|
|
@@ -2006,7 +2006,7 @@ var require_connection_pool = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2006
2006
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/base/connection-pool.js"(exports, module2) {
|
|
2007
2007
|
"use strict";
|
|
2008
2008
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
2009
|
-
var debug = (0,
|
|
2009
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:base");
|
|
2010
2010
|
var { parseSqlConnectionString } = require_lib2();
|
|
2011
2011
|
var tarn = require_tarn();
|
|
2012
2012
|
var { IDS } = require_utils2();
|
|
@@ -2680,7 +2680,7 @@ var require_global_connection = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2680
2680
|
var require_prepared_statement = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2681
2681
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/base/prepared-statement.js"(exports, module2) {
|
|
2682
2682
|
"use strict";
|
|
2683
|
-
var debug = (0,
|
|
2683
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:base");
|
|
2684
2684
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
2685
2685
|
var { IDS, objectHasProperty: objectHasProperty2 } = require_utils2();
|
|
2686
2686
|
var globalConnection = require_global_connection();
|
|
@@ -2989,7 +2989,7 @@ var require_prepared_statement = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2989
2989
|
var require_request = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2990
2990
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/base/request.js"(exports, module2) {
|
|
2991
2991
|
"use strict";
|
|
2992
|
-
var debug = (0,
|
|
2992
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:base");
|
|
2993
2993
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
2994
2994
|
var { Readable } = (0, import_chunk_2ESYSVXG.__require)("node:stream");
|
|
2995
2995
|
var { IDS, objectHasProperty: objectHasProperty2 } = require_utils2();
|
|
@@ -3537,7 +3537,7 @@ var require_isolationlevel = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3537
3537
|
var require_transaction = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3538
3538
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/base/transaction.js"(exports, module2) {
|
|
3539
3539
|
"use strict";
|
|
3540
|
-
var debug = (0,
|
|
3540
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:base");
|
|
3541
3541
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
3542
3542
|
var { IDS } = require_utils2();
|
|
3543
3543
|
var globalConnection = require_global_connection();
|
|
@@ -16687,6 +16687,534 @@ var init_formDataPolicy = (0, import_chunk_2ESYSVXG.__esm)({
|
|
|
16687
16687
|
formDataPolicyName = "formDataPolicy";
|
|
16688
16688
|
}
|
|
16689
16689
|
});
|
|
16690
|
+
var require_common = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
16691
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module2) {
|
|
16692
|
+
"use strict";
|
|
16693
|
+
function setup(env) {
|
|
16694
|
+
createDebug.debug = createDebug;
|
|
16695
|
+
createDebug.default = createDebug;
|
|
16696
|
+
createDebug.coerce = coerce;
|
|
16697
|
+
createDebug.disable = disable2;
|
|
16698
|
+
createDebug.enable = enable2;
|
|
16699
|
+
createDebug.enabled = enabled2;
|
|
16700
|
+
createDebug.humanize = (0, import_chunk_OP2BDF75.require_ms)();
|
|
16701
|
+
createDebug.destroy = destroy2;
|
|
16702
|
+
Object.keys(env).forEach((key) => {
|
|
16703
|
+
createDebug[key] = env[key];
|
|
16704
|
+
});
|
|
16705
|
+
createDebug.names = [];
|
|
16706
|
+
createDebug.skips = [];
|
|
16707
|
+
createDebug.formatters = {};
|
|
16708
|
+
function selectColor(namespace) {
|
|
16709
|
+
let hash = 0;
|
|
16710
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
16711
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
16712
|
+
hash |= 0;
|
|
16713
|
+
}
|
|
16714
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
16715
|
+
}
|
|
16716
|
+
createDebug.selectColor = selectColor;
|
|
16717
|
+
function createDebug(namespace) {
|
|
16718
|
+
let prevTime;
|
|
16719
|
+
let enableOverride = null;
|
|
16720
|
+
let namespacesCache;
|
|
16721
|
+
let enabledCache;
|
|
16722
|
+
function debug(...args) {
|
|
16723
|
+
if (!debug.enabled) {
|
|
16724
|
+
return;
|
|
16725
|
+
}
|
|
16726
|
+
const self2 = debug;
|
|
16727
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
|
16728
|
+
const ms = curr - (prevTime || curr);
|
|
16729
|
+
self2.diff = ms;
|
|
16730
|
+
self2.prev = prevTime;
|
|
16731
|
+
self2.curr = curr;
|
|
16732
|
+
prevTime = curr;
|
|
16733
|
+
args[0] = createDebug.coerce(args[0]);
|
|
16734
|
+
if (typeof args[0] !== "string") {
|
|
16735
|
+
args.unshift("%O");
|
|
16736
|
+
}
|
|
16737
|
+
let index = 0;
|
|
16738
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
16739
|
+
if (match === "%%") {
|
|
16740
|
+
return "%";
|
|
16741
|
+
}
|
|
16742
|
+
index++;
|
|
16743
|
+
const formatter = createDebug.formatters[format];
|
|
16744
|
+
if (typeof formatter === "function") {
|
|
16745
|
+
const val = args[index];
|
|
16746
|
+
match = formatter.call(self2, val);
|
|
16747
|
+
args.splice(index, 1);
|
|
16748
|
+
index--;
|
|
16749
|
+
}
|
|
16750
|
+
return match;
|
|
16751
|
+
});
|
|
16752
|
+
createDebug.formatArgs.call(self2, args);
|
|
16753
|
+
const logFn = self2.log || createDebug.log;
|
|
16754
|
+
logFn.apply(self2, args);
|
|
16755
|
+
}
|
|
16756
|
+
debug.namespace = namespace;
|
|
16757
|
+
debug.useColors = createDebug.useColors();
|
|
16758
|
+
debug.color = createDebug.selectColor(namespace);
|
|
16759
|
+
debug.extend = extend2;
|
|
16760
|
+
debug.destroy = createDebug.destroy;
|
|
16761
|
+
Object.defineProperty(debug, "enabled", {
|
|
16762
|
+
enumerable: true,
|
|
16763
|
+
configurable: false,
|
|
16764
|
+
get: () => {
|
|
16765
|
+
if (enableOverride !== null) {
|
|
16766
|
+
return enableOverride;
|
|
16767
|
+
}
|
|
16768
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
16769
|
+
namespacesCache = createDebug.namespaces;
|
|
16770
|
+
enabledCache = createDebug.enabled(namespace);
|
|
16771
|
+
}
|
|
16772
|
+
return enabledCache;
|
|
16773
|
+
},
|
|
16774
|
+
set: (v) => {
|
|
16775
|
+
enableOverride = v;
|
|
16776
|
+
}
|
|
16777
|
+
});
|
|
16778
|
+
if (typeof createDebug.init === "function") {
|
|
16779
|
+
createDebug.init(debug);
|
|
16780
|
+
}
|
|
16781
|
+
return debug;
|
|
16782
|
+
}
|
|
16783
|
+
function extend2(namespace, delimiter) {
|
|
16784
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
16785
|
+
newDebug.log = this.log;
|
|
16786
|
+
return newDebug;
|
|
16787
|
+
}
|
|
16788
|
+
function enable2(namespaces) {
|
|
16789
|
+
createDebug.save(namespaces);
|
|
16790
|
+
createDebug.namespaces = namespaces;
|
|
16791
|
+
createDebug.names = [];
|
|
16792
|
+
createDebug.skips = [];
|
|
16793
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
16794
|
+
for (const ns of split) {
|
|
16795
|
+
if (ns[0] === "-") {
|
|
16796
|
+
createDebug.skips.push(ns.slice(1));
|
|
16797
|
+
} else {
|
|
16798
|
+
createDebug.names.push(ns);
|
|
16799
|
+
}
|
|
16800
|
+
}
|
|
16801
|
+
}
|
|
16802
|
+
function matchesTemplate(search, template) {
|
|
16803
|
+
let searchIndex = 0;
|
|
16804
|
+
let templateIndex = 0;
|
|
16805
|
+
let starIndex = -1;
|
|
16806
|
+
let matchIndex = 0;
|
|
16807
|
+
while (searchIndex < search.length) {
|
|
16808
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
16809
|
+
if (template[templateIndex] === "*") {
|
|
16810
|
+
starIndex = templateIndex;
|
|
16811
|
+
matchIndex = searchIndex;
|
|
16812
|
+
templateIndex++;
|
|
16813
|
+
} else {
|
|
16814
|
+
searchIndex++;
|
|
16815
|
+
templateIndex++;
|
|
16816
|
+
}
|
|
16817
|
+
} else if (starIndex !== -1) {
|
|
16818
|
+
templateIndex = starIndex + 1;
|
|
16819
|
+
matchIndex++;
|
|
16820
|
+
searchIndex = matchIndex;
|
|
16821
|
+
} else {
|
|
16822
|
+
return false;
|
|
16823
|
+
}
|
|
16824
|
+
}
|
|
16825
|
+
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
16826
|
+
templateIndex++;
|
|
16827
|
+
}
|
|
16828
|
+
return templateIndex === template.length;
|
|
16829
|
+
}
|
|
16830
|
+
function disable2() {
|
|
16831
|
+
const namespaces = [
|
|
16832
|
+
...createDebug.names,
|
|
16833
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
16834
|
+
].join(",");
|
|
16835
|
+
createDebug.enable("");
|
|
16836
|
+
return namespaces;
|
|
16837
|
+
}
|
|
16838
|
+
function enabled2(name3) {
|
|
16839
|
+
for (const skip of createDebug.skips) {
|
|
16840
|
+
if (matchesTemplate(name3, skip)) {
|
|
16841
|
+
return false;
|
|
16842
|
+
}
|
|
16843
|
+
}
|
|
16844
|
+
for (const ns of createDebug.names) {
|
|
16845
|
+
if (matchesTemplate(name3, ns)) {
|
|
16846
|
+
return true;
|
|
16847
|
+
}
|
|
16848
|
+
}
|
|
16849
|
+
return false;
|
|
16850
|
+
}
|
|
16851
|
+
function coerce(val) {
|
|
16852
|
+
if (val instanceof Error) {
|
|
16853
|
+
return val.stack || val.message;
|
|
16854
|
+
}
|
|
16855
|
+
return val;
|
|
16856
|
+
}
|
|
16857
|
+
function destroy2() {
|
|
16858
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
16859
|
+
}
|
|
16860
|
+
createDebug.enable(createDebug.load());
|
|
16861
|
+
return createDebug;
|
|
16862
|
+
}
|
|
16863
|
+
module2.exports = setup;
|
|
16864
|
+
}
|
|
16865
|
+
});
|
|
16866
|
+
var require_browser = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
16867
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module2) {
|
|
16868
|
+
"use strict";
|
|
16869
|
+
exports.formatArgs = formatArgs;
|
|
16870
|
+
exports.save = save;
|
|
16871
|
+
exports.load = load;
|
|
16872
|
+
exports.useColors = useColors;
|
|
16873
|
+
exports.storage = localstorage();
|
|
16874
|
+
exports.destroy = /* @__PURE__ */ (() => {
|
|
16875
|
+
let warned = false;
|
|
16876
|
+
return () => {
|
|
16877
|
+
if (!warned) {
|
|
16878
|
+
warned = true;
|
|
16879
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
16880
|
+
}
|
|
16881
|
+
};
|
|
16882
|
+
})();
|
|
16883
|
+
exports.colors = [
|
|
16884
|
+
"#0000CC",
|
|
16885
|
+
"#0000FF",
|
|
16886
|
+
"#0033CC",
|
|
16887
|
+
"#0033FF",
|
|
16888
|
+
"#0066CC",
|
|
16889
|
+
"#0066FF",
|
|
16890
|
+
"#0099CC",
|
|
16891
|
+
"#0099FF",
|
|
16892
|
+
"#00CC00",
|
|
16893
|
+
"#00CC33",
|
|
16894
|
+
"#00CC66",
|
|
16895
|
+
"#00CC99",
|
|
16896
|
+
"#00CCCC",
|
|
16897
|
+
"#00CCFF",
|
|
16898
|
+
"#3300CC",
|
|
16899
|
+
"#3300FF",
|
|
16900
|
+
"#3333CC",
|
|
16901
|
+
"#3333FF",
|
|
16902
|
+
"#3366CC",
|
|
16903
|
+
"#3366FF",
|
|
16904
|
+
"#3399CC",
|
|
16905
|
+
"#3399FF",
|
|
16906
|
+
"#33CC00",
|
|
16907
|
+
"#33CC33",
|
|
16908
|
+
"#33CC66",
|
|
16909
|
+
"#33CC99",
|
|
16910
|
+
"#33CCCC",
|
|
16911
|
+
"#33CCFF",
|
|
16912
|
+
"#6600CC",
|
|
16913
|
+
"#6600FF",
|
|
16914
|
+
"#6633CC",
|
|
16915
|
+
"#6633FF",
|
|
16916
|
+
"#66CC00",
|
|
16917
|
+
"#66CC33",
|
|
16918
|
+
"#9900CC",
|
|
16919
|
+
"#9900FF",
|
|
16920
|
+
"#9933CC",
|
|
16921
|
+
"#9933FF",
|
|
16922
|
+
"#99CC00",
|
|
16923
|
+
"#99CC33",
|
|
16924
|
+
"#CC0000",
|
|
16925
|
+
"#CC0033",
|
|
16926
|
+
"#CC0066",
|
|
16927
|
+
"#CC0099",
|
|
16928
|
+
"#CC00CC",
|
|
16929
|
+
"#CC00FF",
|
|
16930
|
+
"#CC3300",
|
|
16931
|
+
"#CC3333",
|
|
16932
|
+
"#CC3366",
|
|
16933
|
+
"#CC3399",
|
|
16934
|
+
"#CC33CC",
|
|
16935
|
+
"#CC33FF",
|
|
16936
|
+
"#CC6600",
|
|
16937
|
+
"#CC6633",
|
|
16938
|
+
"#CC9900",
|
|
16939
|
+
"#CC9933",
|
|
16940
|
+
"#CCCC00",
|
|
16941
|
+
"#CCCC33",
|
|
16942
|
+
"#FF0000",
|
|
16943
|
+
"#FF0033",
|
|
16944
|
+
"#FF0066",
|
|
16945
|
+
"#FF0099",
|
|
16946
|
+
"#FF00CC",
|
|
16947
|
+
"#FF00FF",
|
|
16948
|
+
"#FF3300",
|
|
16949
|
+
"#FF3333",
|
|
16950
|
+
"#FF3366",
|
|
16951
|
+
"#FF3399",
|
|
16952
|
+
"#FF33CC",
|
|
16953
|
+
"#FF33FF",
|
|
16954
|
+
"#FF6600",
|
|
16955
|
+
"#FF6633",
|
|
16956
|
+
"#FF9900",
|
|
16957
|
+
"#FF9933",
|
|
16958
|
+
"#FFCC00",
|
|
16959
|
+
"#FFCC33"
|
|
16960
|
+
];
|
|
16961
|
+
function useColors() {
|
|
16962
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
16963
|
+
return true;
|
|
16964
|
+
}
|
|
16965
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
16966
|
+
return false;
|
|
16967
|
+
}
|
|
16968
|
+
let m;
|
|
16969
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
16970
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
16971
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
16972
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
16973
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
16974
|
+
}
|
|
16975
|
+
function formatArgs(args) {
|
|
16976
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
16977
|
+
if (!this.useColors) {
|
|
16978
|
+
return;
|
|
16979
|
+
}
|
|
16980
|
+
const c = "color: " + this.color;
|
|
16981
|
+
args.splice(1, 0, c, "color: inherit");
|
|
16982
|
+
let index = 0;
|
|
16983
|
+
let lastC = 0;
|
|
16984
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
16985
|
+
if (match === "%%") {
|
|
16986
|
+
return;
|
|
16987
|
+
}
|
|
16988
|
+
index++;
|
|
16989
|
+
if (match === "%c") {
|
|
16990
|
+
lastC = index;
|
|
16991
|
+
}
|
|
16992
|
+
});
|
|
16993
|
+
args.splice(lastC, 0, c);
|
|
16994
|
+
}
|
|
16995
|
+
exports.log = console.debug || console.log || (() => {
|
|
16996
|
+
});
|
|
16997
|
+
function save(namespaces) {
|
|
16998
|
+
try {
|
|
16999
|
+
if (namespaces) {
|
|
17000
|
+
exports.storage.setItem("debug", namespaces);
|
|
17001
|
+
} else {
|
|
17002
|
+
exports.storage.removeItem("debug");
|
|
17003
|
+
}
|
|
17004
|
+
} catch (error) {
|
|
17005
|
+
}
|
|
17006
|
+
}
|
|
17007
|
+
function load() {
|
|
17008
|
+
let r;
|
|
17009
|
+
try {
|
|
17010
|
+
r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
|
|
17011
|
+
} catch (error) {
|
|
17012
|
+
}
|
|
17013
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
17014
|
+
r = process.env.DEBUG;
|
|
17015
|
+
}
|
|
17016
|
+
return r;
|
|
17017
|
+
}
|
|
17018
|
+
function localstorage() {
|
|
17019
|
+
try {
|
|
17020
|
+
return localStorage;
|
|
17021
|
+
} catch (error) {
|
|
17022
|
+
}
|
|
17023
|
+
}
|
|
17024
|
+
module2.exports = require_common()(exports);
|
|
17025
|
+
var { formatters } = module2.exports;
|
|
17026
|
+
formatters.j = function(v) {
|
|
17027
|
+
try {
|
|
17028
|
+
return JSON.stringify(v);
|
|
17029
|
+
} catch (error) {
|
|
17030
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
17031
|
+
}
|
|
17032
|
+
};
|
|
17033
|
+
}
|
|
17034
|
+
});
|
|
17035
|
+
var require_node = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
17036
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module2) {
|
|
17037
|
+
"use strict";
|
|
17038
|
+
var tty = (0, import_chunk_2ESYSVXG.__require)("tty");
|
|
17039
|
+
var util2 = (0, import_chunk_2ESYSVXG.__require)("util");
|
|
17040
|
+
exports.init = init2;
|
|
17041
|
+
exports.log = log2;
|
|
17042
|
+
exports.formatArgs = formatArgs;
|
|
17043
|
+
exports.save = save;
|
|
17044
|
+
exports.load = load;
|
|
17045
|
+
exports.useColors = useColors;
|
|
17046
|
+
exports.destroy = util2.deprecate(
|
|
17047
|
+
() => {
|
|
17048
|
+
},
|
|
17049
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
17050
|
+
);
|
|
17051
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
17052
|
+
try {
|
|
17053
|
+
const supportsColor = (0, import_chunk_OP2BDF75.require_supports_color)();
|
|
17054
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
17055
|
+
exports.colors = [
|
|
17056
|
+
20,
|
|
17057
|
+
21,
|
|
17058
|
+
26,
|
|
17059
|
+
27,
|
|
17060
|
+
32,
|
|
17061
|
+
33,
|
|
17062
|
+
38,
|
|
17063
|
+
39,
|
|
17064
|
+
40,
|
|
17065
|
+
41,
|
|
17066
|
+
42,
|
|
17067
|
+
43,
|
|
17068
|
+
44,
|
|
17069
|
+
45,
|
|
17070
|
+
56,
|
|
17071
|
+
57,
|
|
17072
|
+
62,
|
|
17073
|
+
63,
|
|
17074
|
+
68,
|
|
17075
|
+
69,
|
|
17076
|
+
74,
|
|
17077
|
+
75,
|
|
17078
|
+
76,
|
|
17079
|
+
77,
|
|
17080
|
+
78,
|
|
17081
|
+
79,
|
|
17082
|
+
80,
|
|
17083
|
+
81,
|
|
17084
|
+
92,
|
|
17085
|
+
93,
|
|
17086
|
+
98,
|
|
17087
|
+
99,
|
|
17088
|
+
112,
|
|
17089
|
+
113,
|
|
17090
|
+
128,
|
|
17091
|
+
129,
|
|
17092
|
+
134,
|
|
17093
|
+
135,
|
|
17094
|
+
148,
|
|
17095
|
+
149,
|
|
17096
|
+
160,
|
|
17097
|
+
161,
|
|
17098
|
+
162,
|
|
17099
|
+
163,
|
|
17100
|
+
164,
|
|
17101
|
+
165,
|
|
17102
|
+
166,
|
|
17103
|
+
167,
|
|
17104
|
+
168,
|
|
17105
|
+
169,
|
|
17106
|
+
170,
|
|
17107
|
+
171,
|
|
17108
|
+
172,
|
|
17109
|
+
173,
|
|
17110
|
+
178,
|
|
17111
|
+
179,
|
|
17112
|
+
184,
|
|
17113
|
+
185,
|
|
17114
|
+
196,
|
|
17115
|
+
197,
|
|
17116
|
+
198,
|
|
17117
|
+
199,
|
|
17118
|
+
200,
|
|
17119
|
+
201,
|
|
17120
|
+
202,
|
|
17121
|
+
203,
|
|
17122
|
+
204,
|
|
17123
|
+
205,
|
|
17124
|
+
206,
|
|
17125
|
+
207,
|
|
17126
|
+
208,
|
|
17127
|
+
209,
|
|
17128
|
+
214,
|
|
17129
|
+
215,
|
|
17130
|
+
220,
|
|
17131
|
+
221
|
|
17132
|
+
];
|
|
17133
|
+
}
|
|
17134
|
+
} catch (error) {
|
|
17135
|
+
}
|
|
17136
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
17137
|
+
return /^debug_/i.test(key);
|
|
17138
|
+
}).reduce((obj, key) => {
|
|
17139
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_2, k) => {
|
|
17140
|
+
return k.toUpperCase();
|
|
17141
|
+
});
|
|
17142
|
+
let val = process.env[key];
|
|
17143
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
17144
|
+
val = true;
|
|
17145
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
17146
|
+
val = false;
|
|
17147
|
+
} else if (val === "null") {
|
|
17148
|
+
val = null;
|
|
17149
|
+
} else {
|
|
17150
|
+
val = Number(val);
|
|
17151
|
+
}
|
|
17152
|
+
obj[prop] = val;
|
|
17153
|
+
return obj;
|
|
17154
|
+
}, {});
|
|
17155
|
+
function useColors() {
|
|
17156
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
17157
|
+
}
|
|
17158
|
+
function formatArgs(args) {
|
|
17159
|
+
const { namespace: name3, useColors: useColors2 } = this;
|
|
17160
|
+
if (useColors2) {
|
|
17161
|
+
const c = this.color;
|
|
17162
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
17163
|
+
const prefix = ` ${colorCode};1m${name3} \x1B[0m`;
|
|
17164
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
17165
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
17166
|
+
} else {
|
|
17167
|
+
args[0] = getDate() + name3 + " " + args[0];
|
|
17168
|
+
}
|
|
17169
|
+
}
|
|
17170
|
+
function getDate() {
|
|
17171
|
+
if (exports.inspectOpts.hideDate) {
|
|
17172
|
+
return "";
|
|
17173
|
+
}
|
|
17174
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
17175
|
+
}
|
|
17176
|
+
function log2(...args) {
|
|
17177
|
+
return process.stderr.write(util2.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
17178
|
+
}
|
|
17179
|
+
function save(namespaces) {
|
|
17180
|
+
if (namespaces) {
|
|
17181
|
+
process.env.DEBUG = namespaces;
|
|
17182
|
+
} else {
|
|
17183
|
+
delete process.env.DEBUG;
|
|
17184
|
+
}
|
|
17185
|
+
}
|
|
17186
|
+
function load() {
|
|
17187
|
+
return process.env.DEBUG;
|
|
17188
|
+
}
|
|
17189
|
+
function init2(debug) {
|
|
17190
|
+
debug.inspectOpts = {};
|
|
17191
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
17192
|
+
for (let i = 0; i < keys.length; i++) {
|
|
17193
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
17194
|
+
}
|
|
17195
|
+
}
|
|
17196
|
+
module2.exports = require_common()(exports);
|
|
17197
|
+
var { formatters } = module2.exports;
|
|
17198
|
+
formatters.o = function(v) {
|
|
17199
|
+
this.inspectOpts.colors = this.useColors;
|
|
17200
|
+
return util2.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
17201
|
+
};
|
|
17202
|
+
formatters.O = function(v) {
|
|
17203
|
+
this.inspectOpts.colors = this.useColors;
|
|
17204
|
+
return util2.inspect(v, this.inspectOpts);
|
|
17205
|
+
};
|
|
17206
|
+
}
|
|
17207
|
+
});
|
|
17208
|
+
var require_src2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
17209
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module2) {
|
|
17210
|
+
"use strict";
|
|
17211
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
17212
|
+
module2.exports = require_browser();
|
|
17213
|
+
} else {
|
|
17214
|
+
module2.exports = require_node();
|
|
17215
|
+
}
|
|
17216
|
+
}
|
|
17217
|
+
});
|
|
16690
17218
|
var require_promisify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
16691
17219
|
"../../node_modules/.pnpm/agent-base@6.0.2/node_modules/agent-base/dist/src/promisify.js"(exports) {
|
|
16692
17220
|
"use strict";
|
|
@@ -16707,14 +17235,14 @@ var require_promisify = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
16707
17235
|
exports.default = promisify2;
|
|
16708
17236
|
}
|
|
16709
17237
|
});
|
|
16710
|
-
var
|
|
17238
|
+
var require_src3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
16711
17239
|
"../../node_modules/.pnpm/agent-base@6.0.2/node_modules/agent-base/dist/src/index.js"(exports, module2) {
|
|
16712
17240
|
"use strict";
|
|
16713
17241
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
16714
17242
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
16715
17243
|
};
|
|
16716
17244
|
var events_1 = (0, import_chunk_2ESYSVXG.__require)("events");
|
|
16717
|
-
var debug_1 = __importDefault((
|
|
17245
|
+
var debug_1 = __importDefault(require_src2());
|
|
16718
17246
|
var promisify_1 = __importDefault(require_promisify());
|
|
16719
17247
|
var debug = debug_1.default("agent-base");
|
|
16720
17248
|
function isAgent(v) {
|
|
@@ -16895,7 +17423,7 @@ var require_parse_proxy_response = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
16895
17423
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
16896
17424
|
};
|
|
16897
17425
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16898
|
-
var debug_1 = __importDefault((
|
|
17426
|
+
var debug_1 = __importDefault(require_src2());
|
|
16899
17427
|
var debug = debug_1.default("https-proxy-agent:parse-proxy-response");
|
|
16900
17428
|
function parseProxyResponse(socket) {
|
|
16901
17429
|
return new Promise((resolve, reject) => {
|
|
@@ -16990,8 +17518,8 @@ var require_agent = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
16990
17518
|
var tls_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("tls"));
|
|
16991
17519
|
var url_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("url"));
|
|
16992
17520
|
var assert_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("assert"));
|
|
16993
|
-
var debug_1 = __importDefault((
|
|
16994
|
-
var agent_base_1 =
|
|
17521
|
+
var debug_1 = __importDefault(require_src2());
|
|
17522
|
+
var agent_base_1 = require_src3();
|
|
16995
17523
|
var parse_proxy_response_1 = __importDefault(require_parse_proxy_response());
|
|
16996
17524
|
var debug = debug_1.default("https-proxy-agent:agent");
|
|
16997
17525
|
var HttpsProxyAgent2 = class extends agent_base_1.Agent {
|
|
@@ -17191,9 +17719,9 @@ var require_agent2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
17191
17719
|
var net_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("net"));
|
|
17192
17720
|
var tls_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("tls"));
|
|
17193
17721
|
var url_1 = __importDefault((0, import_chunk_2ESYSVXG.__require)("url"));
|
|
17194
|
-
var debug_1 = __importDefault((
|
|
17722
|
+
var debug_1 = __importDefault(require_src2());
|
|
17195
17723
|
var once_1 = __importDefault(require_dist2());
|
|
17196
|
-
var agent_base_1 =
|
|
17724
|
+
var agent_base_1 = require_src3();
|
|
17197
17725
|
var debug = (0, debug_1.default)("http-proxy-agent");
|
|
17198
17726
|
function isHTTPS(protocol) {
|
|
17199
17727
|
return typeof protocol === "string" ? /^https:?$/i.test(protocol) : false;
|
|
@@ -29608,7 +30136,7 @@ var require_TokenExpiredError = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
29608
30136
|
var require_timespan = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
29609
30137
|
"../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/timespan.js"(exports, module2) {
|
|
29610
30138
|
"use strict";
|
|
29611
|
-
var ms = (0,
|
|
30139
|
+
var ms = (0, import_chunk_OP2BDF75.require_ms)();
|
|
29612
30140
|
module2.exports = function(time, iat) {
|
|
29613
30141
|
var timestamp = iat || Math.floor(Date.now() / 1e3);
|
|
29614
30142
|
if (typeof time === "string") {
|
|
@@ -67069,7 +67597,7 @@ var require_connection_pool2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
67069
67597
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/tedious/connection-pool.js"(exports, module2) {
|
|
67070
67598
|
"use strict";
|
|
67071
67599
|
var tds = require_tedious();
|
|
67072
|
-
var debug = (0,
|
|
67600
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:tedi");
|
|
67073
67601
|
var BaseConnectionPool = require_connection_pool();
|
|
67074
67602
|
var { IDS } = require_utils2();
|
|
67075
67603
|
var shared = require_shared();
|
|
@@ -67212,7 +67740,7 @@ var require_connection_pool2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
67212
67740
|
var require_transaction3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
67213
67741
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/tedious/transaction.js"(exports, module2) {
|
|
67214
67742
|
"use strict";
|
|
67215
|
-
var debug = (0,
|
|
67743
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:tedi");
|
|
67216
67744
|
var BaseTransaction = require_transaction();
|
|
67217
67745
|
var { IDS } = require_utils2();
|
|
67218
67746
|
var TransactionError = require_transaction_error();
|
|
@@ -67491,7 +68019,7 @@ var require_request3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
67491
68019
|
"../../node_modules/.pnpm/mssql@11.0.1/node_modules/mssql/lib/tedious/request.js"(exports, module2) {
|
|
67492
68020
|
"use strict";
|
|
67493
68021
|
var tds = require_tedious();
|
|
67494
|
-
var debug = (0,
|
|
68022
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mssql:tedi");
|
|
67495
68023
|
var BaseRequest = require_request();
|
|
67496
68024
|
var RequestError = require_request_error();
|
|
67497
68025
|
var { IDS, objectHasProperty: objectHasProperty2 } = require_utils2();
|
package/dist/utils/setupMongo.js
CHANGED
|
@@ -33,7 +33,7 @@ __export(setupMongo_exports, {
|
|
|
33
33
|
tearDownMongo: () => tearDownMongo
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(setupMongo_exports);
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_OP2BDF75 = require("../chunk-OP2BDF75.js");
|
|
37
37
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
38
38
|
var import_path = __toESM(require("path"));
|
|
39
39
|
var require_bson = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
@@ -42969,7 +42969,7 @@ var require_utils4 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
42969
42969
|
"../../node_modules/.pnpm/mongoose@8.15.0_socks@2.7.1/node_modules/mongoose/lib/utils.js"(exports) {
|
|
42970
42970
|
"use strict";
|
|
42971
42971
|
var UUID = require_bson().UUID;
|
|
42972
|
-
var ms = (0,
|
|
42972
|
+
var ms = (0, import_chunk_OP2BDF75.require_ms)();
|
|
42973
42973
|
var mpath = require_mpath();
|
|
42974
42974
|
var ObjectId2 = require_objectid();
|
|
42975
42975
|
var PopulateOptions = require_populateOptions();
|
|
@@ -55594,7 +55594,7 @@ var require_mquery = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
55594
55594
|
var assert = (0, import_chunk_2ESYSVXG.__require)("assert");
|
|
55595
55595
|
var util = (0, import_chunk_2ESYSVXG.__require)("util");
|
|
55596
55596
|
var utils = require_utils5();
|
|
55597
|
-
var debug = (0,
|
|
55597
|
+
var debug = (0, import_chunk_OP2BDF75.require_src)()("mquery");
|
|
55598
55598
|
function Query(criteria, options) {
|
|
55599
55599
|
if (!(this instanceof Query))
|
|
55600
55600
|
return new Query(criteria, options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/migrate",
|
|
3
|
-
"version": "6.17.0-dev.
|
|
3
|
+
"version": "6.17.0-dev.24",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/migrate/src/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tempy": "1.0.1",
|
|
45
45
|
"ts-pattern": "5.6.2",
|
|
46
46
|
"typescript": "5.4.5",
|
|
47
|
-
"@prisma/adapter-libsql": "6.17.0-dev.
|
|
47
|
+
"@prisma/adapter-libsql": "6.17.0-dev.24"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@prisma/internals": "*"
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@prisma/engines-version": "6.17.0-9.12b56ce9a668d64ffb8e8d40021d982d39f96e3b",
|
|
54
54
|
"prompts": "2.4.2",
|
|
55
|
-
"@prisma/client-generator-registry": "6.17.0-dev.
|
|
56
|
-
"@prisma/config": "6.17.0-dev.
|
|
57
|
-
"@prisma/debug": "6.17.0-dev.
|
|
58
|
-
"@prisma/driver-adapter-utils": "6.17.0-dev.
|
|
59
|
-
"@prisma/
|
|
60
|
-
"@prisma/
|
|
61
|
-
"@prisma/internals": "6.17.0-dev.
|
|
55
|
+
"@prisma/client-generator-registry": "6.17.0-dev.24",
|
|
56
|
+
"@prisma/config": "6.17.0-dev.24",
|
|
57
|
+
"@prisma/debug": "6.17.0-dev.24",
|
|
58
|
+
"@prisma/driver-adapter-utils": "6.17.0-dev.24",
|
|
59
|
+
"@prisma/get-platform": "6.17.0-dev.24",
|
|
60
|
+
"@prisma/generator": "6.17.0-dev.24",
|
|
61
|
+
"@prisma/internals": "6.17.0-dev.24"
|
|
62
62
|
},
|
|
63
63
|
"files": [
|
|
64
64
|
"README.md",
|