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:
10
node_modules/yaml/dist/nodes/YAMLMap.d.ts
generated
vendored
10
node_modules/yaml/dist/nodes/YAMLMap.d.ts
generated
vendored
@@ -1,12 +1,13 @@
|
||||
import type { BlockMap, FlowCollection } from '../parse/cst.js';
|
||||
import type { Schema } from '../schema/Schema.js';
|
||||
import type { StringifyContext } from '../stringify/stringify.js';
|
||||
import { CreateNodeContext } from '../util.js';
|
||||
import { Collection } from './Collection.js';
|
||||
import { ParsedNode, Range } from './Node.js';
|
||||
import type { ParsedNode, Range } from './Node.js';
|
||||
import { Pair } from './Pair.js';
|
||||
import { Scalar } from './Scalar.js';
|
||||
import type { ToJSContext } from './toJS.js';
|
||||
export declare type MapLike = Map<unknown, unknown> | Set<unknown> | Record<string | number | symbol, unknown>;
|
||||
export type MapLike = Map<unknown, unknown> | Set<unknown> | Record<string | number | symbol, unknown>;
|
||||
export declare function findPair<K = unknown, V = unknown>(items: Iterable<Pair<K, V>>, key: unknown): Pair<K, V> | undefined;
|
||||
export declare namespace YAMLMap {
|
||||
interface Parsed<K extends ParsedNode = ParsedNode, V extends ParsedNode | null = ParsedNode | null> extends YAMLMap<K, V> {
|
||||
@@ -19,6 +20,11 @@ export declare class YAMLMap<K = unknown, V = unknown> extends Collection {
|
||||
static get tagName(): 'tag:yaml.org,2002:map';
|
||||
items: Pair<K, V>[];
|
||||
constructor(schema?: Schema);
|
||||
/**
|
||||
* A generic collection parsing method that can be extended
|
||||
* to other node classes that inherit from YAMLMap
|
||||
*/
|
||||
static from(schema: Schema, obj: unknown, ctx: CreateNodeContext): YAMLMap<unknown, unknown>;
|
||||
/**
|
||||
* Adds a value to the collection.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user