std/csv
Yusuke Tanaka 8b21698495
fix(csv): remove undefined from possible value type of parse result (#5617)
As we discussed in
https://github.com/denoland/std/pull/5605#discussion_r1701028684, it seems like
we never get `undefined` as a parse result of fields. If there is a mismatch in
the number of fields across rows, the parse just throws an error. To better
reflect this in typing, this commit removes `undefined` from the record value
type.
2024-08-01 22:07:10 -07:00
..
testdata BREAKING(csv): move encoding/csv to own top-level folder and towards single-export files (#3228) 2023-03-13 14:56:25 +09:00
_io.ts fix(csv): remove undefined from possible value type of parse result (#5617) 2024-08-01 22:07:10 -07:00
_shared.ts refactor(csv): rename graphemeLength to codePointLength (#5421) 2024-07-12 15:23:13 +09:00
deno.json chore: release 2024.07.26 (#5554) 2024-07-26 19:45:22 +09:00
mod.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
parse_stream_test.ts fix(csv): remove undefined from possible value type of parse result (#5617) 2024-08-01 22:07:10 -07:00
parse_stream.ts fix(csv): remove undefined from possible value type of parse result (#5617) 2024-08-01 22:07:10 -07:00
parse_test.ts fix(csv): remove undefined from possible value type of parse result (#5617) 2024-08-01 22:07:10 -07:00
parse.ts fix(csv): remove undefined from possible value type of parse result (#5617) 2024-08-01 22:07:10 -07:00
stringify_stream_test.ts BREAKING(csv): throw TypeError in stringify() instead of StringifyError (#5347) 2024-07-10 20:32:59 +10:00
stringify_stream.ts chore(csv): remove redundant constructor examples (#5509) 2024-07-23 12:05:23 +09:00
stringify_test.ts BREAKING(csv): throw TypeError in stringify() instead of StringifyError (#5347) 2024-07-10 20:32:59 +10:00
stringify.ts BREAKING(csv): throw TypeError in stringify() instead of StringifyError (#5347) 2024-07-10 20:32:59 +10:00