vercel 54.9.1 → 54.10.0
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/chunks/{add-DLK472F2.js → add-5DY5F6KR.js} +5 -5
- package/dist/chunks/{chunk-LZQB35VT.js → chunk-3QEUKH37.js} +1 -1
- package/dist/chunks/{chunk-NHT3AQHJ.js → chunk-6B7TYTF6.js} +4 -4
- package/dist/chunks/{chunk-6TKGW3ER.js → chunk-6ESIT3CL.js} +1 -1
- package/dist/chunks/{chunk-SZB6YXTE.js → chunk-6UWHSMGM.js} +2 -2
- package/dist/chunks/{chunk-WBGELPB3.js → chunk-7V42ARD4.js} +6 -6
- package/dist/chunks/{chunk-CSYB45VZ.js → chunk-ERHL5CQY.js} +67 -9
- package/dist/chunks/{chunk-7BNN27HP.js → chunk-GPBBIDQ5.js} +1 -1
- package/dist/chunks/{chunk-H3M6DIPE.js → chunk-GSR2GQLJ.js} +1946 -191
- package/dist/chunks/{chunk-J5JWEUV2.js → chunk-IUBY6GNH.js} +1 -1
- package/dist/chunks/{chunk-DPXUXH7G.js → chunk-J5273CSE.js} +2 -2
- package/dist/chunks/{chunk-WA3URLW4.js → chunk-J763BFOA.js} +1 -1
- package/dist/chunks/{chunk-BTHBAHZ7.js → chunk-JK7NBOHR.js} +1 -1
- package/dist/chunks/{chunk-5DEFO6LE.js → chunk-LFHOOCSD.js} +2 -2
- package/dist/chunks/{chunk-BR7Z2MXT.js → chunk-MBDHDIBC.js} +6 -6
- package/dist/chunks/{chunk-KXIQF76V.js → chunk-PAB6JAI7.js} +1 -1
- package/dist/chunks/{chunk-KV23GR7J.js → chunk-PV533MBH.js} +1 -1
- package/dist/chunks/{chunk-OZLTZQ6G.js → chunk-R3OUWO35.js} +10 -3
- package/dist/chunks/{chunk-2WIR65ZA.js → chunk-SHWTWKFP.js} +127 -93
- package/dist/chunks/{chunk-TS7YAK5A.js → chunk-TMD7R76P.js} +1 -1
- package/dist/chunks/{chunk-5ZJHY4AC.js → chunk-VNUNCNPE.js} +1 -1
- package/dist/chunks/{chunk-5MNBLHCW.js → chunk-WBFTHBNH.js} +1 -1
- package/dist/chunks/{chunk-TAHQ6VAS.js → chunk-WFRHKZFI.js} +2 -1
- package/dist/chunks/{chunk-BBJUIDZF.js → chunk-YI3JV6GM.js} +3 -3
- package/dist/chunks/{chunk-ZOEYFRYV.js → chunk-YSBVITVJ.js} +3 -3
- package/dist/chunks/{compile-vercel-config-6DRMFWMC.js → compile-vercel-config-E3BX5VFO.js} +2 -2
- package/dist/chunks/{delete-IJ6VXN3J.js → delete-RKFK2KFA.js} +4 -4
- package/dist/chunks/{disable-YD3NZSGK.js → disable-RD33Y4KE.js} +4 -4
- package/dist/chunks/{discard-VFWKNLCW.js → discard-ITS7653Z.js} +4 -4
- package/dist/chunks/{edit-3UMHPT2N.js → edit-ANQBSFXA.js} +6 -6
- package/dist/chunks/{enable-OM55GDFZ.js → enable-7WGWM77Y.js} +4 -4
- package/dist/chunks/{exec-JSOL4CYJ.js → exec-HI4HF4GY.js} +1 -1
- package/dist/chunks/{export-LSEMLHHU.js → export-VTGALJ7L.js} +4 -4
- package/dist/chunks/{inspect-ZMNYUC4I.js → inspect-3CNYVFQE.js} +4 -4
- package/dist/chunks/{list-ZBRTOAFQ.js → list-B4QVO4HZ.js} +4 -4
- package/dist/chunks/{list-GIAM3YSQ.js → list-G634SMGU.js} +3 -3
- package/dist/chunks/{ls-NDRKV5AX.js → ls-OY7LDCQP.js} +5 -5
- package/dist/chunks/{publish-T3LIYYM2.js → publish-VATWAP53.js} +4 -4
- package/dist/chunks/{query-ZPH4RM2S.js → query-S26UM5S4.js} +3 -3
- package/dist/chunks/{reorder-E53AAA3P.js → reorder-7WO5ZX6S.js} +4 -4
- package/dist/chunks/{restore-4HJU6B2V.js → restore-WXOV5IWA.js} +4 -4
- package/dist/chunks/{rm-ZOVPEOPT.js → rm-FT6BU2BM.js} +5 -5
- package/dist/chunks/{routes-3OHKNMGT.js → routes-EAMQVFU2.js} +2 -2
- package/dist/chunks/{rule-inspect-UMFXT335.js → rule-inspect-7WQCBK25.js} +5 -5
- package/dist/chunks/{rules-LUJB7CCT.js → rules-J5RKONBR.js} +6 -6
- package/dist/chunks/{schema-VKBUX74S.js → schema-7W6TY5ST.js} +3 -3
- package/dist/chunks/{update-G6D7GNBJ.js → update-GKAXCULF.js} +5 -5
- package/dist/commands/build/index.js +332 -111
- package/dist/commands/deploy/index.js +13 -13
- package/dist/commands/dev/index.js +31 -16
- package/dist/commands/env/index.js +8 -8
- package/dist/commands/link/index.js +10 -10
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +697 -89
- package/dist/index.js +12 -12
- package/dist/version.mjs +1 -1
- package/package.json +21 -21
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
TelemetryClient,
|
|
9
9
|
require_dist as require_dist2,
|
|
10
10
|
require_graceful_fs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J5273CSE.js";
|
|
12
12
|
import {
|
|
13
13
|
buildCommandWithYes,
|
|
14
14
|
getPreservedArgsForEnvPull,
|
|
@@ -890,7 +890,7 @@ var require_uri_all = __commonJS({
|
|
|
890
890
|
target.fragment = relative2.fragment;
|
|
891
891
|
return target;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function resolve5(baseURI, relativeURI, options) {
|
|
894
894
|
var schemelessOptions = assign({ scheme: "null" }, options);
|
|
895
895
|
return serialize(resolveComponents(parse3(baseURI, schemelessOptions), parse3(relativeURI, schemelessOptions), schemelessOptions, true), schemelessOptions);
|
|
896
896
|
}
|
|
@@ -1158,7 +1158,7 @@ var require_uri_all = __commonJS({
|
|
|
1158
1158
|
exports2.removeDotSegments = removeDotSegments;
|
|
1159
1159
|
exports2.serialize = serialize;
|
|
1160
1160
|
exports2.resolveComponents = resolveComponents;
|
|
1161
|
-
exports2.resolve =
|
|
1161
|
+
exports2.resolve = resolve5;
|
|
1162
1162
|
exports2.normalize = normalize;
|
|
1163
1163
|
exports2.equal = equal;
|
|
1164
1164
|
exports2.escapeComponent = escapeComponent;
|
|
@@ -1544,20 +1544,20 @@ var require_resolve = __commonJS({
|
|
|
1544
1544
|
var util = require_util();
|
|
1545
1545
|
var SchemaObject = require_schema_obj();
|
|
1546
1546
|
var traverse = require_json_schema_traverse();
|
|
1547
|
-
module.exports =
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
function
|
|
1547
|
+
module.exports = resolve5;
|
|
1548
|
+
resolve5.normalizeId = normalizeId;
|
|
1549
|
+
resolve5.fullPath = getFullPath;
|
|
1550
|
+
resolve5.url = resolveUrl;
|
|
1551
|
+
resolve5.ids = resolveIds;
|
|
1552
|
+
resolve5.inlineRef = inlineRef;
|
|
1553
|
+
resolve5.schema = resolveSchema;
|
|
1554
|
+
function resolve5(compile, root, ref) {
|
|
1555
1555
|
var refVal = this._refs[ref];
|
|
1556
1556
|
if (typeof refVal == "string") {
|
|
1557
1557
|
if (this._refs[refVal])
|
|
1558
1558
|
refVal = this._refs[refVal];
|
|
1559
1559
|
else
|
|
1560
|
-
return
|
|
1560
|
+
return resolve5.call(this, compile, root, refVal);
|
|
1561
1561
|
}
|
|
1562
1562
|
refVal = refVal || this._schemas[ref];
|
|
1563
1563
|
if (refVal instanceof SchemaObject) {
|
|
@@ -1783,7 +1783,7 @@ var require_resolve = __commonJS({
|
|
|
1783
1783
|
var require_error_classes = __commonJS({
|
|
1784
1784
|
"../../node_modules/.pnpm/ajv@6.12.3/node_modules/ajv/lib/compile/error_classes.js"(exports, module) {
|
|
1785
1785
|
"use strict";
|
|
1786
|
-
var
|
|
1786
|
+
var resolve5 = require_resolve();
|
|
1787
1787
|
module.exports = {
|
|
1788
1788
|
Validation: errorSubclass(ValidationError2),
|
|
1789
1789
|
MissingRef: errorSubclass(MissingRefError)
|
|
@@ -1798,8 +1798,8 @@ var require_error_classes = __commonJS({
|
|
|
1798
1798
|
};
|
|
1799
1799
|
function MissingRefError(baseId, ref, message) {
|
|
1800
1800
|
this.message = message || MissingRefError.message(baseId, ref);
|
|
1801
|
-
this.missingRef =
|
|
1802
|
-
this.missingSchema =
|
|
1801
|
+
this.missingRef = resolve5.url(baseId, ref);
|
|
1802
|
+
this.missingSchema = resolve5.normalizeId(resolve5.fullPath(this.missingRef));
|
|
1803
1803
|
}
|
|
1804
1804
|
function errorSubclass(Subclass) {
|
|
1805
1805
|
Subclass.prototype = Object.create(Error.prototype);
|
|
@@ -2358,7 +2358,7 @@ var require_validate = __commonJS({
|
|
|
2358
2358
|
var require_compile = __commonJS({
|
|
2359
2359
|
"../../node_modules/.pnpm/ajv@6.12.3/node_modules/ajv/lib/compile/index.js"(exports, module) {
|
|
2360
2360
|
"use strict";
|
|
2361
|
-
var
|
|
2361
|
+
var resolve5 = require_resolve();
|
|
2362
2362
|
var util = require_util();
|
|
2363
2363
|
var errorClasses = require_error_classes();
|
|
2364
2364
|
var stableStringify = require_fast_json_stable_stringify();
|
|
@@ -2418,7 +2418,7 @@ var require_compile = __commonJS({
|
|
|
2418
2418
|
RULES,
|
|
2419
2419
|
validate: validateGenerator,
|
|
2420
2420
|
util,
|
|
2421
|
-
resolve:
|
|
2421
|
+
resolve: resolve5,
|
|
2422
2422
|
resolveRef,
|
|
2423
2423
|
usePattern,
|
|
2424
2424
|
useDefault,
|
|
@@ -2480,7 +2480,7 @@ var require_compile = __commonJS({
|
|
|
2480
2480
|
return validate2;
|
|
2481
2481
|
}
|
|
2482
2482
|
function resolveRef(baseId2, ref, isRoot) {
|
|
2483
|
-
ref =
|
|
2483
|
+
ref = resolve5.url(baseId2, ref);
|
|
2484
2484
|
var refIndex = refs[ref];
|
|
2485
2485
|
var _refVal, refCode;
|
|
2486
2486
|
if (refIndex !== void 0) {
|
|
@@ -2497,11 +2497,11 @@ var require_compile = __commonJS({
|
|
|
2497
2497
|
}
|
|
2498
2498
|
}
|
|
2499
2499
|
refCode = addLocalRef(ref);
|
|
2500
|
-
var v2 =
|
|
2500
|
+
var v2 = resolve5.call(self2, localCompile, root, ref);
|
|
2501
2501
|
if (v2 === void 0) {
|
|
2502
2502
|
var localSchema = localRefs && localRefs[ref];
|
|
2503
2503
|
if (localSchema) {
|
|
2504
|
-
v2 =
|
|
2504
|
+
v2 = resolve5.inlineRef(localSchema, opts.inlineRefs) ? localSchema : compile.call(self2, localSchema, root, localRefs, baseId2);
|
|
2505
2505
|
}
|
|
2506
2506
|
}
|
|
2507
2507
|
if (v2 === void 0) {
|
|
@@ -6136,7 +6136,7 @@ var require_ajv = __commonJS({
|
|
|
6136
6136
|
"../../node_modules/.pnpm/ajv@6.12.3/node_modules/ajv/lib/ajv.js"(exports, module) {
|
|
6137
6137
|
"use strict";
|
|
6138
6138
|
var compileSchema = require_compile();
|
|
6139
|
-
var
|
|
6139
|
+
var resolve5 = require_resolve();
|
|
6140
6140
|
var Cache = require_cache();
|
|
6141
6141
|
var SchemaObject = require_schema_obj();
|
|
6142
6142
|
var stableStringify = require_fast_json_stable_stringify();
|
|
@@ -6228,7 +6228,7 @@ var require_ajv = __commonJS({
|
|
|
6228
6228
|
var id = this._getId(schema);
|
|
6229
6229
|
if (id !== void 0 && typeof id != "string")
|
|
6230
6230
|
throw new Error("schema id must be string");
|
|
6231
|
-
key =
|
|
6231
|
+
key = resolve5.normalizeId(key || id);
|
|
6232
6232
|
checkUnique(this, key);
|
|
6233
6233
|
this._schemas[key] = this._addSchema(schema, _skipValidation, _meta, true);
|
|
6234
6234
|
return this;
|
|
@@ -6274,7 +6274,7 @@ var require_ajv = __commonJS({
|
|
|
6274
6274
|
}
|
|
6275
6275
|
}
|
|
6276
6276
|
function _getSchemaFragment(self2, ref) {
|
|
6277
|
-
var res =
|
|
6277
|
+
var res = resolve5.schema.call(self2, { schema: {} }, ref);
|
|
6278
6278
|
if (res) {
|
|
6279
6279
|
var schema = res.schema, root = res.root, baseId = res.baseId;
|
|
6280
6280
|
var v = compileSchema.call(self2, schema, root, void 0, baseId);
|
|
@@ -6290,7 +6290,7 @@ var require_ajv = __commonJS({
|
|
|
6290
6290
|
}
|
|
6291
6291
|
}
|
|
6292
6292
|
function _getSchemaObj(self2, keyRef) {
|
|
6293
|
-
keyRef =
|
|
6293
|
+
keyRef = resolve5.normalizeId(keyRef);
|
|
6294
6294
|
return self2._schemas[keyRef] || self2._refs[keyRef] || self2._fragments[keyRef];
|
|
6295
6295
|
}
|
|
6296
6296
|
function removeSchema(schemaKeyRef) {
|
|
@@ -6318,7 +6318,7 @@ var require_ajv = __commonJS({
|
|
|
6318
6318
|
this._cache.del(cacheKey);
|
|
6319
6319
|
var id = this._getId(schemaKeyRef);
|
|
6320
6320
|
if (id) {
|
|
6321
|
-
id =
|
|
6321
|
+
id = resolve5.normalizeId(id);
|
|
6322
6322
|
delete this._schemas[id];
|
|
6323
6323
|
delete this._refs[id];
|
|
6324
6324
|
}
|
|
@@ -6343,14 +6343,14 @@ var require_ajv = __commonJS({
|
|
|
6343
6343
|
if (cached)
|
|
6344
6344
|
return cached;
|
|
6345
6345
|
shouldAddSchema = shouldAddSchema || this._opts.addUsedSchema !== false;
|
|
6346
|
-
var id =
|
|
6346
|
+
var id = resolve5.normalizeId(this._getId(schema));
|
|
6347
6347
|
if (id && shouldAddSchema)
|
|
6348
6348
|
checkUnique(this, id);
|
|
6349
6349
|
var willValidate = this._opts.validateSchema !== false && !skipValidation;
|
|
6350
6350
|
var recursiveMeta;
|
|
6351
|
-
if (willValidate && !(recursiveMeta = id && id ==
|
|
6351
|
+
if (willValidate && !(recursiveMeta = id && id == resolve5.normalizeId(schema.$schema)))
|
|
6352
6352
|
this.validateSchema(schema, true);
|
|
6353
|
-
var localRefs =
|
|
6353
|
+
var localRefs = resolve5.ids.call(this, schema);
|
|
6354
6354
|
var schemaObj = new SchemaObject({
|
|
6355
6355
|
id,
|
|
6356
6356
|
schema,
|
|
@@ -6522,8 +6522,8 @@ var require_universalify = __commonJS({
|
|
|
6522
6522
|
if (typeof args[args.length - 1] === "function")
|
|
6523
6523
|
fn.apply(this, args);
|
|
6524
6524
|
else {
|
|
6525
|
-
return new Promise((
|
|
6526
|
-
args.push((err, res) => err != null ? reject(err) :
|
|
6525
|
+
return new Promise((resolve5, reject) => {
|
|
6526
|
+
args.push((err, res) => err != null ? reject(err) : resolve5(res));
|
|
6527
6527
|
fn.apply(this, args);
|
|
6528
6528
|
});
|
|
6529
6529
|
}
|
|
@@ -6596,19 +6596,19 @@ var require_fs = __commonJS({
|
|
|
6596
6596
|
if (typeof callback === "function") {
|
|
6597
6597
|
return fs5.exists(filename, callback);
|
|
6598
6598
|
}
|
|
6599
|
-
return new Promise((
|
|
6600
|
-
return fs5.exists(filename,
|
|
6599
|
+
return new Promise((resolve5) => {
|
|
6600
|
+
return fs5.exists(filename, resolve5);
|
|
6601
6601
|
});
|
|
6602
6602
|
};
|
|
6603
6603
|
exports.read = function(fd, buffer, offset, length, position, callback) {
|
|
6604
6604
|
if (typeof callback === "function") {
|
|
6605
6605
|
return fs5.read(fd, buffer, offset, length, position, callback);
|
|
6606
6606
|
}
|
|
6607
|
-
return new Promise((
|
|
6607
|
+
return new Promise((resolve5, reject) => {
|
|
6608
6608
|
fs5.read(fd, buffer, offset, length, position, (err, bytesRead, buffer2) => {
|
|
6609
6609
|
if (err)
|
|
6610
6610
|
return reject(err);
|
|
6611
|
-
|
|
6611
|
+
resolve5({ bytesRead, buffer: buffer2 });
|
|
6612
6612
|
});
|
|
6613
6613
|
});
|
|
6614
6614
|
};
|
|
@@ -6616,11 +6616,11 @@ var require_fs = __commonJS({
|
|
|
6616
6616
|
if (typeof args[args.length - 1] === "function") {
|
|
6617
6617
|
return fs5.write(fd, buffer, ...args);
|
|
6618
6618
|
}
|
|
6619
|
-
return new Promise((
|
|
6619
|
+
return new Promise((resolve5, reject) => {
|
|
6620
6620
|
fs5.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
|
|
6621
6621
|
if (err)
|
|
6622
6622
|
return reject(err);
|
|
6623
|
-
|
|
6623
|
+
resolve5({ bytesWritten, buffer: buffer2 });
|
|
6624
6624
|
});
|
|
6625
6625
|
});
|
|
6626
6626
|
};
|
|
@@ -6629,11 +6629,11 @@ var require_fs = __commonJS({
|
|
|
6629
6629
|
if (typeof args[args.length - 1] === "function") {
|
|
6630
6630
|
return fs5.writev(fd, buffers, ...args);
|
|
6631
6631
|
}
|
|
6632
|
-
return new Promise((
|
|
6632
|
+
return new Promise((resolve5, reject) => {
|
|
6633
6633
|
fs5.writev(fd, buffers, ...args, (err, bytesWritten, buffers2) => {
|
|
6634
6634
|
if (err)
|
|
6635
6635
|
return reject(err);
|
|
6636
|
-
|
|
6636
|
+
resolve5({ bytesWritten, buffers: buffers2 });
|
|
6637
6637
|
});
|
|
6638
6638
|
});
|
|
6639
6639
|
};
|
|
@@ -7955,12 +7955,15 @@ var require_ensure = __commonJS({
|
|
|
7955
7955
|
}
|
|
7956
7956
|
});
|
|
7957
7957
|
|
|
7958
|
-
// ../../node_modules/.pnpm/jsonfile@6.1
|
|
7958
|
+
// ../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/utils.js
|
|
7959
7959
|
var require_utils2 = __commonJS({
|
|
7960
|
-
"../../node_modules/.pnpm/jsonfile@6.1
|
|
7960
|
+
"../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/utils.js"(exports, module) {
|
|
7961
7961
|
function stringify(obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {}) {
|
|
7962
7962
|
const EOF = finalEOL ? EOL : "";
|
|
7963
7963
|
const str = JSON.stringify(obj, replacer, spaces);
|
|
7964
|
+
if (str === void 0) {
|
|
7965
|
+
throw new TypeError(`Converting ${typeof obj} value to JSON is not supported`);
|
|
7966
|
+
}
|
|
7964
7967
|
return str.replace(/\n/g, EOL) + EOF;
|
|
7965
7968
|
}
|
|
7966
7969
|
function stripBom(content) {
|
|
@@ -7972,9 +7975,9 @@ var require_utils2 = __commonJS({
|
|
|
7972
7975
|
}
|
|
7973
7976
|
});
|
|
7974
7977
|
|
|
7975
|
-
// ../../node_modules/.pnpm/jsonfile@6.1
|
|
7978
|
+
// ../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/index.js
|
|
7976
7979
|
var require_jsonfile = __commonJS({
|
|
7977
|
-
"../../node_modules/.pnpm/jsonfile@6.1
|
|
7980
|
+
"../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/index.js"(exports, module) {
|
|
7978
7981
|
var _fs;
|
|
7979
7982
|
try {
|
|
7980
7983
|
_fs = require_graceful_fs();
|
|
@@ -8035,13 +8038,12 @@ var require_jsonfile = __commonJS({
|
|
|
8035
8038
|
const str = stringify(obj, options);
|
|
8036
8039
|
return fs5.writeFileSync(file, str, options);
|
|
8037
8040
|
}
|
|
8038
|
-
|
|
8041
|
+
module.exports = {
|
|
8039
8042
|
readFile: readFile7,
|
|
8040
8043
|
readFileSync,
|
|
8041
8044
|
writeFile: writeFile6,
|
|
8042
8045
|
writeFileSync
|
|
8043
8046
|
};
|
|
8044
|
-
module.exports = jsonfile;
|
|
8045
8047
|
}
|
|
8046
8048
|
});
|
|
8047
8049
|
|
|
@@ -16010,6 +16012,40 @@ var require_frameworks = __commonJS({
|
|
|
16010
16012
|
getOutputDirName: async () => ".output",
|
|
16011
16013
|
experimental: true
|
|
16012
16014
|
},
|
|
16015
|
+
{
|
|
16016
|
+
name: "Eve",
|
|
16017
|
+
slug: "eve",
|
|
16018
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/eve.svg",
|
|
16019
|
+
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/eve-dark.svg",
|
|
16020
|
+
tagline: "A filesystem-first framework for durable backend agents on Vercel.",
|
|
16021
|
+
description: "An Eve app: agents authored as a directory of files, compiled and served on Vercel.",
|
|
16022
|
+
detectors: {
|
|
16023
|
+
every: [
|
|
16024
|
+
{
|
|
16025
|
+
path: "package.json",
|
|
16026
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"eve":\\s*".+?"[^}]*}'
|
|
16027
|
+
}
|
|
16028
|
+
]
|
|
16029
|
+
},
|
|
16030
|
+
settings: {
|
|
16031
|
+
installCommand: {
|
|
16032
|
+
placeholder: "`pnpm install`, `yarn install`, or `npm install`"
|
|
16033
|
+
},
|
|
16034
|
+
buildCommand: {
|
|
16035
|
+
value: "eve build",
|
|
16036
|
+
placeholder: "`npm run build` or `eve build`"
|
|
16037
|
+
},
|
|
16038
|
+
devCommand: {
|
|
16039
|
+
value: "eve dev",
|
|
16040
|
+
placeholder: "eve dev"
|
|
16041
|
+
},
|
|
16042
|
+
outputDirectory: {
|
|
16043
|
+
value: ".output"
|
|
16044
|
+
}
|
|
16045
|
+
},
|
|
16046
|
+
getOutputDirName: async () => ".output",
|
|
16047
|
+
experimental: true
|
|
16048
|
+
},
|
|
16013
16049
|
{
|
|
16014
16050
|
name: "Sanity",
|
|
16015
16051
|
slug: "sanity",
|
|
@@ -16069,7 +16105,7 @@ var require_frameworks = __commonJS({
|
|
|
16069
16105
|
]
|
|
16070
16106
|
},
|
|
16071
16107
|
{
|
|
16072
|
-
name: "Sanity (v2)",
|
|
16108
|
+
name: "Sanity (v2 - legacy)",
|
|
16073
16109
|
slug: "sanity-v2",
|
|
16074
16110
|
demo: "https://sanity-studio-template.vercel.app",
|
|
16075
16111
|
logo: "https://api-frameworks.vercel.sh/framework-logos/sanity-v2.svg",
|
|
@@ -18116,9 +18152,9 @@ var require_balanced_match = __commonJS({
|
|
|
18116
18152
|
}
|
|
18117
18153
|
});
|
|
18118
18154
|
|
|
18119
|
-
// ../../node_modules/.pnpm/brace-expansion@1.1.
|
|
18155
|
+
// ../../node_modules/.pnpm/brace-expansion@1.1.15/node_modules/brace-expansion/index.js
|
|
18120
18156
|
var require_brace_expansion = __commonJS({
|
|
18121
|
-
"../../node_modules/.pnpm/brace-expansion@1.1.
|
|
18157
|
+
"../../node_modules/.pnpm/brace-expansion@1.1.15/node_modules/brace-expansion/index.js"(exports, module) {
|
|
18122
18158
|
var concatMap = require_concat_map();
|
|
18123
18159
|
var balanced = require_balanced_match();
|
|
18124
18160
|
module.exports = expandTop;
|
|
@@ -18156,13 +18192,15 @@ var require_brace_expansion = __commonJS({
|
|
|
18156
18192
|
parts.push.apply(parts, p);
|
|
18157
18193
|
return parts;
|
|
18158
18194
|
}
|
|
18159
|
-
function expandTop(str) {
|
|
18195
|
+
function expandTop(str, options) {
|
|
18160
18196
|
if (!str)
|
|
18161
18197
|
return [];
|
|
18198
|
+
options = options || {};
|
|
18199
|
+
var max = options.max == null ? Infinity : options.max;
|
|
18162
18200
|
if (str.substr(0, 2) === "{}") {
|
|
18163
18201
|
str = "\\{\\}" + str.substr(2);
|
|
18164
18202
|
}
|
|
18165
|
-
return expand(escapeBraces(str), true).map(unescapeBraces);
|
|
18203
|
+
return expand(escapeBraces(str), max, true).map(unescapeBraces);
|
|
18166
18204
|
}
|
|
18167
18205
|
function embrace(str) {
|
|
18168
18206
|
return "{" + str + "}";
|
|
@@ -18176,7 +18214,7 @@ var require_brace_expansion = __commonJS({
|
|
|
18176
18214
|
function gte(i, y) {
|
|
18177
18215
|
return i >= y;
|
|
18178
18216
|
}
|
|
18179
|
-
function expand(str, isTop) {
|
|
18217
|
+
function expand(str, max, isTop) {
|
|
18180
18218
|
var expansions = [];
|
|
18181
18219
|
var m = balanced("{", "}", str);
|
|
18182
18220
|
if (!m || /\$$/.test(m.pre))
|
|
@@ -18186,9 +18224,9 @@ var require_brace_expansion = __commonJS({
|
|
|
18186
18224
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
18187
18225
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
18188
18226
|
if (!isSequence && !isOptions) {
|
|
18189
|
-
if (m.post.match(
|
|
18227
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
18190
18228
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
18191
|
-
return expand(str);
|
|
18229
|
+
return expand(str, max, true);
|
|
18192
18230
|
}
|
|
18193
18231
|
return [str];
|
|
18194
18232
|
}
|
|
@@ -18198,9 +18236,9 @@ var require_brace_expansion = __commonJS({
|
|
|
18198
18236
|
} else {
|
|
18199
18237
|
n = parseCommaParts(m.body);
|
|
18200
18238
|
if (n.length === 1) {
|
|
18201
|
-
n = expand(n[0], false).map(embrace);
|
|
18239
|
+
n = expand(n[0], max, false).map(embrace);
|
|
18202
18240
|
if (n.length === 1) {
|
|
18203
|
-
var post = m.post.length ? expand(m.post, false) : [""];
|
|
18241
|
+
var post = m.post.length ? expand(m.post, max, false) : [""];
|
|
18204
18242
|
return post.map(function(p) {
|
|
18205
18243
|
return m.pre + n[0] + p;
|
|
18206
18244
|
});
|
|
@@ -18208,13 +18246,13 @@ var require_brace_expansion = __commonJS({
|
|
|
18208
18246
|
}
|
|
18209
18247
|
}
|
|
18210
18248
|
var pre = m.pre;
|
|
18211
|
-
var post = m.post.length ? expand(m.post, false) : [""];
|
|
18249
|
+
var post = m.post.length ? expand(m.post, max, false) : [""];
|
|
18212
18250
|
var N;
|
|
18213
18251
|
if (isSequence) {
|
|
18214
18252
|
var x = numeric(n[0]);
|
|
18215
18253
|
var y = numeric(n[1]);
|
|
18216
18254
|
var width = Math.max(n[0].length, n[1].length);
|
|
18217
|
-
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
18255
|
+
var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
|
|
18218
18256
|
var test = lte;
|
|
18219
18257
|
var reverse = y < x;
|
|
18220
18258
|
if (reverse) {
|
|
@@ -18223,7 +18261,7 @@ var require_brace_expansion = __commonJS({
|
|
|
18223
18261
|
}
|
|
18224
18262
|
var pad = n.some(isPadded);
|
|
18225
18263
|
N = [];
|
|
18226
|
-
for (var i = x; test(i, y); i += incr) {
|
|
18264
|
+
for (var i = x; test(i, y) && N.length < max; i += incr) {
|
|
18227
18265
|
var c;
|
|
18228
18266
|
if (isAlphaSequence) {
|
|
18229
18267
|
c = String.fromCharCode(i);
|
|
@@ -18246,11 +18284,11 @@ var require_brace_expansion = __commonJS({
|
|
|
18246
18284
|
}
|
|
18247
18285
|
} else {
|
|
18248
18286
|
N = concatMap(n, function(el) {
|
|
18249
|
-
return expand(el, false);
|
|
18287
|
+
return expand(el, max, false);
|
|
18250
18288
|
});
|
|
18251
18289
|
}
|
|
18252
18290
|
for (var j = 0; j < N.length; j++) {
|
|
18253
|
-
for (var k = 0; k < post.length; k++) {
|
|
18291
|
+
for (var k = 0; k < post.length && expansions.length < max; k++) {
|
|
18254
18292
|
var expansion = pre + N[j] + post[k];
|
|
18255
18293
|
if (!isTop || isSequence || expansion)
|
|
18256
18294
|
expansions.push(expansion);
|
|
@@ -28205,7 +28243,7 @@ var require_detect_services = __commonJS({
|
|
|
28205
28243
|
workPath,
|
|
28206
28244
|
detectEntrypoint,
|
|
28207
28245
|
configuredServices: providedConfiguredServices,
|
|
28208
|
-
configuredServicesType
|
|
28246
|
+
configuredServicesType: providedConfiguredServicesType
|
|
28209
28247
|
} = options;
|
|
28210
28248
|
const scopedFs = workPath ? fs5.chdir(workPath) : fs5;
|
|
28211
28249
|
const { config: vercelConfig, error: configError } = await (0, import_utils4.readVercelConfig)(scopedFs);
|
|
@@ -28220,7 +28258,7 @@ var require_detect_services = __commonJS({
|
|
|
28220
28258
|
});
|
|
28221
28259
|
}
|
|
28222
28260
|
const hasProvidedConfiguredServices = providedConfiguredServices && Object.keys(providedConfiguredServices).length > 0;
|
|
28223
|
-
const experimentalServicesV2 = hasProvidedConfiguredServices &&
|
|
28261
|
+
const experimentalServicesV2 = hasProvidedConfiguredServices && providedConfiguredServicesType === "experimentalServicesV2" ? providedConfiguredServices : hasProvidedConfiguredServices ? void 0 : vercelConfig?.experimentalServicesV2;
|
|
28224
28262
|
if (experimentalServicesV2 && Object.keys(experimentalServicesV2).length > 0) {
|
|
28225
28263
|
const result2 = await (0, import_resolve_v2.resolveAllConfiguredServicesV2)(
|
|
28226
28264
|
experimentalServicesV2,
|
|
@@ -28237,9 +28275,9 @@ var require_detect_services = __commonJS({
|
|
|
28237
28275
|
warnings: []
|
|
28238
28276
|
});
|
|
28239
28277
|
}
|
|
28240
|
-
const
|
|
28241
|
-
const
|
|
28242
|
-
if (!
|
|
28278
|
+
const experimentalServicesV1 = hasProvidedConfiguredServices ? providedConfiguredServices : vercelConfig?.experimentalServices;
|
|
28279
|
+
const hasExperimentalServicesV1 = experimentalServicesV1 && Object.keys(experimentalServicesV1).length > 0;
|
|
28280
|
+
if (!hasExperimentalServicesV1) {
|
|
28243
28281
|
const detectors = [
|
|
28244
28282
|
{ detect: import_detect_railway.detectRailwayServices, source: "railway" },
|
|
28245
28283
|
{ detect: import_detect_render.detectRenderServices, source: "render" },
|
|
@@ -28267,7 +28305,7 @@ var require_detect_services = __commonJS({
|
|
|
28267
28305
|
});
|
|
28268
28306
|
}
|
|
28269
28307
|
const result = await (0, import_resolve.resolveAllConfiguredServices)(
|
|
28270
|
-
|
|
28308
|
+
experimentalServicesV1,
|
|
28271
28309
|
scopedFs,
|
|
28272
28310
|
"configured"
|
|
28273
28311
|
);
|
|
@@ -28684,7 +28722,8 @@ var require_get_services_builders = __commonJS({
|
|
|
28684
28722
|
var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28685
28723
|
var get_services_builders_exports = {};
|
|
28686
28724
|
__export2(get_services_builders_exports, {
|
|
28687
|
-
getServicesBuilders: () => getServicesBuilders2
|
|
28725
|
+
getServicesBuilders: () => getServicesBuilders2,
|
|
28726
|
+
warnIgnoredDirectories: () => warnIgnoredDirectories
|
|
28688
28727
|
});
|
|
28689
28728
|
module.exports = __toCommonJS2(get_services_builders_exports);
|
|
28690
28729
|
var import_detect_services2 = require_detect_services();
|
|
@@ -28800,6 +28839,23 @@ var require_get_services_builders = __commonJS({
|
|
|
28800
28839
|
useImplicitEnvInjection: result.useImplicitEnvInjection
|
|
28801
28840
|
};
|
|
28802
28841
|
}
|
|
28842
|
+
function warnIgnoredDirectories(files, configuredServices) {
|
|
28843
|
+
const warnings = [];
|
|
28844
|
+
if (files.some((f) => f.startsWith("api/"))) {
|
|
28845
|
+
const serviceCoversApi = Object.values(configuredServices).some((service) => {
|
|
28846
|
+
const root = service.root ?? ".";
|
|
28847
|
+
const entrypoint = service.entrypoint ?? "";
|
|
28848
|
+
return root === "api" || root.startsWith("api/") || root === "." && entrypoint.startsWith("api/");
|
|
28849
|
+
});
|
|
28850
|
+
if (!serviceCoversApi) {
|
|
28851
|
+
warnings.push({
|
|
28852
|
+
code: "api_dir_ignored",
|
|
28853
|
+
message: "The `api/` directory will not be built because `experimentalServices` is configured. To serve these files, declare them as a service in your `vercel.json`."
|
|
28854
|
+
});
|
|
28855
|
+
}
|
|
28856
|
+
}
|
|
28857
|
+
return warnings;
|
|
28858
|
+
}
|
|
28803
28859
|
}
|
|
28804
28860
|
});
|
|
28805
28861
|
|
|
@@ -28901,21 +28957,27 @@ var require_detect_builders = __commonJS({
|
|
|
28901
28957
|
}
|
|
28902
28958
|
async function detectBuilders2(files, pkg, options = {}) {
|
|
28903
28959
|
const {
|
|
28904
|
-
experimentalServices,
|
|
28960
|
+
experimentalServices: experimentalServicesV1,
|
|
28905
28961
|
experimentalServicesV2,
|
|
28906
28962
|
projectSettings = {}
|
|
28907
28963
|
} = options;
|
|
28908
28964
|
const { framework } = projectSettings;
|
|
28909
|
-
const configuredServices =
|
|
28910
|
-
const configuredServicesType =
|
|
28965
|
+
const configuredServices = experimentalServicesV2 ?? experimentalServicesV1;
|
|
28966
|
+
const configuredServicesType = experimentalServicesV2 ? "experimentalServicesV2" : "experimentalServices";
|
|
28911
28967
|
const hasServicesConfig = configuredServices != null && typeof configuredServices === "object";
|
|
28912
28968
|
if (hasServicesConfig || framework === "services") {
|
|
28913
|
-
|
|
28969
|
+
const result = await (0, import_get_services_builders.getServicesBuilders)({
|
|
28914
28970
|
workPath: options.workPath,
|
|
28915
28971
|
configuredServices,
|
|
28916
28972
|
configuredServicesType,
|
|
28917
28973
|
projectFramework: framework
|
|
28918
28974
|
});
|
|
28975
|
+
if (configuredServices != null) {
|
|
28976
|
+
result.warnings.push(
|
|
28977
|
+
...(0, import_get_services_builders.warnIgnoredDirectories)(files, configuredServices)
|
|
28978
|
+
);
|
|
28979
|
+
}
|
|
28980
|
+
return result;
|
|
28919
28981
|
}
|
|
28920
28982
|
const errors = [];
|
|
28921
28983
|
const warnings = [];
|
|
@@ -29298,10 +29360,11 @@ var require_detect_builders = __commonJS({
|
|
|
29298
29360
|
message: "Function must contain at least one property."
|
|
29299
29361
|
};
|
|
29300
29362
|
}
|
|
29301
|
-
|
|
29363
|
+
const maxDurationLimit = (0, import_build_utils6.getMaxDurationLimit)();
|
|
29364
|
+
if (func.maxDuration !== void 0 && func.maxDuration !== "max" && (func.maxDuration < 1 || maxDurationLimit !== void 0 && func.maxDuration > maxDurationLimit || !Number.isInteger(func.maxDuration))) {
|
|
29302
29365
|
return {
|
|
29303
29366
|
code: "invalid_function_duration",
|
|
29304
|
-
message:
|
|
29367
|
+
message: maxDurationLimit !== void 0 ? `Functions must have a maxDuration between 1 and ${maxDurationLimit}, or "max".` : 'Functions must have a positive integer maxDuration, or "max".'
|
|
29305
29368
|
};
|
|
29306
29369
|
}
|
|
29307
29370
|
if (func.memory !== void 0 && (func.memory < 128 || func.memory > 10240)) {
|
|
@@ -30376,9 +30439,9 @@ var require_path = __commonJS({
|
|
|
30376
30439
|
}
|
|
30377
30440
|
});
|
|
30378
30441
|
|
|
30379
|
-
// ../../node_modules/.pnpm/brace-expansion@2.
|
|
30442
|
+
// ../../node_modules/.pnpm/brace-expansion@2.1.1/node_modules/brace-expansion/index.js
|
|
30380
30443
|
var require_brace_expansion2 = __commonJS({
|
|
30381
|
-
"../../node_modules/.pnpm/brace-expansion@2.
|
|
30444
|
+
"../../node_modules/.pnpm/brace-expansion@2.1.1/node_modules/brace-expansion/index.js"(exports, module) {
|
|
30382
30445
|
var balanced = require_balanced_match();
|
|
30383
30446
|
module.exports = expandTop;
|
|
30384
30447
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
@@ -30415,13 +30478,15 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30415
30478
|
parts.push.apply(parts, p);
|
|
30416
30479
|
return parts;
|
|
30417
30480
|
}
|
|
30418
|
-
function expandTop(str) {
|
|
30481
|
+
function expandTop(str, options) {
|
|
30419
30482
|
if (!str)
|
|
30420
30483
|
return [];
|
|
30484
|
+
options = options || {};
|
|
30485
|
+
var max = options.max == null ? Infinity : options.max;
|
|
30421
30486
|
if (str.substr(0, 2) === "{}") {
|
|
30422
30487
|
str = "\\{\\}" + str.substr(2);
|
|
30423
30488
|
}
|
|
30424
|
-
return expand(escapeBraces(str), true).map(unescapeBraces);
|
|
30489
|
+
return expand(escapeBraces(str), max, true).map(unescapeBraces);
|
|
30425
30490
|
}
|
|
30426
30491
|
function embrace(str) {
|
|
30427
30492
|
return "{" + str + "}";
|
|
@@ -30435,15 +30500,15 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30435
30500
|
function gte(i, y) {
|
|
30436
30501
|
return i >= y;
|
|
30437
30502
|
}
|
|
30438
|
-
function expand(str, isTop) {
|
|
30503
|
+
function expand(str, max, isTop) {
|
|
30439
30504
|
var expansions = [];
|
|
30440
30505
|
var m = balanced("{", "}", str);
|
|
30441
30506
|
if (!m)
|
|
30442
30507
|
return [str];
|
|
30443
30508
|
var pre = m.pre;
|
|
30444
|
-
var post = m.post.length ? expand(m.post, false) : [""];
|
|
30509
|
+
var post = m.post.length ? expand(m.post, max, false) : [""];
|
|
30445
30510
|
if (/\$$/.test(m.pre)) {
|
|
30446
|
-
for (var k = 0; k < post.length; k++) {
|
|
30511
|
+
for (var k = 0; k < post.length && k < max; k++) {
|
|
30447
30512
|
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
30448
30513
|
expansions.push(expansion);
|
|
30449
30514
|
}
|
|
@@ -30453,9 +30518,9 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30453
30518
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
30454
30519
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
30455
30520
|
if (!isSequence && !isOptions) {
|
|
30456
|
-
if (m.post.match(
|
|
30521
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
30457
30522
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
30458
|
-
return expand(str);
|
|
30523
|
+
return expand(str, max, true);
|
|
30459
30524
|
}
|
|
30460
30525
|
return [str];
|
|
30461
30526
|
}
|
|
@@ -30465,7 +30530,7 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30465
30530
|
} else {
|
|
30466
30531
|
n = parseCommaParts(m.body);
|
|
30467
30532
|
if (n.length === 1) {
|
|
30468
|
-
n = expand(n[0], false).map(embrace);
|
|
30533
|
+
n = expand(n[0], max, false).map(embrace);
|
|
30469
30534
|
if (n.length === 1) {
|
|
30470
30535
|
return post.map(function(p) {
|
|
30471
30536
|
return m.pre + n[0] + p;
|
|
@@ -30478,7 +30543,7 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30478
30543
|
var x = numeric(n[0]);
|
|
30479
30544
|
var y = numeric(n[1]);
|
|
30480
30545
|
var width = Math.max(n[0].length, n[1].length);
|
|
30481
|
-
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
30546
|
+
var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
|
|
30482
30547
|
var test = lte;
|
|
30483
30548
|
var reverse = y < x;
|
|
30484
30549
|
if (reverse) {
|
|
@@ -30487,7 +30552,7 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30487
30552
|
}
|
|
30488
30553
|
var pad = n.some(isPadded);
|
|
30489
30554
|
N = [];
|
|
30490
|
-
for (var i = x; test(i, y); i += incr) {
|
|
30555
|
+
for (var i = x; test(i, y) && N.length < max; i += incr) {
|
|
30491
30556
|
var c;
|
|
30492
30557
|
if (isAlphaSequence) {
|
|
30493
30558
|
c = String.fromCharCode(i);
|
|
@@ -30511,11 +30576,11 @@ var require_brace_expansion2 = __commonJS({
|
|
|
30511
30576
|
} else {
|
|
30512
30577
|
N = [];
|
|
30513
30578
|
for (var j = 0; j < n.length; j++) {
|
|
30514
|
-
N.push.apply(N, expand(n[j], false));
|
|
30579
|
+
N.push.apply(N, expand(n[j], max, false));
|
|
30515
30580
|
}
|
|
30516
30581
|
}
|
|
30517
30582
|
for (var j = 0; j < N.length; j++) {
|
|
30518
|
-
for (var k = 0; k < post.length; k++) {
|
|
30583
|
+
for (var k = 0; k < post.length && expansions.length < max; k++) {
|
|
30519
30584
|
var expansion = pre + N[j] + post[k];
|
|
30520
30585
|
if (!isTop || isSequence || expansion)
|
|
30521
30586
|
expansions.push(expansion);
|
|
@@ -33550,7 +33615,7 @@ var require_get_workspace_package_paths = __commonJS({
|
|
|
33550
33615
|
async function getPackagePaths(packages, fs5) {
|
|
33551
33616
|
return (await Promise.all(
|
|
33552
33617
|
packages.map(
|
|
33553
|
-
(packageGlob) => new Promise((
|
|
33618
|
+
(packageGlob) => new Promise((resolve5, reject) => {
|
|
33554
33619
|
(0, import_glob.default)(
|
|
33555
33620
|
normalizePath3(posixPath.join(packageGlob, "package.json")),
|
|
33556
33621
|
{
|
|
@@ -33561,7 +33626,7 @@ var require_get_workspace_package_paths = __commonJS({
|
|
|
33561
33626
|
if (err)
|
|
33562
33627
|
reject(err);
|
|
33563
33628
|
else
|
|
33564
|
-
|
|
33629
|
+
resolve5(matches);
|
|
33565
33630
|
}
|
|
33566
33631
|
);
|
|
33567
33632
|
})
|
|
@@ -34462,14 +34527,14 @@ var require_open = __commonJS({
|
|
|
34462
34527
|
}
|
|
34463
34528
|
const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
|
|
34464
34529
|
if (options.wait) {
|
|
34465
|
-
return new Promise((
|
|
34530
|
+
return new Promise((resolve5, reject) => {
|
|
34466
34531
|
subprocess.once("error", reject);
|
|
34467
34532
|
subprocess.once("close", (exitCode) => {
|
|
34468
34533
|
if (options.allowNonzeroExitCode && exitCode > 0) {
|
|
34469
34534
|
reject(new Error(`Exited with code ${exitCode}`));
|
|
34470
34535
|
return;
|
|
34471
34536
|
}
|
|
34472
|
-
|
|
34537
|
+
resolve5(subprocess);
|
|
34473
34538
|
});
|
|
34474
34539
|
});
|
|
34475
34540
|
}
|
|
@@ -34560,11 +34625,11 @@ var require_universalify2 = __commonJS({
|
|
|
34560
34625
|
if (typeof arguments[arguments.length - 1] === "function")
|
|
34561
34626
|
fn.apply(this, arguments);
|
|
34562
34627
|
else {
|
|
34563
|
-
return new Promise((
|
|
34628
|
+
return new Promise((resolve5, reject) => {
|
|
34564
34629
|
arguments[arguments.length] = (err, res) => {
|
|
34565
34630
|
if (err)
|
|
34566
34631
|
return reject(err);
|
|
34567
|
-
|
|
34632
|
+
resolve5(res);
|
|
34568
34633
|
};
|
|
34569
34634
|
arguments.length++;
|
|
34570
34635
|
fn.apply(this, arguments);
|
|
@@ -34639,19 +34704,19 @@ var require_fs3 = __commonJS({
|
|
|
34639
34704
|
if (typeof callback === "function") {
|
|
34640
34705
|
return fs5.exists(filename, callback);
|
|
34641
34706
|
}
|
|
34642
|
-
return new Promise((
|
|
34643
|
-
return fs5.exists(filename,
|
|
34707
|
+
return new Promise((resolve5) => {
|
|
34708
|
+
return fs5.exists(filename, resolve5);
|
|
34644
34709
|
});
|
|
34645
34710
|
};
|
|
34646
34711
|
exports.read = function(fd, buffer, offset, length, position, callback) {
|
|
34647
34712
|
if (typeof callback === "function") {
|
|
34648
34713
|
return fs5.read(fd, buffer, offset, length, position, callback);
|
|
34649
34714
|
}
|
|
34650
|
-
return new Promise((
|
|
34715
|
+
return new Promise((resolve5, reject) => {
|
|
34651
34716
|
fs5.read(fd, buffer, offset, length, position, (err, bytesRead, buffer2) => {
|
|
34652
34717
|
if (err)
|
|
34653
34718
|
return reject(err);
|
|
34654
|
-
|
|
34719
|
+
resolve5({ bytesRead, buffer: buffer2 });
|
|
34655
34720
|
});
|
|
34656
34721
|
});
|
|
34657
34722
|
};
|
|
@@ -34659,11 +34724,11 @@ var require_fs3 = __commonJS({
|
|
|
34659
34724
|
if (typeof args[args.length - 1] === "function") {
|
|
34660
34725
|
return fs5.write(fd, buffer, ...args);
|
|
34661
34726
|
}
|
|
34662
|
-
return new Promise((
|
|
34727
|
+
return new Promise((resolve5, reject) => {
|
|
34663
34728
|
fs5.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
|
|
34664
34729
|
if (err)
|
|
34665
34730
|
return reject(err);
|
|
34666
|
-
|
|
34731
|
+
resolve5({ bytesWritten, buffer: buffer2 });
|
|
34667
34732
|
});
|
|
34668
34733
|
});
|
|
34669
34734
|
};
|
|
@@ -36675,12 +36740,12 @@ var require_lib7 = __commonJS({
|
|
|
36675
36740
|
if (token !== void 0) {
|
|
36676
36741
|
return token;
|
|
36677
36742
|
}
|
|
36678
|
-
return new Promise((
|
|
36743
|
+
return new Promise((resolve5, reject) => {
|
|
36679
36744
|
if (this.pauseFn && !this.paused) {
|
|
36680
36745
|
this.paused = true;
|
|
36681
36746
|
this.pauseFn();
|
|
36682
36747
|
}
|
|
36683
|
-
this.waiting.push({ resolve:
|
|
36748
|
+
this.waiting.push({ resolve: resolve5, reject });
|
|
36684
36749
|
});
|
|
36685
36750
|
}
|
|
36686
36751
|
release(token) {
|
|
@@ -37221,7 +37286,7 @@ var require_package = __commonJS({
|
|
|
37221
37286
|
"../client/package.json"(exports, module) {
|
|
37222
37287
|
module.exports = {
|
|
37223
37288
|
name: "@vercel/client",
|
|
37224
|
-
version: "17.5.
|
|
37289
|
+
version: "17.5.11",
|
|
37225
37290
|
main: "dist/index.js",
|
|
37226
37291
|
typings: "dist/index.d.ts",
|
|
37227
37292
|
homepage: "https://vercel.com",
|
|
@@ -37362,14 +37427,14 @@ var require_readdir_recursive = __commonJS({
|
|
|
37362
37427
|
function readdir(path, ignores) {
|
|
37363
37428
|
ignores = ignores.map(toMatcherFunction);
|
|
37364
37429
|
let list2 = [];
|
|
37365
|
-
return new Promise(function(
|
|
37430
|
+
return new Promise(function(resolve5, reject) {
|
|
37366
37431
|
import_fs4.default.readdir(path, function(err, files) {
|
|
37367
37432
|
if (err) {
|
|
37368
37433
|
return reject(err);
|
|
37369
37434
|
}
|
|
37370
37435
|
let pending = files.length;
|
|
37371
37436
|
if (!pending) {
|
|
37372
|
-
return
|
|
37437
|
+
return resolve5(list2);
|
|
37373
37438
|
}
|
|
37374
37439
|
files.forEach(function(file) {
|
|
37375
37440
|
const filePath = import_path12.default.join(path, file);
|
|
@@ -37381,7 +37446,7 @@ var require_readdir_recursive = __commonJS({
|
|
|
37381
37446
|
if (matches) {
|
|
37382
37447
|
pending -= 1;
|
|
37383
37448
|
if (!pending) {
|
|
37384
|
-
return
|
|
37449
|
+
return resolve5(list2);
|
|
37385
37450
|
}
|
|
37386
37451
|
return null;
|
|
37387
37452
|
}
|
|
@@ -37393,14 +37458,14 @@ var require_readdir_recursive = __commonJS({
|
|
|
37393
37458
|
list2 = list2.concat(res);
|
|
37394
37459
|
pending -= 1;
|
|
37395
37460
|
if (!pending) {
|
|
37396
|
-
return
|
|
37461
|
+
return resolve5(list2);
|
|
37397
37462
|
}
|
|
37398
37463
|
}).catch(reject);
|
|
37399
37464
|
} else {
|
|
37400
37465
|
list2.push(filePath);
|
|
37401
37466
|
pending -= 1;
|
|
37402
37467
|
if (!pending) {
|
|
37403
|
-
return
|
|
37468
|
+
return resolve5(list2);
|
|
37404
37469
|
}
|
|
37405
37470
|
}
|
|
37406
37471
|
});
|
|
@@ -40476,13 +40541,14 @@ var require_braces = __commonJS({
|
|
|
40476
40541
|
}
|
|
40477
40542
|
});
|
|
40478
40543
|
|
|
40479
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
40544
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
|
|
40480
40545
|
var require_constants2 = __commonJS({
|
|
40481
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
40546
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
40482
40547
|
"use strict";
|
|
40483
40548
|
var path = __require("path");
|
|
40484
40549
|
var WIN_SLASH = "\\\\/";
|
|
40485
40550
|
var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
40551
|
+
var DEFAULT_MAX_EXTGLOB_RECURSION = 0;
|
|
40486
40552
|
var DOT_LITERAL = "\\.";
|
|
40487
40553
|
var PLUS_LITERAL = "\\+";
|
|
40488
40554
|
var QMARK_LITERAL = "\\?";
|
|
@@ -40530,6 +40596,7 @@ var require_constants2 = __commonJS({
|
|
|
40530
40596
|
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
|
|
40531
40597
|
};
|
|
40532
40598
|
var POSIX_REGEX_SOURCE = {
|
|
40599
|
+
__proto__: null,
|
|
40533
40600
|
alnum: "a-zA-Z0-9",
|
|
40534
40601
|
alpha: "a-zA-Z",
|
|
40535
40602
|
ascii: "\\x00-\\x7F",
|
|
@@ -40546,6 +40613,7 @@ var require_constants2 = __commonJS({
|
|
|
40546
40613
|
xdigit: "A-Fa-f0-9"
|
|
40547
40614
|
};
|
|
40548
40615
|
module.exports = {
|
|
40616
|
+
DEFAULT_MAX_EXTGLOB_RECURSION,
|
|
40549
40617
|
MAX_LENGTH: 1024 * 64,
|
|
40550
40618
|
POSIX_REGEX_SOURCE,
|
|
40551
40619
|
// regular expressions
|
|
@@ -40557,6 +40625,7 @@ var require_constants2 = __commonJS({
|
|
|
40557
40625
|
REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
|
|
40558
40626
|
// Replace globs with equivalent patterns to reduce parsing time.
|
|
40559
40627
|
REPLACEMENTS: {
|
|
40628
|
+
__proto__: null,
|
|
40560
40629
|
"***": "*",
|
|
40561
40630
|
"**/**": "**",
|
|
40562
40631
|
"**/**/**": "**"
|
|
@@ -40673,9 +40742,9 @@ var require_constants2 = __commonJS({
|
|
|
40673
40742
|
}
|
|
40674
40743
|
});
|
|
40675
40744
|
|
|
40676
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
40745
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
|
|
40677
40746
|
var require_utils5 = __commonJS({
|
|
40678
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
40747
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
|
|
40679
40748
|
"use strict";
|
|
40680
40749
|
var path = __require("path");
|
|
40681
40750
|
var win32 = process.platform === "win32";
|
|
@@ -40736,9 +40805,9 @@ var require_utils5 = __commonJS({
|
|
|
40736
40805
|
}
|
|
40737
40806
|
});
|
|
40738
40807
|
|
|
40739
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
40808
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
|
|
40740
40809
|
var require_scan = __commonJS({
|
|
40741
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
40810
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
40742
40811
|
"use strict";
|
|
40743
40812
|
var utils = require_utils5();
|
|
40744
40813
|
var {
|
|
@@ -41069,9 +41138,9 @@ var require_scan = __commonJS({
|
|
|
41069
41138
|
}
|
|
41070
41139
|
});
|
|
41071
41140
|
|
|
41072
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
41141
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
|
|
41073
41142
|
var require_parse3 = __commonJS({
|
|
41074
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
41143
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
41075
41144
|
"use strict";
|
|
41076
41145
|
var constants = require_constants2();
|
|
41077
41146
|
var utils = require_utils5();
|
|
@@ -41098,6 +41167,213 @@ var require_parse3 = __commonJS({
|
|
|
41098
41167
|
var syntaxError = (type, char) => {
|
|
41099
41168
|
return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
|
|
41100
41169
|
};
|
|
41170
|
+
var splitTopLevel = (input) => {
|
|
41171
|
+
const parts = [];
|
|
41172
|
+
let bracket = 0;
|
|
41173
|
+
let paren = 0;
|
|
41174
|
+
let quote = 0;
|
|
41175
|
+
let value = "";
|
|
41176
|
+
let escaped = false;
|
|
41177
|
+
for (const ch of input) {
|
|
41178
|
+
if (escaped === true) {
|
|
41179
|
+
value += ch;
|
|
41180
|
+
escaped = false;
|
|
41181
|
+
continue;
|
|
41182
|
+
}
|
|
41183
|
+
if (ch === "\\") {
|
|
41184
|
+
value += ch;
|
|
41185
|
+
escaped = true;
|
|
41186
|
+
continue;
|
|
41187
|
+
}
|
|
41188
|
+
if (ch === '"') {
|
|
41189
|
+
quote = quote === 1 ? 0 : 1;
|
|
41190
|
+
value += ch;
|
|
41191
|
+
continue;
|
|
41192
|
+
}
|
|
41193
|
+
if (quote === 0) {
|
|
41194
|
+
if (ch === "[") {
|
|
41195
|
+
bracket++;
|
|
41196
|
+
} else if (ch === "]" && bracket > 0) {
|
|
41197
|
+
bracket--;
|
|
41198
|
+
} else if (bracket === 0) {
|
|
41199
|
+
if (ch === "(") {
|
|
41200
|
+
paren++;
|
|
41201
|
+
} else if (ch === ")" && paren > 0) {
|
|
41202
|
+
paren--;
|
|
41203
|
+
} else if (ch === "|" && paren === 0) {
|
|
41204
|
+
parts.push(value);
|
|
41205
|
+
value = "";
|
|
41206
|
+
continue;
|
|
41207
|
+
}
|
|
41208
|
+
}
|
|
41209
|
+
}
|
|
41210
|
+
value += ch;
|
|
41211
|
+
}
|
|
41212
|
+
parts.push(value);
|
|
41213
|
+
return parts;
|
|
41214
|
+
};
|
|
41215
|
+
var isPlainBranch = (branch) => {
|
|
41216
|
+
let escaped = false;
|
|
41217
|
+
for (const ch of branch) {
|
|
41218
|
+
if (escaped === true) {
|
|
41219
|
+
escaped = false;
|
|
41220
|
+
continue;
|
|
41221
|
+
}
|
|
41222
|
+
if (ch === "\\") {
|
|
41223
|
+
escaped = true;
|
|
41224
|
+
continue;
|
|
41225
|
+
}
|
|
41226
|
+
if (/[?*+@!()[\]{}]/.test(ch)) {
|
|
41227
|
+
return false;
|
|
41228
|
+
}
|
|
41229
|
+
}
|
|
41230
|
+
return true;
|
|
41231
|
+
};
|
|
41232
|
+
var normalizeSimpleBranch = (branch) => {
|
|
41233
|
+
let value = branch.trim();
|
|
41234
|
+
let changed = true;
|
|
41235
|
+
while (changed === true) {
|
|
41236
|
+
changed = false;
|
|
41237
|
+
if (/^@\([^\\()[\]{}|]+\)$/.test(value)) {
|
|
41238
|
+
value = value.slice(2, -1);
|
|
41239
|
+
changed = true;
|
|
41240
|
+
}
|
|
41241
|
+
}
|
|
41242
|
+
if (!isPlainBranch(value)) {
|
|
41243
|
+
return;
|
|
41244
|
+
}
|
|
41245
|
+
return value.replace(/\\(.)/g, "$1");
|
|
41246
|
+
};
|
|
41247
|
+
var hasRepeatedCharPrefixOverlap = (branches) => {
|
|
41248
|
+
const values = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
41249
|
+
for (let i = 0; i < values.length; i++) {
|
|
41250
|
+
for (let j = i + 1; j < values.length; j++) {
|
|
41251
|
+
const a = values[i];
|
|
41252
|
+
const b = values[j];
|
|
41253
|
+
const char = a[0];
|
|
41254
|
+
if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
|
|
41255
|
+
continue;
|
|
41256
|
+
}
|
|
41257
|
+
if (a === b || a.startsWith(b) || b.startsWith(a)) {
|
|
41258
|
+
return true;
|
|
41259
|
+
}
|
|
41260
|
+
}
|
|
41261
|
+
}
|
|
41262
|
+
return false;
|
|
41263
|
+
};
|
|
41264
|
+
var parseRepeatedExtglob = (pattern, requireEnd = true) => {
|
|
41265
|
+
if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(") {
|
|
41266
|
+
return;
|
|
41267
|
+
}
|
|
41268
|
+
let bracket = 0;
|
|
41269
|
+
let paren = 0;
|
|
41270
|
+
let quote = 0;
|
|
41271
|
+
let escaped = false;
|
|
41272
|
+
for (let i = 1; i < pattern.length; i++) {
|
|
41273
|
+
const ch = pattern[i];
|
|
41274
|
+
if (escaped === true) {
|
|
41275
|
+
escaped = false;
|
|
41276
|
+
continue;
|
|
41277
|
+
}
|
|
41278
|
+
if (ch === "\\") {
|
|
41279
|
+
escaped = true;
|
|
41280
|
+
continue;
|
|
41281
|
+
}
|
|
41282
|
+
if (ch === '"') {
|
|
41283
|
+
quote = quote === 1 ? 0 : 1;
|
|
41284
|
+
continue;
|
|
41285
|
+
}
|
|
41286
|
+
if (quote === 1) {
|
|
41287
|
+
continue;
|
|
41288
|
+
}
|
|
41289
|
+
if (ch === "[") {
|
|
41290
|
+
bracket++;
|
|
41291
|
+
continue;
|
|
41292
|
+
}
|
|
41293
|
+
if (ch === "]" && bracket > 0) {
|
|
41294
|
+
bracket--;
|
|
41295
|
+
continue;
|
|
41296
|
+
}
|
|
41297
|
+
if (bracket > 0) {
|
|
41298
|
+
continue;
|
|
41299
|
+
}
|
|
41300
|
+
if (ch === "(") {
|
|
41301
|
+
paren++;
|
|
41302
|
+
continue;
|
|
41303
|
+
}
|
|
41304
|
+
if (ch === ")") {
|
|
41305
|
+
paren--;
|
|
41306
|
+
if (paren === 0) {
|
|
41307
|
+
if (requireEnd === true && i !== pattern.length - 1) {
|
|
41308
|
+
return;
|
|
41309
|
+
}
|
|
41310
|
+
return {
|
|
41311
|
+
type: pattern[0],
|
|
41312
|
+
body: pattern.slice(2, i),
|
|
41313
|
+
end: i
|
|
41314
|
+
};
|
|
41315
|
+
}
|
|
41316
|
+
}
|
|
41317
|
+
}
|
|
41318
|
+
};
|
|
41319
|
+
var getStarExtglobSequenceOutput = (pattern) => {
|
|
41320
|
+
let index = 0;
|
|
41321
|
+
const chars = [];
|
|
41322
|
+
while (index < pattern.length) {
|
|
41323
|
+
const match = parseRepeatedExtglob(pattern.slice(index), false);
|
|
41324
|
+
if (!match || match.type !== "*") {
|
|
41325
|
+
return;
|
|
41326
|
+
}
|
|
41327
|
+
const branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
|
|
41328
|
+
if (branches.length !== 1) {
|
|
41329
|
+
return;
|
|
41330
|
+
}
|
|
41331
|
+
const branch = normalizeSimpleBranch(branches[0]);
|
|
41332
|
+
if (!branch || branch.length !== 1) {
|
|
41333
|
+
return;
|
|
41334
|
+
}
|
|
41335
|
+
chars.push(branch);
|
|
41336
|
+
index += match.end + 1;
|
|
41337
|
+
}
|
|
41338
|
+
if (chars.length < 1) {
|
|
41339
|
+
return;
|
|
41340
|
+
}
|
|
41341
|
+
const source = chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`;
|
|
41342
|
+
return `${source}*`;
|
|
41343
|
+
};
|
|
41344
|
+
var repeatedExtglobRecursion = (pattern) => {
|
|
41345
|
+
let depth = 0;
|
|
41346
|
+
let value = pattern.trim();
|
|
41347
|
+
let match = parseRepeatedExtglob(value);
|
|
41348
|
+
while (match) {
|
|
41349
|
+
depth++;
|
|
41350
|
+
value = match.body.trim();
|
|
41351
|
+
match = parseRepeatedExtglob(value);
|
|
41352
|
+
}
|
|
41353
|
+
return depth;
|
|
41354
|
+
};
|
|
41355
|
+
var analyzeRepeatedExtglob = (body, options) => {
|
|
41356
|
+
if (options.maxExtglobRecursion === false) {
|
|
41357
|
+
return { risky: false };
|
|
41358
|
+
}
|
|
41359
|
+
const max = typeof options.maxExtglobRecursion === "number" ? options.maxExtglobRecursion : constants.DEFAULT_MAX_EXTGLOB_RECURSION;
|
|
41360
|
+
const branches = splitTopLevel(body).map((branch) => branch.trim());
|
|
41361
|
+
if (branches.length > 1) {
|
|
41362
|
+
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) {
|
|
41363
|
+
return { risky: true };
|
|
41364
|
+
}
|
|
41365
|
+
}
|
|
41366
|
+
for (const branch of branches) {
|
|
41367
|
+
const safeOutput = getStarExtglobSequenceOutput(branch);
|
|
41368
|
+
if (safeOutput) {
|
|
41369
|
+
return { risky: true, safeOutput };
|
|
41370
|
+
}
|
|
41371
|
+
if (repeatedExtglobRecursion(branch) > max) {
|
|
41372
|
+
return { risky: true };
|
|
41373
|
+
}
|
|
41374
|
+
}
|
|
41375
|
+
return { risky: false };
|
|
41376
|
+
};
|
|
41101
41377
|
var parse3 = (input, options) => {
|
|
41102
41378
|
if (typeof input !== "string") {
|
|
41103
41379
|
throw new TypeError("Expected a string");
|
|
@@ -41230,6 +41506,8 @@ var require_parse3 = __commonJS({
|
|
|
41230
41506
|
token.prev = prev;
|
|
41231
41507
|
token.parens = state.parens;
|
|
41232
41508
|
token.output = state.output;
|
|
41509
|
+
token.startIndex = state.index;
|
|
41510
|
+
token.tokensIndex = tokens.length;
|
|
41233
41511
|
const output = (opts.capture ? "(" : "") + token.open;
|
|
41234
41512
|
increment("parens");
|
|
41235
41513
|
push({ type, value: value2, output: state.output ? "" : ONE_CHAR });
|
|
@@ -41237,6 +41515,26 @@ var require_parse3 = __commonJS({
|
|
|
41237
41515
|
extglobs.push(token);
|
|
41238
41516
|
};
|
|
41239
41517
|
const extglobClose = (token) => {
|
|
41518
|
+
const literal = input.slice(token.startIndex, state.index + 1);
|
|
41519
|
+
const body = input.slice(token.startIndex + 2, state.index);
|
|
41520
|
+
const analysis = analyzeRepeatedExtglob(body, opts);
|
|
41521
|
+
if ((token.type === "plus" || token.type === "star") && analysis.risky) {
|
|
41522
|
+
const safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0;
|
|
41523
|
+
const open2 = tokens[token.tokensIndex];
|
|
41524
|
+
open2.type = "text";
|
|
41525
|
+
open2.value = literal;
|
|
41526
|
+
open2.output = safeOutput || utils.escapeRegex(literal);
|
|
41527
|
+
for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
|
|
41528
|
+
tokens[i].value = "";
|
|
41529
|
+
tokens[i].output = "";
|
|
41530
|
+
delete tokens[i].suffix;
|
|
41531
|
+
}
|
|
41532
|
+
state.output = token.output + open2.output;
|
|
41533
|
+
state.backtrack = true;
|
|
41534
|
+
push({ type: "paren", extglob: true, value, output: "" });
|
|
41535
|
+
decrement("parens");
|
|
41536
|
+
return;
|
|
41537
|
+
}
|
|
41240
41538
|
let output = token.close + (opts.capture ? ")" : "");
|
|
41241
41539
|
let rest;
|
|
41242
41540
|
if (token.type === "negate") {
|
|
@@ -41850,9 +42148,9 @@ var require_parse3 = __commonJS({
|
|
|
41850
42148
|
}
|
|
41851
42149
|
});
|
|
41852
42150
|
|
|
41853
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
42151
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
|
|
41854
42152
|
var require_picomatch = __commonJS({
|
|
41855
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
42153
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
41856
42154
|
"use strict";
|
|
41857
42155
|
var path = __require("path");
|
|
41858
42156
|
var scan = require_scan();
|
|
@@ -41994,9 +42292,9 @@ var require_picomatch = __commonJS({
|
|
|
41994
42292
|
}
|
|
41995
42293
|
});
|
|
41996
42294
|
|
|
41997
|
-
// ../../node_modules/.pnpm/picomatch@2.3.
|
|
42295
|
+
// ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js
|
|
41998
42296
|
var require_picomatch2 = __commonJS({
|
|
41999
|
-
"../../node_modules/.pnpm/picomatch@2.3.
|
|
42297
|
+
"../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
|
|
42000
42298
|
"use strict";
|
|
42001
42299
|
module.exports = require_picomatch();
|
|
42002
42300
|
}
|
|
@@ -43181,9 +43479,9 @@ var require_reusify = __commonJS({
|
|
|
43181
43479
|
}
|
|
43182
43480
|
});
|
|
43183
43481
|
|
|
43184
|
-
// ../../node_modules/.pnpm/fastq@1.
|
|
43482
|
+
// ../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/queue.js
|
|
43185
43483
|
var require_queue = __commonJS({
|
|
43186
|
-
"../../node_modules/.pnpm/fastq@1.
|
|
43484
|
+
"../../node_modules/.pnpm/fastq@1.20.1/node_modules/fastq/queue.js"(exports, module) {
|
|
43187
43485
|
"use strict";
|
|
43188
43486
|
var reusify = require_reusify();
|
|
43189
43487
|
function fastqueue(context, worker, _concurrency) {
|
|
@@ -43230,7 +43528,8 @@ var require_queue = __commonJS({
|
|
|
43230
43528
|
empty: noop,
|
|
43231
43529
|
kill,
|
|
43232
43530
|
killAndDrain,
|
|
43233
|
-
error
|
|
43531
|
+
error,
|
|
43532
|
+
abort
|
|
43234
43533
|
};
|
|
43235
43534
|
return self2;
|
|
43236
43535
|
function running() {
|
|
@@ -43350,6 +43649,28 @@ var require_queue = __commonJS({
|
|
|
43350
43649
|
self2.drain();
|
|
43351
43650
|
self2.drain = noop;
|
|
43352
43651
|
}
|
|
43652
|
+
function abort() {
|
|
43653
|
+
var current = queueHead;
|
|
43654
|
+
queueHead = null;
|
|
43655
|
+
queueTail = null;
|
|
43656
|
+
while (current) {
|
|
43657
|
+
var next = current.next;
|
|
43658
|
+
var callback = current.callback;
|
|
43659
|
+
var errorHandler2 = current.errorHandler;
|
|
43660
|
+
var val = current.value;
|
|
43661
|
+
var context2 = current.context;
|
|
43662
|
+
current.value = null;
|
|
43663
|
+
current.callback = noop;
|
|
43664
|
+
current.errorHandler = null;
|
|
43665
|
+
if (errorHandler2) {
|
|
43666
|
+
errorHandler2(new Error("abort"), val);
|
|
43667
|
+
}
|
|
43668
|
+
callback.call(context2, new Error("abort"));
|
|
43669
|
+
current.release(current);
|
|
43670
|
+
current = next;
|
|
43671
|
+
}
|
|
43672
|
+
self2.drain = noop;
|
|
43673
|
+
}
|
|
43353
43674
|
function error(handler) {
|
|
43354
43675
|
errorHandler = handler;
|
|
43355
43676
|
}
|
|
@@ -43396,42 +43717,42 @@ var require_queue = __commonJS({
|
|
|
43396
43717
|
queue.drained = drained;
|
|
43397
43718
|
return queue;
|
|
43398
43719
|
function push(value) {
|
|
43399
|
-
var p = new Promise(function(
|
|
43720
|
+
var p = new Promise(function(resolve5, reject) {
|
|
43400
43721
|
pushCb(value, function(err, result) {
|
|
43401
43722
|
if (err) {
|
|
43402
43723
|
reject(err);
|
|
43403
43724
|
return;
|
|
43404
43725
|
}
|
|
43405
|
-
|
|
43726
|
+
resolve5(result);
|
|
43406
43727
|
});
|
|
43407
43728
|
});
|
|
43408
43729
|
p.catch(noop);
|
|
43409
43730
|
return p;
|
|
43410
43731
|
}
|
|
43411
43732
|
function unshift(value) {
|
|
43412
|
-
var p = new Promise(function(
|
|
43733
|
+
var p = new Promise(function(resolve5, reject) {
|
|
43413
43734
|
unshiftCb(value, function(err, result) {
|
|
43414
43735
|
if (err) {
|
|
43415
43736
|
reject(err);
|
|
43416
43737
|
return;
|
|
43417
43738
|
}
|
|
43418
|
-
|
|
43739
|
+
resolve5(result);
|
|
43419
43740
|
});
|
|
43420
43741
|
});
|
|
43421
43742
|
p.catch(noop);
|
|
43422
43743
|
return p;
|
|
43423
43744
|
}
|
|
43424
43745
|
function drained() {
|
|
43425
|
-
var p = new Promise(function(
|
|
43746
|
+
var p = new Promise(function(resolve5) {
|
|
43426
43747
|
process.nextTick(function() {
|
|
43427
43748
|
if (queue.idle()) {
|
|
43428
|
-
|
|
43749
|
+
resolve5();
|
|
43429
43750
|
} else {
|
|
43430
43751
|
var previousDrain = queue.drain;
|
|
43431
43752
|
queue.drain = function() {
|
|
43432
43753
|
if (typeof previousDrain === "function")
|
|
43433
43754
|
previousDrain();
|
|
43434
|
-
|
|
43755
|
+
resolve5();
|
|
43435
43756
|
queue.drain = previousDrain;
|
|
43436
43757
|
};
|
|
43437
43758
|
}
|
|
@@ -43917,9 +44238,9 @@ var require_stream3 = __commonJS({
|
|
|
43917
44238
|
});
|
|
43918
44239
|
}
|
|
43919
44240
|
_getStat(filepath) {
|
|
43920
|
-
return new Promise((
|
|
44241
|
+
return new Promise((resolve5, reject) => {
|
|
43921
44242
|
this._stat(filepath, this._fsStatSettings, (error, stats) => {
|
|
43922
|
-
return error === null ?
|
|
44243
|
+
return error === null ? resolve5(stats) : reject(error);
|
|
43923
44244
|
});
|
|
43924
44245
|
});
|
|
43925
44246
|
}
|
|
@@ -43943,10 +44264,10 @@ var require_async6 = __commonJS({
|
|
|
43943
44264
|
this._readerStream = new stream_1.default(this._settings);
|
|
43944
44265
|
}
|
|
43945
44266
|
dynamic(root, options) {
|
|
43946
|
-
return new Promise((
|
|
44267
|
+
return new Promise((resolve5, reject) => {
|
|
43947
44268
|
this._walkAsync(root, options, (error, entries) => {
|
|
43948
44269
|
if (error === null) {
|
|
43949
|
-
|
|
44270
|
+
resolve5(entries);
|
|
43950
44271
|
} else {
|
|
43951
44272
|
reject(error);
|
|
43952
44273
|
}
|
|
@@ -43956,10 +44277,10 @@ var require_async6 = __commonJS({
|
|
|
43956
44277
|
async static(patterns, options) {
|
|
43957
44278
|
const entries = [];
|
|
43958
44279
|
const stream = this._readerStream.static(patterns, options);
|
|
43959
|
-
return new Promise((
|
|
44280
|
+
return new Promise((resolve5, reject) => {
|
|
43960
44281
|
stream.once("error", reject);
|
|
43961
44282
|
stream.on("data", (entry) => entries.push(entry));
|
|
43962
|
-
stream.once("end", () =>
|
|
44283
|
+
stream.once("end", () => resolve5(entries));
|
|
43963
44284
|
});
|
|
43964
44285
|
}
|
|
43965
44286
|
};
|
|
@@ -44616,9 +44937,9 @@ var require_out4 = __commonJS({
|
|
|
44616
44937
|
}
|
|
44617
44938
|
});
|
|
44618
44939
|
|
|
44619
|
-
// ../../node_modules/.pnpm/@vercel+microfrontends@1.2.
|
|
44940
|
+
// ../../node_modules/.pnpm/@vercel+microfrontends@1.2.2_next@16.2.6_@opentelemetry+api@1.9.0_react-dom@18.3.1_reac_b13a023d57c40c23bf6db80d3c0ecc70/node_modules/@vercel/microfrontends/dist/microfrontends/utils.cjs
|
|
44620
44941
|
var require_utils8 = __commonJS({
|
|
44621
|
-
"../../node_modules/.pnpm/@vercel+microfrontends@1.2.
|
|
44942
|
+
"../../node_modules/.pnpm/@vercel+microfrontends@1.2.2_next@16.2.6_@opentelemetry+api@1.9.0_react-dom@18.3.1_reac_b13a023d57c40c23bf6db80d3c0ecc70/node_modules/@vercel/microfrontends/dist/microfrontends/utils.cjs"(exports, module) {
|
|
44622
44943
|
"use strict";
|
|
44623
44944
|
var __create = Object.create;
|
|
44624
44945
|
var __defProp = Object.defineProperty;
|
|
@@ -45858,7 +46179,7 @@ var require_lib8 = __commonJS({
|
|
|
45858
46179
|
"../../node_modules/.pnpm/async-retry@1.2.3/node_modules/async-retry/lib/index.js"(exports, module) {
|
|
45859
46180
|
var retrier = require_retry2();
|
|
45860
46181
|
function retry(fn, opts) {
|
|
45861
|
-
function run(
|
|
46182
|
+
function run(resolve5, reject) {
|
|
45862
46183
|
var options = opts || {};
|
|
45863
46184
|
var op = retrier.operation(options);
|
|
45864
46185
|
function bail(err) {
|
|
@@ -45883,7 +46204,7 @@ var require_lib8 = __commonJS({
|
|
|
45883
46204
|
onError(err, num);
|
|
45884
46205
|
return;
|
|
45885
46206
|
}
|
|
45886
|
-
Promise.resolve(val).then(
|
|
46207
|
+
Promise.resolve(val).then(resolve5).catch(function catchIt(err) {
|
|
45887
46208
|
onError(err, num);
|
|
45888
46209
|
});
|
|
45889
46210
|
}
|
|
@@ -48690,23 +49011,1441 @@ var require_immutable = __commonJS({
|
|
|
48690
49011
|
}
|
|
48691
49012
|
});
|
|
48692
49013
|
|
|
48693
|
-
// ../../node_modules/.pnpm/
|
|
48694
|
-
var
|
|
48695
|
-
"../../node_modules/.pnpm/
|
|
48696
|
-
|
|
48697
|
-
|
|
48698
|
-
|
|
48699
|
-
|
|
49014
|
+
// ../../node_modules/.pnpm/isarray@2.0.5/node_modules/isarray/index.js
|
|
49015
|
+
var require_isarray2 = __commonJS({
|
|
49016
|
+
"../../node_modules/.pnpm/isarray@2.0.5/node_modules/isarray/index.js"(exports, module) {
|
|
49017
|
+
var toString = {}.toString;
|
|
49018
|
+
module.exports = Array.isArray || function(arr) {
|
|
49019
|
+
return toString.call(arr) == "[object Array]";
|
|
49020
|
+
};
|
|
49021
|
+
}
|
|
49022
|
+
});
|
|
49023
|
+
|
|
49024
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
49025
|
+
var require_type3 = __commonJS({
|
|
49026
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports, module) {
|
|
49027
|
+
"use strict";
|
|
49028
|
+
module.exports = TypeError;
|
|
49029
|
+
}
|
|
49030
|
+
});
|
|
49031
|
+
|
|
49032
|
+
// ../../node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js
|
|
49033
|
+
var require_es_object_atoms = __commonJS({
|
|
49034
|
+
"../../node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js"(exports, module) {
|
|
49035
|
+
"use strict";
|
|
49036
|
+
module.exports = Object;
|
|
49037
|
+
}
|
|
49038
|
+
});
|
|
49039
|
+
|
|
49040
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
49041
|
+
var require_es_errors = __commonJS({
|
|
49042
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports, module) {
|
|
49043
|
+
"use strict";
|
|
49044
|
+
module.exports = Error;
|
|
49045
|
+
}
|
|
49046
|
+
});
|
|
49047
|
+
|
|
49048
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
49049
|
+
var require_eval = __commonJS({
|
|
49050
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports, module) {
|
|
49051
|
+
"use strict";
|
|
49052
|
+
module.exports = EvalError;
|
|
49053
|
+
}
|
|
49054
|
+
});
|
|
49055
|
+
|
|
49056
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
49057
|
+
var require_range = __commonJS({
|
|
49058
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports, module) {
|
|
49059
|
+
"use strict";
|
|
49060
|
+
module.exports = RangeError;
|
|
49061
|
+
}
|
|
49062
|
+
});
|
|
49063
|
+
|
|
49064
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
49065
|
+
var require_ref2 = __commonJS({
|
|
49066
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports, module) {
|
|
49067
|
+
"use strict";
|
|
49068
|
+
module.exports = ReferenceError;
|
|
49069
|
+
}
|
|
49070
|
+
});
|
|
49071
|
+
|
|
49072
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
49073
|
+
var require_syntax = __commonJS({
|
|
49074
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports, module) {
|
|
49075
|
+
"use strict";
|
|
49076
|
+
module.exports = SyntaxError;
|
|
49077
|
+
}
|
|
49078
|
+
});
|
|
49079
|
+
|
|
49080
|
+
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
49081
|
+
var require_uri = __commonJS({
|
|
49082
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports, module) {
|
|
49083
|
+
"use strict";
|
|
49084
|
+
module.exports = URIError;
|
|
49085
|
+
}
|
|
49086
|
+
});
|
|
49087
|
+
|
|
49088
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
49089
|
+
var require_abs = __commonJS({
|
|
49090
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports, module) {
|
|
49091
|
+
"use strict";
|
|
49092
|
+
module.exports = Math.abs;
|
|
49093
|
+
}
|
|
49094
|
+
});
|
|
49095
|
+
|
|
49096
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
49097
|
+
var require_floor = __commonJS({
|
|
49098
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports, module) {
|
|
49099
|
+
"use strict";
|
|
49100
|
+
module.exports = Math.floor;
|
|
49101
|
+
}
|
|
49102
|
+
});
|
|
49103
|
+
|
|
49104
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
49105
|
+
var require_max = __commonJS({
|
|
49106
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports, module) {
|
|
49107
|
+
"use strict";
|
|
49108
|
+
module.exports = Math.max;
|
|
49109
|
+
}
|
|
49110
|
+
});
|
|
49111
|
+
|
|
49112
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
49113
|
+
var require_min = __commonJS({
|
|
49114
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports, module) {
|
|
49115
|
+
"use strict";
|
|
49116
|
+
module.exports = Math.min;
|
|
49117
|
+
}
|
|
49118
|
+
});
|
|
49119
|
+
|
|
49120
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
49121
|
+
var require_pow = __commonJS({
|
|
49122
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports, module) {
|
|
49123
|
+
"use strict";
|
|
49124
|
+
module.exports = Math.pow;
|
|
49125
|
+
}
|
|
49126
|
+
});
|
|
49127
|
+
|
|
49128
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
49129
|
+
var require_round = __commonJS({
|
|
49130
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports, module) {
|
|
49131
|
+
"use strict";
|
|
49132
|
+
module.exports = Math.round;
|
|
49133
|
+
}
|
|
49134
|
+
});
|
|
49135
|
+
|
|
49136
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
49137
|
+
var require_isNaN = __commonJS({
|
|
49138
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports, module) {
|
|
49139
|
+
"use strict";
|
|
49140
|
+
module.exports = Number.isNaN || function isNaN2(a) {
|
|
49141
|
+
return a !== a;
|
|
49142
|
+
};
|
|
49143
|
+
}
|
|
49144
|
+
});
|
|
49145
|
+
|
|
49146
|
+
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
49147
|
+
var require_sign = __commonJS({
|
|
49148
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports, module) {
|
|
49149
|
+
"use strict";
|
|
49150
|
+
var $isNaN = require_isNaN();
|
|
49151
|
+
module.exports = function sign(number) {
|
|
49152
|
+
if ($isNaN(number) || number === 0) {
|
|
49153
|
+
return number;
|
|
49154
|
+
}
|
|
49155
|
+
return number < 0 ? -1 : 1;
|
|
49156
|
+
};
|
|
49157
|
+
}
|
|
49158
|
+
});
|
|
49159
|
+
|
|
49160
|
+
// ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
49161
|
+
var require_gOPD = __commonJS({
|
|
49162
|
+
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports, module) {
|
|
49163
|
+
"use strict";
|
|
49164
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
49165
|
+
}
|
|
49166
|
+
});
|
|
49167
|
+
|
|
49168
|
+
// ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
|
|
49169
|
+
var require_gopd = __commonJS({
|
|
49170
|
+
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports, module) {
|
|
49171
|
+
"use strict";
|
|
49172
|
+
var $gOPD = require_gOPD();
|
|
49173
|
+
if ($gOPD) {
|
|
49174
|
+
try {
|
|
49175
|
+
$gOPD([], "length");
|
|
49176
|
+
} catch (e) {
|
|
49177
|
+
$gOPD = null;
|
|
49178
|
+
}
|
|
49179
|
+
}
|
|
49180
|
+
module.exports = $gOPD;
|
|
49181
|
+
}
|
|
49182
|
+
});
|
|
49183
|
+
|
|
49184
|
+
// ../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
|
|
49185
|
+
var require_es_define_property = __commonJS({
|
|
49186
|
+
"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports, module) {
|
|
49187
|
+
"use strict";
|
|
49188
|
+
var $defineProperty = Object.defineProperty || false;
|
|
49189
|
+
if ($defineProperty) {
|
|
49190
|
+
try {
|
|
49191
|
+
$defineProperty({}, "a", { value: 1 });
|
|
49192
|
+
} catch (e) {
|
|
49193
|
+
$defineProperty = false;
|
|
49194
|
+
}
|
|
49195
|
+
}
|
|
49196
|
+
module.exports = $defineProperty;
|
|
49197
|
+
}
|
|
49198
|
+
});
|
|
49199
|
+
|
|
49200
|
+
// ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
49201
|
+
var require_shams = __commonJS({
|
|
49202
|
+
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports, module) {
|
|
49203
|
+
"use strict";
|
|
49204
|
+
module.exports = function hasSymbols() {
|
|
49205
|
+
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
49206
|
+
return false;
|
|
49207
|
+
}
|
|
49208
|
+
if (typeof Symbol.iterator === "symbol") {
|
|
49209
|
+
return true;
|
|
49210
|
+
}
|
|
49211
|
+
var obj = {};
|
|
49212
|
+
var sym = Symbol("test");
|
|
49213
|
+
var symObj = Object(sym);
|
|
49214
|
+
if (typeof sym === "string") {
|
|
49215
|
+
return false;
|
|
49216
|
+
}
|
|
49217
|
+
if (Object.prototype.toString.call(sym) !== "[object Symbol]") {
|
|
49218
|
+
return false;
|
|
49219
|
+
}
|
|
49220
|
+
if (Object.prototype.toString.call(symObj) !== "[object Symbol]") {
|
|
49221
|
+
return false;
|
|
49222
|
+
}
|
|
49223
|
+
var symVal = 42;
|
|
49224
|
+
obj[sym] = symVal;
|
|
49225
|
+
for (var _ in obj) {
|
|
49226
|
+
return false;
|
|
49227
|
+
}
|
|
49228
|
+
if (typeof Object.keys === "function" && Object.keys(obj).length !== 0) {
|
|
49229
|
+
return false;
|
|
49230
|
+
}
|
|
49231
|
+
if (typeof Object.getOwnPropertyNames === "function" && Object.getOwnPropertyNames(obj).length !== 0) {
|
|
49232
|
+
return false;
|
|
49233
|
+
}
|
|
49234
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
49235
|
+
if (syms.length !== 1 || syms[0] !== sym) {
|
|
49236
|
+
return false;
|
|
49237
|
+
}
|
|
49238
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {
|
|
49239
|
+
return false;
|
|
49240
|
+
}
|
|
49241
|
+
if (typeof Object.getOwnPropertyDescriptor === "function") {
|
|
49242
|
+
var descriptor = (
|
|
49243
|
+
/** @type {PropertyDescriptor} */
|
|
49244
|
+
Object.getOwnPropertyDescriptor(obj, sym)
|
|
49245
|
+
);
|
|
49246
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) {
|
|
49247
|
+
return false;
|
|
49248
|
+
}
|
|
49249
|
+
}
|
|
49250
|
+
return true;
|
|
49251
|
+
};
|
|
49252
|
+
}
|
|
49253
|
+
});
|
|
49254
|
+
|
|
49255
|
+
// ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
49256
|
+
var require_has_symbols = __commonJS({
|
|
49257
|
+
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports, module) {
|
|
49258
|
+
"use strict";
|
|
49259
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
49260
|
+
var hasSymbolSham = require_shams();
|
|
49261
|
+
module.exports = function hasNativeSymbols() {
|
|
49262
|
+
if (typeof origSymbol !== "function") {
|
|
49263
|
+
return false;
|
|
49264
|
+
}
|
|
49265
|
+
if (typeof Symbol !== "function") {
|
|
49266
|
+
return false;
|
|
49267
|
+
}
|
|
49268
|
+
if (typeof origSymbol("foo") !== "symbol") {
|
|
49269
|
+
return false;
|
|
49270
|
+
}
|
|
49271
|
+
if (typeof Symbol("bar") !== "symbol") {
|
|
49272
|
+
return false;
|
|
49273
|
+
}
|
|
49274
|
+
return hasSymbolSham();
|
|
49275
|
+
};
|
|
49276
|
+
}
|
|
49277
|
+
});
|
|
49278
|
+
|
|
49279
|
+
// ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
49280
|
+
var require_Reflect_getPrototypeOf = __commonJS({
|
|
49281
|
+
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports, module) {
|
|
49282
|
+
"use strict";
|
|
49283
|
+
module.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
49284
|
+
}
|
|
49285
|
+
});
|
|
49286
|
+
|
|
49287
|
+
// ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
49288
|
+
var require_Object_getPrototypeOf = __commonJS({
|
|
49289
|
+
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports, module) {
|
|
49290
|
+
"use strict";
|
|
49291
|
+
var $Object = require_es_object_atoms();
|
|
49292
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
49293
|
+
}
|
|
49294
|
+
});
|
|
49295
|
+
|
|
49296
|
+
// ../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
49297
|
+
var require_implementation = __commonJS({
|
|
49298
|
+
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module) {
|
|
49299
|
+
"use strict";
|
|
49300
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
49301
|
+
var toStr = Object.prototype.toString;
|
|
49302
|
+
var max = Math.max;
|
|
49303
|
+
var funcType = "[object Function]";
|
|
49304
|
+
var concatty = function concatty2(a, b) {
|
|
49305
|
+
var arr = [];
|
|
49306
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
49307
|
+
arr[i] = a[i];
|
|
49308
|
+
}
|
|
49309
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
49310
|
+
arr[j + a.length] = b[j];
|
|
49311
|
+
}
|
|
49312
|
+
return arr;
|
|
49313
|
+
};
|
|
49314
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
49315
|
+
var arr = [];
|
|
49316
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
49317
|
+
arr[j] = arrLike[i];
|
|
49318
|
+
}
|
|
49319
|
+
return arr;
|
|
49320
|
+
};
|
|
49321
|
+
var joiny = function(arr, joiner) {
|
|
49322
|
+
var str = "";
|
|
49323
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
49324
|
+
str += arr[i];
|
|
49325
|
+
if (i + 1 < arr.length) {
|
|
49326
|
+
str += joiner;
|
|
49327
|
+
}
|
|
49328
|
+
}
|
|
49329
|
+
return str;
|
|
49330
|
+
};
|
|
49331
|
+
module.exports = function bind(that) {
|
|
49332
|
+
var target = this;
|
|
49333
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
49334
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
49335
|
+
}
|
|
49336
|
+
var args = slicy(arguments, 1);
|
|
49337
|
+
var bound;
|
|
49338
|
+
var binder = function() {
|
|
49339
|
+
if (this instanceof bound) {
|
|
49340
|
+
var result = target.apply(
|
|
49341
|
+
this,
|
|
49342
|
+
concatty(args, arguments)
|
|
49343
|
+
);
|
|
49344
|
+
if (Object(result) === result) {
|
|
49345
|
+
return result;
|
|
49346
|
+
}
|
|
49347
|
+
return this;
|
|
49348
|
+
}
|
|
49349
|
+
return target.apply(
|
|
49350
|
+
that,
|
|
49351
|
+
concatty(args, arguments)
|
|
49352
|
+
);
|
|
49353
|
+
};
|
|
49354
|
+
var boundLength = max(0, target.length - args.length);
|
|
49355
|
+
var boundArgs = [];
|
|
49356
|
+
for (var i = 0; i < boundLength; i++) {
|
|
49357
|
+
boundArgs[i] = "$" + i;
|
|
49358
|
+
}
|
|
49359
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
49360
|
+
if (target.prototype) {
|
|
49361
|
+
var Empty = function Empty2() {
|
|
49362
|
+
};
|
|
49363
|
+
Empty.prototype = target.prototype;
|
|
49364
|
+
bound.prototype = new Empty();
|
|
49365
|
+
Empty.prototype = null;
|
|
49366
|
+
}
|
|
49367
|
+
return bound;
|
|
49368
|
+
};
|
|
49369
|
+
}
|
|
49370
|
+
});
|
|
49371
|
+
|
|
49372
|
+
// ../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
49373
|
+
var require_function_bind = __commonJS({
|
|
49374
|
+
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports, module) {
|
|
49375
|
+
"use strict";
|
|
49376
|
+
var implementation = require_implementation();
|
|
49377
|
+
module.exports = Function.prototype.bind || implementation;
|
|
49378
|
+
}
|
|
49379
|
+
});
|
|
49380
|
+
|
|
49381
|
+
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
|
|
49382
|
+
var require_functionCall = __commonJS({
|
|
49383
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(exports, module) {
|
|
49384
|
+
"use strict";
|
|
49385
|
+
module.exports = Function.prototype.call;
|
|
49386
|
+
}
|
|
49387
|
+
});
|
|
49388
|
+
|
|
49389
|
+
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js
|
|
49390
|
+
var require_functionApply = __commonJS({
|
|
49391
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(exports, module) {
|
|
49392
|
+
"use strict";
|
|
49393
|
+
module.exports = Function.prototype.apply;
|
|
49394
|
+
}
|
|
49395
|
+
});
|
|
49396
|
+
|
|
49397
|
+
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
49398
|
+
var require_reflectApply = __commonJS({
|
|
49399
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(exports, module) {
|
|
49400
|
+
"use strict";
|
|
49401
|
+
module.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
49402
|
+
}
|
|
49403
|
+
});
|
|
49404
|
+
|
|
49405
|
+
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js
|
|
49406
|
+
var require_actualApply = __commonJS({
|
|
49407
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(exports, module) {
|
|
49408
|
+
"use strict";
|
|
49409
|
+
var bind = require_function_bind();
|
|
49410
|
+
var $apply = require_functionApply();
|
|
49411
|
+
var $call = require_functionCall();
|
|
49412
|
+
var $reflectApply = require_reflectApply();
|
|
49413
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
49414
|
+
}
|
|
49415
|
+
});
|
|
49416
|
+
|
|
49417
|
+
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
|
|
49418
|
+
var require_call_bind_apply_helpers = __commonJS({
|
|
49419
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(exports, module) {
|
|
49420
|
+
"use strict";
|
|
49421
|
+
var bind = require_function_bind();
|
|
49422
|
+
var $TypeError = require_type3();
|
|
49423
|
+
var $call = require_functionCall();
|
|
49424
|
+
var $actualApply = require_actualApply();
|
|
49425
|
+
module.exports = function callBindBasic(args) {
|
|
49426
|
+
if (args.length < 1 || typeof args[0] !== "function") {
|
|
49427
|
+
throw new $TypeError("a function is required");
|
|
49428
|
+
}
|
|
49429
|
+
return $actualApply(bind, $call, args);
|
|
49430
|
+
};
|
|
49431
|
+
}
|
|
49432
|
+
});
|
|
49433
|
+
|
|
49434
|
+
// ../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
|
|
49435
|
+
var require_get = __commonJS({
|
|
49436
|
+
"../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports, module) {
|
|
49437
|
+
"use strict";
|
|
49438
|
+
var callBind = require_call_bind_apply_helpers();
|
|
49439
|
+
var gOPD = require_gopd();
|
|
49440
|
+
var hasProtoAccessor;
|
|
49441
|
+
try {
|
|
49442
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */
|
|
49443
|
+
[].__proto__ === Array.prototype;
|
|
49444
|
+
} catch (e) {
|
|
49445
|
+
if (!e || typeof e !== "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") {
|
|
49446
|
+
throw e;
|
|
49447
|
+
}
|
|
48700
49448
|
}
|
|
48701
|
-
|
|
48702
|
-
|
|
48703
|
-
|
|
48704
|
-
|
|
48705
|
-
|
|
48706
|
-
|
|
48707
|
-
|
|
48708
|
-
|
|
49449
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(
|
|
49450
|
+
Object.prototype,
|
|
49451
|
+
/** @type {keyof typeof Object.prototype} */
|
|
49452
|
+
"__proto__"
|
|
49453
|
+
);
|
|
49454
|
+
var $Object = Object;
|
|
49455
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
49456
|
+
module.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
49457
|
+
/** @type {import('./get')} */
|
|
49458
|
+
function getDunder(value) {
|
|
49459
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
49460
|
+
}
|
|
49461
|
+
) : false;
|
|
49462
|
+
}
|
|
49463
|
+
});
|
|
49464
|
+
|
|
49465
|
+
// ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
49466
|
+
var require_get_proto = __commonJS({
|
|
49467
|
+
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports, module) {
|
|
49468
|
+
"use strict";
|
|
49469
|
+
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
49470
|
+
var originalGetProto = require_Object_getPrototypeOf();
|
|
49471
|
+
var getDunderProto = require_get();
|
|
49472
|
+
module.exports = reflectGetProto ? function getProto(O) {
|
|
49473
|
+
return reflectGetProto(O);
|
|
49474
|
+
} : originalGetProto ? function getProto(O) {
|
|
49475
|
+
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
49476
|
+
throw new TypeError("getProto: not an object");
|
|
49477
|
+
}
|
|
49478
|
+
return originalGetProto(O);
|
|
49479
|
+
} : getDunderProto ? function getProto(O) {
|
|
49480
|
+
return getDunderProto(O);
|
|
49481
|
+
} : null;
|
|
49482
|
+
}
|
|
49483
|
+
});
|
|
49484
|
+
|
|
49485
|
+
// ../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js
|
|
49486
|
+
var require_hasown = __commonJS({
|
|
49487
|
+
"../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js"(exports, module) {
|
|
49488
|
+
"use strict";
|
|
49489
|
+
var call = Function.prototype.call;
|
|
49490
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
49491
|
+
var bind = require_function_bind();
|
|
49492
|
+
module.exports = bind.call(call, $hasOwn);
|
|
49493
|
+
}
|
|
49494
|
+
});
|
|
49495
|
+
|
|
49496
|
+
// ../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
49497
|
+
var require_get_intrinsic = __commonJS({
|
|
49498
|
+
"../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(exports, module) {
|
|
49499
|
+
"use strict";
|
|
49500
|
+
var undefined2;
|
|
49501
|
+
var $Object = require_es_object_atoms();
|
|
49502
|
+
var $Error = require_es_errors();
|
|
49503
|
+
var $EvalError = require_eval();
|
|
49504
|
+
var $RangeError = require_range();
|
|
49505
|
+
var $ReferenceError = require_ref2();
|
|
49506
|
+
var $SyntaxError = require_syntax();
|
|
49507
|
+
var $TypeError = require_type3();
|
|
49508
|
+
var $URIError = require_uri();
|
|
49509
|
+
var abs = require_abs();
|
|
49510
|
+
var floor = require_floor();
|
|
49511
|
+
var max = require_max();
|
|
49512
|
+
var min = require_min();
|
|
49513
|
+
var pow = require_pow();
|
|
49514
|
+
var round = require_round();
|
|
49515
|
+
var sign = require_sign();
|
|
49516
|
+
var $Function = Function;
|
|
49517
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
49518
|
+
try {
|
|
49519
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
49520
|
+
} catch (e) {
|
|
49521
|
+
}
|
|
49522
|
+
};
|
|
49523
|
+
var $gOPD = require_gopd();
|
|
49524
|
+
var $defineProperty = require_es_define_property();
|
|
49525
|
+
var throwTypeError = function() {
|
|
49526
|
+
throw new $TypeError();
|
|
49527
|
+
};
|
|
49528
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
49529
|
+
try {
|
|
49530
|
+
arguments.callee;
|
|
49531
|
+
return throwTypeError;
|
|
49532
|
+
} catch (calleeThrows) {
|
|
49533
|
+
try {
|
|
49534
|
+
return $gOPD(arguments, "callee").get;
|
|
49535
|
+
} catch (gOPDthrows) {
|
|
49536
|
+
return throwTypeError;
|
|
49537
|
+
}
|
|
49538
|
+
}
|
|
49539
|
+
}() : throwTypeError;
|
|
49540
|
+
var hasSymbols = require_has_symbols()();
|
|
49541
|
+
var getProto = require_get_proto();
|
|
49542
|
+
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
49543
|
+
var $ReflectGPO = require_Reflect_getPrototypeOf();
|
|
49544
|
+
var $apply = require_functionApply();
|
|
49545
|
+
var $call = require_functionCall();
|
|
49546
|
+
var needsEval = {};
|
|
49547
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
49548
|
+
var INTRINSICS = {
|
|
49549
|
+
__proto__: null,
|
|
49550
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
49551
|
+
"%Array%": Array,
|
|
49552
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
49553
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
49554
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
49555
|
+
"%AsyncFunction%": needsEval,
|
|
49556
|
+
"%AsyncGenerator%": needsEval,
|
|
49557
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
49558
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
49559
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
49560
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
49561
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
49562
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
49563
|
+
"%Boolean%": Boolean,
|
|
49564
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
49565
|
+
"%Date%": Date,
|
|
49566
|
+
"%decodeURI%": decodeURI,
|
|
49567
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
49568
|
+
"%encodeURI%": encodeURI,
|
|
49569
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
49570
|
+
"%Error%": $Error,
|
|
49571
|
+
"%eval%": eval,
|
|
49572
|
+
// eslint-disable-line no-eval
|
|
49573
|
+
"%EvalError%": $EvalError,
|
|
49574
|
+
"%Float16Array%": typeof Float16Array === "undefined" ? undefined2 : Float16Array,
|
|
49575
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
49576
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
49577
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
49578
|
+
"%Function%": $Function,
|
|
49579
|
+
"%GeneratorFunction%": needsEval,
|
|
49580
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
49581
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
49582
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
49583
|
+
"%isFinite%": isFinite,
|
|
49584
|
+
"%isNaN%": isNaN,
|
|
49585
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
49586
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
49587
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
49588
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
49589
|
+
"%Math%": Math,
|
|
49590
|
+
"%Number%": Number,
|
|
49591
|
+
"%Object%": $Object,
|
|
49592
|
+
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
49593
|
+
"%parseFloat%": parseFloat,
|
|
49594
|
+
"%parseInt%": parseInt,
|
|
49595
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
49596
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
49597
|
+
"%RangeError%": $RangeError,
|
|
49598
|
+
"%ReferenceError%": $ReferenceError,
|
|
49599
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
49600
|
+
"%RegExp%": RegExp,
|
|
49601
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
49602
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
49603
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
49604
|
+
"%String%": String,
|
|
49605
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
49606
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
49607
|
+
"%SyntaxError%": $SyntaxError,
|
|
49608
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
49609
|
+
"%TypedArray%": TypedArray,
|
|
49610
|
+
"%TypeError%": $TypeError,
|
|
49611
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
49612
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
49613
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
49614
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
49615
|
+
"%URIError%": $URIError,
|
|
49616
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
49617
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
49618
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet,
|
|
49619
|
+
"%Function.prototype.call%": $call,
|
|
49620
|
+
"%Function.prototype.apply%": $apply,
|
|
49621
|
+
"%Object.defineProperty%": $defineProperty,
|
|
49622
|
+
"%Object.getPrototypeOf%": $ObjectGPO,
|
|
49623
|
+
"%Math.abs%": abs,
|
|
49624
|
+
"%Math.floor%": floor,
|
|
49625
|
+
"%Math.max%": max,
|
|
49626
|
+
"%Math.min%": min,
|
|
49627
|
+
"%Math.pow%": pow,
|
|
49628
|
+
"%Math.round%": round,
|
|
49629
|
+
"%Math.sign%": sign,
|
|
49630
|
+
"%Reflect.getPrototypeOf%": $ReflectGPO
|
|
49631
|
+
};
|
|
49632
|
+
if (getProto) {
|
|
49633
|
+
try {
|
|
49634
|
+
null.error;
|
|
49635
|
+
} catch (e) {
|
|
49636
|
+
errorProto = getProto(getProto(e));
|
|
49637
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
49638
|
+
}
|
|
49639
|
+
}
|
|
49640
|
+
var errorProto;
|
|
49641
|
+
var doEval = function doEval2(name) {
|
|
49642
|
+
var value;
|
|
49643
|
+
if (name === "%AsyncFunction%") {
|
|
49644
|
+
value = getEvalledConstructor("async function () {}");
|
|
49645
|
+
} else if (name === "%GeneratorFunction%") {
|
|
49646
|
+
value = getEvalledConstructor("function* () {}");
|
|
49647
|
+
} else if (name === "%AsyncGeneratorFunction%") {
|
|
49648
|
+
value = getEvalledConstructor("async function* () {}");
|
|
49649
|
+
} else if (name === "%AsyncGenerator%") {
|
|
49650
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
49651
|
+
if (fn) {
|
|
49652
|
+
value = fn.prototype;
|
|
49653
|
+
}
|
|
49654
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
49655
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
49656
|
+
if (gen && getProto) {
|
|
49657
|
+
value = getProto(gen.prototype);
|
|
49658
|
+
}
|
|
49659
|
+
}
|
|
49660
|
+
INTRINSICS[name] = value;
|
|
49661
|
+
return value;
|
|
49662
|
+
};
|
|
49663
|
+
var LEGACY_ALIASES = {
|
|
49664
|
+
__proto__: null,
|
|
49665
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
49666
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
49667
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
49668
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
49669
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
49670
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
49671
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
49672
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
49673
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
49674
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
49675
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
49676
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
49677
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
49678
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
49679
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
49680
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
49681
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
49682
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
49683
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
49684
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
49685
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
49686
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
49687
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
49688
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
49689
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
49690
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
49691
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
49692
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
49693
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
49694
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
49695
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
49696
|
+
"%Promise_all%": ["Promise", "all"],
|
|
49697
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
49698
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
49699
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
49700
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
49701
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
49702
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
49703
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
49704
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
49705
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
49706
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
49707
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
49708
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
49709
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
49710
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
49711
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
49712
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
49713
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
49714
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
49715
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
49716
|
+
};
|
|
49717
|
+
var bind = require_function_bind();
|
|
49718
|
+
var hasOwn = require_hasown();
|
|
49719
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
49720
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
49721
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
49722
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
49723
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
49724
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
49725
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
49726
|
+
var stringToPath = function stringToPath2(string) {
|
|
49727
|
+
var first = $strSlice(string, 0, 1);
|
|
49728
|
+
var last = $strSlice(string, -1);
|
|
49729
|
+
if (first === "%" && last !== "%") {
|
|
49730
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
49731
|
+
} else if (last === "%" && first !== "%") {
|
|
49732
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
49733
|
+
}
|
|
49734
|
+
var result = [];
|
|
49735
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
49736
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
49737
|
+
});
|
|
49738
|
+
return result;
|
|
49739
|
+
};
|
|
49740
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
49741
|
+
var intrinsicName = name;
|
|
49742
|
+
var alias;
|
|
49743
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
49744
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
49745
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
49746
|
+
}
|
|
49747
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
49748
|
+
var value = INTRINSICS[intrinsicName];
|
|
49749
|
+
if (value === needsEval) {
|
|
49750
|
+
value = doEval(intrinsicName);
|
|
49751
|
+
}
|
|
49752
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
49753
|
+
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
49754
|
+
}
|
|
49755
|
+
return {
|
|
49756
|
+
alias,
|
|
49757
|
+
name: intrinsicName,
|
|
49758
|
+
value
|
|
49759
|
+
};
|
|
49760
|
+
}
|
|
49761
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
49762
|
+
};
|
|
49763
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
49764
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
49765
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
49766
|
+
}
|
|
49767
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
49768
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
49769
|
+
}
|
|
49770
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
49771
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
49772
|
+
}
|
|
49773
|
+
var parts = stringToPath(name);
|
|
49774
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
49775
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
49776
|
+
var intrinsicRealName = intrinsic.name;
|
|
49777
|
+
var value = intrinsic.value;
|
|
49778
|
+
var skipFurtherCaching = false;
|
|
49779
|
+
var alias = intrinsic.alias;
|
|
49780
|
+
if (alias) {
|
|
49781
|
+
intrinsicBaseName = alias[0];
|
|
49782
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
49783
|
+
}
|
|
49784
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
49785
|
+
var part = parts[i];
|
|
49786
|
+
var first = $strSlice(part, 0, 1);
|
|
49787
|
+
var last = $strSlice(part, -1);
|
|
49788
|
+
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
49789
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
49790
|
+
}
|
|
49791
|
+
if (part === "constructor" || !isOwn) {
|
|
49792
|
+
skipFurtherCaching = true;
|
|
49793
|
+
}
|
|
49794
|
+
intrinsicBaseName += "." + part;
|
|
49795
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
49796
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
49797
|
+
value = INTRINSICS[intrinsicRealName];
|
|
49798
|
+
} else if (value != null) {
|
|
49799
|
+
if (!(part in value)) {
|
|
49800
|
+
if (!allowMissing) {
|
|
49801
|
+
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
49802
|
+
}
|
|
49803
|
+
return void 0;
|
|
49804
|
+
}
|
|
49805
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
49806
|
+
var desc = $gOPD(value, part);
|
|
49807
|
+
isOwn = !!desc;
|
|
49808
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
49809
|
+
value = desc.get;
|
|
49810
|
+
} else {
|
|
49811
|
+
value = value[part];
|
|
49812
|
+
}
|
|
49813
|
+
} else {
|
|
49814
|
+
isOwn = hasOwn(value, part);
|
|
49815
|
+
value = value[part];
|
|
49816
|
+
}
|
|
49817
|
+
if (isOwn && !skipFurtherCaching) {
|
|
49818
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
49819
|
+
}
|
|
49820
|
+
}
|
|
49821
|
+
}
|
|
49822
|
+
return value;
|
|
49823
|
+
};
|
|
49824
|
+
}
|
|
49825
|
+
});
|
|
49826
|
+
|
|
49827
|
+
// ../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js
|
|
49828
|
+
var require_call_bound = __commonJS({
|
|
49829
|
+
"../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(exports, module) {
|
|
49830
|
+
"use strict";
|
|
49831
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
49832
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
49833
|
+
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
49834
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
49835
|
+
var intrinsic = (
|
|
49836
|
+
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
49837
|
+
GetIntrinsic(name, !!allowMissing)
|
|
49838
|
+
);
|
|
49839
|
+
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
|
|
49840
|
+
return callBindBasic(
|
|
49841
|
+
/** @type {const} */
|
|
49842
|
+
[intrinsic]
|
|
49843
|
+
);
|
|
49844
|
+
}
|
|
49845
|
+
return intrinsic;
|
|
49846
|
+
};
|
|
49847
|
+
}
|
|
49848
|
+
});
|
|
49849
|
+
|
|
49850
|
+
// ../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js
|
|
49851
|
+
var require_is_callable = __commonJS({
|
|
49852
|
+
"../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(exports, module) {
|
|
49853
|
+
"use strict";
|
|
49854
|
+
var fnToStr = Function.prototype.toString;
|
|
49855
|
+
var reflectApply = typeof Reflect === "object" && Reflect !== null && Reflect.apply;
|
|
49856
|
+
var badArrayLike;
|
|
49857
|
+
var isCallableMarker;
|
|
49858
|
+
if (typeof reflectApply === "function" && typeof Object.defineProperty === "function") {
|
|
49859
|
+
try {
|
|
49860
|
+
badArrayLike = Object.defineProperty({}, "length", {
|
|
49861
|
+
get: function() {
|
|
49862
|
+
throw isCallableMarker;
|
|
49863
|
+
}
|
|
49864
|
+
});
|
|
49865
|
+
isCallableMarker = {};
|
|
49866
|
+
reflectApply(function() {
|
|
49867
|
+
throw 42;
|
|
49868
|
+
}, null, badArrayLike);
|
|
49869
|
+
} catch (_) {
|
|
49870
|
+
if (_ !== isCallableMarker) {
|
|
49871
|
+
reflectApply = null;
|
|
49872
|
+
}
|
|
49873
|
+
}
|
|
49874
|
+
} else {
|
|
49875
|
+
reflectApply = null;
|
|
48709
49876
|
}
|
|
49877
|
+
var constructorRegex = /^\s*class\b/;
|
|
49878
|
+
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
49879
|
+
try {
|
|
49880
|
+
var fnStr = fnToStr.call(value);
|
|
49881
|
+
return constructorRegex.test(fnStr);
|
|
49882
|
+
} catch (e) {
|
|
49883
|
+
return false;
|
|
49884
|
+
}
|
|
49885
|
+
};
|
|
49886
|
+
var tryFunctionObject = function tryFunctionToStr(value) {
|
|
49887
|
+
try {
|
|
49888
|
+
if (isES6ClassFn(value)) {
|
|
49889
|
+
return false;
|
|
49890
|
+
}
|
|
49891
|
+
fnToStr.call(value);
|
|
49892
|
+
return true;
|
|
49893
|
+
} catch (e) {
|
|
49894
|
+
return false;
|
|
49895
|
+
}
|
|
49896
|
+
};
|
|
49897
|
+
var toStr = Object.prototype.toString;
|
|
49898
|
+
var objectClass = "[object Object]";
|
|
49899
|
+
var fnClass = "[object Function]";
|
|
49900
|
+
var genClass = "[object GeneratorFunction]";
|
|
49901
|
+
var ddaClass = "[object HTMLAllCollection]";
|
|
49902
|
+
var ddaClass2 = "[object HTML document.all class]";
|
|
49903
|
+
var ddaClass3 = "[object HTMLCollection]";
|
|
49904
|
+
var hasToStringTag = typeof Symbol === "function" && !!Symbol.toStringTag;
|
|
49905
|
+
var isIE68 = !(0 in [,]);
|
|
49906
|
+
var isDDA = function isDocumentDotAll() {
|
|
49907
|
+
return false;
|
|
49908
|
+
};
|
|
49909
|
+
if (typeof document === "object") {
|
|
49910
|
+
all = document.all;
|
|
49911
|
+
if (toStr.call(all) === toStr.call(document.all)) {
|
|
49912
|
+
isDDA = function isDocumentDotAll(value) {
|
|
49913
|
+
if ((isIE68 || !value) && (typeof value === "undefined" || typeof value === "object")) {
|
|
49914
|
+
try {
|
|
49915
|
+
var str = toStr.call(value);
|
|
49916
|
+
return (str === ddaClass || str === ddaClass2 || str === ddaClass3 || str === objectClass) && value("") == null;
|
|
49917
|
+
} catch (e) {
|
|
49918
|
+
}
|
|
49919
|
+
}
|
|
49920
|
+
return false;
|
|
49921
|
+
};
|
|
49922
|
+
}
|
|
49923
|
+
}
|
|
49924
|
+
var all;
|
|
49925
|
+
module.exports = reflectApply ? function isCallable(value) {
|
|
49926
|
+
if (isDDA(value)) {
|
|
49927
|
+
return true;
|
|
49928
|
+
}
|
|
49929
|
+
if (!value) {
|
|
49930
|
+
return false;
|
|
49931
|
+
}
|
|
49932
|
+
if (typeof value !== "function" && typeof value !== "object") {
|
|
49933
|
+
return false;
|
|
49934
|
+
}
|
|
49935
|
+
try {
|
|
49936
|
+
reflectApply(value, null, badArrayLike);
|
|
49937
|
+
} catch (e) {
|
|
49938
|
+
if (e !== isCallableMarker) {
|
|
49939
|
+
return false;
|
|
49940
|
+
}
|
|
49941
|
+
}
|
|
49942
|
+
return !isES6ClassFn(value) && tryFunctionObject(value);
|
|
49943
|
+
} : function isCallable(value) {
|
|
49944
|
+
if (isDDA(value)) {
|
|
49945
|
+
return true;
|
|
49946
|
+
}
|
|
49947
|
+
if (!value) {
|
|
49948
|
+
return false;
|
|
49949
|
+
}
|
|
49950
|
+
if (typeof value !== "function" && typeof value !== "object") {
|
|
49951
|
+
return false;
|
|
49952
|
+
}
|
|
49953
|
+
if (hasToStringTag) {
|
|
49954
|
+
return tryFunctionObject(value);
|
|
49955
|
+
}
|
|
49956
|
+
if (isES6ClassFn(value)) {
|
|
49957
|
+
return false;
|
|
49958
|
+
}
|
|
49959
|
+
var strClass = toStr.call(value);
|
|
49960
|
+
if (strClass !== fnClass && strClass !== genClass && !/^\[object HTML/.test(strClass)) {
|
|
49961
|
+
return false;
|
|
49962
|
+
}
|
|
49963
|
+
return tryFunctionObject(value);
|
|
49964
|
+
};
|
|
49965
|
+
}
|
|
49966
|
+
});
|
|
49967
|
+
|
|
49968
|
+
// ../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js
|
|
49969
|
+
var require_for_each = __commonJS({
|
|
49970
|
+
"../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js"(exports, module) {
|
|
49971
|
+
"use strict";
|
|
49972
|
+
var isCallable = require_is_callable();
|
|
49973
|
+
var toStr = Object.prototype.toString;
|
|
49974
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
49975
|
+
var forEachArray = function forEachArray2(array, iterator, receiver) {
|
|
49976
|
+
for (var i = 0, len = array.length; i < len; i++) {
|
|
49977
|
+
if (hasOwnProperty.call(array, i)) {
|
|
49978
|
+
if (receiver == null) {
|
|
49979
|
+
iterator(array[i], i, array);
|
|
49980
|
+
} else {
|
|
49981
|
+
iterator.call(receiver, array[i], i, array);
|
|
49982
|
+
}
|
|
49983
|
+
}
|
|
49984
|
+
}
|
|
49985
|
+
};
|
|
49986
|
+
var forEachString = function forEachString2(string, iterator, receiver) {
|
|
49987
|
+
for (var i = 0, len = string.length; i < len; i++) {
|
|
49988
|
+
if (receiver == null) {
|
|
49989
|
+
iterator(string.charAt(i), i, string);
|
|
49990
|
+
} else {
|
|
49991
|
+
iterator.call(receiver, string.charAt(i), i, string);
|
|
49992
|
+
}
|
|
49993
|
+
}
|
|
49994
|
+
};
|
|
49995
|
+
var forEachObject = function forEachObject2(object, iterator, receiver) {
|
|
49996
|
+
for (var k in object) {
|
|
49997
|
+
if (hasOwnProperty.call(object, k)) {
|
|
49998
|
+
if (receiver == null) {
|
|
49999
|
+
iterator(object[k], k, object);
|
|
50000
|
+
} else {
|
|
50001
|
+
iterator.call(receiver, object[k], k, object);
|
|
50002
|
+
}
|
|
50003
|
+
}
|
|
50004
|
+
}
|
|
50005
|
+
};
|
|
50006
|
+
function isArray(x) {
|
|
50007
|
+
return toStr.call(x) === "[object Array]";
|
|
50008
|
+
}
|
|
50009
|
+
module.exports = function forEach(list2, iterator, thisArg) {
|
|
50010
|
+
if (!isCallable(iterator)) {
|
|
50011
|
+
throw new TypeError("iterator must be a function");
|
|
50012
|
+
}
|
|
50013
|
+
var receiver;
|
|
50014
|
+
if (arguments.length >= 3) {
|
|
50015
|
+
receiver = thisArg;
|
|
50016
|
+
}
|
|
50017
|
+
if (isArray(list2)) {
|
|
50018
|
+
forEachArray(list2, iterator, receiver);
|
|
50019
|
+
} else if (typeof list2 === "string") {
|
|
50020
|
+
forEachString(list2, iterator, receiver);
|
|
50021
|
+
} else {
|
|
50022
|
+
forEachObject(list2, iterator, receiver);
|
|
50023
|
+
}
|
|
50024
|
+
};
|
|
50025
|
+
}
|
|
50026
|
+
});
|
|
50027
|
+
|
|
50028
|
+
// ../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js
|
|
50029
|
+
var require_possible_typed_array_names = __commonJS({
|
|
50030
|
+
"../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js"(exports, module) {
|
|
50031
|
+
"use strict";
|
|
50032
|
+
module.exports = [
|
|
50033
|
+
"Float16Array",
|
|
50034
|
+
"Float32Array",
|
|
50035
|
+
"Float64Array",
|
|
50036
|
+
"Int8Array",
|
|
50037
|
+
"Int16Array",
|
|
50038
|
+
"Int32Array",
|
|
50039
|
+
"Uint8Array",
|
|
50040
|
+
"Uint8ClampedArray",
|
|
50041
|
+
"Uint16Array",
|
|
50042
|
+
"Uint32Array",
|
|
50043
|
+
"BigInt64Array",
|
|
50044
|
+
"BigUint64Array"
|
|
50045
|
+
];
|
|
50046
|
+
}
|
|
50047
|
+
});
|
|
50048
|
+
|
|
50049
|
+
// ../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js
|
|
50050
|
+
var require_available_typed_arrays = __commonJS({
|
|
50051
|
+
"../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js"(exports, module) {
|
|
50052
|
+
"use strict";
|
|
50053
|
+
var possibleNames = require_possible_typed_array_names();
|
|
50054
|
+
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
50055
|
+
module.exports = function availableTypedArrays() {
|
|
50056
|
+
var out = [];
|
|
50057
|
+
for (var i = 0; i < possibleNames.length; i++) {
|
|
50058
|
+
if (typeof g[possibleNames[i]] === "function") {
|
|
50059
|
+
out[out.length] = possibleNames[i];
|
|
50060
|
+
}
|
|
50061
|
+
}
|
|
50062
|
+
return out;
|
|
50063
|
+
};
|
|
50064
|
+
}
|
|
50065
|
+
});
|
|
50066
|
+
|
|
50067
|
+
// ../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js
|
|
50068
|
+
var require_define_data_property = __commonJS({
|
|
50069
|
+
"../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"(exports, module) {
|
|
50070
|
+
"use strict";
|
|
50071
|
+
var $defineProperty = require_es_define_property();
|
|
50072
|
+
var $SyntaxError = require_syntax();
|
|
50073
|
+
var $TypeError = require_type3();
|
|
50074
|
+
var gopd = require_gopd();
|
|
50075
|
+
module.exports = function defineDataProperty(obj, property, value) {
|
|
50076
|
+
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
50077
|
+
throw new $TypeError("`obj` must be an object or a function`");
|
|
50078
|
+
}
|
|
50079
|
+
if (typeof property !== "string" && typeof property !== "symbol") {
|
|
50080
|
+
throw new $TypeError("`property` must be a string or a symbol`");
|
|
50081
|
+
}
|
|
50082
|
+
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
|
|
50083
|
+
throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
|
|
50084
|
+
}
|
|
50085
|
+
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
|
|
50086
|
+
throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
|
|
50087
|
+
}
|
|
50088
|
+
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
|
|
50089
|
+
throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
50090
|
+
}
|
|
50091
|
+
if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
|
|
50092
|
+
throw new $TypeError("`loose`, if provided, must be a boolean");
|
|
50093
|
+
}
|
|
50094
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
50095
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
50096
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
50097
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
50098
|
+
var desc = !!gopd && gopd(obj, property);
|
|
50099
|
+
if ($defineProperty) {
|
|
50100
|
+
$defineProperty(obj, property, {
|
|
50101
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
50102
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
50103
|
+
value,
|
|
50104
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
50105
|
+
});
|
|
50106
|
+
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
50107
|
+
obj[property] = value;
|
|
50108
|
+
} else {
|
|
50109
|
+
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
50110
|
+
}
|
|
50111
|
+
};
|
|
50112
|
+
}
|
|
50113
|
+
});
|
|
50114
|
+
|
|
50115
|
+
// ../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js
|
|
50116
|
+
var require_has_property_descriptors = __commonJS({
|
|
50117
|
+
"../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(exports, module) {
|
|
50118
|
+
"use strict";
|
|
50119
|
+
var $defineProperty = require_es_define_property();
|
|
50120
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
50121
|
+
return !!$defineProperty;
|
|
50122
|
+
};
|
|
50123
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
50124
|
+
if (!$defineProperty) {
|
|
50125
|
+
return null;
|
|
50126
|
+
}
|
|
50127
|
+
try {
|
|
50128
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
50129
|
+
} catch (e) {
|
|
50130
|
+
return true;
|
|
50131
|
+
}
|
|
50132
|
+
};
|
|
50133
|
+
module.exports = hasPropertyDescriptors;
|
|
50134
|
+
}
|
|
50135
|
+
});
|
|
50136
|
+
|
|
50137
|
+
// ../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js
|
|
50138
|
+
var require_set_function_length = __commonJS({
|
|
50139
|
+
"../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(exports, module) {
|
|
50140
|
+
"use strict";
|
|
50141
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
50142
|
+
var define2 = require_define_data_property();
|
|
50143
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
50144
|
+
var gOPD = require_gopd();
|
|
50145
|
+
var $TypeError = require_type3();
|
|
50146
|
+
var $floor = GetIntrinsic("%Math.floor%");
|
|
50147
|
+
module.exports = function setFunctionLength(fn, length) {
|
|
50148
|
+
if (typeof fn !== "function") {
|
|
50149
|
+
throw new $TypeError("`fn` is not a function");
|
|
50150
|
+
}
|
|
50151
|
+
if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
|
|
50152
|
+
throw new $TypeError("`length` must be a positive 32-bit integer");
|
|
50153
|
+
}
|
|
50154
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
50155
|
+
var functionLengthIsConfigurable = true;
|
|
50156
|
+
var functionLengthIsWritable = true;
|
|
50157
|
+
if ("length" in fn && gOPD) {
|
|
50158
|
+
var desc = gOPD(fn, "length");
|
|
50159
|
+
if (desc && !desc.configurable) {
|
|
50160
|
+
functionLengthIsConfigurable = false;
|
|
50161
|
+
}
|
|
50162
|
+
if (desc && !desc.writable) {
|
|
50163
|
+
functionLengthIsWritable = false;
|
|
50164
|
+
}
|
|
50165
|
+
}
|
|
50166
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
50167
|
+
if (hasDescriptors) {
|
|
50168
|
+
define2(
|
|
50169
|
+
/** @type {Parameters<define>[0]} */
|
|
50170
|
+
fn,
|
|
50171
|
+
"length",
|
|
50172
|
+
length,
|
|
50173
|
+
true,
|
|
50174
|
+
true
|
|
50175
|
+
);
|
|
50176
|
+
} else {
|
|
50177
|
+
define2(
|
|
50178
|
+
/** @type {Parameters<define>[0]} */
|
|
50179
|
+
fn,
|
|
50180
|
+
"length",
|
|
50181
|
+
length
|
|
50182
|
+
);
|
|
50183
|
+
}
|
|
50184
|
+
}
|
|
50185
|
+
return fn;
|
|
50186
|
+
};
|
|
50187
|
+
}
|
|
50188
|
+
});
|
|
50189
|
+
|
|
50190
|
+
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js
|
|
50191
|
+
var require_applyBind = __commonJS({
|
|
50192
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js"(exports, module) {
|
|
50193
|
+
"use strict";
|
|
50194
|
+
var bind = require_function_bind();
|
|
50195
|
+
var $apply = require_functionApply();
|
|
50196
|
+
var actualApply = require_actualApply();
|
|
50197
|
+
module.exports = function applyBind() {
|
|
50198
|
+
return actualApply(bind, $apply, arguments);
|
|
50199
|
+
};
|
|
50200
|
+
}
|
|
50201
|
+
});
|
|
50202
|
+
|
|
50203
|
+
// ../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js
|
|
50204
|
+
var require_call_bind = __commonJS({
|
|
50205
|
+
"../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js"(exports, module) {
|
|
50206
|
+
"use strict";
|
|
50207
|
+
var setFunctionLength = require_set_function_length();
|
|
50208
|
+
var $defineProperty = require_es_define_property();
|
|
50209
|
+
var callBindBasic = require_call_bind_apply_helpers();
|
|
50210
|
+
var applyBind = require_applyBind();
|
|
50211
|
+
module.exports = function callBind(originalFunction) {
|
|
50212
|
+
var func = callBindBasic(arguments);
|
|
50213
|
+
var adjustedLength = 1 + originalFunction.length - (arguments.length - 1);
|
|
50214
|
+
return setFunctionLength(
|
|
50215
|
+
func,
|
|
50216
|
+
adjustedLength > 0 ? adjustedLength : 0,
|
|
50217
|
+
true
|
|
50218
|
+
);
|
|
50219
|
+
};
|
|
50220
|
+
if ($defineProperty) {
|
|
50221
|
+
$defineProperty(module.exports, "apply", { value: applyBind });
|
|
50222
|
+
} else {
|
|
50223
|
+
module.exports.apply = applyBind;
|
|
50224
|
+
}
|
|
50225
|
+
}
|
|
50226
|
+
});
|
|
50227
|
+
|
|
50228
|
+
// ../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js
|
|
50229
|
+
var require_shams2 = __commonJS({
|
|
50230
|
+
"../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(exports, module) {
|
|
50231
|
+
"use strict";
|
|
50232
|
+
var hasSymbols = require_shams();
|
|
50233
|
+
module.exports = function hasToStringTagShams() {
|
|
50234
|
+
return hasSymbols() && !!Symbol.toStringTag;
|
|
50235
|
+
};
|
|
50236
|
+
}
|
|
50237
|
+
});
|
|
50238
|
+
|
|
50239
|
+
// ../../node_modules/.pnpm/which-typed-array@1.1.21/node_modules/which-typed-array/index.js
|
|
50240
|
+
var require_which_typed_array = __commonJS({
|
|
50241
|
+
"../../node_modules/.pnpm/which-typed-array@1.1.21/node_modules/which-typed-array/index.js"(exports, module) {
|
|
50242
|
+
"use strict";
|
|
50243
|
+
var forEach = require_for_each();
|
|
50244
|
+
var availableTypedArrays = require_available_typed_arrays();
|
|
50245
|
+
var callBind = require_call_bind();
|
|
50246
|
+
var callBound = require_call_bound();
|
|
50247
|
+
var gOPD = require_gopd();
|
|
50248
|
+
var getProto = require_get_proto();
|
|
50249
|
+
var $toString = callBound("Object.prototype.toString");
|
|
50250
|
+
var hasToStringTag = require_shams2()();
|
|
50251
|
+
var g = typeof globalThis === "undefined" ? global : globalThis;
|
|
50252
|
+
var typedArrays = availableTypedArrays();
|
|
50253
|
+
var $slice = callBound("String.prototype.slice");
|
|
50254
|
+
var $indexOf = callBound("Array.prototype.indexOf", true) || function indexOf(array, value) {
|
|
50255
|
+
for (var i = 0; i < array.length; i += 1) {
|
|
50256
|
+
if (array[i] === value) {
|
|
50257
|
+
return i;
|
|
50258
|
+
}
|
|
50259
|
+
}
|
|
50260
|
+
return -1;
|
|
50261
|
+
};
|
|
50262
|
+
var cache = { __proto__: null };
|
|
50263
|
+
if (hasToStringTag && gOPD && getProto) {
|
|
50264
|
+
forEach(typedArrays, function(typedArray) {
|
|
50265
|
+
var arr = new g[typedArray]();
|
|
50266
|
+
if (Symbol.toStringTag in arr && getProto) {
|
|
50267
|
+
var proto = getProto(arr);
|
|
50268
|
+
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
50269
|
+
if (!descriptor && proto) {
|
|
50270
|
+
var superProto = getProto(proto);
|
|
50271
|
+
descriptor = gOPD(superProto, Symbol.toStringTag);
|
|
50272
|
+
}
|
|
50273
|
+
if (descriptor && descriptor.get) {
|
|
50274
|
+
var bound = callBind(descriptor.get);
|
|
50275
|
+
cache[
|
|
50276
|
+
/** @type {`$${import('.').TypedArrayName}`} */
|
|
50277
|
+
"$" + typedArray
|
|
50278
|
+
] = bound;
|
|
50279
|
+
}
|
|
50280
|
+
}
|
|
50281
|
+
});
|
|
50282
|
+
} else {
|
|
50283
|
+
forEach(typedArrays, function(typedArray) {
|
|
50284
|
+
var arr = new g[typedArray]();
|
|
50285
|
+
var fn = arr.slice || arr.set;
|
|
50286
|
+
if (fn) {
|
|
50287
|
+
var bound = (
|
|
50288
|
+
/** @type {import('./types').BoundSlice | import('./types').BoundSet} */
|
|
50289
|
+
// @ts-expect-error TODO FIXME
|
|
50290
|
+
callBind(fn)
|
|
50291
|
+
);
|
|
50292
|
+
cache[
|
|
50293
|
+
/** @type {`$${import('.').TypedArrayName}`} */
|
|
50294
|
+
"$" + typedArray
|
|
50295
|
+
] = bound;
|
|
50296
|
+
}
|
|
50297
|
+
});
|
|
50298
|
+
}
|
|
50299
|
+
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
50300
|
+
var found = false;
|
|
50301
|
+
forEach(
|
|
50302
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
50303
|
+
cache,
|
|
50304
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
50305
|
+
function(getter, typedArray) {
|
|
50306
|
+
if (!found) {
|
|
50307
|
+
try {
|
|
50308
|
+
if ("$" + getter(value) === typedArray) {
|
|
50309
|
+
found = /** @type {import('.').TypedArrayName} */
|
|
50310
|
+
$slice(typedArray, 1);
|
|
50311
|
+
}
|
|
50312
|
+
} catch (e) {
|
|
50313
|
+
}
|
|
50314
|
+
}
|
|
50315
|
+
}
|
|
50316
|
+
);
|
|
50317
|
+
return found;
|
|
50318
|
+
};
|
|
50319
|
+
var trySlices = function tryAllSlices(value) {
|
|
50320
|
+
var found = false;
|
|
50321
|
+
forEach(
|
|
50322
|
+
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
50323
|
+
cache,
|
|
50324
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
50325
|
+
function(getter, name) {
|
|
50326
|
+
if (!found) {
|
|
50327
|
+
try {
|
|
50328
|
+
getter(value);
|
|
50329
|
+
found = /** @type {import('.').TypedArrayName} */
|
|
50330
|
+
$slice(name, 1);
|
|
50331
|
+
} catch (e) {
|
|
50332
|
+
}
|
|
50333
|
+
}
|
|
50334
|
+
}
|
|
50335
|
+
);
|
|
50336
|
+
return found;
|
|
50337
|
+
};
|
|
50338
|
+
module.exports = function whichTypedArray(value) {
|
|
50339
|
+
if (!value || typeof value !== "object") {
|
|
50340
|
+
return false;
|
|
50341
|
+
}
|
|
50342
|
+
if (!hasToStringTag) {
|
|
50343
|
+
var tag = $slice($toString(value), 8, -1);
|
|
50344
|
+
if ($indexOf(typedArrays, tag) > -1) {
|
|
50345
|
+
return tag;
|
|
50346
|
+
}
|
|
50347
|
+
if (tag !== "Object") {
|
|
50348
|
+
return false;
|
|
50349
|
+
}
|
|
50350
|
+
return trySlices(value);
|
|
50351
|
+
}
|
|
50352
|
+
if (!gOPD) {
|
|
50353
|
+
return null;
|
|
50354
|
+
}
|
|
50355
|
+
return tryTypedArrays(value);
|
|
50356
|
+
};
|
|
50357
|
+
}
|
|
50358
|
+
});
|
|
50359
|
+
|
|
50360
|
+
// ../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js
|
|
50361
|
+
var require_is_typed_array = __commonJS({
|
|
50362
|
+
"../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js"(exports, module) {
|
|
50363
|
+
"use strict";
|
|
50364
|
+
var whichTypedArray = require_which_typed_array();
|
|
50365
|
+
module.exports = function isTypedArray(value) {
|
|
50366
|
+
return !!whichTypedArray(value);
|
|
50367
|
+
};
|
|
50368
|
+
}
|
|
50369
|
+
});
|
|
50370
|
+
|
|
50371
|
+
// ../../node_modules/.pnpm/typed-array-buffer@1.0.3/node_modules/typed-array-buffer/index.js
|
|
50372
|
+
var require_typed_array_buffer = __commonJS({
|
|
50373
|
+
"../../node_modules/.pnpm/typed-array-buffer@1.0.3/node_modules/typed-array-buffer/index.js"(exports, module) {
|
|
50374
|
+
"use strict";
|
|
50375
|
+
var $TypeError = require_type3();
|
|
50376
|
+
var callBound = require_call_bound();
|
|
50377
|
+
var $typedArrayBuffer = callBound("TypedArray.prototype.buffer", true);
|
|
50378
|
+
var isTypedArray = require_is_typed_array();
|
|
50379
|
+
module.exports = $typedArrayBuffer || function typedArrayBuffer(x) {
|
|
50380
|
+
if (!isTypedArray(x)) {
|
|
50381
|
+
throw new $TypeError("Not a Typed Array");
|
|
50382
|
+
}
|
|
50383
|
+
return x.buffer;
|
|
50384
|
+
};
|
|
50385
|
+
}
|
|
50386
|
+
});
|
|
50387
|
+
|
|
50388
|
+
// ../../node_modules/.pnpm/to-buffer@1.2.2/node_modules/to-buffer/index.js
|
|
50389
|
+
var require_to_buffer = __commonJS({
|
|
50390
|
+
"../../node_modules/.pnpm/to-buffer@1.2.2/node_modules/to-buffer/index.js"(exports, module) {
|
|
50391
|
+
"use strict";
|
|
50392
|
+
var Buffer2 = require_safe_buffer2().Buffer;
|
|
50393
|
+
var isArray = require_isarray2();
|
|
50394
|
+
var typedArrayBuffer = require_typed_array_buffer();
|
|
50395
|
+
var isView = ArrayBuffer.isView || function isView2(obj) {
|
|
50396
|
+
try {
|
|
50397
|
+
typedArrayBuffer(obj);
|
|
50398
|
+
return true;
|
|
50399
|
+
} catch (e) {
|
|
50400
|
+
return false;
|
|
50401
|
+
}
|
|
50402
|
+
};
|
|
50403
|
+
var useUint8Array = typeof Uint8Array !== "undefined";
|
|
50404
|
+
var useArrayBuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined";
|
|
50405
|
+
var useFromArrayBuffer = useArrayBuffer && (Buffer2.prototype instanceof Uint8Array || Buffer2.TYPED_ARRAY_SUPPORT);
|
|
50406
|
+
module.exports = function toBuffer(data, encoding) {
|
|
50407
|
+
if (Buffer2.isBuffer(data)) {
|
|
50408
|
+
if (data.constructor && !("isBuffer" in data)) {
|
|
50409
|
+
return Buffer2.from(data);
|
|
50410
|
+
}
|
|
50411
|
+
return data;
|
|
50412
|
+
}
|
|
50413
|
+
if (typeof data === "string") {
|
|
50414
|
+
return Buffer2.from(data, encoding);
|
|
50415
|
+
}
|
|
50416
|
+
if (useArrayBuffer && isView(data)) {
|
|
50417
|
+
if (data.byteLength === 0) {
|
|
50418
|
+
return Buffer2.alloc(0);
|
|
50419
|
+
}
|
|
50420
|
+
if (useFromArrayBuffer) {
|
|
50421
|
+
var res = Buffer2.from(data.buffer, data.byteOffset, data.byteLength);
|
|
50422
|
+
if (res.byteLength === data.byteLength) {
|
|
50423
|
+
return res;
|
|
50424
|
+
}
|
|
50425
|
+
}
|
|
50426
|
+
var uint8 = data instanceof Uint8Array ? data : new Uint8Array(data.buffer, data.byteOffset, data.byteLength);
|
|
50427
|
+
var result = Buffer2.from(uint8);
|
|
50428
|
+
if (result.length === data.byteLength) {
|
|
50429
|
+
return result;
|
|
50430
|
+
}
|
|
50431
|
+
}
|
|
50432
|
+
if (useUint8Array && data instanceof Uint8Array) {
|
|
50433
|
+
return Buffer2.from(data);
|
|
50434
|
+
}
|
|
50435
|
+
var isArr = isArray(data);
|
|
50436
|
+
if (isArr) {
|
|
50437
|
+
for (var i = 0; i < data.length; i += 1) {
|
|
50438
|
+
var x = data[i];
|
|
50439
|
+
if (typeof x !== "number" || x < 0 || x > 255 || ~~x !== x) {
|
|
50440
|
+
throw new RangeError("Array items must be numbers in the range 0-255.");
|
|
50441
|
+
}
|
|
50442
|
+
}
|
|
50443
|
+
}
|
|
50444
|
+
if (isArr || Buffer2.isBuffer(data) && data.constructor && typeof data.constructor.isBuffer === "function" && data.constructor.isBuffer(data)) {
|
|
50445
|
+
return Buffer2.from(data);
|
|
50446
|
+
}
|
|
50447
|
+
throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.');
|
|
50448
|
+
};
|
|
48710
50449
|
}
|
|
48711
50450
|
});
|
|
48712
50451
|
|
|
@@ -51115,13 +52854,13 @@ var CancelablePromise = class _CancelablePromise extends Promise {
|
|
|
51115
52854
|
});
|
|
51116
52855
|
}
|
|
51117
52856
|
static withResolver() {
|
|
51118
|
-
let
|
|
52857
|
+
let resolve5;
|
|
51119
52858
|
let reject;
|
|
51120
52859
|
const promise = new _CancelablePromise((res, rej) => {
|
|
51121
|
-
|
|
52860
|
+
resolve5 = res;
|
|
51122
52861
|
reject = rej;
|
|
51123
52862
|
});
|
|
51124
|
-
return { promise, resolve:
|
|
52863
|
+
return { promise, resolve: resolve5, reject };
|
|
51125
52864
|
}
|
|
51126
52865
|
};
|
|
51127
52866
|
|
|
@@ -51484,7 +53223,7 @@ function createPrompt(view) {
|
|
|
51484
53223
|
const screen = new ScreenManager(rl);
|
|
51485
53224
|
let cancel = () => {
|
|
51486
53225
|
};
|
|
51487
|
-
const answer = new CancelablePromise((
|
|
53226
|
+
const answer = new CancelablePromise((resolve5, reject) => {
|
|
51488
53227
|
withHooks(rl, (store) => {
|
|
51489
53228
|
function checkCursorPos() {
|
|
51490
53229
|
screen.checkCursorPos();
|
|
@@ -51517,7 +53256,7 @@ function createPrompt(view) {
|
|
|
51517
53256
|
function done(value) {
|
|
51518
53257
|
setImmediate(() => {
|
|
51519
53258
|
onExit2();
|
|
51520
|
-
|
|
53259
|
+
resolve5(value);
|
|
51521
53260
|
});
|
|
51522
53261
|
}
|
|
51523
53262
|
function workLoop(resolvedConfig) {
|
|
@@ -51546,7 +53285,7 @@ function createPrompt(view) {
|
|
|
51546
53285
|
// ../../node_modules/.pnpm/@inquirer+core@7.1.3/node_modules/@inquirer/core/dist/esm/lib/Separator.mjs
|
|
51547
53286
|
var import_chalk2 = __toESM(require_source2(), 1);
|
|
51548
53287
|
|
|
51549
|
-
// ../../node_modules/.pnpm/@inquirer+figures@1.0.
|
|
53288
|
+
// ../../node_modules/.pnpm/@inquirer+figures@1.0.15/node_modules/@inquirer/figures/dist/esm/index.js
|
|
51550
53289
|
import process3 from "process";
|
|
51551
53290
|
function isUnicodeSupported() {
|
|
51552
53291
|
if (process3.platform !== "win32") {
|
|
@@ -51825,7 +53564,10 @@ var specialFallbackSymbols = {
|
|
|
51825
53564
|
oneNinth: "1/9",
|
|
51826
53565
|
oneTenth: "1/10"
|
|
51827
53566
|
};
|
|
51828
|
-
var mainSymbols = {
|
|
53567
|
+
var mainSymbols = {
|
|
53568
|
+
...common,
|
|
53569
|
+
...specialMainSymbols
|
|
53570
|
+
};
|
|
51829
53571
|
var fallbackSymbols = {
|
|
51830
53572
|
...common,
|
|
51831
53573
|
...specialFallbackSymbols
|
|
@@ -52055,20 +53797,20 @@ ${dirtyResult.reason}`
|
|
|
52055
53797
|
};
|
|
52056
53798
|
}
|
|
52057
53799
|
function getLastCommit(directory) {
|
|
52058
|
-
return new Promise((
|
|
53800
|
+
return new Promise((resolve5, reject) => {
|
|
52059
53801
|
import_git_last_commit.default.getLastCommit(
|
|
52060
53802
|
(err, commit) => {
|
|
52061
53803
|
if (err) {
|
|
52062
53804
|
return reject((0, import_error_utils.normalizeError)(err));
|
|
52063
53805
|
}
|
|
52064
|
-
|
|
53806
|
+
resolve5(commit);
|
|
52065
53807
|
},
|
|
52066
53808
|
{ dst: directory }
|
|
52067
53809
|
);
|
|
52068
53810
|
});
|
|
52069
53811
|
}
|
|
52070
53812
|
function isDirty(directory) {
|
|
52071
|
-
return new Promise((
|
|
53813
|
+
return new Promise((resolve5, reject) => {
|
|
52072
53814
|
exec(
|
|
52073
53815
|
"git --no-optional-locks status -s",
|
|
52074
53816
|
{ cwd: directory },
|
|
@@ -52079,7 +53821,7 @@ function isDirty(directory) {
|
|
|
52079
53821
|
if (stderr !== void 0 && stderr.trim().length > 0) {
|
|
52080
53822
|
return reject(new Error(stderr));
|
|
52081
53823
|
}
|
|
52082
|
-
|
|
53824
|
+
resolve5(stdout.trim().length > 0);
|
|
52083
53825
|
}
|
|
52084
53826
|
);
|
|
52085
53827
|
});
|
|
@@ -53297,7 +55039,7 @@ function findProjectsFromPath(projects, path) {
|
|
|
53297
55039
|
var import_chalk13 = __toESM(require_source(), 1);
|
|
53298
55040
|
var import_fs_extra5 = __toESM(require_lib3(), 1);
|
|
53299
55041
|
import { closeSync, openSync, readSync } from "fs";
|
|
53300
|
-
import { resolve as
|
|
55042
|
+
import { resolve as resolve4 } from "path";
|
|
53301
55043
|
|
|
53302
55044
|
// src/util/output/param.ts
|
|
53303
55045
|
var import_chalk8 = __toESM(require_source(), 1);
|
|
@@ -53904,7 +55646,7 @@ import { KNOWN_AGENTS as KNOWN_AGENTS2 } from "@vercel/detect-agent";
|
|
|
53904
55646
|
var import_chalk11 = __toESM(require_source(), 1);
|
|
53905
55647
|
import { readFile as readFile3, writeFile as writeFile2 } from "fs/promises";
|
|
53906
55648
|
import { access } from "fs/promises";
|
|
53907
|
-
import { join as join6 } from "path";
|
|
55649
|
+
import { dirname, join as join6, resolve as resolve3 } from "path";
|
|
53908
55650
|
import { homedir as homedir3 } from "os";
|
|
53909
55651
|
import { spawn } from "child_process";
|
|
53910
55652
|
import { KNOWN_AGENTS } from "@vercel/detect-agent";
|
|
@@ -53955,7 +55697,26 @@ async function writePrefs(client, prefs) {
|
|
|
53955
55697
|
} catch {
|
|
53956
55698
|
}
|
|
53957
55699
|
}
|
|
53958
|
-
|
|
55700
|
+
function encodeClaudeProjectDir(projectPath) {
|
|
55701
|
+
return projectPath.replace(/[^A-Za-z0-9]/g, "-");
|
|
55702
|
+
}
|
|
55703
|
+
async function projectHasUsedClaudeCode(cwd) {
|
|
55704
|
+
const home2 = homedir3();
|
|
55705
|
+
const projectsDir = join6(home2, ".claude", "projects");
|
|
55706
|
+
let dir = resolve3(cwd);
|
|
55707
|
+
while (dir !== home2) {
|
|
55708
|
+
if (await fileExists(join6(projectsDir, encodeClaudeProjectDir(dir)))) {
|
|
55709
|
+
return true;
|
|
55710
|
+
}
|
|
55711
|
+
const parent = dirname(dir);
|
|
55712
|
+
if (parent === dir) {
|
|
55713
|
+
break;
|
|
55714
|
+
}
|
|
55715
|
+
dir = parent;
|
|
55716
|
+
}
|
|
55717
|
+
return false;
|
|
55718
|
+
}
|
|
55719
|
+
async function getPluginTargets(agentName, cwd) {
|
|
53959
55720
|
const targetForAgent = getPluginTargetForAgent(agentName);
|
|
53960
55721
|
if (targetForAgent) {
|
|
53961
55722
|
return [targetForAgent];
|
|
@@ -53963,12 +55724,10 @@ async function getPluginTargets(agentName) {
|
|
|
53963
55724
|
if (agentName) {
|
|
53964
55725
|
return [];
|
|
53965
55726
|
}
|
|
53966
|
-
|
|
53967
|
-
|
|
53968
|
-
if (await fileExists(join6(home2, ".claude"))) {
|
|
53969
|
-
targets.push("claude-code");
|
|
55727
|
+
if (cwd && await projectHasUsedClaudeCode(cwd)) {
|
|
55728
|
+
return ["claude-code"];
|
|
53970
55729
|
}
|
|
53971
|
-
return
|
|
55730
|
+
return [];
|
|
53972
55731
|
}
|
|
53973
55732
|
async function readClaudeInstalledPluginsFromRegistry() {
|
|
53974
55733
|
try {
|
|
@@ -54055,7 +55814,7 @@ async function markPromptedToday(client, prefs) {
|
|
|
54055
55814
|
await writePrefs(client, prefs);
|
|
54056
55815
|
}
|
|
54057
55816
|
async function runCommand(command, args) {
|
|
54058
|
-
return await new Promise((
|
|
55817
|
+
return await new Promise((resolve5) => {
|
|
54059
55818
|
const child = spawn(command, args, { stdio: "pipe" });
|
|
54060
55819
|
let stdout = "";
|
|
54061
55820
|
let stderr = "";
|
|
@@ -54066,10 +55825,10 @@ async function runCommand(command, args) {
|
|
|
54066
55825
|
stderr += chunk.toString();
|
|
54067
55826
|
});
|
|
54068
55827
|
child.on("close", (code2) => {
|
|
54069
|
-
|
|
55828
|
+
resolve5({ exitCode: code2 ?? 1, stdout, stderr });
|
|
54070
55829
|
});
|
|
54071
55830
|
child.on("error", (err) => {
|
|
54072
|
-
|
|
55831
|
+
resolve5({ exitCode: 1, stdout, stderr: `${stderr}${String(err)}` });
|
|
54073
55832
|
});
|
|
54074
55833
|
});
|
|
54075
55834
|
}
|
|
@@ -54345,7 +56104,7 @@ async function autoInstallVercelPlugin(client, options) {
|
|
|
54345
56104
|
const prefs = await readPrefs(client);
|
|
54346
56105
|
const applyMode = options?.mode === "apply";
|
|
54347
56106
|
if (!prefs.pluginDeclined || applyMode) {
|
|
54348
|
-
const targets = await getPluginTargets(client.agentName);
|
|
56107
|
+
const targets = await getPluginTargets(client.agentName, client.cwd);
|
|
54349
56108
|
const uninstalledTargets = [];
|
|
54350
56109
|
const claudeStatus = targets.includes("claude-code") ? await getClaudePluginStatus() : void 0;
|
|
54351
56110
|
const claudePlan = claudeStatus ? buildClaudePluginMigrationPlan(claudeStatus) : void 0;
|
|
@@ -54402,7 +56161,7 @@ async function showPluginTipIfNeeded(client) {
|
|
|
54402
56161
|
const prefs = await readPrefs(client);
|
|
54403
56162
|
if (prefs.pluginDeclined)
|
|
54404
56163
|
return;
|
|
54405
|
-
const targets = await getPluginTargets();
|
|
56164
|
+
const targets = await getPluginTargets(client.agentName, client.cwd);
|
|
54406
56165
|
for (const target of targets) {
|
|
54407
56166
|
if (!await isPluginInstalledForTarget(target)) {
|
|
54408
56167
|
output_manager_default.log(
|
|
@@ -54828,7 +56587,7 @@ async function login(client, telemetry) {
|
|
|
54828
56587
|
return 0;
|
|
54829
56588
|
}
|
|
54830
56589
|
async function wait(intervalMs) {
|
|
54831
|
-
await new Promise((
|
|
56590
|
+
await new Promise((resolve5) => setTimeout(resolve5, intervalMs));
|
|
54832
56591
|
}
|
|
54833
56592
|
|
|
54834
56593
|
// src/commands/env/pull.ts
|
|
@@ -54949,7 +56708,7 @@ async function pull(client, argv, source = "vercel-cli:env:pull") {
|
|
|
54949
56708
|
return 0;
|
|
54950
56709
|
}
|
|
54951
56710
|
async function envPullCommandLogic(client, filename, skipConfirmation, environment, link, gitBranch, cwd, source, deploymentId) {
|
|
54952
|
-
const fullPath =
|
|
56711
|
+
const fullPath = resolve4(cwd, filename);
|
|
54953
56712
|
const head = tryReadHeadSync(fullPath, Buffer.byteLength(CONTENTS_PREFIX));
|
|
54954
56713
|
const exists = typeof head !== "undefined";
|
|
54955
56714
|
if (head === CONTENTS_PREFIX) {
|
|
@@ -55082,7 +56841,7 @@ function escapeValue(value) {
|
|
|
55082
56841
|
var import_chalk14 = __toESM(require_source(), 1);
|
|
55083
56842
|
var import_fs_extra7 = __toESM(require_lib3(), 1);
|
|
55084
56843
|
import { stat } from "fs/promises";
|
|
55085
|
-
import { join as join9, dirname } from "path";
|
|
56844
|
+
import { join as join9, dirname as dirname2 } from "path";
|
|
55086
56845
|
|
|
55087
56846
|
// src/util/projects/detect-services.ts
|
|
55088
56847
|
var import_fs_detectors2 = __toESM(require_dist6(), 1);
|
|
@@ -55126,6 +56885,7 @@ var import_client = __toESM(require_dist7(), 1);
|
|
|
55126
56885
|
import {
|
|
55127
56886
|
functionsSchema,
|
|
55128
56887
|
buildsSchema,
|
|
56888
|
+
getMaxDurationSchema,
|
|
55129
56889
|
NowBuildError,
|
|
55130
56890
|
getPrettyError
|
|
55131
56891
|
} from "@vercel/build-utils";
|
|
@@ -55407,12 +57167,7 @@ var experimentalServicesCommonProperties = {
|
|
|
55407
57167
|
minimum: 128,
|
|
55408
57168
|
maximum: 10240
|
|
55409
57169
|
},
|
|
55410
|
-
maxDuration:
|
|
55411
|
-
oneOf: [
|
|
55412
|
-
{ type: "integer", minimum: 1, maximum: 900 },
|
|
55413
|
-
{ type: "string", enum: ["max"] }
|
|
55414
|
-
]
|
|
55415
|
-
},
|
|
57170
|
+
maxDuration: getMaxDurationSchema(),
|
|
55416
57171
|
includeFiles: {
|
|
55417
57172
|
oneOf: [
|
|
55418
57173
|
{ type: "string", minLength: 1 },
|
|
@@ -55929,8 +57684,8 @@ async function findProjectRoot(startDir) {
|
|
|
55929
57684
|
} catch {
|
|
55930
57685
|
return null;
|
|
55931
57686
|
}
|
|
55932
|
-
let dir =
|
|
55933
|
-
while (
|
|
57687
|
+
let dir = dirname2(startDir);
|
|
57688
|
+
while (dirname2(dir) !== dir) {
|
|
55934
57689
|
try {
|
|
55935
57690
|
if ((await stat(dir)).dev !== cwdDev) {
|
|
55936
57691
|
return null;
|
|
@@ -55945,7 +57700,7 @@ async function findProjectRoot(startDir) {
|
|
|
55945
57700
|
if (hasVercelDir || hasVercelJson || hasVercelToml || hasGit) {
|
|
55946
57701
|
return dir;
|
|
55947
57702
|
}
|
|
55948
|
-
dir =
|
|
57703
|
+
dir = dirname2(dir);
|
|
55949
57704
|
}
|
|
55950
57705
|
return null;
|
|
55951
57706
|
}
|
|
@@ -56537,7 +58292,7 @@ async function compileVercelConfig(workPath) {
|
|
|
56537
58292
|
process.send(config);
|
|
56538
58293
|
`;
|
|
56539
58294
|
await writeFile5(loaderPath, loaderScript, "utf-8");
|
|
56540
|
-
const config = await new Promise((
|
|
58295
|
+
const config = await new Promise((resolve5, reject) => {
|
|
56541
58296
|
const child = fork(loaderPath, [tempOutPath], {
|
|
56542
58297
|
stdio: ["pipe", "pipe", "pipe", "ipc"]
|
|
56543
58298
|
});
|
|
@@ -56560,7 +58315,7 @@ async function compileVercelConfig(workPath) {
|
|
|
56560
58315
|
child.on("message", (message) => {
|
|
56561
58316
|
clearTimeout(timeout);
|
|
56562
58317
|
child.kill();
|
|
56563
|
-
|
|
58318
|
+
resolve5(message);
|
|
56564
58319
|
});
|
|
56565
58320
|
child.on("error", (err) => {
|
|
56566
58321
|
clearTimeout(timeout);
|