gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+2
View File
@@ -21,6 +21,8 @@ class Alias extends Node.NodeBase {
* instance of the `source` anchor before this node.
*/
resolve(doc, ctx) {
if (ctx?.maxAliasCount === 0)
throw new ReferenceError('Alias resolution is disabled');
let nodes;
if (ctx?.aliasResolveCache) {
nodes = ctx.aliasResolveCache;
+5 -1
View File
@@ -31,7 +31,11 @@ export declare class Scalar<T = unknown> extends NodeBase {
* The YAML 1.1 schema also supports 'BIN' and 'TIME'
*/
format?: string;
/** If `value` is a number, use this value when stringifying this node. */
/**
* If `value` is a number that is serialized as a decimal string
* (i.e. not using exponential notation),
* use this value when stringifying this node.
*/
minFractionDigits?: number;
/** Set during parsing to the source string value */
source?: string;