-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
300 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
diff --git a/node_modules/yaml/index.d.ts b/node_modules/yaml/index.d.ts | ||
index 36aa3c6..2ffad3b 100644 | ||
--- a/node_modules/yaml/index.d.ts | ||
+++ b/node_modules/yaml/index.d.ts | ||
@@ -205,7 +205,7 @@ export class Document extends Collection { | ||
*/ | ||
anchors: Document.Anchors | ||
/** The document contents. */ | ||
- contents: any | ||
+ contents: AST.BlockFolded | AST.BlockLiteral | AST.BlockMap | AST.BlockSeq | AST.FlowMap | AST.FlowSeq | AST.PlainValue | AST.QuoteDouble | AST.QuoteSingle | Alias | null | ||
/** Errors encountered during parsing. */ | ||
errors: YAMLError[] | ||
/** | ||
@@ -260,7 +260,6 @@ export class Document extends Collection { | ||
|
||
export namespace Document { | ||
interface Parsed extends Document { | ||
- contents: Node | null | ||
/** The schema used with the document. */ | ||
schema: Schema | ||
} | ||
diff --git a/node_modules/yaml/parse-cst.d.ts b/node_modules/yaml/parse-cst.d.ts | ||
index bd8a5b4..1c764a9 100644 | ||
--- a/node_modules/yaml/parse-cst.d.ts | ||
+++ b/node_modules/yaml/parse-cst.d.ts | ||
@@ -10,8 +10,8 @@ export namespace CST { | ||
interface Range { | ||
start: number | ||
end: number | ||
- origStart?: number | ||
- origEnd?: number | ||
+ origStart: number | ||
+ origEnd: number | ||
isEmpty(): boolean | ||
} | ||
|
||
@@ -148,7 +148,7 @@ export namespace CST { | ||
interface FlowChar { | ||
char: '{' | '}' | '[' | ']' | ',' | '?' | ':' | ||
offset: number | ||
- origOffset?: number | ||
+ origOffset: number | ||
} | ||
|
||
interface FlowCollection extends Node { | ||
diff --git a/node_modules/yaml/types.d.ts b/node_modules/yaml/types.d.ts | ||
index 411e74e..c13f624 100644 | ||
--- a/node_modules/yaml/types.d.ts | ||
+++ b/node_modules/yaml/types.d.ts | ||
@@ -395,13 +395,13 @@ export namespace AST { | ||
|
||
interface FlowSeq extends YAMLSeq { | ||
type: Type.FLOW_SEQ | ||
- items: Array<Node> | ||
+ items: Array<FlowMap | FlowSeq | QuoteDouble | QuoteSingle | PlainValue | Alias | Pair> | ||
cstNode?: CST.FlowSeq | ||
} | ||
|
||
interface BlockSeq extends YAMLSeq { | ||
type: Type.SEQ | ||
- items: Array<Node | null> | ||
+ items: Array<FlowMap | FlowSeq | QuoteDouble | QuoteSingle | PlainValue | Alias | null> | ||
cstNode?: CST.Seq | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as YAML from "yaml"; | ||
import * as YAML from "./yaml"; | ||
|
||
type YamlCstNode = | ||
| YAML.cst.Alias | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.