Commit Graph

13 Commits

Author SHA1 Message Date
Ian Bull
ae78abb085
refactor(toml,msgpack,crypto,data-structures): align the error messages to the style guide (#5705)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-21 16:15:14 +09:00
Asher Gomez
7bd1f18880
BREAKING(toml): throw SyntaxError in parse() instead of TOMLParseError (#5346)
* BREAKING(toml): throw `SyntaxError` in `parse()` instead of `TOMLParseError`

* fix
2024-07-10 09:25:59 +10:00
Tim Reichen
ab0dd78b17
refactor(toml): remove Utils object (#5342) 2024-07-08 10:21:07 +09:00
Tim Reichen
ce0c1e2cfb
refactor(toml): rename functions to camel case (#5339)
initial commit
2024-07-07 21:59:30 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Eliza Sorber
d78321d902
test(toml): split toml/test.ts into separate files (#4616)
* Split toml/test.ts into separate files

Handling issue #4593. Took tests from toml/test.ts and split into toml/parse_tests.ts and toml/stringify_tests.ts

* Update toml/stringify_tests.ts

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

* Update toml/parse_test.ts

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

* Formatted files properly

* Renamed file to stringify_test.ts

* Update toml/stringify_test.ts

* Fixed breaking tests.
stringify() handles object value contains '='
stringify() handles key alignment
stringify() handles empty key
stringify() handles empty object

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-04-24 10:06:11 +10:00
David Luis
ebe17ad607
test(toml): improve test coverage (#4211) 2024-01-17 10:18:50 +09:00
David Luis
17cabfa1b0
fix(toml): parse() duplicates the character next to reserved escape sequences (#4192)
* fix(toml): `parse` duplicates the character next to reserved escape sequences

* throwing instead of ignoring

* fmt

* refactor: improve thrown error message and tests

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-16 12:10:32 +11:00
Tim Reichen
f31ba0d949
refactor(toml): format test names (#4064)
* initial commit

* Update toml/parse_test.ts

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 23:45:17 +00: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
NAKAI Tsuyoshi
aff48b2deb
fix(toml): handle CRLF as newline in parsing multiline string (#3920) 2023-12-12 11:41:28 +11:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Asher Gomez
27fbfa13de
BREAKING(toml): move to top-level folder and towards single-export files (#3241) 2023-03-13 14:57:27 +09:00