Tim Reichen
33afdfe0ad
feat(encoding/csv): sync parse ( #2491 )
2022-08-13 23:22:00 +09:00
Kitson Kelly
e83306672e
docs: improve module documentation ( #2511 )
2022-08-11 21:51:20 +10:00
David Sherret
5cf22ead6b
chore: workaround swc emit issues ( #2439 )
2022-07-13 09:15:32 -04:00
Yoshiya Hinosawa
e2f3f58fb4
docs(encoding/front_matter): fix example ( #2437 )
2022-07-12 20:50:55 +09:00
nkronlage
eb4f512cc4
fix(encoding/csv/stream): cancel lineReader if readable is canceled ( #2401 )
2022-07-11 18:58:23 +09:00
Tim Reichen
6f0cb011c6
test(encoding/csv): restructure tests ( #2332 )
2022-07-05 16:24:11 +09:00
Jesse Jackson
3a27feab64
fix(encoding/json): add null
to JSONValue union ( #2384 )
2022-06-25 01:20:01 +09:00
Yuki Tanaka
fdf5318709
fix(encoding/csv/stream): properly handle CR characters ( #2325 )
2022-06-22 09:21:33 -04:00
Yoshiya Hinosawa
8d60d1c35b
test(encoding/json): fix parse stream test expectation ( #2373 )
2022-06-20 20:27:53 +09:00
ayame113
6d33b18a8c
feat(encoding): add json/stream.ts ( #2231 )
2022-06-20 09:06:37 +09:00
Tim Reichen
1031c324b9
refactor(encoding/base64url): remove unnecessary export ( #2363 )
2022-06-17 23:17:59 +09:00
denobot
55addb3ad1
0.144.0 ( #2351 )
...
* 0.144.0
* fix(Releases.md): update note about collections/mod.ts
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
* chore: fix formatting
* fix(tests): use `Deno.currentExe()` instead of `"deno"`
Co-authored-by: aslilac <aslilac@users.noreply.github.com>
Co-authored-by: Kayla Washburn <mckayla@hey.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-15 16:05:49 -06:00
Divy Srivastava
6dbb2121b5
encoding: add front matter module ( #2335 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-14 16:46:52 +05:30
David Sherret
e72e13db63
refactor: use wasmbuild ( #2319 )
2022-06-08 11:19:50 -04:00
Skye
f415da4c62
feat(encoding): add unsigned LEB128 varint encoding ( #2265 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-05 21:22:03 +09:00
Yoshiya Hinosawa
959e6c12cd
chore: update code format ( #2278 )
2022-05-27 21:26:01 +09:00
Mark Ladyshau
662f27ce84
feat(testing/asserts): return error from assertRejects
and assertThrows
( #2226 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-05-25 17:51:42 +09:00
Jesper van den Ende
11b2b7f7f7
BREAKING(testing/asserts): remove implicit any types from assert signatures. ( #2203 )
2022-05-20 14:08:49 +02:00
fadwamahmoud
5e28e39d47
fix(encoding/csv): improve error message for csv's parse function ( #2191 )
2022-05-18 14:14:40 +09:00
Jesse Jackson
88b774bf59
docs(encoding): fix fragment link to JSONC section ( #2215 )
2022-05-13 10:21:05 +02:00
ayame113
21824ca4e5
feat(encoding): add jsonc parser ( #2154 )
2022-05-07 20:06:04 +09:00
Yuki Tanaka
c5202f5dfd
feat: web streams based encoding/csv ( #1993 )
2022-04-06 06:46:45 +02:00
Yoshiya Hinosawa
2ec5e07a49
docs: fix doc testing errors ( #2012 )
2022-03-09 01:13:45 +09:00
Jesse Jackson
58204e6f56
refactor: mark modules as browser compatible ( #1972 )
2022-03-01 13:25:50 +09:00
Elisée Maurer
0bda42d822
chore: Enable "noImplicitOverride" compiler option and fix errors ( #1940 )
...
This commit makes deno_std "noImplicitOverride"-compliant and
enables the compiler option in deno.json so that further changes
don't regress it
2022-02-20 17:35:40 +01:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Andrew Mitchell
373ecdfa68
BREAKING(encoding/csv): add return type to csv's parse and remove a parse func from args ( #1724 )
2022-01-20 11:05:30 +09:00
Zheyu Zhang
78d464a17f
feat(toml): align keys by option ( #1693 )
2021-12-09 23:15:38 +09:00
Zheyu Zhang
6686110e29
fix(toml): parse declaration correctly ( #1682 )
2021-12-08 15:57:32 +09:00
Jonah Snider
1d9cd65f95
perf: use Array.from
instead of new Array
( #1551 )
...
Co-authored-by: Leon Strauss <me@lionc.de>
2021-11-11 10:21:06 +01:00
Leo K
b58b10c229
feat: streams utilities ( #1141 )
2021-10-12 11:51:48 +02:00
Nayeem Rahman
d21aa79126
BREAKING(io): Reorganize modules ( #813 )
...
This commit reogranizes many modules:
- Move exports of io/bufio.ts (removed) into io/buffer.ts.
- Move exports of io/util.ts (repurposed, see next bullet) into io/streams.ts.
* With the exception of readRange() and readRangeSync(), which have been moved to io/files.ts (new).
*Also rename iter() and iterSync() to iterateReader() and iterateReaderSync() respectively.
- Move exports of io/ioutil.ts (removed) into io/util.ts.
Deprecation messages were added to old modules to make this change backwards compatible.
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-10-08 03:42:33 +02:00
Harry Lachenmayer
bf53725e28
fix(encoding/base64url): allow passing strings to encode
( #1361 )
2021-10-07 22:51:43 +02:00
Yoshiya Hinosawa
ab349ccac4
chore: remove deno-fmt-ignore ( #1351 )
2021-10-05 22:04:47 +09:00
defectivepixel
7bc0fad6fd
docs(encoding): add hex docs ( #1287 )
2021-09-19 03:40:08 +09:00
Nayeem Rahman
159e2aeffc
feat(testing/asserts): add assertThrows() overload to receive error ( #1219 )
2021-09-16 00:35:21 +09:00
Bartek Iwańczuk
44c326dc5b
fix: update to latest signal API changes ( #1211 )
2021-09-15 01:32:26 +02:00
Aaron O'Mullan
d4145b7c7e
fix(tests/yaml): expect !!js/function parse/stringify to throw ( #1276 )
...
* fix(tests/yaml): expect !!js/function parse/stringify to throw
Following #1275
2021-09-14 15:55:34 +02:00
Aaron O'Mullan
d5abd74f47
security(encoding/yaml): disable functions ( #1275 )
...
Which could allow arbitrary code execution when parsing YAML files with the extended schema, e.g:
```js
import { parse, EXTENDED_SCHEMA } from "https://deno.land/std/encoding/yaml.ts ";
const data = parse(`
fun: !!js/function >
console.log(Deno.core);
`, {schema: EXTENDED_SCHEMA});
console.log(data);
```
2021-09-14 14:03:05 +02:00
Yuki Tanaka
76d8c0159b
chore: wrap examples in fenced code blocks ( #1222 )
2021-09-13 00:14:54 +09:00
Craig Morten
c4600fbd75
docs: correct typos ( #1207 )
2021-09-07 16:40:05 +09:00
GrosSacASacs
5537732ba3
refactor: use native hasOwn ( #1177 )
2021-09-02 13:23:41 +09:00
Fuji Haruka
9b04726d09
fix(encoding/toml): escape string key/value ( #1176 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-09-01 15:16:10 +09:00
Kitson Kelly
b7c61a27a7
chore: updates related to TypeScript 4.4 ( #1171 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-31 14:39:04 +10:00
Ryan Dahl
455077a905
fix: type check examples in README files ( #1121 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-11 11:28:10 +02:00
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +09:00
Yuki Tanaka
c1252a3cd4
docs(encoding/base64url): Add base64url
encoding example ( #1082 )
2021-08-03 15:32:41 +09:00
Simon Lecoq
5606a10728
fix(testing): change assertThrows
and assertThrowsAsync
return type to void
and Promise<void>
( #1052 )
2021-07-28 14:54:58 +09:00
Chase
68a671f2bb
fix(encoding/base64url): throw TypeError in case of invalid base64url string ( #1040 )
2021-07-26 14:08:13 +02:00
Fuji Haruka
43ef969569
fix(encoding/toml): fix inline table and nested array ( #1042 )
2021-07-21 16:17:25 -07:00