@shopify/create-app 3.72.2 → 3.73.1
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/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
- package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
- package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
- package/dist/{chunk-76IKKNIT.js → chunk-3HBTLKMG.js} +173 -127
- package/dist/{chunk-7MR36YRL.js → chunk-5ICBOSRB.js} +80 -114
- package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
- package/dist/{chunk-5QRI42QY.js → chunk-AAHIKFN5.js} +39 -66
- package/dist/{chunk-CQGOPQQH.js → chunk-BOBYVF6Z.js} +298 -457
- package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
- package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
- package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
- package/dist/{chunk-NYQZZU5H.js → chunk-EB3W4HCZ.js} +1406 -1997
- package/dist/{chunk-6WYZ3SZB.js → chunk-EZFQXNK5.js} +3 -3
- package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
- package/dist/{chunk-ZBFY4XQE.js → chunk-I2IKEWDQ.js} +4 -4
- package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
- package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
- package/dist/{chunk-6EBCZH5K.js → chunk-RQFIH5UJ.js} +17 -20
- package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
- package/dist/{chunk-44TM5IPK.js → chunk-WQCDIZKW.js} +38 -67
- package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
- package/dist/{chunk-7F4XFNYI.js → chunk-Z2K6T5HO.js} +29 -34
- package/dist/{custom-oclif-loader-HIY3GAUH.js → custom-oclif-loader-Q4J4YZBZ.js} +12 -12
- package/dist/{del-2FOJ63S7.js → del-WGII2Y5S.js} +8 -8
- package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
- package/dist/error-handler-5YP7AEGG.js +31 -0
- package/dist/hooks/postrun.js +15 -15
- package/dist/hooks/prerun.js +15 -15
- package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
- package/dist/index.js +6741 -6727
- package/dist/index.test.js +64 -86
- package/dist/lib-CKTRCGTR.js +11 -0
- package/dist/{local-KJ4JZFN6.js → local-XKYHPSLO.js} +12 -12
- package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
- package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
- package/dist/{node-package-manager-53URJXW6.js → node-package-manager-HVOORAS5.js} +15 -13
- package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
- package/dist/out-JR4DWQ2G.js +7 -0
- package/dist/{path-3RNJ32DF.js → path-AAVNXP24.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-3EX7RFZH.js → ui-WWXKR25G.js} +12 -12
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
- package/dist/error-handler-JK453YDL.js +0 -31
- package/dist/lib-EGJUAXU5.js +0 -11
- package/dist/out-MHEKZJWS.js +0 -7
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EB3W4HCZ.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname,
|
|
24
24
|
joinPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RQFIH5UJ.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
29
29
|
__toESM,
|
|
30
30
|
init_cjs_shims
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
32
32
|
|
|
33
33
|
// ../../node_modules/.pnpm/ajv@8.13.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
34
34
|
var require_code = __commonJS({
|
|
@@ -1359,8 +1359,7 @@ var require_defaults = __commonJS({
|
|
|
1359
1359
|
if (ty === "object" && properties)
|
|
1360
1360
|
for (let key in properties)
|
|
1361
1361
|
assignDefault(it, key, properties[key].default);
|
|
1362
|
-
else
|
|
1363
|
-
ty === "array" && Array.isArray(items) && items.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
1362
|
+
else ty === "array" && Array.isArray(items) && items.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
1364
1363
|
}
|
|
1365
1364
|
exports.assignDefaults = assignDefaults;
|
|
1366
1365
|
function assignDefault(it, prop, defaultValue) {
|
|
@@ -1653,35 +1652,25 @@ var require_fast_deep_equal = __commonJS({
|
|
|
1653
1652
|
"use strict";
|
|
1654
1653
|
init_cjs_shims();
|
|
1655
1654
|
module.exports = function equal(a, b) {
|
|
1656
|
-
if (a === b)
|
|
1657
|
-
return !0;
|
|
1655
|
+
if (a === b) return !0;
|
|
1658
1656
|
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
1659
|
-
if (a.constructor !== b.constructor)
|
|
1660
|
-
return !1;
|
|
1657
|
+
if (a.constructor !== b.constructor) return !1;
|
|
1661
1658
|
var length, i, keys;
|
|
1662
1659
|
if (Array.isArray(a)) {
|
|
1663
|
-
if (length = a.length, length != b.length)
|
|
1664
|
-
return !1;
|
|
1660
|
+
if (length = a.length, length != b.length) return !1;
|
|
1665
1661
|
for (i = length; i-- !== 0; )
|
|
1666
|
-
if (!equal(a[i], b[i]))
|
|
1667
|
-
return !1;
|
|
1662
|
+
if (!equal(a[i], b[i])) return !1;
|
|
1668
1663
|
return !0;
|
|
1669
1664
|
}
|
|
1670
|
-
if (a.constructor === RegExp)
|
|
1671
|
-
|
|
1672
|
-
if (a.
|
|
1673
|
-
|
|
1674
|
-
if (a.toString !== Object.prototype.toString)
|
|
1675
|
-
return a.toString() === b.toString();
|
|
1676
|
-
if (keys = Object.keys(a), length = keys.length, length !== Object.keys(b).length)
|
|
1677
|
-
return !1;
|
|
1665
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
1666
|
+
if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
|
|
1667
|
+
if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
|
|
1668
|
+
if (keys = Object.keys(a), length = keys.length, length !== Object.keys(b).length) return !1;
|
|
1678
1669
|
for (i = length; i-- !== 0; )
|
|
1679
|
-
if (!Object.prototype.hasOwnProperty.call(b, keys[i]))
|
|
1680
|
-
return !1;
|
|
1670
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return !1;
|
|
1681
1671
|
for (i = length; i-- !== 0; ) {
|
|
1682
1672
|
var key = keys[i];
|
|
1683
|
-
if (!equal(a[key], b[key]))
|
|
1684
|
-
return !1;
|
|
1673
|
+
if (!equal(a[key], b[key])) return !1;
|
|
1685
1674
|
}
|
|
1686
1675
|
return !0;
|
|
1687
1676
|
}
|
|
@@ -1759,8 +1748,7 @@ var require_json_schema_traverse = __commonJS({
|
|
|
1759
1748
|
if (sch && typeof sch == "object")
|
|
1760
1749
|
for (var prop in sch)
|
|
1761
1750
|
_traverse(opts, pre, post, sch[prop], jsonPtr + "/" + key + "/" + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);
|
|
1762
|
-
} else
|
|
1763
|
-
(key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) && _traverse(opts, pre, post, sch, jsonPtr + "/" + key, rootSchema, jsonPtr, key, schema);
|
|
1751
|
+
} else (key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) && _traverse(opts, pre, post, sch, jsonPtr + "/" + key, rootSchema, jsonPtr, key, schema);
|
|
1764
1752
|
}
|
|
1765
1753
|
post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);
|
|
1766
1754
|
}
|
|
@@ -2477,8 +2465,7 @@ var require_uri_all = __commonJS({
|
|
|
2477
2465
|
try {
|
|
2478
2466
|
!_n && _i.return && _i.return();
|
|
2479
2467
|
} finally {
|
|
2480
|
-
if (_d)
|
|
2481
|
-
throw _e;
|
|
2468
|
+
if (_d) throw _e;
|
|
2482
2469
|
}
|
|
2483
2470
|
}
|
|
2484
2471
|
return _arr;
|
|
@@ -2492,8 +2479,7 @@ var require_uri_all = __commonJS({
|
|
|
2492
2479
|
};
|
|
2493
2480
|
}(), toConsumableArray = function(arr) {
|
|
2494
2481
|
if (Array.isArray(arr)) {
|
|
2495
|
-
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++)
|
|
2496
|
-
arr2[i] = arr[i];
|
|
2482
|
+
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
|
|
2497
2483
|
return arr2;
|
|
2498
2484
|
} else
|
|
2499
2485
|
return Array.from(arr);
|
|
@@ -4279,8 +4265,7 @@ var require_additionalProperties = __commonJS({
|
|
|
4279
4265
|
if (props.length > 8) {
|
|
4280
4266
|
let propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema.properties, "properties");
|
|
4281
4267
|
definedProp = (0, code_1.isOwnProperty)(gen, propsSchema, key);
|
|
4282
|
-
} else
|
|
4283
|
-
props.length ? definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._)`${key} === ${p}`)) : definedProp = codegen_1.nil;
|
|
4268
|
+
} else props.length ? definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._)`${key} === ${p}`)) : definedProp = codegen_1.nil;
|
|
4284
4269
|
return patProps.length && (definedProp = (0, codegen_1.or)(definedProp, ...patProps.map((p) => (0, codegen_1._)`${(0, code_1.usePattern)(cxt, p)}.test(${key})`))), (0, codegen_1.not)(definedProp);
|
|
4285
4270
|
}
|
|
4286
4271
|
function deleteAdditional(key) {
|
|
@@ -4541,8 +4526,7 @@ var require_if = __commonJS({
|
|
|
4541
4526
|
if (validateIf(), cxt.reset(), hasThen && hasElse) {
|
|
4542
4527
|
let ifClause = gen.let("ifClause");
|
|
4543
4528
|
cxt.setParams({ ifClause }), gen.if(schValid, validateClause("then", ifClause), validateClause("else", ifClause));
|
|
4544
|
-
} else
|
|
4545
|
-
hasThen ? gen.if(schValid, validateClause("then")) : gen.if((0, codegen_1.not)(schValid), validateClause("else"));
|
|
4529
|
+
} else hasThen ? gen.if(schValid, validateClause("then")) : gen.if((0, codegen_1.not)(schValid), validateClause("else"));
|
|
4546
4530
|
cxt.pass(valid, () => cxt.error(!0));
|
|
4547
4531
|
function validateIf() {
|
|
4548
4532
|
let schCxt = cxt.subschema({
|
|
@@ -5510,6 +5494,8 @@ var require_semver = __commonJS({
|
|
|
5510
5494
|
case "prepatch":
|
|
5511
5495
|
this.prerelease.length = 0, this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
|
|
5512
5496
|
break;
|
|
5497
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
5498
|
+
// prepatch.
|
|
5513
5499
|
case "prerelease":
|
|
5514
5500
|
this.prerelease.length === 0 && this.inc("patch", identifier, identifierBase), this.inc("pre", identifier, identifierBase);
|
|
5515
5501
|
break;
|
|
@@ -5522,6 +5508,8 @@ var require_semver = __commonJS({
|
|
|
5522
5508
|
case "patch":
|
|
5523
5509
|
this.prerelease.length === 0 && this.patch++, this.prerelease = [];
|
|
5524
5510
|
break;
|
|
5511
|
+
// This probably shouldn't be used publicly.
|
|
5512
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
5525
5513
|
case "pre": {
|
|
5526
5514
|
let base = Number(identifierBase) ? 1 : 0;
|
|
5527
5515
|
if (!identifier && identifierBase === !1)
|
|
@@ -6147,8 +6135,7 @@ var require_lru_cache = __commonJS({
|
|
|
6147
6135
|
return hit.length > this[MAX] ? (this[DISPOSE] && this[DISPOSE](key, value), !1) : (this[LENGTH] += hit.length, this[LRU_LIST].unshift(hit), this[CACHE].set(key, this[LRU_LIST].head), trim(this), !0);
|
|
6148
6136
|
}
|
|
6149
6137
|
has(key) {
|
|
6150
|
-
if (!this[CACHE].has(key))
|
|
6151
|
-
return !1;
|
|
6138
|
+
if (!this[CACHE].has(key)) return !1;
|
|
6152
6139
|
let hit = this[CACHE].get(key).value;
|
|
6153
6140
|
return !isStale(this, hit);
|
|
6154
6141
|
}
|
|
@@ -6471,6 +6458,7 @@ var require_min_version = __commonJS({
|
|
|
6471
6458
|
switch (comparator.operator) {
|
|
6472
6459
|
case ">":
|
|
6473
6460
|
compver.prerelease.length === 0 ? compver.patch++ : compver.prerelease.push(0), compver.raw = compver.format();
|
|
6461
|
+
/* fallthrough */
|
|
6474
6462
|
case "":
|
|
6475
6463
|
case ">=":
|
|
6476
6464
|
(!setMin || gt(compver, setMin)) && (setMin = compver);
|
|
@@ -6478,6 +6466,7 @@ var require_min_version = __commonJS({
|
|
|
6478
6466
|
case "<":
|
|
6479
6467
|
case "<=":
|
|
6480
6468
|
break;
|
|
6469
|
+
/* istanbul ignore next */
|
|
6481
6470
|
default:
|
|
6482
6471
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
6483
6472
|
}
|
|
@@ -6593,16 +6582,15 @@ var require_subset = __commonJS({
|
|
|
6593
6582
|
return !0;
|
|
6594
6583
|
sub = new Range(sub, options), dom = new Range(dom, options);
|
|
6595
6584
|
let sawNonNull = !1;
|
|
6596
|
-
OUTER:
|
|
6597
|
-
for (let
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
continue OUTER;
|
|
6602
|
-
}
|
|
6603
|
-
if (sawNonNull)
|
|
6604
|
-
return !1;
|
|
6585
|
+
OUTER: for (let simpleSub of sub.set) {
|
|
6586
|
+
for (let simpleDom of dom.set) {
|
|
6587
|
+
let isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
6588
|
+
if (sawNonNull = sawNonNull || isSub !== null, isSub)
|
|
6589
|
+
continue OUTER;
|
|
6605
6590
|
}
|
|
6591
|
+
if (sawNonNull)
|
|
6592
|
+
return !1;
|
|
6593
|
+
}
|
|
6606
6594
|
return !0;
|
|
6607
6595
|
}, minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")], minimumVersion = [new Comparator(">=0.0.0")], simpleSubset = (sub, dom, options) => {
|
|
6608
6596
|
if (sub === dom)
|
|
@@ -6816,8 +6804,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
6816
6804
|
}
|
|
6817
6805
|
function parseCacheControl(header) {
|
|
6818
6806
|
let cc = {};
|
|
6819
|
-
if (!header)
|
|
6820
|
-
return cc;
|
|
6807
|
+
if (!header) return cc;
|
|
6821
6808
|
let parts = header.trim().split(/,/);
|
|
6822
6809
|
for (let part of parts) {
|
|
6823
6810
|
let [k, v] = part.split(/=/, 2);
|
|
@@ -6897,8 +6884,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
6897
6884
|
return !1;
|
|
6898
6885
|
let fields = this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);
|
|
6899
6886
|
for (let name of fields)
|
|
6900
|
-
if (req.headers[name] !== this._reqHeaders[name])
|
|
6901
|
-
return !1;
|
|
6887
|
+
if (req.headers[name] !== this._reqHeaders[name]) return !1;
|
|
6902
6888
|
return !0;
|
|
6903
6889
|
}
|
|
6904
6890
|
_copyWithoutHopByHopHeaders(inHeaders) {
|
|
@@ -6991,10 +6977,8 @@ var require_http_cache_semantics = __commonJS({
|
|
|
6991
6977
|
return new this(void 0, void 0, { _fromObject: obj });
|
|
6992
6978
|
}
|
|
6993
6979
|
_fromObject(obj) {
|
|
6994
|
-
if (this._responseTime)
|
|
6995
|
-
|
|
6996
|
-
if (!obj || obj.v !== 1)
|
|
6997
|
-
throw Error("Invalid serialization");
|
|
6980
|
+
if (this._responseTime) throw Error("Reinitialized");
|
|
6981
|
+
if (!obj || obj.v !== 1) throw Error("Invalid serialization");
|
|
6998
6982
|
this._responseTime = obj.t, this._isShared = obj.sh, this._cacheHeuristic = obj.ch, this._immutableMinTtl = obj.imm !== void 0 ? obj.imm : 24 * 3600 * 1e3, this._status = obj.st, this._resHeaders = obj.resh, this._rescc = obj.rescc, this._method = obj.m, this._url = obj.u, this._host = obj.h, this._noAuthorization = obj.a, this._reqHeaders = obj.reqh, this._reqcc = obj.reqcc;
|
|
6999
6983
|
}
|
|
7000
6984
|
toObject() {
|
|
@@ -7032,8 +7016,7 @@ var require_http_cache_semantics = __commonJS({
|
|
|
7032
7016
|
let etags = headers["if-none-match"].split(/,/).filter((etag) => !/^\s*W\//.test(etag));
|
|
7033
7017
|
etags.length ? headers["if-none-match"] = etags.join(",").trim() : delete headers["if-none-match"];
|
|
7034
7018
|
}
|
|
7035
|
-
} else
|
|
7036
|
-
this._resHeaders["last-modified"] && !headers["if-modified-since"] && (headers["if-modified-since"] = this._resHeaders["last-modified"]);
|
|
7019
|
+
} else this._resHeaders["last-modified"] && !headers["if-modified-since"] && (headers["if-modified-since"] = this._resHeaders["last-modified"]);
|
|
7037
7020
|
return headers;
|
|
7038
7021
|
}
|
|
7039
7022
|
/**
|
|
@@ -7091,8 +7074,7 @@ var require_json_buffer = __commonJS({
|
|
|
7091
7074
|
"../../node_modules/.pnpm/json-buffer@3.0.1/node_modules/json-buffer/index.js"(exports) {
|
|
7092
7075
|
init_cjs_shims();
|
|
7093
7076
|
exports.stringify = function stringify(o) {
|
|
7094
|
-
if (typeof o > "u")
|
|
7095
|
-
return o;
|
|
7077
|
+
if (typeof o > "u") return o;
|
|
7096
7078
|
if (o && Buffer.isBuffer(o))
|
|
7097
7079
|
return JSON.stringify(":base64:" + o.toString("base64"));
|
|
7098
7080
|
if (o && o.toJSON && (o = o.toJSON()), o && typeof o == "object") {
|
|
@@ -7104,8 +7086,7 @@ var require_json_buffer = __commonJS({
|
|
|
7104
7086
|
Object.hasOwnProperty.call(o, k) && !ignore && (first || (s += ","), first = !1, array ? o[k] == null ? s += "null" : s += stringify(o[k]) : o[k] !== void 0 && (s += stringify(k) + ":" + stringify(o[k])));
|
|
7105
7087
|
}
|
|
7106
7088
|
return s += array ? "]" : "}", s;
|
|
7107
|
-
} else
|
|
7108
|
-
return typeof o == "string" ? JSON.stringify(/^:/.test(o) ? ":" + o : o) : typeof o > "u" ? "null" : JSON.stringify(o);
|
|
7089
|
+
} else return typeof o == "string" ? JSON.stringify(/^:/.test(o) ? ":" + o : o) : typeof o > "u" ? "null" : JSON.stringify(o);
|
|
7109
7090
|
};
|
|
7110
7091
|
exports.parse = function(s) {
|
|
7111
7092
|
return JSON.parse(s, function(key, value) {
|
|
@@ -8356,8 +8337,7 @@ var require_auto = __commonJS({
|
|
|
8356
8337
|
}
|
|
8357
8338
|
if (isHttp2)
|
|
8358
8339
|
return delayAsyncDestroy(new Http2ClientRequest(options, callback));
|
|
8359
|
-
} else
|
|
8360
|
-
agent && (options.agent = agent.http);
|
|
8340
|
+
} else agent && (options.agent = agent.http);
|
|
8361
8341
|
return options.headers && (options.headers = { ...options.headers }, options.headers[":authority"] && (options.headers.host || (options.headers.host = options.headers[":authority"]), delete options.headers[":authority"]), delete options.headers[":method"], delete options.headers[":scheme"], delete options.headers[":path"]), delayAsyncDestroy(http3.request(options, callback));
|
|
8362
8342
|
};
|
|
8363
8343
|
module.exports.protocolCache = cache;
|
|
@@ -9195,8 +9175,7 @@ var require_polyfills = __commonJS({
|
|
|
9195
9175
|
try {
|
|
9196
9176
|
return orig.call(fs3, target, mode);
|
|
9197
9177
|
} catch (er) {
|
|
9198
|
-
if (!chownErOk(er))
|
|
9199
|
-
throw er;
|
|
9178
|
+
if (!chownErOk(er)) throw er;
|
|
9200
9179
|
}
|
|
9201
9180
|
};
|
|
9202
9181
|
}
|
|
@@ -9212,8 +9191,7 @@ var require_polyfills = __commonJS({
|
|
|
9212
9191
|
try {
|
|
9213
9192
|
return orig.call(fs3, target, uid, gid);
|
|
9214
9193
|
} catch (er) {
|
|
9215
|
-
if (!chownErOk(er))
|
|
9216
|
-
throw er;
|
|
9194
|
+
if (!chownErOk(er)) throw er;
|
|
9217
9195
|
}
|
|
9218
9196
|
};
|
|
9219
9197
|
}
|
|
@@ -9254,8 +9232,7 @@ var require_legacy_streams = __commonJS({
|
|
|
9254
9232
|
WriteStream
|
|
9255
9233
|
};
|
|
9256
9234
|
function ReadStream(path4, options) {
|
|
9257
|
-
if (!(this instanceof ReadStream))
|
|
9258
|
-
return new ReadStream(path4, options);
|
|
9235
|
+
if (!(this instanceof ReadStream)) return new ReadStream(path4, options);
|
|
9259
9236
|
Stream.call(this);
|
|
9260
9237
|
var self = this;
|
|
9261
9238
|
this.path = path4, this.fd = null, this.readable = !0, this.paused = !1, this.flags = "r", this.mode = 438, this.bufferSize = 64 * 1024, options = options || {};
|
|
@@ -9289,8 +9266,7 @@ var require_legacy_streams = __commonJS({
|
|
|
9289
9266
|
});
|
|
9290
9267
|
}
|
|
9291
9268
|
function WriteStream(path4, options) {
|
|
9292
|
-
if (!(this instanceof WriteStream))
|
|
9293
|
-
return new WriteStream(path4, options);
|
|
9269
|
+
if (!(this instanceof WriteStream)) return new WriteStream(path4, options);
|
|
9294
9270
|
Stream.call(this), this.path = path4, this.fd = null, this.writable = !0, this.flags = "w", this.encoding = "binary", this.mode = 438, this.bytesWritten = 0, options = options || {};
|
|
9295
9271
|
for (var keys = Object.keys(options), index = 0, length = keys.length; index < length; index++) {
|
|
9296
9272
|
var key = keys[index];
|
|
@@ -9602,8 +9578,7 @@ var require_dist2 = __commonJS({
|
|
|
9602
9578
|
} : function(o, m, k, k2) {
|
|
9603
9579
|
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
9604
9580
|
}), __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
9605
|
-
for (var p in m)
|
|
9606
|
-
p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
|
|
9581
|
+
for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
|
|
9607
9582
|
};
|
|
9608
9583
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
9609
9584
|
__exportStar(require_ca_file(), exports);
|
|
@@ -9640,8 +9615,7 @@ var require_proto_list = __commonJS({
|
|
|
9640
9615
|
},
|
|
9641
9616
|
get keys() {
|
|
9642
9617
|
var k = [];
|
|
9643
|
-
for (var i in this.list[0])
|
|
9644
|
-
k.push(i);
|
|
9618
|
+
for (var i in this.list[0]) k.push(i);
|
|
9645
9619
|
return k;
|
|
9646
9620
|
},
|
|
9647
9621
|
get snapshot() {
|
|
@@ -9672,8 +9646,7 @@ var require_proto_list = __commonJS({
|
|
|
9672
9646
|
return this.length || this.push({}), save && this.list[0].hasOwnProperty(key) && this.push({}), this.list[0][key] = val;
|
|
9673
9647
|
},
|
|
9674
9648
|
forEach: function(fn, thisp) {
|
|
9675
|
-
for (var key in this.list[0])
|
|
9676
|
-
fn.call(thisp, key, this.list[0][key]);
|
|
9649
|
+
for (var key in this.list[0]) fn.call(thisp, key, this.list[0][key]);
|
|
9677
9650
|
},
|
|
9678
9651
|
slice: function() {
|
|
9679
9652
|
return this.list.slice.apply(this.list, arguments);
|
|
@@ -9722,12 +9695,11 @@ var require_config_chain = __commonJS({
|
|
|
9722
9695
|
return JSON.parse(content);
|
|
9723
9696
|
else
|
|
9724
9697
|
return ini.parse(content);
|
|
9725
|
-
else
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
}
|
|
9698
|
+
else try {
|
|
9699
|
+
return JSON.parse(content);
|
|
9700
|
+
} catch {
|
|
9701
|
+
return ini.parse(content);
|
|
9702
|
+
}
|
|
9731
9703
|
}, json = exports.json = function() {
|
|
9732
9704
|
var args = [].slice.call(arguments).filter(function(arg) {
|
|
9733
9705
|
return arg != null;
|
|
@@ -9856,8 +9828,7 @@ var require_envKeyToSetting = __commonJS({
|
|
|
9856
9828
|
return `${normalize(firstPart)}:${normalize(secondPart)}`;
|
|
9857
9829
|
};
|
|
9858
9830
|
function normalize(s) {
|
|
9859
|
-
if (s = s.toLowerCase(), s === "_authtoken")
|
|
9860
|
-
return "_authToken";
|
|
9831
|
+
if (s = s.toLowerCase(), s === "_authtoken") return "_authToken";
|
|
9861
9832
|
let r = s[0];
|
|
9862
9833
|
for (let i = 1; i < s.length; i++)
|
|
9863
9834
|
r += s[i] === "_" ? "-" : s[i];
|
|
@@ -9929,6 +9900,7 @@ var require_util2 = __commonJS({
|
|
|
9929
9900
|
if (isBool && !isString2 && field === "")
|
|
9930
9901
|
return !0;
|
|
9931
9902
|
switch (field) {
|
|
9903
|
+
// eslint-disable-line default-case
|
|
9932
9904
|
case "true":
|
|
9933
9905
|
return !0;
|
|
9934
9906
|
case "false":
|
|
@@ -10553,6 +10525,7 @@ function getPathSegments(path4) {
|
|
|
10553
10525
|
}
|
|
10554
10526
|
if (currentPart === "indexEnd")
|
|
10555
10527
|
throw new Error("Invalid character after an index");
|
|
10528
|
+
// Falls through
|
|
10556
10529
|
default:
|
|
10557
10530
|
if (currentPart === "index" && !digits.has(character))
|
|
10558
10531
|
throw new Error("Invalid character in an index");
|
|
@@ -10963,18 +10936,13 @@ var debounceFn = (inputFunction, options = {}) => {
|
|
|
10963
10936
|
|
|
10964
10937
|
// ../../node_modules/.pnpm/conf@11.0.2/node_modules/conf/dist/source/index.js
|
|
10965
10938
|
var import_semver = __toESM(require_semver2(), 1), __classPrivateFieldSet = function(receiver, state, value, kind, f) {
|
|
10966
|
-
if (kind === "m")
|
|
10967
|
-
|
|
10968
|
-
if (
|
|
10969
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
10970
|
-
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
|
|
10971
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10939
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
10940
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
10941
|
+
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10972
10942
|
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
10973
10943
|
}, __classPrivateFieldGet = function(receiver, state, kind, f) {
|
|
10974
|
-
if (kind === "a" && !f)
|
|
10975
|
-
|
|
10976
|
-
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
|
|
10977
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10944
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10945
|
+
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10978
10946
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
10979
10947
|
}, _Conf_validator, _Conf_encryptionKey, _Conf_options, _Conf_defaultValues, Ajv = import_ajv.default.default, ajvFormats = import_ajv_formats.default.default, encryptionAlgorithm = "aes-256-cbc", createPlainObject = () => /* @__PURE__ */ Object.create(null), isExist = (data) => data != null, checkValueType = (key, value) => {
|
|
10980
10948
|
let nonJsonTypes = /* @__PURE__ */ new Set([
|
|
@@ -12255,8 +12223,7 @@ var CacheableRequest = class {
|
|
|
12255
12223
|
if (policy.satisfiesWithoutRevalidation(options_) && !options_.forceRefresh) {
|
|
12256
12224
|
let headers = convertHeaders(policy.responseHeaders()), response = new Response({ statusCode: cacheEntry.statusCode, headers, body: cacheEntry.body, url: cacheEntry.url });
|
|
12257
12225
|
response.cachePolicy = policy, response.fromCache = !0, ee.emit("response", response), typeof cb == "function" && cb(response);
|
|
12258
|
-
} else
|
|
12259
|
-
policy.satisfiesWithoutRevalidation(options_) && Date.now() >= policy.timeToLive() && options_.forceRefresh ? (await this.cache.delete(key), options_.headers = policy.revalidationHeaders(options_), makeRequest(options_)) : (revalidate = cacheEntry, options_.headers = policy.revalidationHeaders(options_), makeRequest(options_));
|
|
12226
|
+
} else policy.satisfiesWithoutRevalidation(options_) && Date.now() >= policy.timeToLive() && options_.forceRefresh ? (await this.cache.delete(key), options_.headers = policy.revalidationHeaders(options_), makeRequest(options_)) : (revalidate = cacheEntry, options_.headers = policy.revalidationHeaders(options_), makeRequest(options_));
|
|
12260
12227
|
}, errorHandler = (error) => ee.emit("error", new CacheError2(error));
|
|
12261
12228
|
if (this.cache instanceof import_keyv.default) {
|
|
12262
12229
|
let cachek = this.cache;
|
|
@@ -12395,18 +12362,13 @@ var isFile = (value) => !!(value && typeof value == "object" && isFunction2(valu
|
|
|
12395
12362
|
|
|
12396
12363
|
// ../../node_modules/.pnpm/form-data-encoder@2.1.4/node_modules/form-data-encoder/lib/FormDataEncoder.js
|
|
12397
12364
|
var __classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
|
|
12398
|
-
if (kind === "m")
|
|
12399
|
-
|
|
12400
|
-
if (
|
|
12401
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
12402
|
-
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
|
|
12403
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12365
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
12366
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
12367
|
+
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12404
12368
|
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
12405
12369
|
}, __classPrivateFieldGet2 = function(receiver, state, kind, f) {
|
|
12406
|
-
if (kind === "a" && !f)
|
|
12407
|
-
|
|
12408
|
-
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
|
|
12409
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
12370
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
12371
|
+
if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
12410
12372
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12411
12373
|
}, _FormDataEncoder_instances, _FormDataEncoder_CRLF, _FormDataEncoder_CRLF_BYTES, _FormDataEncoder_CRLF_BYTES_LENGTH, _FormDataEncoder_DASHES, _FormDataEncoder_encoder, _FormDataEncoder_footer, _FormDataEncoder_form, _FormDataEncoder_options, _FormDataEncoder_getFieldHeader, _FormDataEncoder_getContentLength, defaultOptions = {
|
|
12412
12374
|
enableAdditionalHeaders: !1
|
|
@@ -12761,8 +12723,7 @@ var { Resolver: AsyncResolver } = dnsPromises, kCacheableLookupCreateConnection
|
|
|
12761
12723
|
if (options.family === 6) {
|
|
12762
12724
|
let filtered = cached.filter((entry) => entry.family === 6);
|
|
12763
12725
|
options.hints & V4MAPPED && (supportsALL && options.hints & ALL || filtered.length === 0) ? map4to6(cached) : cached = filtered;
|
|
12764
|
-
} else
|
|
12765
|
-
options.family === 4 && (cached = cached.filter((entry) => entry.family === 4));
|
|
12726
|
+
} else options.family === 4 && (cached = cached.filter((entry) => entry.family === 4));
|
|
12766
12727
|
if (options.hints & ADDRCONFIG) {
|
|
12767
12728
|
let { _iface } = this;
|
|
12768
12729
|
cached = cached.filter((entry) => entry.family === 6 ? _iface.has6 : _iface.has4);
|
|
@@ -13155,8 +13116,7 @@ var globalCache = /* @__PURE__ */ new Map(), globalDnsCache, getGlobalDnsCache =
|
|
|
13155
13116
|
this.url = options.url;
|
|
13156
13117
|
else
|
|
13157
13118
|
throw new TypeError("The `url` option is mutually exclusive with the `input` argument");
|
|
13158
|
-
else
|
|
13159
|
-
input !== void 0 && (this.url = input);
|
|
13119
|
+
else input !== void 0 && (this.url = input);
|
|
13160
13120
|
}
|
|
13161
13121
|
} catch (error) {
|
|
13162
13122
|
throw error.options = this, error;
|
|
@@ -13533,8 +13493,7 @@ var globalCache = /* @__PURE__ */ new Map(), globalDnsCache, getGlobalDnsCache =
|
|
|
13533
13493
|
searchParameters.delete(key);
|
|
13534
13494
|
for (let [key, value2] of updated)
|
|
13535
13495
|
searchParameters.append(key, value2);
|
|
13536
|
-
} else
|
|
13537
|
-
url ? url.search = searchParameters.toString() : this._internals.searchParams = searchParameters;
|
|
13496
|
+
} else url ? url.search = searchParameters.toString() : this._internals.searchParams = searchParameters;
|
|
13538
13497
|
}
|
|
13539
13498
|
get searchParameters() {
|
|
13540
13499
|
throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.");
|
|
@@ -15085,7 +15044,13 @@ async function latestVersion(packageName, options) {
|
|
|
15085
15044
|
}
|
|
15086
15045
|
|
|
15087
15046
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
15088
|
-
var import_semver3 = __toESM(require_semver2(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile],
|
|
15047
|
+
var import_semver3 = __toESM(require_semver2(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
|
|
15048
|
+
yarn: yarnLockfile,
|
|
15049
|
+
npm: npmLockfile,
|
|
15050
|
+
pnpm: pnpmLockfile,
|
|
15051
|
+
bun: bunLockfile,
|
|
15052
|
+
unknown: void 0
|
|
15053
|
+
}, packageManager = ["yarn", "npm", "pnpm", "bun", "unknown"], UnknownPackageManagerError = class extends AbortError {
|
|
15089
15054
|
constructor() {
|
|
15090
15055
|
super("Unknown package manager");
|
|
15091
15056
|
}
|
|
@@ -15333,6 +15298,7 @@ export {
|
|
|
15333
15298
|
bunLockfile,
|
|
15334
15299
|
pnpmWorkspaceFile,
|
|
15335
15300
|
lockfiles,
|
|
15301
|
+
lockfilesByManager,
|
|
15336
15302
|
packageManager,
|
|
15337
15303
|
UnknownPackageManagerError,
|
|
15338
15304
|
PackageJsonNotFoundError,
|
|
@@ -15390,4 +15356,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
15390
15356
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15391
15357
|
*)
|
|
15392
15358
|
*/
|
|
15393
|
-
//# sourceMappingURL=chunk-
|
|
15359
|
+
//# sourceMappingURL=chunk-5ICBOSRB.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__require,
|
|
4
4
|
init_cjs_shims
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
|
|
8
8
|
var require_polyfills = __commonJS({
|
|
@@ -150,8 +150,7 @@ var require_polyfills = __commonJS({
|
|
|
150
150
|
try {
|
|
151
151
|
return orig.call(fs, target, mode);
|
|
152
152
|
} catch (er) {
|
|
153
|
-
if (!chownErOk(er))
|
|
154
|
-
throw er;
|
|
153
|
+
if (!chownErOk(er)) throw er;
|
|
155
154
|
}
|
|
156
155
|
};
|
|
157
156
|
}
|
|
@@ -167,8 +166,7 @@ var require_polyfills = __commonJS({
|
|
|
167
166
|
try {
|
|
168
167
|
return orig.call(fs, target, uid, gid);
|
|
169
168
|
} catch (er) {
|
|
170
|
-
if (!chownErOk(er))
|
|
171
|
-
throw er;
|
|
169
|
+
if (!chownErOk(er)) throw er;
|
|
172
170
|
}
|
|
173
171
|
};
|
|
174
172
|
}
|
|
@@ -209,8 +207,7 @@ var require_legacy_streams = __commonJS({
|
|
|
209
207
|
WriteStream
|
|
210
208
|
};
|
|
211
209
|
function ReadStream(path, options) {
|
|
212
|
-
if (!(this instanceof ReadStream))
|
|
213
|
-
return new ReadStream(path, options);
|
|
210
|
+
if (!(this instanceof ReadStream)) return new ReadStream(path, options);
|
|
214
211
|
Stream.call(this);
|
|
215
212
|
var self = this;
|
|
216
213
|
this.path = path, this.fd = null, this.readable = !0, this.paused = !1, this.flags = "r", this.mode = 438, this.bufferSize = 64 * 1024, options = options || {};
|
|
@@ -244,8 +241,7 @@ var require_legacy_streams = __commonJS({
|
|
|
244
241
|
});
|
|
245
242
|
}
|
|
246
243
|
function WriteStream(path, options) {
|
|
247
|
-
if (!(this instanceof WriteStream))
|
|
248
|
-
return new WriteStream(path, options);
|
|
244
|
+
if (!(this instanceof WriteStream)) return new WriteStream(path, options);
|
|
249
245
|
Stream.call(this), this.path = path, this.fd = null, this.writable = !0, this.flags = "w", this.encoding = "binary", this.mode = 438, this.bytesWritten = 0, options = options || {};
|
|
250
246
|
for (var keys = Object.keys(options), index = 0, length = keys.length; index < length; index++) {
|
|
251
247
|
var key = keys[index];
|
|
@@ -521,4 +517,4 @@ GFS4: `), console.error(m);
|
|
|
521
517
|
export {
|
|
522
518
|
require_graceful_fs
|
|
523
519
|
};
|
|
524
|
-
//# sourceMappingURL=chunk-
|
|
520
|
+
//# sourceMappingURL=chunk-75LV6AQS.js.map
|