drizzle-kit 1.0.0-beta.19 → 1.0.0-beta.19-c49995f
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/api-postgres.mjs +42 -42
- package/package.json +1 -1
package/api-postgres.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import fs, { existsSync, lstatSync, mkdirSync, readdirSync, writeFileSync } from
|
|
|
10
10
|
import m from "node:path";
|
|
11
11
|
import re, { promises } from "node:fs";
|
|
12
12
|
import Be from "os";
|
|
13
|
-
import
|
|
13
|
+
import path, { dirname, join, resolve } from "path";
|
|
14
14
|
import { parse, pathToFileURL } from "url";
|
|
15
15
|
import { fileURLToPath, format } from "node:url";
|
|
16
16
|
import { deprecate, promisify, types } from "node:util";
|
|
@@ -1825,7 +1825,7 @@ function Et(e) {
|
|
|
1825
1825
|
throw new RangeError(`invalid RFC 9557 time-only string ${e}; may need a T prefix`);
|
|
1826
1826
|
}
|
|
1827
1827
|
function It(e) {
|
|
1828
|
-
const t = Ie
|
|
1828
|
+
const t = Ie.exec(e);
|
|
1829
1829
|
let n, r, o, i;
|
|
1830
1830
|
if (t) {
|
|
1831
1831
|
o = Tt(t[3]);
|
|
@@ -4252,7 +4252,7 @@ function zi(e, t) {
|
|
|
4252
4252
|
function Ai(e, t) {
|
|
4253
4253
|
return vt(e, wt), Hi(e).time[t];
|
|
4254
4254
|
}
|
|
4255
|
-
var import_jsbi_cjs, t$4, n$3, r$4, o$3, i$5, a$4, s$5, c$3, d$4, h$6, u$4, l$3, w$4, v$4, b$3, D$1, T$1, M, E$3, I$3, C$2, O$2, $, Y$1, R$1, S$1, j$3, k$3, N$1, x$4, L, P$2, U, B$1, Z$2, F$2, H$2, z$1, A$3, q$4, W, _$1, J$2, G$2, K$1, V, X$1, Q$1, ee$1, te$1, ie$1, TimeDuration, me$1, fe$1, ye$1, pe$1, ge$1, we$1, ve$1, be$1, De$1, Te$1, Me$1, Ee, Ie
|
|
4255
|
+
var import_jsbi_cjs, t$4, n$3, r$4, o$3, i$5, a$4, s$5, c$3, d$4, h$6, u$4, l$3, w$4, v$4, b$3, D$1, T$1, M, E$3, I$3, C$2, O$2, $, Y$1, R$1, S$1, j$3, k$3, N$1, x$4, L, P$2, U, B$1, Z$2, F$2, H$2, z$1, A$3, q$4, W, _$1, J$2, G$2, K$1, V, X$1, Q$1, ee$1, te$1, ie$1, TimeDuration, me$1, fe$1, ye$1, pe$1, ge$1, we$1, ve$1, be$1, De$1, Te$1, Me$1, Ee, Ie, Ce$1, Oe$1, $e$1, Ye$1, Re$1, Se$1, je$1, ke$1, Ne$1, xe, Le$1, Pe$1, Ue$1, Be$1, Ze$1, Fe$1, He$1, ze$1, Qe$1, et, tt, nt, rt, ot, it, at, st, ct, dt, Ot, $t, qt, cr, dr, Po, Wo, _o, Xo, OneObjectCache, HelperBase, HebrewHelper, IslamicBaseHelper, IslamicHelper, IslamicUmalquraHelper, IslamicTblaHelper, IslamicCivilHelper, IslamicRgsaHelper, IslamicCcHelper, PersianHelper, IndianHelper, GregorianBaseHelperFixedEpoch, GregorianBaseHelper, SameMonthDayAsGregorianBaseHelper, ii, OrthodoxBaseHelperFixedEpoch, OrthodoxBaseHelper, EthioaaHelper, CopticHelper, EthiopicHelper, RocHelper, BuddhistHelper, GregoryHelper, JapaneseHelper, ChineseBaseHelper, ChineseHelper, DangiHelper, NonIsoCalendar, ai, DateTimeFormatImpl, di, Ri, Si, Instant, PlainDate, PlainDateTime, Duration, PlainMonthDay, Bi, PlainTime, PlainYearMonth, Fi, ZonedDateTime, qi, _i;
|
|
4256
4256
|
var init_index_esm = __esmMin((() => {
|
|
4257
4257
|
import_jsbi_cjs = /* @__PURE__ */ __toESM(require_jsbi_cjs(), 1);
|
|
4258
4258
|
t$4 = import_jsbi_cjs.default.BigInt(0), n$3 = import_jsbi_cjs.default.BigInt(1), r$4 = import_jsbi_cjs.default.BigInt(2), o$3 = import_jsbi_cjs.default.BigInt(10), i$5 = import_jsbi_cjs.default.BigInt(24), a$4 = import_jsbi_cjs.default.BigInt(60), s$5 = import_jsbi_cjs.default.BigInt(1e3), c$3 = import_jsbi_cjs.default.BigInt(1e6), d$4 = import_jsbi_cjs.default.BigInt(1e9), h$6 = import_jsbi_cjs.default.multiply(import_jsbi_cjs.default.BigInt(3600), d$4), u$4 = import_jsbi_cjs.default.multiply(a$4, d$4), l$3 = import_jsbi_cjs.default.multiply(h$6, i$5);
|
|
@@ -4339,7 +4339,7 @@ var init_index_esm = __esmMin((() => {
|
|
|
4339
4339
|
`(?:${De$1.source})?`,
|
|
4340
4340
|
`(?:\\[!?${fe$1.source}\\])?`,
|
|
4341
4341
|
`((?:${Te$1.source})*)$`
|
|
4342
|
-
].join("")), Ie
|
|
4342
|
+
].join("")), Ie = new RegExp(`^(${ye$1.source})-?(${pe$1.source})(?:\\[!?${fe$1.source}\\])?((?:${Te$1.source})*)$`), Ce$1 = new RegExp(`^(?:--)?(${pe$1.source})-?(${ge$1.source})(?:\\[!?${fe$1.source}\\])?((?:${Te$1.source})*)$`), Oe$1 = /(\d+)(?:[.,](\d{1,9}))?/, $e$1 = new RegExp(`(?:${Oe$1.source}H)?(?:${Oe$1.source}M)?(?:${Oe$1.source}S)?`), Ye$1 = new RegExp(`^([+-])?P${/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source}(?:T(?!$)${$e$1.source})?$`, "i"), Re$1 = 864e5, Se$1 = 1e6 * Re$1, je$1 = 6e10, ke$1 = 1e8 * Re$1, Ne$1 = xo(ke$1), xe = import_jsbi_cjs.default.unaryMinus(Ne$1), Le$1 = import_jsbi_cjs.default.add(import_jsbi_cjs.default.subtract(xe, l$3), n$3), Pe$1 = import_jsbi_cjs.default.subtract(import_jsbi_cjs.default.add(Ne$1, l$3), n$3), Ue$1 = 146097 * Re$1, Be$1 = -271821, Ze$1 = 275760, Fe$1 = Date.UTC(1847, 0, 1), He$1 = [
|
|
4343
4343
|
"iso8601",
|
|
4344
4344
|
"hebrew",
|
|
4345
4345
|
"islamic",
|
|
@@ -17023,7 +17023,7 @@ var init_unescape = __esmMin((() => {
|
|
|
17023
17023
|
}));
|
|
17024
17024
|
//#endregion
|
|
17025
17025
|
//#region ../node_modules/.pnpm/minimatch@7.4.6/node_modules/minimatch/dist/mjs/index.js
|
|
17026
|
-
var import_brace_expansion, minimatch, starDotExtRE, starDotExtTest, starDotExtTestDot, starDotExtTestNocase, starDotExtTestNocaseDot, starDotStarRE, starDotStarTest, starDotStarTestDot, dotStarRE, dotStarTest, starRE, starTest, starTestDot, qmarksRE, qmarksTestNocase, qmarksTestNocaseDot, qmarksTestDot, qmarksTest, qmarksTestNoExt, qmarksTestNoExtDot, defaultPlatform, path$
|
|
17026
|
+
var import_brace_expansion, minimatch, starDotExtRE, starDotExtTest, starDotExtTestDot, starDotExtTestNocase, starDotExtTestNocaseDot, starDotStarRE, starDotStarTest, starDotStarTestDot, dotStarRE, dotStarTest, starRE, starTest, starTestDot, qmarksRE, qmarksTestNocase, qmarksTestNocaseDot, qmarksTestDot, qmarksTest, qmarksTestNoExt, qmarksTestNoExtDot, defaultPlatform, path$7, sep, GLOBSTAR, plTypes, qmark, star, twoStarDot, twoStarNoDot, charSet, reSpecials, addPatternStartSet, filter, ext, defaults$2, braceExpand, MAX_PATTERN_LENGTH, assertValidPattern, makeRe, match$1, globUnescape, globMagic, regExpEscape, Minimatch;
|
|
17027
17027
|
var init_mjs = __esmMin((() => {
|
|
17028
17028
|
import_brace_expansion = /* @__PURE__ */ __toESM(require_brace_expansion(), 1);
|
|
17029
17029
|
init_brace_expressions();
|
|
@@ -17083,11 +17083,11 @@ var init_mjs = __esmMin((() => {
|
|
|
17083
17083
|
return (f) => f.length === len && f !== "." && f !== "..";
|
|
17084
17084
|
};
|
|
17085
17085
|
defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
|
|
17086
|
-
path$
|
|
17086
|
+
path$7 = {
|
|
17087
17087
|
win32: { sep: "\\" },
|
|
17088
17088
|
posix: { sep: "/" }
|
|
17089
17089
|
};
|
|
17090
|
-
sep = defaultPlatform === "win32" ? path$
|
|
17090
|
+
sep = defaultPlatform === "win32" ? path$7.win32.sep : path$7.posix.sep;
|
|
17091
17091
|
minimatch.sep = sep;
|
|
17092
17092
|
GLOBSTAR = Symbol("globstar **");
|
|
17093
17093
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
@@ -25501,7 +25501,7 @@ var init_dist$3 = __esmMin((() => {
|
|
|
25501
25501
|
}
|
|
25502
25502
|
return t;
|
|
25503
25503
|
}, "invertCase"), le = /* @__PURE__ */ new Map(), _e$3 = X((e, t) => {
|
|
25504
|
-
const s =
|
|
25504
|
+
const s = path.join(e, `.is-fs-case-sensitive-test-${process.pid}`);
|
|
25505
25505
|
try {
|
|
25506
25506
|
return t.writeFileSync(s, ""), !t.existsSync(Ae(s));
|
|
25507
25507
|
} finally {
|
|
@@ -26346,7 +26346,7 @@ var require_common$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26346
26346
|
return Object.prototype.hasOwnProperty.call(obj, field);
|
|
26347
26347
|
}
|
|
26348
26348
|
var fs$5 = __require("fs");
|
|
26349
|
-
var path$
|
|
26349
|
+
var path$6 = __require("path");
|
|
26350
26350
|
var minimatch = require_minimatch();
|
|
26351
26351
|
var isAbsolute$2 = __require("path").isAbsolute;
|
|
26352
26352
|
var Minimatch = minimatch.Minimatch;
|
|
@@ -26400,13 +26400,13 @@ var require_common$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26400
26400
|
setupIgnores(self, options);
|
|
26401
26401
|
self.changedCwd = false;
|
|
26402
26402
|
var cwd = process.cwd();
|
|
26403
|
-
if (!ownProp(options, "cwd")) self.cwd = path$
|
|
26403
|
+
if (!ownProp(options, "cwd")) self.cwd = path$6.resolve(cwd);
|
|
26404
26404
|
else {
|
|
26405
|
-
self.cwd = path$
|
|
26405
|
+
self.cwd = path$6.resolve(options.cwd);
|
|
26406
26406
|
self.changedCwd = self.cwd !== cwd;
|
|
26407
26407
|
}
|
|
26408
|
-
self.root = options.root || path$
|
|
26409
|
-
self.root = path$
|
|
26408
|
+
self.root = options.root || path$6.resolve(self.cwd, "/");
|
|
26409
|
+
self.root = path$6.resolve(self.root);
|
|
26410
26410
|
self.cwdAbs = isAbsolute$2(self.cwd) ? self.cwd : makeAbs(self, self.cwd);
|
|
26411
26411
|
self.nomount = !!options.nomount;
|
|
26412
26412
|
if (process.platform === "win32") {
|
|
@@ -26473,10 +26473,10 @@ var require_common$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26473
26473
|
}
|
|
26474
26474
|
function makeAbs(self, f) {
|
|
26475
26475
|
var abs = f;
|
|
26476
|
-
if (f.charAt(0) === "/") abs = path$
|
|
26476
|
+
if (f.charAt(0) === "/") abs = path$6.join(self.root, f);
|
|
26477
26477
|
else if (isAbsolute$2(f) || f === "") abs = f;
|
|
26478
|
-
else if (self.changedCwd) abs = path$
|
|
26479
|
-
else abs = path$
|
|
26478
|
+
else if (self.changedCwd) abs = path$6.resolve(self.cwd, f);
|
|
26479
|
+
else abs = path$6.resolve(f);
|
|
26480
26480
|
if (process.platform === "win32") abs = abs.replace(/\\/g, "/");
|
|
26481
26481
|
return abs;
|
|
26482
26482
|
}
|
|
@@ -26503,7 +26503,7 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26503
26503
|
minimatch.Minimatch;
|
|
26504
26504
|
require_glob().Glob;
|
|
26505
26505
|
__require("util");
|
|
26506
|
-
var path$
|
|
26506
|
+
var path$5 = __require("path");
|
|
26507
26507
|
var assert$1 = __require("assert");
|
|
26508
26508
|
var isAbsolute$1 = __require("path").isAbsolute;
|
|
26509
26509
|
var common = require_common$1();
|
|
@@ -26599,7 +26599,7 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26599
26599
|
var e = matchedEntries[i];
|
|
26600
26600
|
if (prefix) if (prefix.slice(-1) !== "/") e = prefix + "/" + e;
|
|
26601
26601
|
else e = prefix + e;
|
|
26602
|
-
if (e.charAt(0) === "/" && !this.nomount) e = path$
|
|
26602
|
+
if (e.charAt(0) === "/" && !this.nomount) e = path$5.join(this.root, e);
|
|
26603
26603
|
this._emitMatch(index, e);
|
|
26604
26604
|
}
|
|
26605
26605
|
return;
|
|
@@ -26714,9 +26714,9 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26714
26714
|
if (!exists) return;
|
|
26715
26715
|
if (prefix && isAbsolute$1(prefix) && !this.nomount) {
|
|
26716
26716
|
var trail = /[\/\\]$/.test(prefix);
|
|
26717
|
-
if (prefix.charAt(0) === "/") prefix = path$
|
|
26717
|
+
if (prefix.charAt(0) === "/") prefix = path$5.join(this.root, prefix);
|
|
26718
26718
|
else {
|
|
26719
|
-
prefix = path$
|
|
26719
|
+
prefix = path$5.resolve(this.root, prefix);
|
|
26720
26720
|
if (trail) prefix += "/";
|
|
26721
26721
|
}
|
|
26722
26722
|
}
|
|
@@ -26877,7 +26877,7 @@ var require_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26877
26877
|
minimatch.Minimatch;
|
|
26878
26878
|
var inherits = require_inherits();
|
|
26879
26879
|
var EE$3 = __require("events").EventEmitter;
|
|
26880
|
-
var path$
|
|
26880
|
+
var path$4 = __require("path");
|
|
26881
26881
|
var assert = __require("assert");
|
|
26882
26882
|
var isAbsolute = __require("path").isAbsolute;
|
|
26883
26883
|
var globSync = require_sync();
|
|
@@ -27108,7 +27108,7 @@ var require_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
27108
27108
|
var e = matchedEntries[i];
|
|
27109
27109
|
if (prefix) if (prefix !== "/") e = prefix + "/" + e;
|
|
27110
27110
|
else e = prefix + e;
|
|
27111
|
-
if (e.charAt(0) === "/" && !this.nomount) e = path$
|
|
27111
|
+
if (e.charAt(0) === "/" && !this.nomount) e = path$4.join(this.root, e);
|
|
27112
27112
|
this._emitMatch(index, e);
|
|
27113
27113
|
}
|
|
27114
27114
|
return cb();
|
|
@@ -27255,9 +27255,9 @@ var require_glob = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
27255
27255
|
if (!exists) return cb();
|
|
27256
27256
|
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
|
27257
27257
|
var trail = /[\/\\]$/.test(prefix);
|
|
27258
|
-
if (prefix.charAt(0) === "/") prefix = path$
|
|
27258
|
+
if (prefix.charAt(0) === "/") prefix = path$4.join(this.root, prefix);
|
|
27259
27259
|
else {
|
|
27260
|
-
prefix = path$
|
|
27260
|
+
prefix = path$4.resolve(this.root, prefix);
|
|
27261
27261
|
if (trail) prefix += "/";
|
|
27262
27262
|
}
|
|
27263
27263
|
}
|
|
@@ -83638,7 +83638,7 @@ var require_constants$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
83638
83638
|
//#region ../node_modules/.pnpm/node-gyp-build@4.8.4/node_modules/node-gyp-build/node-gyp-build.js
|
|
83639
83639
|
var require_node_gyp_build$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
83640
83640
|
var fs$4 = __require("fs");
|
|
83641
|
-
var path$
|
|
83641
|
+
var path$3 = __require("path");
|
|
83642
83642
|
var os$3 = __require("os");
|
|
83643
83643
|
var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
|
83644
83644
|
var vars = process.config && process.config.variables || {};
|
|
@@ -83655,20 +83655,20 @@ var require_node_gyp_build$1 = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
83655
83655
|
return runtimeRequire(load.resolve(dir));
|
|
83656
83656
|
}
|
|
83657
83657
|
load.resolve = load.path = function(dir) {
|
|
83658
|
-
dir = path$
|
|
83658
|
+
dir = path$3.resolve(dir || ".");
|
|
83659
83659
|
try {
|
|
83660
|
-
var name = runtimeRequire(path$
|
|
83660
|
+
var name = runtimeRequire(path$3.join(dir, "package.json")).name.toUpperCase().replace(/-/g, "_");
|
|
83661
83661
|
if (process.env[name + "_PREBUILD"]) dir = process.env[name + "_PREBUILD"];
|
|
83662
83662
|
} catch (err) {}
|
|
83663
83663
|
if (!prebuildsOnly) {
|
|
83664
|
-
var release = getFirst(path$
|
|
83664
|
+
var release = getFirst(path$3.join(dir, "build/Release"), matchBuild);
|
|
83665
83665
|
if (release) return release;
|
|
83666
|
-
var debug = getFirst(path$
|
|
83666
|
+
var debug = getFirst(path$3.join(dir, "build/Debug"), matchBuild);
|
|
83667
83667
|
if (debug) return debug;
|
|
83668
83668
|
}
|
|
83669
83669
|
var prebuild = resolve(dir);
|
|
83670
83670
|
if (prebuild) return prebuild;
|
|
83671
|
-
var nearby = resolve(path$
|
|
83671
|
+
var nearby = resolve(path$3.dirname(process.execPath));
|
|
83672
83672
|
if (nearby) return nearby;
|
|
83673
83673
|
var target = [
|
|
83674
83674
|
"platform=" + platform,
|
|
@@ -83684,11 +83684,11 @@ var require_node_gyp_build$1 = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
83684
83684
|
].filter(Boolean).join(" ");
|
|
83685
83685
|
throw new Error("No native build was found for " + target + "\n loaded from: " + dir + "\n");
|
|
83686
83686
|
function resolve(dir) {
|
|
83687
|
-
var tuple = readdirSync(path$
|
|
83687
|
+
var tuple = readdirSync(path$3.join(dir, "prebuilds")).map(parseTuple).filter(matchTuple(platform, arch)).sort(compareTuples)[0];
|
|
83688
83688
|
if (!tuple) return;
|
|
83689
|
-
var prebuilds = path$
|
|
83689
|
+
var prebuilds = path$3.join(dir, "prebuilds", tuple.name);
|
|
83690
83690
|
var winner = readdirSync(prebuilds).map(parseTags).filter(matchTags(runtime, abi)).sort(compareTags(runtime))[0];
|
|
83691
|
-
if (winner) return path$
|
|
83691
|
+
if (winner) return path$3.join(prebuilds, winner.file);
|
|
83692
83692
|
}
|
|
83693
83693
|
};
|
|
83694
83694
|
function readdirSync(dir) {
|
|
@@ -83700,7 +83700,7 @@ var require_node_gyp_build$1 = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
83700
83700
|
}
|
|
83701
83701
|
function getFirst(dir, filter) {
|
|
83702
83702
|
var files = readdirSync(dir).filter(filter);
|
|
83703
|
-
return files[0] && path$
|
|
83703
|
+
return files[0] && path$3.join(dir, files[0]);
|
|
83704
83704
|
}
|
|
83705
83705
|
function matchBuild(name) {
|
|
83706
83706
|
return /\.node$/.test(name);
|
|
@@ -100008,7 +100008,7 @@ var require_dist_cjs$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
100008
100008
|
var getHomeDir = require_getHomeDir();
|
|
100009
100009
|
var getSSOTokenFilepath = require_getSSOTokenFilepath();
|
|
100010
100010
|
var getSSOTokenFromFile = require_getSSOTokenFromFile();
|
|
100011
|
-
var path$
|
|
100011
|
+
var path$2 = __require("path");
|
|
100012
100012
|
var types = require_dist_cjs$53();
|
|
100013
100013
|
var readFile = require_readFile();
|
|
100014
100014
|
const ENV_PROFILE = "AWS_PROFILE";
|
|
@@ -100026,9 +100026,9 @@ var require_dist_cjs$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
100026
100026
|
return acc;
|
|
100027
100027
|
}, { ...data.default && { default: data.default } });
|
|
100028
100028
|
const ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
|
|
100029
|
-
const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || path$
|
|
100029
|
+
const getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || path$2.join(getHomeDir.getHomeDir(), ".aws", "config");
|
|
100030
100030
|
const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
|
|
100031
|
-
const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || path$
|
|
100031
|
+
const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || path$2.join(getHomeDir.getHomeDir(), ".aws", "credentials");
|
|
100032
100032
|
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
|
|
100033
100033
|
const profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
100034
100034
|
const parseIni = (iniData) => {
|
|
@@ -100069,9 +100069,9 @@ var require_dist_cjs$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
100069
100069
|
const homeDir = getHomeDir.getHomeDir();
|
|
100070
100070
|
const relativeHomeDirPrefix = "~/";
|
|
100071
100071
|
let resolvedFilepath = filepath;
|
|
100072
|
-
if (filepath.startsWith(relativeHomeDirPrefix)) resolvedFilepath = path$
|
|
100072
|
+
if (filepath.startsWith(relativeHomeDirPrefix)) resolvedFilepath = path$2.join(homeDir, filepath.slice(2));
|
|
100073
100073
|
let resolvedConfigFilepath = configFilepath;
|
|
100074
|
-
if (configFilepath.startsWith(relativeHomeDirPrefix)) resolvedConfigFilepath = path$
|
|
100074
|
+
if (configFilepath.startsWith(relativeHomeDirPrefix)) resolvedConfigFilepath = path$2.join(homeDir, configFilepath.slice(2));
|
|
100075
100075
|
const parsedFiles = await Promise.all([readFile.readFile(resolvedConfigFilepath, { ignoreCache: init.ignoreCache }).then(parseIni).then(getConfigData).catch(swallowError$1), readFile.readFile(resolvedFilepath, { ignoreCache: init.ignoreCache }).then(parseIni).catch(swallowError$1)]);
|
|
100076
100076
|
return {
|
|
100077
100077
|
configFile: parsedFiles[0],
|
|
@@ -161367,7 +161367,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
161367
161367
|
var msalCommon = require_lib$1();
|
|
161368
161368
|
var jwt = require_jsonwebtoken();
|
|
161369
161369
|
var fs$2 = __require("fs");
|
|
161370
|
-
var path = __require("path");
|
|
161370
|
+
var path$1 = __require("path");
|
|
161371
161371
|
/**
|
|
161372
161372
|
* This class serializes cache entities to be saved into in-memory object types defined internally
|
|
161373
161373
|
* @internal
|
|
@@ -170750,7 +170750,7 @@ Content-Length: ${body.length}\r\n\r\n${body}`;
|
|
|
170750
170750
|
const secretFilePath = wwwAuthHeader.split("Basic realm=")[1];
|
|
170751
170751
|
if (!SUPPORTED_AZURE_ARC_PLATFORMS.hasOwnProperty(process.platform)) throw createManagedIdentityError(platformNotSupported);
|
|
170752
170752
|
const expectedSecretFilePath = SUPPORTED_AZURE_ARC_PLATFORMS[process.platform];
|
|
170753
|
-
const fileName = path.basename(secretFilePath);
|
|
170753
|
+
const fileName = path$1.basename(secretFilePath);
|
|
170754
170754
|
if (!fileName.endsWith(".key")) throw createManagedIdentityError(invalidFileExtension);
|
|
170755
170755
|
if (expectedSecretFilePath + fileName !== secretFilePath) throw createManagedIdentityError(invalidFilePath);
|
|
170756
170756
|
let secretFileSize;
|
|
@@ -221617,7 +221617,7 @@ var init_generate_common = __esmMin((() => {
|
|
|
221617
221617
|
const js = embeddedMigrations([...snapshots || [], join(outFolder, `${tag}/snapshot.json`)], driver);
|
|
221618
221618
|
fs.writeFileSync(`${outFolder}/migrations.js`, js);
|
|
221619
221619
|
}
|
|
221620
|
-
(0, import_hanji$2.render)(`[${chalk.green("✓")}] Your SQL migration ➜ ${chalk.bold.underline.blue(
|
|
221620
|
+
(0, import_hanji$2.render)(`[${chalk.green("✓")}] Your SQL migration ➜ ${chalk.bold.underline.blue(path.join(`${outFolder}/${tag}/migration.sql`))} 🚀`);
|
|
221621
221621
|
};
|
|
221622
221622
|
embeddedMigrations = (snapshots, driver) => {
|
|
221623
221623
|
let content = driver === "expo" ? "// This file is required for Expo/React Native SQLite migrations - https://orm.drizzle.team/quick-sqlite/expo\n\n" : "";
|