timonson
9a97e61b78
feat(std/encoding): add base64url module ( #5976 )
2020-06-03 09:44:51 -04:00
Nayeem Rahman
aaa2ed5a64
fix(std/testing/asserts): Format values in assertArrayContains() ( #6060 )
2020-06-02 23:38:46 -04:00
Szalay Kristóf
1db98f10b8
feat(std/testing): benching progress callback ( #5941 )
2020-06-02 17:06:13 -04:00
Bartek Iwańczuk
9c59a4b18c
v1.0.4
2020-06-02 15:48:17 +02:00
Kitson Kelly
3fe6bc1b82
fix: Better use of @ts-expect-error ( #6038 )
2020-06-02 00:24:44 -04:00
simwipado
40419c664d
fix(std/http): file server not closing files ( #5952 )
2020-06-01 18:45:42 -04:00
Peter Evers
6b0d286a3d
feat(std/node): add util.type.isDate ( #6029 )
2020-06-01 18:43:43 -04:00
Henrique Emanoel Viana
d8c681d37a
feat(std/mime/multipart): Added multiple FormFile input ( #6027 )
2020-06-01 18:39:47 -04:00
hastri
b075f55d58
feat(std/io): add LimitedReader ( #6026 )
2020-06-01 18:37:59 -04:00
Chris Knight
c9aded05a6
feat(std/log): buffered file logging ( #6014 )
2020-06-01 18:31:17 -04:00
Yasser A.Idrissi
12d741c2fe
feat(std/http) support code 103 Early Hints ( #6021 )
2020-06-01 11:10:17 -04:00
uki00a
0ce6394aca
re-enable the "HugeLines" test case ( #6006 )
2020-05-31 16:04:19 -04:00
Tuan Le
d89692161a
feat(std/hash): add Sha512 and HmacSha512 ( #6009 )
2020-05-31 16:03:37 -04:00
uki00a
1fe089178a
docs(std/encoding/csv): improve the document and jsdoc comments ( #6008 )
2020-05-31 16:02:39 -04:00
Voltra
aa514c058a
feat(std/http): add TooEarly status code ( #5999 )
...
As per [RFC 8470 5.2](https://tools.ietf.org/html/rfc8470#section-5.2 )
2020-05-31 13:49:33 -04:00
Nayeem Rahman
10573183af
fix(std/path): Support browsers ( #6003 )
2020-05-31 13:48:32 -04:00
Dan Vega
24e545d5bd
typo ( #5948 )
2020-05-30 00:58:12 -04:00
Bartek Iwańczuk
106b001738
v1.0.3
2020-05-29 18:48:48 +02:00
Yusuke Sakurai
b97459b5ae
fix: readTrailer didn't evaluate header names by case-insensitive ( #4902 )
2020-05-29 14:40:54 +02:00
zfx
499353ff39
fix(std/log): improve the calculation of byte length ( #5819 )
2020-05-29 02:39:33 -04:00
Szalay Kristóf
6de59f1908
Return results in benchmark promise ( #5842 )
2020-05-29 02:29:58 -04:00
Chris Knight
fadd93b454
feat(std/node): add link/linkSync polyfill ( #5930 )
2020-05-28 19:39:02 -04:00
Szalay Kristóf
c9f7558cd1
fix(std): Fix FileHandler test with mode 'x' on non-English systems ( #5757 )
2020-05-28 23:08:47 +02:00
Chris Knight
86c6f05404
doc: improve documentation for consuming request body ( #5771 )
2020-05-28 13:36:18 -04:00
Stephan Seidt
db9c2c156a
Fix shebangs ( #5898 )
2020-05-27 15:24:57 -04:00
Stephan Seidt
55d36006fc
Add wasm to media types ( #5896 )
2020-05-27 09:35:03 -04:00
Kitson Kelly
ebae1a20d5
Migrate from dprint-ignore to deno-fmt-ignore ( #5659 )
2020-05-27 14:21:18 +02:00
Robin Wieruch
845bc443da
improve docs ( #5873 )
2020-05-26 10:09:47 -04:00
Kitson Kelly
228f9c207f
Use ts-expect-error instead of ts-ignore. ( #5869 )
2020-05-26 10:02:16 -04:00
zfx
24c36fd862
fix(std/log): use writeAllSync instead of writeSync ( #5868 )
...
Deno.writeSync:
Returns the number of bytes written.
It is not guaranteed that the full buffer will be written in a single call.
2020-05-26 09:54:30 -04:00
Nayeem Rahman
4ebd243423
fix(std/testing/asserts): Support browsers ( #5847 )
2020-05-25 13:32:34 -04:00
Rares Folea
aef9f22462
Fix typo ( #5834 )
2020-05-25 09:35:11 -04:00
skdltmxn
f6e3160356
feat(std/encoding): add base64 ( #5811 )
2020-05-24 09:10:01 -04:00
Ali Hasani
3b86552d66
refactor: remove duplicated code in std/node/module ( #5778 )
2020-05-23 12:55:15 +02:00
Marcos Casagrande
7f81f02ce7
std/node: fs.writeFile/sync path can now be an URL ( #5652 )
2020-05-22 22:11:10 -04:00
Bartek Iwańczuk
526c9196e2
v1.0.2
2020-05-22 20:00:28 +02:00
Ali Hasani
1a6c541327
re-enable symlink tests on windows ( #5746 )
2020-05-22 13:37:25 -04:00
moyinzi
8d8a2f573f
fix(std/http): file_server's target directory ( #5695 )
2020-05-21 13:55:18 -04:00
skdltmxn
49c85a2c23
feat(std/hash): add md5 ( #5719 )
2020-05-21 12:39:32 -04:00
Ryan Dahl
6f52ad9052
Move std/fmt/sprintf.ts to std/fmt/printf.ts ( #4567 )
2020-05-21 11:12:37 +02:00
Marcos Casagrande
11e3d70c85
Remove duplicate test ( #5687 )
2020-05-20 21:40:43 -04:00
Ryan Dahl
49dda23f6b
v1.0.1
2020-05-20 12:40:26 -04:00
Hendrik
765acd3170
Provide required arguments to walk in example. ( #5668 )
2020-05-20 12:24:02 -04:00
uki00a
6d7e3621da
fix: compilation error introduced by #4543 ( #5673 )
2020-05-20 12:15:41 -04:00
Ali Hasani
22da75b8e5
feat(std/node): first pass at url module ( #4700 )
2020-05-20 10:37:30 -04:00
Garrone Joseph
7630326b4c
feat(std/node) Export TextDecoder and TextEncoder from util ( #5663 )
2020-05-20 10:35:51 -04:00
uki00a
9b4da88a96
fix(std/io): BufReader should not share the internal buffer across reads ( #4543 )
2020-05-20 16:34:20 +02:00
Ali Hasani
ef14d62462
feat(std/bytes): add hasSuffix and contains functions, update docs ( #4801 )
2020-05-20 16:32:28 +02:00
Oliver Lenehan
662eb8f8c9
feat(std/fmt): rgb24 and bgRgb24 can use numbers for color ( #5198 )
2020-05-20 10:29:59 -04:00
Evan Hahn
f5c0188b5e
std/node: add util.callbackify ( #5415 )
...
This adds [Node's `util.callbackify`][0] to `std/node/util.ts`.
I lifted most of this from the [original Node source code][1] (and [its
tests][2]). I tried to make minimal modifications to the source.
I made a few arbitrary decisions:
- I was unable to do the function's types elegantly. I made overloads
for functions that have 0 to 5 (inclusive) arguments, excluding the
callback. I would love to know a better way to do this. (It seems that
the folks at DefinitelyTyped [were also stumped][3], though maybe
their solution is deliberate.)
- There are a few edge cases that cause custom Node errors to be
produced. Instead of re-implementing those errors completely, I
created simplified classes. These are mostly correct but are not
identical to the real Node errors.
- The tests implement a possibly-arcane `TestQueue` class. I originally
used a lot of inline promises but found it too repetitive.
Closes [#5366 ][4].
[0]: https://nodejs.org/api/util.html#util_util_callbackify_original
[1]: 4780493301/lib/util.js (L183-L226)
[2]: 4780493301/test/parallel/test-util-callbackify.js
[3]: 7d24857ddb/types/node/util.d.ts (L61-L84)
[4]: https://github.com/denoland/deno/issues/5366
2020-05-20 10:29:05 -04:00