create-tamagui 1.123.17 → 1.124.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/index.cjs +167 -122
- package/dist/index.js +167 -122
- package/dist/index.js.map +3 -3
- package/dist/index.native.js +217 -155
- package/dist/index.native.js.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12930,15 +12930,20 @@ ${indent}`) + "'";
|
|
|
12930
12930
|
}
|
|
12931
12931
|
let start = value.substring(0, startNlPos < startEnd ? startNlPos + 1 : startEnd);
|
|
12932
12932
|
start && (value = value.substring(start.length), start = start.replace(/\n+/g, `$&${indent}`));
|
|
12933
|
-
let header = (
|
|
12934
|
-
if (comment && (header += " " + commentString(comment.replace(/ ?[\r\n]+/g, " ")), onComment && onComment()), literal)
|
|
12935
|
-
|
|
12936
|
-
${indent}
|
|
12937
|
-
|
|
12938
|
-
|
|
12939
|
-
|
|
12940
|
-
|
|
12933
|
+
let header = (startWithSpace ? indent ? "2" : "1" : "") + chomp;
|
|
12934
|
+
if (comment && (header += " " + commentString(comment.replace(/ ?[\r\n]+/g, " ")), onComment && onComment()), !literal) {
|
|
12935
|
+
let foldedValue = value.replace(/\n+/g, `
|
|
12936
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${indent}`), literalFallback = !1, foldOptions = getFoldOptions(ctx, !0);
|
|
12937
|
+
blockQuote !== "folded" && type !== Scalar.Scalar.BLOCK_FOLDED && (foldOptions.onOverflow = () => {
|
|
12938
|
+
literalFallback = !0;
|
|
12939
|
+
});
|
|
12940
|
+
let body = foldFlowLines.foldFlowLines(`${start}${foldedValue}${end}`, indent, foldFlowLines.FOLD_BLOCK, foldOptions);
|
|
12941
|
+
if (!literalFallback)
|
|
12942
|
+
return `>${header}
|
|
12941
12943
|
${indent}${body}`;
|
|
12944
|
+
}
|
|
12945
|
+
return value = value.replace(/\n+/g, `$&${indent}`), `|${header}
|
|
12946
|
+
${indent}${start}${value}${end}`;
|
|
12942
12947
|
}
|
|
12943
12948
|
function plainString(item, ctx, onComment, onChompKeep) {
|
|
12944
12949
|
let { type, value } = item, { actualString, implicitKey, indent, indentStep, inFlow } = ctx;
|
|
@@ -13050,6 +13055,10 @@ var require_stringify2 = __commonJS({
|
|
|
13050
13055
|
if (identity.isScalar(item)) {
|
|
13051
13056
|
obj = item.value;
|
|
13052
13057
|
let match2 = tags.filter((t) => t.identify?.(obj));
|
|
13058
|
+
if (match2.length > 1) {
|
|
13059
|
+
let testMatch = match2.filter((t) => t.test);
|
|
13060
|
+
testMatch.length > 0 && (match2 = testMatch);
|
|
13061
|
+
}
|
|
13053
13062
|
tagObj = match2.find((t) => t.format === item.format) ?? match2.find((t) => !t.format);
|
|
13054
13063
|
} else
|
|
13055
13064
|
obj = item, tagObj = tags.find((t) => t.nodeClass && obj instanceof t.nodeClass);
|
|
@@ -13163,32 +13172,72 @@ ${ctx.indent}`);
|
|
|
13163
13172
|
var require_log = __commonJS({
|
|
13164
13173
|
"../../../node_modules/yaml/dist/log.js"(exports2) {
|
|
13165
13174
|
"use strict";
|
|
13175
|
+
var node_process = require("node:process");
|
|
13166
13176
|
function debug(logLevel, ...messages) {
|
|
13167
13177
|
logLevel === "debug" && console.log(...messages);
|
|
13168
13178
|
}
|
|
13169
13179
|
function warn(logLevel, warning) {
|
|
13170
|
-
(logLevel === "debug" || logLevel === "warn") && (typeof
|
|
13180
|
+
(logLevel === "debug" || logLevel === "warn") && (typeof node_process.emitWarning == "function" ? node_process.emitWarning(warning) : console.warn(warning));
|
|
13171
13181
|
}
|
|
13172
13182
|
exports2.debug = debug;
|
|
13173
13183
|
exports2.warn = warn;
|
|
13174
13184
|
}
|
|
13175
13185
|
});
|
|
13176
13186
|
|
|
13187
|
+
// ../../../node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
13188
|
+
var require_merge = __commonJS({
|
|
13189
|
+
"../../../node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports2) {
|
|
13190
|
+
"use strict";
|
|
13191
|
+
var identity = require_identity(), Scalar = require_Scalar(), MERGE_KEY = "<<", merge = {
|
|
13192
|
+
identify: (value) => value === MERGE_KEY || typeof value == "symbol" && value.description === MERGE_KEY,
|
|
13193
|
+
default: "key",
|
|
13194
|
+
tag: "tag:yaml.org,2002:merge",
|
|
13195
|
+
test: /^<<$/,
|
|
13196
|
+
resolve: () => Object.assign(new Scalar.Scalar(Symbol(MERGE_KEY)), {
|
|
13197
|
+
addToJSMap: addMergeToJSMap
|
|
13198
|
+
}),
|
|
13199
|
+
stringify: () => MERGE_KEY
|
|
13200
|
+
}, isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
|
|
13201
|
+
function addMergeToJSMap(ctx, map, value) {
|
|
13202
|
+
if (value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value, identity.isSeq(value))
|
|
13203
|
+
for (let it of value.items)
|
|
13204
|
+
mergeValue(ctx, map, it);
|
|
13205
|
+
else if (Array.isArray(value))
|
|
13206
|
+
for (let it of value)
|
|
13207
|
+
mergeValue(ctx, map, it);
|
|
13208
|
+
else
|
|
13209
|
+
mergeValue(ctx, map, value);
|
|
13210
|
+
}
|
|
13211
|
+
function mergeValue(ctx, map, value) {
|
|
13212
|
+
let source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
|
|
13213
|
+
if (!identity.isMap(source))
|
|
13214
|
+
throw new Error("Merge sources must be maps or map aliases");
|
|
13215
|
+
let srcMap = source.toJSON(null, ctx, Map);
|
|
13216
|
+
for (let [key, value2] of srcMap)
|
|
13217
|
+
map instanceof Map ? map.has(key) || map.set(key, value2) : map instanceof Set ? map.add(key) : Object.prototype.hasOwnProperty.call(map, key) || Object.defineProperty(map, key, {
|
|
13218
|
+
value: value2,
|
|
13219
|
+
writable: !0,
|
|
13220
|
+
enumerable: !0,
|
|
13221
|
+
configurable: !0
|
|
13222
|
+
});
|
|
13223
|
+
return map;
|
|
13224
|
+
}
|
|
13225
|
+
exports2.addMergeToJSMap = addMergeToJSMap;
|
|
13226
|
+
exports2.isMergeKey = isMergeKey;
|
|
13227
|
+
exports2.merge = merge;
|
|
13228
|
+
}
|
|
13229
|
+
});
|
|
13230
|
+
|
|
13177
13231
|
// ../../../node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
13178
13232
|
var require_addPairToJSMap = __commonJS({
|
|
13179
13233
|
"../../../node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports2) {
|
|
13180
13234
|
"use strict";
|
|
13181
|
-
var log2 = require_log(),
|
|
13235
|
+
var log2 = require_log(), merge = require_merge(), stringify = require_stringify2(), identity = require_identity(), toJS = require_toJS();
|
|
13182
13236
|
function addPairToJSMap(ctx, map, { key, value }) {
|
|
13183
|
-
if (
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
else if (Array.isArray(value))
|
|
13188
|
-
for (let it of value)
|
|
13189
|
-
mergeToJSMap(ctx, map, it);
|
|
13190
|
-
else
|
|
13191
|
-
mergeToJSMap(ctx, map, value);
|
|
13237
|
+
if (identity.isNode(key) && key.addToJSMap)
|
|
13238
|
+
key.addToJSMap(ctx, map, value);
|
|
13239
|
+
else if (merge.isMergeKey(ctx, key))
|
|
13240
|
+
merge.addMergeToJSMap(ctx, map, value);
|
|
13192
13241
|
else {
|
|
13193
13242
|
let jsKey = toJS.toJS(key, "", ctx);
|
|
13194
13243
|
if (map instanceof Map)
|
|
@@ -13207,21 +13256,6 @@ var require_addPairToJSMap = __commonJS({
|
|
|
13207
13256
|
}
|
|
13208
13257
|
return map;
|
|
13209
13258
|
}
|
|
13210
|
-
var isMergeKey = (key) => key === MERGE_KEY || identity.isScalar(key) && key.value === MERGE_KEY && (!key.type || key.type === Scalar.Scalar.PLAIN);
|
|
13211
|
-
function mergeToJSMap(ctx, map, value) {
|
|
13212
|
-
let source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
|
|
13213
|
-
if (!identity.isMap(source))
|
|
13214
|
-
throw new Error("Merge sources must be maps or map aliases");
|
|
13215
|
-
let srcMap = source.toJSON(null, ctx, Map);
|
|
13216
|
-
for (let [key, value2] of srcMap)
|
|
13217
|
-
map instanceof Map ? map.has(key) || map.set(key, value2) : map instanceof Set ? map.add(key) : Object.prototype.hasOwnProperty.call(map, key) || Object.defineProperty(map, key, {
|
|
13218
|
-
value: value2,
|
|
13219
|
-
writable: !0,
|
|
13220
|
-
enumerable: !0,
|
|
13221
|
-
configurable: !0
|
|
13222
|
-
});
|
|
13223
|
-
return map;
|
|
13224
|
-
}
|
|
13225
13259
|
function stringifyKey(key, jsKey, ctx) {
|
|
13226
13260
|
if (jsKey === null)
|
|
13227
13261
|
return "";
|
|
@@ -13810,7 +13844,7 @@ var require_schema2 = __commonJS({
|
|
|
13810
13844
|
identify: (value) => typeof value == "boolean",
|
|
13811
13845
|
default: !0,
|
|
13812
13846
|
tag: "tag:yaml.org,2002:bool",
|
|
13813
|
-
test: /^true
|
|
13847
|
+
test: /^true$|^false$/,
|
|
13814
13848
|
resolve: (str) => str === "true",
|
|
13815
13849
|
stringify: stringifyJSON
|
|
13816
13850
|
},
|
|
@@ -13846,7 +13880,7 @@ var require_schema2 = __commonJS({
|
|
|
13846
13880
|
var require_binary = __commonJS({
|
|
13847
13881
|
"../../../node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports2) {
|
|
13848
13882
|
"use strict";
|
|
13849
|
-
var Scalar = require_Scalar(), stringifyString = require_stringifyString(), binary = {
|
|
13883
|
+
var node_buffer = require("node:buffer"), Scalar = require_Scalar(), stringifyString = require_stringifyString(), binary = {
|
|
13850
13884
|
identify: (value) => value instanceof Uint8Array,
|
|
13851
13885
|
// Buffer inherits from Uint8Array
|
|
13852
13886
|
default: !1,
|
|
@@ -13860,8 +13894,8 @@ var require_binary = __commonJS({
|
|
|
13860
13894
|
* document.querySelector('#photo').src = URL.createObjectURL(blob)
|
|
13861
13895
|
*/
|
|
13862
13896
|
resolve(src, onError) {
|
|
13863
|
-
if (typeof Buffer == "function")
|
|
13864
|
-
return Buffer.from(src, "base64");
|
|
13897
|
+
if (typeof node_buffer.Buffer == "function")
|
|
13898
|
+
return node_buffer.Buffer.from(src, "base64");
|
|
13865
13899
|
if (typeof atob == "function") {
|
|
13866
13900
|
let str = atob(src.replace(/[\n\r]/g, "")), buffer = new Uint8Array(str.length);
|
|
13867
13901
|
for (let i = 0; i < str.length; ++i)
|
|
@@ -13872,8 +13906,8 @@ var require_binary = __commonJS({
|
|
|
13872
13906
|
},
|
|
13873
13907
|
stringify({ comment, type, value }, ctx, onComment, onChompKeep) {
|
|
13874
13908
|
let buf = value, str;
|
|
13875
|
-
if (typeof Buffer == "function")
|
|
13876
|
-
str = buf instanceof Buffer ? buf.toString("base64") : Buffer.from(buf.buffer).toString("base64");
|
|
13909
|
+
if (typeof node_buffer.Buffer == "function")
|
|
13910
|
+
str = buf instanceof node_buffer.Buffer ? buf.toString("base64") : node_buffer.Buffer.from(buf.buffer).toString("base64");
|
|
13877
13911
|
else if (typeof btoa == "function") {
|
|
13878
13912
|
let s = "";
|
|
13879
13913
|
for (let i = 0; i < buf.length; ++i)
|
|
@@ -14276,7 +14310,7 @@ var require_timestamp = __commonJS({
|
|
|
14276
14310
|
}
|
|
14277
14311
|
return new Date(date);
|
|
14278
14312
|
},
|
|
14279
|
-
stringify: ({ value }) => value.toISOString().replace(/(
|
|
14313
|
+
stringify: ({ value }) => value.toISOString().replace(/(T00:00:00)?\.000Z$/, "")
|
|
14280
14314
|
};
|
|
14281
14315
|
exports2.floatTime = floatTime;
|
|
14282
14316
|
exports2.intTime = intTime;
|
|
@@ -14288,7 +14322,7 @@ var require_timestamp = __commonJS({
|
|
|
14288
14322
|
var require_schema3 = __commonJS({
|
|
14289
14323
|
"../../../node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports2) {
|
|
14290
14324
|
"use strict";
|
|
14291
|
-
var map = require_map(), _null = require_null(), seq = require_seq(), string = require_string2(), binary = require_binary(), bool = require_bool2(), float = require_float2(), int = require_int2(), omap = require_omap(), pairs = require_pairs(), set = require_set(), timestamp = require_timestamp(), schema = [
|
|
14325
|
+
var map = require_map(), _null = require_null(), seq = require_seq(), string = require_string2(), binary = require_binary(), bool = require_bool2(), float = require_float2(), int = require_int2(), merge = require_merge(), omap = require_omap(), pairs = require_pairs(), set = require_set(), timestamp = require_timestamp(), schema = [
|
|
14292
14326
|
map.map,
|
|
14293
14327
|
seq.seq,
|
|
14294
14328
|
string.string,
|
|
@@ -14303,6 +14337,7 @@ var require_schema3 = __commonJS({
|
|
|
14303
14337
|
float.floatExp,
|
|
14304
14338
|
float.float,
|
|
14305
14339
|
binary.binary,
|
|
14340
|
+
merge.merge,
|
|
14306
14341
|
omap.omap,
|
|
14307
14342
|
pairs.pairs,
|
|
14308
14343
|
set.set,
|
|
@@ -14318,7 +14353,7 @@ var require_schema3 = __commonJS({
|
|
|
14318
14353
|
var require_tags = __commonJS({
|
|
14319
14354
|
"../../../node_modules/yaml/dist/schema/tags.js"(exports2) {
|
|
14320
14355
|
"use strict";
|
|
14321
|
-
var map = require_map(), _null = require_null(), seq = require_seq(), string = require_string2(), bool = require_bool(), float = require_float(), int = require_int(), schema = require_schema(), schema$1 = require_schema2(), binary = require_binary(), omap = require_omap(), pairs = require_pairs(), schema$2 = require_schema3(), set = require_set(), timestamp = require_timestamp(), schemas = /* @__PURE__ */ new Map([
|
|
14356
|
+
var map = require_map(), _null = require_null(), seq = require_seq(), string = require_string2(), bool = require_bool(), float = require_float(), int = require_int(), schema = require_schema(), schema$1 = require_schema2(), binary = require_binary(), merge = require_merge(), omap = require_omap(), pairs = require_pairs(), schema$2 = require_schema3(), set = require_set(), timestamp = require_timestamp(), schemas = /* @__PURE__ */ new Map([
|
|
14322
14357
|
["core", schema.schema],
|
|
14323
14358
|
["failsafe", [map.map, seq.seq, string.string]],
|
|
14324
14359
|
["json", schema$1.schema],
|
|
@@ -14336,6 +14371,7 @@ var require_tags = __commonJS({
|
|
|
14336
14371
|
intOct: int.intOct,
|
|
14337
14372
|
intTime: timestamp.intTime,
|
|
14338
14373
|
map: map.map,
|
|
14374
|
+
merge: merge.merge,
|
|
14339
14375
|
null: _null.nullTag,
|
|
14340
14376
|
omap: omap.omap,
|
|
14341
14377
|
pairs: pairs.pairs,
|
|
@@ -14344,13 +14380,17 @@ var require_tags = __commonJS({
|
|
|
14344
14380
|
timestamp: timestamp.timestamp
|
|
14345
14381
|
}, coreKnownTags = {
|
|
14346
14382
|
"tag:yaml.org,2002:binary": binary.binary,
|
|
14383
|
+
"tag:yaml.org,2002:merge": merge.merge,
|
|
14347
14384
|
"tag:yaml.org,2002:omap": omap.omap,
|
|
14348
14385
|
"tag:yaml.org,2002:pairs": pairs.pairs,
|
|
14349
14386
|
"tag:yaml.org,2002:set": set.set,
|
|
14350
14387
|
"tag:yaml.org,2002:timestamp": timestamp.timestamp
|
|
14351
14388
|
};
|
|
14352
|
-
function getTags(customTags, schemaName) {
|
|
14353
|
-
let
|
|
14389
|
+
function getTags(customTags, schemaName, addMergeTag) {
|
|
14390
|
+
let schemaTags = schemas.get(schemaName);
|
|
14391
|
+
if (schemaTags && !customTags)
|
|
14392
|
+
return addMergeTag && !schemaTags.includes(merge.merge) ? schemaTags.concat(merge.merge) : schemaTags.slice();
|
|
14393
|
+
let tags = schemaTags;
|
|
14354
14394
|
if (!tags)
|
|
14355
14395
|
if (Array.isArray(customTags))
|
|
14356
14396
|
tags = [];
|
|
@@ -14362,15 +14402,14 @@ var require_tags = __commonJS({
|
|
|
14362
14402
|
for (let tag of customTags)
|
|
14363
14403
|
tags = tags.concat(tag);
|
|
14364
14404
|
else typeof customTags == "function" && (tags = customTags(tags.slice()));
|
|
14365
|
-
return tags.
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
});
|
|
14405
|
+
return addMergeTag && (tags = tags.concat(merge.merge)), tags.reduce((tags2, tag) => {
|
|
14406
|
+
let tagObj = typeof tag == "string" ? tagsByName[tag] : tag;
|
|
14407
|
+
if (!tagObj) {
|
|
14408
|
+
let tagName = JSON.stringify(tag), keys = Object.keys(tagsByName).map((key) => JSON.stringify(key)).join(", ");
|
|
14409
|
+
throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`);
|
|
14410
|
+
}
|
|
14411
|
+
return tags2.includes(tagObj) || tags2.push(tagObj), tags2;
|
|
14412
|
+
}, []);
|
|
14374
14413
|
}
|
|
14375
14414
|
exports2.coreKnownTags = coreKnownTags;
|
|
14376
14415
|
exports2.getTags = getTags;
|
|
@@ -14383,7 +14422,7 @@ var require_Schema = __commonJS({
|
|
|
14383
14422
|
"use strict";
|
|
14384
14423
|
var identity = require_identity(), map = require_map(), seq = require_seq(), string = require_string2(), tags = require_tags(), sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0, Schema = class _Schema {
|
|
14385
14424
|
constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) {
|
|
14386
|
-
this.compat = Array.isArray(compat) ? tags.getTags(compat, "compat") : compat ? tags.getTags(null, compat) : null, this.
|
|
14425
|
+
this.compat = Array.isArray(compat) ? tags.getTags(compat, "compat") : compat ? tags.getTags(null, compat) : null, this.name = typeof schema == "string" && schema || "core", this.knownTags = resolveKnownTags ? tags.coreKnownTags : {}, this.tags = tags.getTags(customTags, this.name, merge), this.toStringOptions = toStringDefaults ?? null, Object.defineProperty(this, identity.MAP, { value: map.map }), Object.defineProperty(this, identity.SCALAR, { value: string.string }), Object.defineProperty(this, identity.SEQ, { value: seq.seq }), this.sortMapEntries = typeof sortMapEntries == "function" ? sortMapEntries : sortMapEntries === !0 ? sortMapEntriesByKey : null;
|
|
14387
14426
|
}
|
|
14388
14427
|
clone() {
|
|
14389
14428
|
let copy2 = Object.create(_Schema.prototype, Object.getOwnPropertyDescriptors(this));
|
|
@@ -14459,6 +14498,7 @@ var require_Document = __commonJS({
|
|
|
14459
14498
|
logLevel: "warn",
|
|
14460
14499
|
prettyErrors: !0,
|
|
14461
14500
|
strict: !0,
|
|
14501
|
+
stringKeys: !1,
|
|
14462
14502
|
uniqueKeys: !0,
|
|
14463
14503
|
version: "1.2"
|
|
14464
14504
|
}, options);
|
|
@@ -14601,11 +14641,11 @@ var require_Document = __commonJS({
|
|
|
14601
14641
|
let opt;
|
|
14602
14642
|
switch (version2) {
|
|
14603
14643
|
case "1.1":
|
|
14604
|
-
this.directives ? this.directives.yaml.version = "1.1" : this.directives = new directives.Directives({ version: "1.1" }), opt = {
|
|
14644
|
+
this.directives ? this.directives.yaml.version = "1.1" : this.directives = new directives.Directives({ version: "1.1" }), opt = { resolveKnownTags: !1, schema: "yaml-1.1" };
|
|
14605
14645
|
break;
|
|
14606
14646
|
case "1.2":
|
|
14607
14647
|
case "next":
|
|
14608
|
-
this.directives ? this.directives.yaml.version = version2 : this.directives = new directives.Directives({ version: version2 }), opt = {
|
|
14648
|
+
this.directives ? this.directives.yaml.version = version2 : this.directives = new directives.Directives({ version: version2 }), opt = { resolveKnownTags: !0, schema: "core" };
|
|
14609
14649
|
break;
|
|
14610
14650
|
case null:
|
|
14611
14651
|
this.directives && delete this.directives, opt = null;
|
|
@@ -14734,7 +14774,7 @@ var require_resolve_props = __commonJS({
|
|
|
14734
14774
|
break;
|
|
14735
14775
|
}
|
|
14736
14776
|
case "newline":
|
|
14737
|
-
atNewline ? comment ? comment += token.source : spaceBefore = !0 : commentSep += token.source, atNewline = !0, hasNewline = !0, (anchor || tag) && (newlineAfterProp = token), hasSpace = !0;
|
|
14777
|
+
atNewline ? comment ? comment += token.source : (!found || indicator !== "seq-item-ind") && (spaceBefore = !0) : commentSep += token.source, atNewline = !0, hasNewline = !0, (anchor || tag) && (newlineAfterProp = token), hasSpace = !0;
|
|
14738
14778
|
break;
|
|
14739
14779
|
case "anchor":
|
|
14740
14780
|
anchor && onError(token, "MULTIPLE_ANCHORS", "A node can have at most one anchor"), token.source.endsWith(":") && onError(token.offset + token.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0), anchor = token, start === null && (start = token.offset), atNewline = !1, hasSpace = !1, reqSpace = !0;
|
|
@@ -14840,7 +14880,7 @@ var require_util_map_includes = __commonJS({
|
|
|
14840
14880
|
let { uniqueKeys } = ctx.options;
|
|
14841
14881
|
if (uniqueKeys === !1)
|
|
14842
14882
|
return !1;
|
|
14843
|
-
let isEqual = typeof uniqueKeys == "function" ? uniqueKeys : (a, b) => a === b || identity.isScalar(a) && identity.isScalar(b) && a.value === b.value
|
|
14883
|
+
let isEqual = typeof uniqueKeys == "function" ? uniqueKeys : (a, b) => a === b || identity.isScalar(a) && identity.isScalar(b) && a.value === b.value;
|
|
14844
14884
|
return items.some((pair) => isEqual(pair.key, search));
|
|
14845
14885
|
}
|
|
14846
14886
|
exports2.mapIncludes = mapIncludes;
|
|
@@ -14873,8 +14913,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
14873
14913
|
}
|
|
14874
14914
|
(keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key)) && onError(key ?? start[start.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
|
|
14875
14915
|
} else keyProps.found?.indent !== bm.indent && onError(offset, "BAD_INDENT", startColMsg);
|
|
14916
|
+
ctx.atKey = !0;
|
|
14876
14917
|
let keyStart = keyProps.end, keyNode = key ? composeNode(ctx, key, keyProps, onError) : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError);
|
|
14877
|
-
ctx.schema.compat && utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError), utilMapIncludes.mapIncludes(ctx, map.items, keyNode) && onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
|
|
14918
|
+
ctx.schema.compat && utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError), ctx.atKey = !1, utilMapIncludes.mapIncludes(ctx, map.items, keyNode) && onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
|
|
14878
14919
|
let valueProps = resolveProps.resolveProps(sep2 ?? [], {
|
|
14879
14920
|
indicator: "map-value-ind",
|
|
14880
14921
|
next: value,
|
|
@@ -14909,7 +14950,7 @@ var require_resolve_block_seq = __commonJS({
|
|
|
14909
14950
|
var YAMLSeq = require_YAMLSeq(), resolveProps = require_resolve_props(), utilFlowIndentCheck = require_util_flow_indent_check();
|
|
14910
14951
|
function resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, tag) {
|
|
14911
14952
|
let NodeClass = tag?.nodeClass ?? YAMLSeq.YAMLSeq, seq = new NodeClass(ctx.schema);
|
|
14912
|
-
ctx.atRoot && (ctx.atRoot = !1);
|
|
14953
|
+
ctx.atRoot && (ctx.atRoot = !1), ctx.atKey && (ctx.atKey = !1);
|
|
14913
14954
|
let offset = bs.offset, commentEnd = null;
|
|
14914
14955
|
for (let { start, value } of bs.items) {
|
|
14915
14956
|
let props = resolveProps.resolveProps(start, {
|
|
@@ -14980,7 +15021,7 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
14980
15021
|
let isMap = fc.start.source === "{", fcName = isMap ? "flow map" : "flow sequence", NodeClass = tag?.nodeClass ?? (isMap ? YAMLMap.YAMLMap : YAMLSeq.YAMLSeq), coll = new NodeClass(ctx.schema);
|
|
14981
15022
|
coll.flow = !0;
|
|
14982
15023
|
let atRoot = ctx.atRoot;
|
|
14983
|
-
atRoot && (ctx.atRoot = !1);
|
|
15024
|
+
atRoot && (ctx.atRoot = !1), ctx.atKey && (ctx.atKey = !1);
|
|
14984
15025
|
let offset = fc.offset + fc.start.source.length;
|
|
14985
15026
|
for (let i = 0; i < fc.items.length; ++i) {
|
|
14986
15027
|
let collItem = fc.items[i], { start, key, sep: sep2, value } = collItem, props = resolveProps.resolveProps(start, {
|
|
@@ -15030,8 +15071,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
15030
15071
|
let valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep2, null, props, onError);
|
|
15031
15072
|
coll.items.push(valueNode), offset = valueNode.range[2], isBlock(value) && onError(valueNode.range, "BLOCK_IN_FLOW", blockMsg);
|
|
15032
15073
|
} else {
|
|
15074
|
+
ctx.atKey = !0;
|
|
15033
15075
|
let keyStart = props.end, keyNode = key ? composeNode(ctx, key, props, onError) : composeEmptyNode(ctx, keyStart, start, null, props, onError);
|
|
15034
|
-
isBlock(key) && onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
|
|
15076
|
+
isBlock(key) && onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg), ctx.atKey = !1;
|
|
15035
15077
|
let valueProps = resolveProps.resolveProps(sep2 ?? [], {
|
|
15036
15078
|
flow: fcName,
|
|
15037
15079
|
indicator: "map-value-ind",
|
|
@@ -15436,7 +15478,9 @@ var require_compose_scalar = __commonJS({
|
|
|
15436
15478
|
"use strict";
|
|
15437
15479
|
var identity = require_identity(), Scalar = require_Scalar(), resolveBlockScalar = require_resolve_block_scalar(), resolveFlowScalar = require_resolve_flow_scalar();
|
|
15438
15480
|
function composeScalar(ctx, token, tagToken, onError) {
|
|
15439
|
-
let { value, type, comment, range } = token.type === "block-scalar" ? resolveBlockScalar.resolveBlockScalar(ctx, token, onError) : resolveFlowScalar.resolveFlowScalar(token, ctx.options.strict, onError), tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null, tag
|
|
15481
|
+
let { value, type, comment, range } = token.type === "block-scalar" ? resolveBlockScalar.resolveBlockScalar(ctx, token, onError) : resolveFlowScalar.resolveFlowScalar(token, ctx.options.strict, onError), tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null, tag;
|
|
15482
|
+
ctx.options.stringKeys && ctx.atKey ? tag = ctx.schema[identity.SCALAR] : tagName ? tag = findScalarTagByName(ctx.schema, value, tagName, tagToken, onError) : token.type === "scalar" ? tag = findScalarTagByTest(ctx, value, token, onError) : tag = ctx.schema[identity.SCALAR];
|
|
15483
|
+
let scalar;
|
|
15440
15484
|
try {
|
|
15441
15485
|
let res = tag.resolve(value, (msg) => onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg), ctx.options);
|
|
15442
15486
|
scalar = identity.isScalar(res) ? res : new Scalar.Scalar(res);
|
|
@@ -15462,8 +15506,8 @@ var require_compose_scalar = __commonJS({
|
|
|
15462
15506
|
let kt = schema.knownTags[tagName];
|
|
15463
15507
|
return kt && !kt.collection ? (schema.tags.push(Object.assign({}, kt, { default: !1, test: void 0 })), kt) : (onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, tagName !== "tag:yaml.org,2002:str"), schema[identity.SCALAR]);
|
|
15464
15508
|
}
|
|
15465
|
-
function findScalarTagByTest({ directives, schema }, value, token, onError) {
|
|
15466
|
-
let tag = schema.tags.find((tag2) => tag2.default && tag2.test?.test(value)) || schema[identity.SCALAR];
|
|
15509
|
+
function findScalarTagByTest({ atKey, directives, schema }, value, token, onError) {
|
|
15510
|
+
let tag = schema.tags.find((tag2) => (tag2.default === !0 || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity.SCALAR];
|
|
15467
15511
|
if (schema.compat) {
|
|
15468
15512
|
let compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity.SCALAR];
|
|
15469
15513
|
if (tag.tag !== compat.tag) {
|
|
@@ -15508,9 +15552,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
15508
15552
|
var require_compose_node = __commonJS({
|
|
15509
15553
|
"../../../node_modules/yaml/dist/compose/compose-node.js"(exports2) {
|
|
15510
15554
|
"use strict";
|
|
15511
|
-
var Alias = require_Alias(), composeCollection = require_compose_collection(), composeScalar = require_compose_scalar(), resolveEnd = require_resolve_end(), utilEmptyScalarPosition = require_util_empty_scalar_position(), CN = { composeNode, composeEmptyNode };
|
|
15555
|
+
var Alias = require_Alias(), identity = require_identity(), composeCollection = require_compose_collection(), composeScalar = require_compose_scalar(), resolveEnd = require_resolve_end(), utilEmptyScalarPosition = require_util_empty_scalar_position(), CN = { composeNode, composeEmptyNode };
|
|
15512
15556
|
function composeNode(ctx, token, props, onError) {
|
|
15513
|
-
let { spaceBefore, comment, anchor, tag } = props, node, isSrcToken = !0;
|
|
15557
|
+
let atKey = ctx.atKey, { spaceBefore, comment, anchor, tag } = props, node, isSrcToken = !0;
|
|
15514
15558
|
switch (token.type) {
|
|
15515
15559
|
case "alias":
|
|
15516
15560
|
node = composeAlias(ctx, token, onError), (anchor || tag) && onError(token, "ALIAS_PROPS", "An alias node must not specify any properties");
|
|
@@ -15531,7 +15575,7 @@ var require_compose_node = __commonJS({
|
|
|
15531
15575
|
onError(token, "UNEXPECTED_TOKEN", message), node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError), isSrcToken = !1;
|
|
15532
15576
|
}
|
|
15533
15577
|
}
|
|
15534
|
-
return anchor && node.anchor === "" && onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string"), spaceBefore && (node.spaceBefore = !0), comment && (token.type === "scalar" && token.source === "" ? node.comment = comment : node.commentBefore = comment), ctx.options.keepSourceTokens && isSrcToken && (node.srcToken = token), node;
|
|
15578
|
+
return anchor && node.anchor === "" && onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string"), atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value != "string" || node.tag && node.tag !== "tag:yaml.org,2002:str") && onError(tag ?? token, "NON_STRING_KEY", "With stringKeys, all keys must be strings"), spaceBefore && (node.spaceBefore = !0), comment && (token.type === "scalar" && token.source === "" ? node.comment = comment : node.commentBefore = comment), ctx.options.keepSourceTokens && isSrcToken && (node.srcToken = token), node;
|
|
15535
15579
|
}
|
|
15536
15580
|
function composeEmptyNode(ctx, offset, before, pos, { spaceBefore, comment, anchor, tag, end }, onError) {
|
|
15537
15581
|
let token = {
|
|
@@ -15560,6 +15604,7 @@ var require_compose_doc = __commonJS({
|
|
|
15560
15604
|
var Document = require_Document(), composeNode = require_compose_node(), resolveEnd = require_resolve_end(), resolveProps = require_resolve_props();
|
|
15561
15605
|
function composeDoc(options, directives, { offset, start, value, end }, onError) {
|
|
15562
15606
|
let opts = Object.assign({ _directives: directives }, options), doc = new Document.Document(void 0, opts), ctx = {
|
|
15607
|
+
atKey: !1,
|
|
15563
15608
|
atRoot: !0,
|
|
15564
15609
|
directives: doc.directives,
|
|
15565
15610
|
options: doc.options,
|
|
@@ -15584,7 +15629,7 @@ var require_compose_doc = __commonJS({
|
|
|
15584
15629
|
var require_composer = __commonJS({
|
|
15585
15630
|
"../../../node_modules/yaml/dist/compose/composer.js"(exports2) {
|
|
15586
15631
|
"use strict";
|
|
15587
|
-
var directives = require_directives(), Document = require_Document(), errors = require_errors(), identity = require_identity(), composeDoc = require_compose_doc(), resolveEnd = require_resolve_end();
|
|
15632
|
+
var node_process = require("node:process"), directives = require_directives(), Document = require_Document(), errors = require_errors(), identity = require_identity(), composeDoc = require_compose_doc(), resolveEnd = require_resolve_end();
|
|
15588
15633
|
function getErrorPos(src) {
|
|
15589
15634
|
if (typeof src == "number")
|
|
15590
15635
|
return [src, src + 1];
|
|
@@ -15669,7 +15714,7 @@ ${cb}` : comment;
|
|
|
15669
15714
|
}
|
|
15670
15715
|
/** Advance the composer by one CST token. */
|
|
15671
15716
|
*next(token) {
|
|
15672
|
-
switch (
|
|
15717
|
+
switch (node_process.env.LOG_STREAM && console.dir(token, { depth: null }), token.type) {
|
|
15673
15718
|
case "directive":
|
|
15674
15719
|
this.directives.add(token.source, (offset, message, warning) => {
|
|
15675
15720
|
let pos = getErrorPos(token);
|
|
@@ -16567,7 +16612,7 @@ var require_line_counter = __commonJS({
|
|
|
16567
16612
|
var require_parser = __commonJS({
|
|
16568
16613
|
"../../../node_modules/yaml/dist/parse/parser.js"(exports2) {
|
|
16569
16614
|
"use strict";
|
|
16570
|
-
var cst = require_cst(), lexer = require_lexer();
|
|
16615
|
+
var node_process = require("node:process"), cst = require_cst(), lexer = require_lexer();
|
|
16571
16616
|
function includesToken(list, type) {
|
|
16572
16617
|
for (let i = 0; i < list.length; ++i)
|
|
16573
16618
|
if (list[i].type === type)
|
|
@@ -16661,7 +16706,7 @@ var require_parser = __commonJS({
|
|
|
16661
16706
|
* Advance the parser by the `source` of one lexical token.
|
|
16662
16707
|
*/
|
|
16663
16708
|
*next(source) {
|
|
16664
|
-
if (this.source = source,
|
|
16709
|
+
if (this.source = source, node_process.env.LOG_TOKENS && console.log("|", cst.prettyToken(source)), this.atScalar) {
|
|
16665
16710
|
this.atScalar = !1, yield* this.step(), this.offset += source.length;
|
|
16666
16711
|
return;
|
|
16667
16712
|
}
|
|
@@ -17212,7 +17257,7 @@ var require_parser = __commonJS({
|
|
|
17212
17257
|
var require_public_api = __commonJS({
|
|
17213
17258
|
"../../../node_modules/yaml/dist/public-api.js"(exports2) {
|
|
17214
17259
|
"use strict";
|
|
17215
|
-
var composer = require_composer(), Document = require_Document(), errors = require_errors(), log2 = require_log(), lineCounter = require_line_counter(), parser = require_parser();
|
|
17260
|
+
var composer = require_composer(), Document = require_Document(), errors = require_errors(), log2 = require_log(), identity = require_identity(), lineCounter = require_line_counter(), parser = require_parser();
|
|
17216
17261
|
function parseOptions(options) {
|
|
17217
17262
|
let prettyErrors = options.prettyErrors !== !1;
|
|
17218
17263
|
return { lineCounter: options.lineCounter || prettyErrors && new lineCounter.LineCounter() || null, prettyErrors };
|
|
@@ -17259,7 +17304,7 @@ var require_public_api = __commonJS({
|
|
|
17259
17304
|
if (!keepUndefined)
|
|
17260
17305
|
return;
|
|
17261
17306
|
}
|
|
17262
|
-
return new Document.Document(value, _replacer, options).toString(options);
|
|
17307
|
+
return identity.isDocument(value) && !_replacer ? value.toString(options) : new Document.Document(value, _replacer, options).toString(options);
|
|
17263
17308
|
}
|
|
17264
17309
|
exports2.parse = parse6;
|
|
17265
17310
|
exports2.parseAllDocuments = parseAllDocuments;
|
|
@@ -18736,7 +18781,7 @@ var require_lib4 = __commonJS({
|
|
|
18736
18781
|
// ../../../node_modules/picocolors/picocolors.js
|
|
18737
18782
|
var require_picocolors = __commonJS({
|
|
18738
18783
|
"../../../node_modules/picocolors/picocolors.js"(exports2, module2) {
|
|
18739
|
-
var argv2 =
|
|
18784
|
+
var p = process || {}, argv2 = p.argv || [], env2 = p.env || {}, isColorSupported = !(env2.NO_COLOR || argv2.includes("--no-color")) && (!!env2.FORCE_COLOR || argv2.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env2.TERM !== "dumb" || !!env2.CI), formatter = (open3, close, replace = open3) => (input) => {
|
|
18740
18785
|
let string = "" + input, index = string.indexOf(close, open3.length);
|
|
18741
18786
|
return ~index ? open3 + replaceClose(string, close, replace, index) + close : open3 + string + close;
|
|
18742
18787
|
}, replaceClose = (string, close, replace, index) => {
|
|
@@ -18746,50 +18791,50 @@ var require_picocolors = __commonJS({
|
|
|
18746
18791
|
while (~index);
|
|
18747
18792
|
return result + string.substring(cursor);
|
|
18748
18793
|
}, createColors = (enabled = isColorSupported) => {
|
|
18749
|
-
let
|
|
18794
|
+
let f = enabled ? formatter : () => String;
|
|
18750
18795
|
return {
|
|
18751
18796
|
isColorSupported: enabled,
|
|
18752
|
-
reset:
|
|
18753
|
-
bold:
|
|
18754
|
-
dim:
|
|
18755
|
-
italic:
|
|
18756
|
-
underline:
|
|
18757
|
-
inverse:
|
|
18758
|
-
hidden:
|
|
18759
|
-
strikethrough:
|
|
18760
|
-
black:
|
|
18761
|
-
red:
|
|
18762
|
-
green:
|
|
18763
|
-
yellow:
|
|
18764
|
-
blue:
|
|
18765
|
-
magenta:
|
|
18766
|
-
cyan:
|
|
18767
|
-
white:
|
|
18768
|
-
gray:
|
|
18769
|
-
bgBlack:
|
|
18770
|
-
bgRed:
|
|
18771
|
-
bgGreen:
|
|
18772
|
-
bgYellow:
|
|
18773
|
-
bgBlue:
|
|
18774
|
-
bgMagenta:
|
|
18775
|
-
bgCyan:
|
|
18776
|
-
bgWhite:
|
|
18777
|
-
blackBright:
|
|
18778
|
-
redBright:
|
|
18779
|
-
greenBright:
|
|
18780
|
-
yellowBright:
|
|
18781
|
-
blueBright:
|
|
18782
|
-
magentaBright:
|
|
18783
|
-
cyanBright:
|
|
18784
|
-
whiteBright:
|
|
18785
|
-
bgBlackBright:
|
|
18786
|
-
bgRedBright:
|
|
18787
|
-
bgGreenBright:
|
|
18788
|
-
bgYellowBright:
|
|
18789
|
-
bgBlueBright:
|
|
18790
|
-
bgMagentaBright:
|
|
18791
|
-
bgCyanBright:
|
|
18792
|
-
bgWhiteBright:
|
|
18797
|
+
reset: f("\x1B[0m", "\x1B[0m"),
|
|
18798
|
+
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
18799
|
+
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
18800
|
+
italic: f("\x1B[3m", "\x1B[23m"),
|
|
18801
|
+
underline: f("\x1B[4m", "\x1B[24m"),
|
|
18802
|
+
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
18803
|
+
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
18804
|
+
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
18805
|
+
black: f("\x1B[30m", "\x1B[39m"),
|
|
18806
|
+
red: f("\x1B[31m", "\x1B[39m"),
|
|
18807
|
+
green: f("\x1B[32m", "\x1B[39m"),
|
|
18808
|
+
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
18809
|
+
blue: f("\x1B[34m", "\x1B[39m"),
|
|
18810
|
+
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
18811
|
+
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
18812
|
+
white: f("\x1B[37m", "\x1B[39m"),
|
|
18813
|
+
gray: f("\x1B[90m", "\x1B[39m"),
|
|
18814
|
+
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
18815
|
+
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
18816
|
+
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
18817
|
+
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
18818
|
+
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
18819
|
+
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
18820
|
+
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
18821
|
+
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
18822
|
+
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
18823
|
+
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
18824
|
+
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
18825
|
+
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
18826
|
+
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
18827
|
+
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
18828
|
+
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
18829
|
+
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
18830
|
+
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
18831
|
+
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
18832
|
+
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
18833
|
+
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
18834
|
+
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
18835
|
+
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
18836
|
+
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
18837
|
+
bgWhiteBright: f("\x1B[107m", "\x1B[49m")
|
|
18793
18838
|
};
|
|
18794
18839
|
};
|
|
18795
18840
|
module2.exports = createColors();
|
|
@@ -23639,7 +23684,7 @@ var require_timestamp2 = __commonJS({
|
|
|
23639
23684
|
});
|
|
23640
23685
|
|
|
23641
23686
|
// ../../../node_modules/@expo/package-manager/node_modules/js-yaml/lib/js-yaml/type/merge.js
|
|
23642
|
-
var
|
|
23687
|
+
var require_merge3 = __commonJS({
|
|
23643
23688
|
"../../../node_modules/@expo/package-manager/node_modules/js-yaml/lib/js-yaml/type/merge.js"(exports2, module2) {
|
|
23644
23689
|
"use strict";
|
|
23645
23690
|
var Type = require_type();
|
|
@@ -23794,7 +23839,7 @@ var require_default_safe = __commonJS({
|
|
|
23794
23839
|
],
|
|
23795
23840
|
implicit: [
|
|
23796
23841
|
require_timestamp2(),
|
|
23797
|
-
|
|
23842
|
+
require_merge3()
|
|
23798
23843
|
],
|
|
23799
23844
|
explicit: [
|
|
23800
23845
|
require_binary2(),
|
|
@@ -25324,7 +25369,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = !0 } = {}) {
|
|
|
25324
25369
|
return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
25325
25370
|
}
|
|
25326
25371
|
if ("CI" in env)
|
|
25327
|
-
return "GITHUB_ACTIONS"
|
|
25372
|
+
return ["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env) ? 3 : ["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship" ? 1 : min;
|
|
25328
25373
|
if ("TEAMCITY_VERSION" in env)
|
|
25329
25374
|
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
25330
25375
|
if (env.COLORTERM === "truecolor" || env.TERM === "xterm-kitty")
|
|
@@ -26168,7 +26213,7 @@ var globby2 = Object.assign(function(patterns, options) {
|
|
|
26168
26213
|
// package.json
|
|
26169
26214
|
var package_default = {
|
|
26170
26215
|
name: "create-tamagui",
|
|
26171
|
-
version: "1.123.
|
|
26216
|
+
version: "1.123.17-1738863858128",
|
|
26172
26217
|
bin: "./run.js",
|
|
26173
26218
|
main: "dist/index.cjs",
|
|
26174
26219
|
files: [
|