Commit Graph

46 Commits

Author SHA1 Message Date
Asher Gomez
74388acd49
chore(toml): release toml@1.0.0 (#5204)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-10 01:03:29 +00: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
996931ae42
refactor(toml): improve early returns (#5338) 2024-07-09 18:59:45 +09:00
denobot
dc14633394
chore: release 2024.07.09 (#5363)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-09 15:13:21 +09:00
Tim Reichen
ab0dd78b17
refactor(toml): remove Utils object (#5342) 2024-07-08 10:21:07 +09:00
Tim Reichen
893c7cfaf1
refactor(toml): remove Patterns object (#5343)
initial commit
2024-07-08 10:42:21 +10:00
Tim Reichen
ce0c1e2cfb
refactor(toml): rename functions to camel case (#5339)
initial commit
2024-07-07 21:59:30 +10:00
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +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
denobot
7d1d9cc34a
chore: release 2024.06.21 (#5107)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-21 19:15:49 +09:00
Madhav Ganesan
ab458a38fa
refactor(archive,expect,io,log,toml,yaml): remove private and public access modifiers (#5077)
* replaced public and private access modifiers #5066

* fix: run `deno fmt`

* fix: apply suggestions

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-21 14:13:08 +10:00
Asher Gomez
e76e9261f2
chore(toml): release toml@1.0.0-rc.1 (#4969) 2024-06-06 07:41:42 +10:00
Asher Gomez
9b8d77f59b
BREAKING(toml): rename FormatOptions to StringifyOptions (#4963)
* BREAKING(toml): rename `FormatOptions` to `StringifyOptions`

* tweaks

* fix
2024-06-05 21:11:33 +00:00
Asher Gomez
eb4af5edd3
chore(toml): minor cleanup (#4964)
* chore(toml): minor cleanup

* fix
2024-06-05 21:35:38 +09:00
Asher Gomez
c5ad9d48dc
docs(cli,encoding,fmt,jsonc,path,semver,testing,text,toml,url): remove "This module is browser compatible" note (#4945) 2024-06-04 13:21:54 +10:00
denobot
b9374d3715
chore: release 2024.06.03 (#4935)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-03 15:44:03 +09:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Asher Gomez
79d6a70729
docs(assert,cli,data-structures,expect,fmt,front-matter,html,http,jsonc,semver,streams,text,toml,webgpu): add snippet checks in module, function and class docs to doc checker (#4855)
* chore: add snippet checks to module docs

* fix

* work

* tweak
2024-05-31 12:01:46 +10:00
Divy Srivastava
079e40296c
docs(toml): lint @std/toml docs (#4799)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-30 13:08:02 +09: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
cinchen
961256ff72
refatcor(toml): prepare for noUncheckedIndexedAccess (#4274) 2024-02-04 20:23:55 +09:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link} tag where necessary. (#4253)
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Sylvain Cau
9959b8867d
docs(toml): complete documentation (#4223) 2024-01-20 20:21:55 +09: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
Asher Gomez
2a30228b25
fix(toml): testdata typo (#4074) 2024-01-04 05:12:47 +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
David Sherret
b0803619af
refactor: add some missing explicit types (#3997)
* refactor: add some missing return types and mark some non-exported types as `@internal`

* Update expect/fn.ts

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

* Remove @internals

* nits

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
NAKAI Tsuyoshi
aff48b2deb
fix(toml): handle CRLF as newline in parsing multiline string (#3920) 2023-12-12 11:41:28 +11:00
realpha
a8c051ec2f
refactor(toml): replace ArrayType enum with union (#3840) 2023-11-24 08:25:24 +00:00
Brian Knight
3830a00aee
fix(toml/parse): fix edge cases (#3509) 2023-07-30 18:23:34 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
Un Known
3458e6b20a
fix(toml): various edge case fixes for toml.stringify (#3403) 2023-05-31 08:51:04 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +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
Vincent LE GOFF
7a722ceffc TOML: Move to encoding dir (#435) 2019-05-23 21:48:54 +03:00
Jimmy Cao
0431b2f92f toml: remove parseFile (#361) 2019-04-25 16:47:18 -06:00
Vincent LE GOFF
4543b563a9 Eslint fixes (#356)
Make warnings fail
2019-04-24 07:41:22 -04:00
Vincent LE GOFF
95ab4e2a3c Fix eslint warnings and small clean ups (#339) 2019-04-14 10:53:19 -04:00
Vincent LE GOFF
1e589b9553 toml: add Stringify feature (#319) 2019-04-05 00:23:05 -04:00
Vincent LE GOFF
d16072a334 TOML: Full support of inline table (#320) 2019-04-04 06:00:24 -04:00
Vincent LE GOFF
a48fdd6a29 toml: fix parsing comments (#311) 2019-03-29 10:51:23 -04:00
Vincent LE GOFF
fa1664e6cc Add TOML module (#300) 2019-03-28 12:31:15 -04:00