Commit Graph

214 Commits

Author SHA1 Message Date
Ian Bull
64d80042b1
refactor(yaml): align additional error messages (#5806)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-27 14:03:26 +09:00
Tim Reichen
95ad45b118
test(yaml): add undefined array entry with skipInvalid and flowLevel options test (#5828)
initial commit
2024-08-27 09:27:21 +10:00
Tim Reichen
78bb214da3
test(yaml): add duplicate array reference test (#5825)
initial commit
2024-08-27 09:22:54 +10:00
Tim Reichen
52c65f9bb6
refactor(yaml): move isObject() (#5823)
* initial commit

* Update yaml/_dumper_state.ts

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-26 23:16:52 +00:00
Tim Reichen
7fc1940d96
refactor(yaml): inline readSingleQuotedScalar() (#5827)
initial commit
2024-08-26 21:07:48 +10:00
Tim Reichen
3946983d7c
test(yaml): add undefined object entry with skipInvalid and flowLevel option test (#5829) 2024-08-26 18:56:26 +09:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +09:00
Tim Reichen
37d3350c90
refactor(yaml): use isObject() (#5822) 2024-08-26 07:39:57 +00:00
Tim Reichen
0019ac7c78
refactor(yaml): cleanup stringifyFlowMapping() (#5743)
* initial commit

* update

* update

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-26 12:13:33 +10:00
Tim Reichen
87b0df9c57
refactor(yaml): cleanup stringifyBlockSequence() (#5742)
* initial commit

* update

* update

* update

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-25 23:43:45 +00:00
Tim Reichen
7f78e956bb
refactor(yaml): cleanup detectType() (#5759)
initial commit
2024-08-26 09:31:25 +10:00
Tim Reichen
abfa1a229a
refactor(yaml): inline readPlainScalar() (#5813)
initial commit
2024-08-26 09:13:15 +10:00
Tim Reichen
b2129ee4cf
test(yaml): add undefined array entry test with skipInvalid option (#5814)
initial commit
2024-08-26 09:09:53 +10:00
Tim Reichen
b91817f29d
refactor(yaml): move getDuplicateReferences() into stringify() (#5804) 2024-08-25 18:18:47 +10:00
Tim Reichen
7f5318d80d
refactor(yaml): inline writeFoldedLines() (#5812) 2024-08-25 18:17:55 +10:00
Tim Reichen
08f40794c9
refactor(yaml): remove Mark class (#5805)
initial commit
2024-08-25 13:54:48 +10:00
Tim Reichen
6a93c48903
refactor(yaml): inline testDocumentSeparator() (#5793)
initial commit
2024-08-25 13:39:03 +10:00
Tim Reichen
b87ff9c12c
refactor(yaml): remove any types (#5782)
* initial commit

* update

* update
2024-08-25 13:38:17 +10:00
Tim Reichen
c8fe63417a
refactor(yaml): remove schema property from DumperState (#5798) 2024-08-24 13:55:41 +09:00
Tim Reichen
23cefc3068
refactor(yaml): remove type mod file (#5795) 2024-08-24 13:52:09 +09:00
Tim Reichen
95d7b4385b
refactor(yaml): inline skipSeparationSpace() (#5792) 2024-08-23 06:22:02 +00:00
Tim Reichen
a81742a781
refactor(yaml): inline readLineBreak() (#5783) 2024-08-23 07:55:40 +10:00
Tim Reichen
f14f74b035
refactor(yaml): inline storeMappingPair() (#5779) 2024-08-23 07:47:49 +10:00
Tim Reichen
076acf5665
refactor(yaml): remove storeMappingPair() result null type (#5781)
initial commit

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-22 21:18:58 +00:00
Tim Reichen
60402c697f
test(yaml): add condenseFlow() test (#5780)
initial commit
2024-08-23 07:09:16 +10:00
Tim Reichen
bb0db58caa
refactor(yaml): inline mergeMappings() (#5777) 2024-08-22 23:01:34 +10:00
Tim Reichen
1d2d33ad1a
refactor(yaml): use Set in inspectNode() (#5778) 2024-08-22 22:11:25 +10:00
Tim Reichen
5e5827d59e
refactor(yaml): inline readBlockSequence() (#5776)
initial commit
2024-08-22 20:19:41 +10:00
Tim Reichen
310b1a35b2
refactor(yaml): inline captureSegment() (#5775) 2024-08-22 19:55:48 +10:00
Tim Reichen
0f84a54967
refactor(yaml): inline tagDirectiveHandler() (#5771)
initial commit
2024-08-22 18:29:51 +10:00
Tim Reichen
9bcab52637
refactor(yaml): cleanup stringifyFlowSequence() (#5744)
initial commit
2024-08-22 17:48:13 +10:00
Tim Reichen
ba1bc9164a
refactor(yaml): change styleMap type to Map (#5760)
* initial commit

* update
2024-08-22 12:46:32 +10:00
Tim Reichen
55a6b77e65
refactor(yaml): inline yamlDirectiveHandler() (#5763)
initial commit
2024-08-22 12:44:18 +10:00
Tim Reichen
349fb8f8f1
refactor(yaml): remove ResultType (#5765)
initial commit
2024-08-22 12:43:07 +10:00
Tim Reichen
0332f0ada8
refactor(yaml): remove ArrayObject (#5761) 2024-08-22 07:58:27 +10:00
Tim Reichen
1894abdb69
refactor(yaml): add BOM constant (#5764) 2024-08-22 07:56:05 +10:00
Tim Reichen
c05c91416e
refactor(yaml): move options to options object (#5740) 2024-08-21 16:00:08 +09:00
Tim Reichen
b8d31866a0
refactor(yaml): replace chooseScalarType() callback with implicitTypes argument (#5750)
initial commit
2024-08-21 10:14:19 +10:00
Tim Reichen
99200dcd90
refactor(yaml): remove variable underscore (#5741) 2024-08-20 18:32:45 +10:00
Tim Reichen
6c70fa9cb6
refactor(yaml): rename DumperState methods (#5738)
* initial commit

* update
2024-08-20 07:42:39 +00:00
Tim Reichen
701b6df3df
refactor(yaml): remove dump property (#5683)
* initial commit

* update
2024-08-20 17:13:19 +10:00
Tim Reichen
9ed80af65f
refactor(yaml): remove tag property (#5689)
* initial commit

* update

* tweak

* Update _dumper_state.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-20 06:09:58 +00:00
Tim Reichen
8cb84965e4
refactor(yaml): cleanup Schema (#5715)
* initial commit

* update

* update

* update

* update

* update

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-20 14:32:08 +10:00
Tim Reichen
b929d05156
test(yaml): add test for deprecated boolean syntax (#5713)
* initial commit

* Update yaml/stringify_test.ts

* Update yaml/stringify_test.ts

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-20 09:38:22 +10:00
Tim Reichen
36817b7985
test(yaml): add edge case test for stringify (#5704) 2024-08-19 13:24:21 +09:00
Tim Reichen
9a66879102
refactor(yaml): use Maps for TypeMap (#5694) 2024-08-19 13:06:43 +09:00
Tim Reichen
aa836f2d9b
refactor(yaml): add stringify() method to DumperState (#5707)
initial commit
2024-08-19 12:55:32 +09:00
Tim Reichen
1bc290b1ac
refactor(yaml): boolean constants (#5699) 2024-08-18 11:58:11 +09:00
Tim Reichen
ec52491b00
refactor(yaml): use Set for overridableKeys (#5697) 2024-08-17 16:46:02 +09:00
Tim Reichen
17c372f271
refactor(yaml): use Map for tagMap and anchorMap (#5696) 2024-08-17 16:41:08 +09:00