Skip to content

Commit 730b79f

Browse files
committed
chore: update yaml to v1.10.2
1 parent 5ddb1a6 commit 730b79f

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"release": "yarn build && standard-version"
3636
},
3737
"dependencies": {
38-
"yaml": "1.10.0"
38+
"yaml": "^1.10.2"
3939
},
4040
"devDependencies": {
4141
"@eslint/js": "9.22.0",
Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
11
diff --git a/node_modules/yaml/index.d.ts b/node_modules/yaml/index.d.ts
2-
index 36aa3c6..2ffad3b 100644
2+
index 53eb011..dcb722e 100644
33
--- a/node_modules/yaml/index.d.ts
44
+++ b/node_modules/yaml/index.d.ts
5-
@@ -205,7 +205,7 @@ export class Document extends Collection {
5+
@@ -205,8 +205,8 @@ export class Document extends Collection {
66
*/
77
anchors: Document.Anchors
88
/** The document contents. */
99
- contents: any
10+
- /** Errors encountered during parsing. */
1011
+ contents: AST.BlockFolded | AST.BlockLiteral | AST.BlockMap | AST.BlockSeq | AST.FlowMap | AST.FlowSeq | AST.PlainValue | AST.QuoteDouble | AST.QuoteSingle | Alias | null
11-
/** Errors encountered during parsing. */
12+
+ /** Errors encountered during parsing. */
1213
errors: YAMLError[]
1314
/**
15+
* The schema used with the document. Use `setSchema()` to change or
1416
@@ -260,7 +260,6 @@ export class Document extends Collection {
15-
17+
1618
export namespace Document {
1719
interface Parsed extends Document {
18-
- contents: Node | null
20+
- contents: Scalar | YAMLMap | YAMLSeq | null
1921
/** The schema used with the document. */
2022
schema: Schema
2123
}
2224
diff --git a/node_modules/yaml/parse-cst.d.ts b/node_modules/yaml/parse-cst.d.ts
23-
index bd8a5b4..1c764a9 100644
25+
index 9fd2ebf..35ae387 100644
2426
--- a/node_modules/yaml/parse-cst.d.ts
2527
+++ b/node_modules/yaml/parse-cst.d.ts
2628
@@ -10,8 +10,8 @@ export namespace CST {
@@ -33,29 +35,29 @@ index bd8a5b4..1c764a9 100644
3335
+ origEnd: number
3436
isEmpty(): boolean
3537
}
36-
37-
@@ -148,7 +148,7 @@ export namespace CST {
38+
39+
@@ -152,7 +152,7 @@ export namespace CST {
3840
interface FlowChar {
3941
char: '{' | '}' | '[' | ']' | ',' | '?' | ':'
4042
offset: number
4143
- origOffset?: number
4244
+ origOffset: number
4345
}
44-
46+
4547
interface FlowCollection extends Node {
4648
diff --git a/node_modules/yaml/types.d.ts b/node_modules/yaml/types.d.ts
47-
index 411e74e..c13f624 100644
49+
index 411e74e..0c60eb0 100644
4850
--- a/node_modules/yaml/types.d.ts
4951
+++ b/node_modules/yaml/types.d.ts
5052
@@ -395,13 +395,13 @@ export namespace AST {
51-
53+
5254
interface FlowSeq extends YAMLSeq {
5355
type: Type.FLOW_SEQ
5456
- items: Array<Node>
5557
+ items: Array<FlowMap | FlowSeq | QuoteDouble | QuoteSingle | PlainValue | Alias | Pair>
5658
cstNode?: CST.FlowSeq
5759
}
58-
60+
5961
interface BlockSeq extends YAMLSeq {
6062
type: Type.SEQ
6163
- items: Array<Node | null>

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5247,14 +5247,14 @@ __metadata:
52475247
typescript: "npm:5.8.2"
52485248
typescript-eslint: "npm:8.26.0"
52495249
vitest: "npm:3.0.8"
5250-
yaml: "npm:1.10.0"
5250+
yaml: "npm:^1.10.2"
52515251
languageName: unknown
52525252
linkType: soft
52535253

5254-
"yaml@npm:1.10.0":
5255-
version: 1.10.0
5256-
resolution: "yaml@npm:1.10.0"
5257-
checksum: 10/dc65f8d0dc5853a7391ed0cd48782bb747ada0065e60d5a5f83eb2a8bc3ec609b2fbf77db6a7df204151cc6e2efb8bfb7314d487f21c2a181bf375cc42eb450f
5254+
"yaml@npm:^1.10.2":
5255+
version: 1.10.2
5256+
resolution: "yaml@npm:1.10.2"
5257+
checksum: 10/e088b37b4d4885b70b50c9fa1b7e54bd2e27f5c87205f9deaffd1fb293ab263d9c964feadb9817a7b129a5bf30a06582cb08750f810568ecc14f3cdbabb79cb3
52585258
languageName: node
52595259
linkType: hard
52605260

0 commit comments

Comments
 (0)