Commit Graph

125 Commits

Author SHA1 Message Date
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
Fuji Haruka
f12982dc75
fix(encoding/yaml): fix parseAll type definition by using overloads (#1048) 2021-07-21 16:47:10 +09:00
Fuji Haruka
bac1c3eb86
fix(encoding/toml): parse keys correctly (#1019) 2021-07-13 23:34:50 +09:00
Fuji Haruka
6649e0abc9
fix(encoding/toml): fix comment line starting with whitespaces (#1017) 2021-07-13 23:16:45 +09:00
Zzzen
cb39391f02
fix(encoding/toml): serializes mixed array (#1001)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-07-12 23:03:46 +09:00
Fuji Haruka
c20aade2bd
fix(encoding/toml): throws parse error when toml uses invalid whitespaces (#1013) 2021-07-09 09:26:01 -04:00
Zhangyuan Nie
30a96695f6
BREAKING(encoding/hex): remove encodedLen, encodeToString, decodedLen, decodeString, errInvalidByte, errLength (#733) 2021-07-06 17:47:42 +02:00
Vincent LE GOFF
3f3a1a74ba
feat(encoding/toml): fix bad string format. Improve coverage (#991) 2021-06-30 12:12:12 -04:00
trgwii
3eea49d4cc
fix(encoding/binary): respect non 0 byte offsets (#826) 2021-05-31 15:26:00 +02:00
Yusuke Tanaka
81be5faad9
chore: remove ESLint directives (#941) 2021-05-30 15:25:01 +09:00
Hermes Espínola González
ac2f40e7e1
fix(encoding/binary): allow getNBytes to read until EOF (#932) 2021-05-25 13:19:14 +09:00
Vincent LE GOFF
69183a0526
perf(encoding/toml): delete useless replace (#900) 2021-05-07 10:15:32 +09:00
Yasser A.Idrissi
da2de64d01
docs(encoding): Add base64 encoding example (#846)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-04-14 09:17:14 +09:00
William Perron
69f3d67cb2
chore: remove Promise<void> return type annotation (#819)
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.

used this one-liner to automatically remove everything:

```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Yusuke Tanaka
e95e58a779
chore: add underscore prefix to unused variables (#837) 2021-04-04 21:04:36 +02:00
Yasser A.Idrissi
d32c66e506
ref(encoding): Promise<void> return types are unnecessary boilerplate. (#818) 2021-03-26 08:15:28 -04:00
Luca Casonato
be89f5a714
feat: add io/buffer and io/util module (#808)
This moves the `Deno.Buffer` and `Deno.readAll` / `Deno.readAllSync` /
`Deno.writeAll` / `Deno.writeAllSync` implementations to std, so we can
deprecate them in Deno 1.9, and remove them in Deno 2.0.
2021-03-22 22:45:35 +01:00
Simon Lecoq
46fc7058a4
feat(encoding/yaml): add support for JS types and user types (#789) 2021-03-15 21:22:10 +09:00
Yusuke Tanaka
b134d54319
refactor: fix codes to pass no-unused-vars lint (#764) 2021-03-02 15:31:37 +09:00
Zhangyuan Nie
5bc18f5d86
BREAKING(encoding): remove module utf8.ts (#728) 2021-02-16 13:22:07 +01:00
Casper Beyer
d6ab8bfeef
chore: format with canary (#717) 2021-02-10 01:55:53 +09:00
Casper Beyer
d5bad95a71
chore: Setup CI and tests
Create ci.yml

chore: add wasi-test-suite as a submodule

chore: remove legacy configuration files and scripts

chore: remove outdated redirection notice

chore: add git attributes to ensure text files use unix line endings

chore: format

test(http): copy tls testdata from denoland/deno
2021-02-01 12:20:35 +01:00
Jesse Jackson
1a8acd5a28 Typo (denoland/deno#9221) 2021-02-01 10:46:59 +00:00
Bartek Iwańczuk
84ee144ba8 chore: Enforce ban-untagged-todo lint rule (denoland/deno#9135) 2021-02-01 10:46:59 +00:00
Ryan Dahl
48a2496dbe update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
Yacine Hmito
858b57e6e6 docs: Remove outdated information about third_party/ directory (denoland/deno#8973) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
a0bfd92db8 fix: Don't use JSDoc syntax for browser-compatibility headers (denoland/deno#8960) 2021-02-01 10:46:58 +00:00
Anh Hong
152f1e68a9 chore: fixed various misspellings and other typos (denoland/deno#8691) 2021-02-01 10:46:58 +00:00
Yuki Tanaka
5269f12310 fix(encoding): Rewrite toml parser not to use eval() (denoland/deno#8624) 2021-02-01 10:46:58 +00:00
Jesse Jackson
d336162012 fix(encoding/csv): Correct readme formatting due to dprint issues (denoland/deno#8503) 2021-02-01 10:46:58 +00:00
Jesse Jackson
ecf5bde405 feat(encoding/csv): Add stringify functionality (denoland/deno#8408) 2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
57d903a06b build: migrate to dlint (denoland/deno#8176)
This commit migrates repository from using "eslint" 
to "dlint" for linting JavaScript code.
2021-02-01 10:46:58 +00:00
timonson
68d4f03e45 fix(encoding): base64 properly encodes mbc and handles Uint8Arrays (denoland/deno#7807)
Fixes denoland/deno#6094
Fixes denoland/deno#4794
2021-02-01 10:46:58 +00:00
Peter
329b75d1e5 fix: Parsing inline arrays of inline tables in toml (denoland/deno#7902) 2021-02-01 10:46:58 +00:00
Cedric Vangout
160ae04418 docs(encoding/csv): update the usage of ParseOptions (denoland/deno#7857) 2021-02-01 10:46:58 +00:00
tokiedokie
8567b960f8 docs: version all imports in README (denoland/deno#7442)
Use $STD_VERSION in  README files to automatically
display proper version.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf docs: end sentences with a period in markdown (denoland/deno#7813) 2021-02-01 10:46:58 +00:00
Atakan Ermiş
121500af6c docs(encoding): add missing JSDoc (denoland/deno#7809) 2021-02-01 10:46:58 +00:00
uki00a
1da9818eef BREAKING(encoding/csv): improve the definition of ParseOptions (denoland/deno#7714) 2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320 feat(fmt): Sort named import and export specifiers (denoland/deno#7711) 2021-02-01 10:46:58 +00:00
tokiedokie
d3fa1bbf5d chore: add copyright (denoland/deno#7593) 2021-02-01 10:46:58 +00:00
tasshi / Masaharu TASHIRO
50ebf926ca fix typo miliseconds -> milliseconds (denoland/deno#7469) 2021-02-01 10:46:58 +00:00
Casper Beyer
d3f850240c test(encoding): make tests runnable from any directory (denoland/deno#7368) 2021-02-01 10:46:58 +00:00
Jakob Strobl
ed6a8f13c2 fix(encoding/toml): Comment after arrays causing incorrect output (denoland/deno#7224) 2021-02-01 10:46:58 +00:00
Yusuke Tanaka
267b83a053 chore(encoding): disable no-control-regex (denoland/deno#7219) 2021-02-01 10:46:58 +00:00