Commit Graph

14 Commits

Author SHA1 Message Date
Yusuke Tanaka
b0f2088044
docs(csv): more examples for parse and CsvParseStream (#5605)
This commit adds more examples to `parse` function and `CsvParseStream` class to
cover all the provided options.

Also fixes a few other things:

- Replace stale description `ParseError` with the correct `SyntaxError`.
- Fix the default value of `comment` property. The old comment says the default
  value is `#`, but this was wrong.
- Get negative value in `fieldsPerRecord` option working in `parse` as
  documented

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-01 21:24:15 -07: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
Asher Gomez
dc3154c948
BREAKING(csv): remove csv from module names (#5172)
* BREAKING(csv): move modules `csv-stringify-stream` to `stringify-stream` and `csv-parse-stream` to `parse-stream`

* fix
2024-06-28 16:07:36 +10:00
Asher Gomez
162e000be8
docs(csv): add module docs (#5157) 2024-06-27 15:52:13 +10:00
Asher Gomez
7d46b80cc1
docs(csv): use assertions in example code snippets (#4932)
* docs(csv): use assertions in example code snippets

* fixes
2024-06-03 15:44:18 +10:00
Yoshiya Hinosawa
722844250d
docs(csv,encoding,http,json,media-types,uuid): use rfc-editor.org for RFC links (#4777)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-20 16:14:09 +09:00
Asher Gomez
b1aeecfadd
docs(csv): complete documentation (#4163) 2024-01-11 17:02:30 +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
David Luis
2d9dd290f0
BREAKING(csv,http,path): remove deprecated APIs (#3418) 2023-06-01 23:13:50 +09:00
Yuki Tanaka
1fd4991c40
BREAKING(csv): rename CsvStream to CsvParseStream (#3287) 2023-04-05 14:15:23 +09:00
Yuki Tanaka
912df94056
feat(csv): add CsvStringifyStream (#3270) 2023-03-27 11:48:12 +09:00
Tiger Oakes
b2d7191d04
docs: add JSDoc to csv and json modules (#3269) 2023-03-24 12:07:30 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Asher Gomez
a5fffc5fb0
BREAKING(csv): move encoding/csv to own top-level folder and towards single-export files (#3228) 2023-03-13 14:56:25 +09:00