Commit Graph

24 Commits

Author SHA1 Message Date
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +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
8e32dac73f
refactor(yaml): move exports to import file (#5651)
* initial commit

* remove state argument
2024-08-08 15:53:55 +02:00
Asher Gomez
e689f43eee
docs(yaml): document different schemas (#5531)
* docs(yaml): document different schemas

* work
2024-07-24 15:26:56 +09:00
Asher Gomez
dff594bb2a
BREAKING(yaml): replace YamlError with TypeError in stringify() (#5452) 2024-07-16 14:17:33 +02:00
Asher Gomez
07af28c275
refactor(yaml): remove dead code in Schema constructor (#5445) 2024-07-16 13:20:13 +02:00
Asher Gomez
13e23ab0e3
docs(yaml): list extended schema (#5444) 2024-07-16 14:32:25 +10:00
Asher Gomez
8f92a038f9
docs(yaml): improve documentation (#5324)
* docs(yaml): improve documentation

* work

* refactor: remove example link
2024-07-06 09:35:15 +01:00
Asher Gomez
b927e8c074
BREAKING(yaml): rename StringifyOptions.noRefs to StringifyOptions.useAnchors (#5288) 2024-07-05 15:24:13 +10:00
Asher Gomez
53037679bb
BREAKING(yaml): rename StringifyOptions.noCompatMode to StringifyOptions.compatMode (#5287) 2024-07-04 15:07:27 +10:00
Asher Gomez
789753d1c4
BREAKING(yaml): rename ParseOptions.noArrayIndent to ParseOptions.arrayIndent (#5286) 2024-07-04 15:05:21 +10:00
Tim Reichen
b775a956d1
refactor(yaml): move loader and dumper files (#5270)
initial commit
2024-07-03 17:06:39 +10:00
Yoshiya Hinosawa
f78f2f2cda
fix(yaml): fix !!int style variation handling in stringfiy (#5256) 2024-07-03 12:55:38 +09:00
Tim Reichen
b15707dc53
refactor(yaml): simplify schema (#5236)
* initial commit

* remove default schema option

* Update yaml/stringify.ts

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>

* revert schema strings

* refactor: use `Map` for `SCHEMA_MAP`

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-02 08:42:32 +10:00
Asher Gomez
ef71997cb4
refactor(yaml): consolidate yaml/schema/*.ts code into yaml/_schema.ts (#5225) 2024-07-01 18:13:21 +09:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
Yoshiya Hinosawa
2ad437d04f
BREAKING(yaml): make Schema and Type private and stop supporting user-defined schemas (#5175)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-28 19:28:55 +09:00
Yoshiya Hinosawa
40522563ae
BREAKING(yaml): rename DumpOptions to StringifyOptions (#5171) 2024-06-27 19:04:00 +09:00
Yoshiya Hinosawa
9411d0957e
docs(yaml): improve yaml document (#5127)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-25 15:01:58 +09:00
Yoshiya Hinosawa
a4d4e51cfa
feat(yaml): support schema name for 'schema' option (#5118) 2024-06-25 10:17:26 +09:00
Dan Hudlow
6be1650a32
fix(yaml): speciously restrictive type for stringify() (#4507)
* fix(yaml): speciously restrictive type for stringify()

* fmt

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-03-23 13:02:44 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Asher Gomez
85ef580622
BREAKING(yaml): move to top-level folder (#3251) 2023-03-14 16:40:02 +09:00