Skip to content

Commit dbaffeb

Browse files
authored
Update dependencies (#308)
1 parent b7fbe14 commit dbaffeb

File tree

3 files changed

+160
-274
lines changed

3 files changed

+160
-274
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,25 @@
3636
"release": "yarn build && standard-version"
3737
},
3838
"dependencies": {
39-
"yaml": "^2.8.1"
39+
"yaml": "^2.8.2"
4040
},
4141
"devDependencies": {
4242
"@eslint/js": "9.39.1",
4343
"@types/node": "24.10.1",
44-
"@vitest/coverage-v8": "4.0.12",
44+
"@vitest/coverage-v8": "4.0.15",
4545
"eslint": "9.39.1",
4646
"eslint-config-prettier": "10.1.8",
4747
"eslint-plugin-simple-import-sort": "12.1.1",
4848
"globals": "16.5.0",
4949
"jest-snapshot-serializer-raw": "2.0.0",
5050
"npm-run-all2": "8.0.4",
5151
"patch-package": "8.0.1",
52-
"prettier": "3.6.2",
52+
"prettier": "3.7.4",
5353
"standard-version": "9.5.0",
5454
"tsdown": "0.17.0-beta.6",
5555
"typescript": "5.9.3",
56-
"typescript-eslint": "8.47.0",
57-
"vitest": "4.0.12",
56+
"typescript-eslint": "8.48.1",
57+
"vitest": "4.0.15",
5858
"yaml-test-suite": "0.1.0"
5959
},
6060
"engines": {

src/types.ts

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ export interface Content {
4545
}
4646

4747
export interface CommentAttachable
48-
extends LeadingCommentAttachable,
49-
TrailingCommentAttachable {}
48+
extends LeadingCommentAttachable, TrailingCommentAttachable {}
5049

5150
export interface LeadingCommentAttachable {
5251
/** comments in front of the node */
@@ -124,9 +123,7 @@ export interface Document extends Parent, TrailingCommentAttachable {
124123
}
125124

126125
export interface DocumentHead
127-
extends Parent,
128-
EndCommentAttachable,
129-
TrailingCommentAttachable {
126+
extends Parent, EndCommentAttachable, TrailingCommentAttachable {
130127
type: "documentHead";
131128
children: Directive[];
132129
}
@@ -190,26 +187,19 @@ export interface MappingItem extends MappingItemBase {
190187
}
191188

192189
export interface MappingKey
193-
extends Parent,
194-
TrailingCommentAttachable,
195-
EndCommentAttachable {
190+
extends Parent, TrailingCommentAttachable, EndCommentAttachable {
196191
type: "mappingKey";
197192
children: [] | [ContentNode];
198193
}
199194

200195
export interface MappingValue
201-
extends Parent,
202-
CommentAttachable,
203-
EndCommentAttachable {
196+
extends Parent, CommentAttachable, EndCommentAttachable {
204197
type: "mappingValue";
205198
children: [] | [ContentNode];
206199
}
207200

208201
export interface Sequence
209-
extends Parent,
210-
Content,
211-
LeadingCommentAttachable,
212-
EndCommentAttachable {
202+
extends Parent, Content, LeadingCommentAttachable, EndCommentAttachable {
213203
type: "sequence";
214204
children: SequenceItem[];
215205
}
@@ -219,17 +209,12 @@ export interface SequenceItemBase extends Parent {
219209
}
220210

221211
export interface SequenceItem
222-
extends SequenceItemBase,
223-
CommentAttachable,
224-
EndCommentAttachable {
212+
extends SequenceItemBase, CommentAttachable, EndCommentAttachable {
225213
type: "sequenceItem";
226214
}
227215

228216
export interface FlowCollection
229-
extends Parent,
230-
Content,
231-
CommentAttachable,
232-
EndCommentAttachable {
217+
extends Parent, Content, CommentAttachable, EndCommentAttachable {
233218
children: Array<FlowMappingItem | FlowSequenceItem>;
234219
}
235220

0 commit comments

Comments
 (0)