mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-12-09 22:30:41 -07:00
node_modules: upgrade
This commit is contained in:
14
node_modules/yaml/dist/compose/composer.d.ts
generated
vendored
14
node_modules/yaml/dist/compose/composer.d.ts
generated
vendored
@@ -1,14 +1,14 @@
|
||||
import { Directives } from '../doc/directives.js';
|
||||
import { Document } from '../doc/Document.js';
|
||||
import { ErrorCode, YAMLParseError, YAMLWarning } from '../errors.js';
|
||||
import { Range } from '../nodes/Node.js';
|
||||
import type { ParsedNode, Range } from '../nodes/Node.js';
|
||||
import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options.js';
|
||||
import type { Token } from '../parse/cst.js';
|
||||
declare type ErrorSource = number | [number, number] | Range | {
|
||||
type ErrorSource = number | [number, number] | Range | {
|
||||
offset: number;
|
||||
source?: string;
|
||||
};
|
||||
export declare type ComposeErrorHandler = (source: ErrorSource, code: ErrorCode, message: string, warning?: boolean) => void;
|
||||
export type ComposeErrorHandler = (source: ErrorSource, code: ErrorCode, message: string, warning?: boolean) => void;
|
||||
/**
|
||||
* Compose a stream of CST nodes into a stream of YAML Documents.
|
||||
*
|
||||
@@ -20,7 +20,7 @@ export declare type ComposeErrorHandler = (source: ErrorSource, code: ErrorCode,
|
||||
* const docs = new Composer().compose(tokens)
|
||||
* ```
|
||||
*/
|
||||
export declare class Composer {
|
||||
export declare class Composer<Contents extends ParsedNode = ParsedNode, Strict extends boolean = true> {
|
||||
private directives;
|
||||
private doc;
|
||||
private options;
|
||||
@@ -48,15 +48,15 @@ export declare class Composer {
|
||||
* @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
|
||||
* @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.
|
||||
*/
|
||||
compose(tokens: Iterable<Token>, forceDoc?: boolean, endOffset?: number): Generator<Document.Parsed<import("../nodes/Node.js").ParsedNode>, void, unknown>;
|
||||
compose(tokens: Iterable<Token>, forceDoc?: boolean, endOffset?: number): Generator<Document.Parsed<Contents, Strict>, void, unknown>;
|
||||
/** Advance the composer by one CST token. */
|
||||
next(token: Token): Generator<Document.Parsed<import("../nodes/Node.js").ParsedNode>, void, unknown>;
|
||||
next(token: Token): Generator<Document.Parsed<Contents, Strict>, void, unknown>;
|
||||
/**
|
||||
* Call at end of input to yield any remaining document.
|
||||
*
|
||||
* @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
|
||||
* @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.
|
||||
*/
|
||||
end(forceDoc?: boolean, endOffset?: number): Generator<Document.Parsed<import("../nodes/Node.js").ParsedNode>, void, unknown>;
|
||||
end(forceDoc?: boolean, endOffset?: number): Generator<Document.Parsed<Contents, Strict>, void, unknown>;
|
||||
}
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user