Casper Beyer
d924ad36ac
perf(std/hash): optimize for speed (O3) ( #6499 )
2020-06-26 14:11:20 -04:00
Casper Beyer
9107b1ea3f
test(wasi/std): remove v8 flags from test runner ( #6496 )
2020-06-26 12:34:55 -04:00
Nayeem Rahman
ed0b1d4627
fix(cli/js/web/url): Support UNC paths on Windows ( #6418 )
2020-06-26 08:34:17 -04:00
Yasser A.Idrissi
d1b44e7521
refactor(std/testing): Remove unuseful statement ( #6486 )
2020-06-25 22:17:58 -04:00
Marcos Casagrande
3f710108f2
fix(std/io): Make BufWriter/BufWriterSync.flush write all chunks ( #6269 )
2020-06-25 14:17:33 +02:00
Benjamin Lupton
16038b8f82
fix(std/node/process): env, argv exports ( #6455 )
...
The promise approach still required permissions to be specified
at initialisation, rather than at request.
Using a Proxy instance solves this permission issue.
The Proxy instance approach also eliminates the need for the
await. Achieving direct compatibility with Node.js.
/ref pr #6392
/ref commit d16337cc9c
2020-06-25 07:18:01 -04:00
Stanislav
7ea3071db5
docs: replace delCookie with deleteCookie ( #6467 )
2020-06-25 07:12:09 -04:00
Chris Knight
d9896d64ce
refactor: shift copyBytes and tweak deps to reduce dependencies ( #6469 )
2020-06-25 06:40:51 -04:00
Marcos Casagrande
6527189520
doc(std/wasi): fix example ( #6464 )
2020-06-24 22:21:39 -04:00
Casper Beyer
f39c890714
doc(std/wasi) add a list of supported syscalls ( #6460 )
2020-06-24 17:03:40 -04:00
Casper Beyer
a354b248ea
feat(std/wasi): add wasi_snapshot_preview1 ( #6441 )
2020-06-24 09:27:31 -04:00
Casper Beyer
f318ab01a4
fix(std/testing) assertArrayContains should work with any array-like ( #6402 )
2020-06-24 08:29:50 -04:00
Benjamin Lupton
49c54c0805
fix(std/node): fix readFile types, add encoding types ( #6451 )
2020-06-23 22:32:43 -04:00
Benjamin Lupton
d16337cc9c
fix(std/node): global process should usable ( #6392 )
2020-06-23 16:00:47 -04:00
Rob Waller
d615f0ff82
fix(std/testing): assertThrows gracefully fails if non-Error thrown ( #6330 )
2020-06-23 10:47:09 -04:00
Marcos Casagrande
86448fd9aa
feat(std/node): support hex / base64 encoding in Buffer ( #6414 )
2020-06-21 09:47:03 -04:00
Marcos Casagrande
f24aab81c9
BREAKING(std/encoding/hex): reorder encode & decode arguments ( #6410 )
...
refactor to match other src/dst methods
2020-06-21 00:13:54 -04:00
Ryan Dahl
0a81ec6b1e
Remove Deno.dir and dirs dependency ( #6385 )
2020-06-20 23:49:27 -04:00
Yoshiya Hinosawa
c0ea9a99c0
docs: document and add examples of expandGlob ( #6404 )
2020-06-20 14:34:28 -04:00
Ryan Dahl
bdf2d26ba1
v1.1.1
2020-06-19 14:48:14 -04:00
Chris Knight
940f8e8433
feat(std/log): expose logger name to LogRecord ( #6316 )
2020-06-18 12:50:18 +02:00
Kiffie Liversage
eea3223ade
typo ( #6356 )
2020-06-18 06:03:38 -04:00
Vladimir Iakovlev
bd26a72ab3
Update assertions names in std/testing README ( #6318 )
2020-06-16 17:22:54 -04:00
skdltmxn
b3c72d1e45
feat(std/hash): reimplement all hashes in WASM ( #6292 )
2020-06-16 17:12:50 -04:00
Kitson Kelly
490d2a5ca1
fix: MuxAsyncIterator throws muxed errors ( #6295 )
...
Fixes #5260
2020-06-15 12:03:07 -04:00
Joel Chippindale
f6fa659384
Fix assertEqual so that it handles URL objects ( #6278 )
2020-06-13 10:01:05 -04:00
David Gonzalez
0bc70b89c0
fix(std/node): added tests for static methods of Buffer ( #6276 )
2020-06-13 10:00:02 -04:00
Michael Yuan
d3aa37dd9c
Doc: Node buffer is now supported ( #6274 )
2020-06-13 09:58:08 -04:00
Marcos Casagrande
2e830f80ea
fix(std/io): Use Deno.test in writers_test ( #6273 )
2020-06-13 00:10:25 +02:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace ( #6268 )
2020-06-12 15:23:38 -04:00
Marcos Casagrande
26bf56afda
fix(std/io): BufWriter/StringWriter bug ( #6247 )
2020-06-12 15:15:29 -04:00
Bartek Iwańczuk
7d41bacfba
v1.1.0
2020-06-12 18:43:09 +02:00
Ryan Dahl
e9424bf6b5
Revert "feat: add Deno.osName()" ( #6261 )
...
Deno.build.os provides the same functionality
This reverts commit 6ccf9037a6
.
2020-06-12 09:53:53 -04:00
Chris Knight
81d09ad01c
feat(std/log): inline and deferred statement resolution logging ( #5192 )
2020-06-12 09:27:41 -04:00
Ryan Dahl
d0970daacd
make std deno-lint clean ( #6240 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-12 09:19:29 -04:00
Rubin Bhandari
6ccf9037a6
feat: add Deno.osName() ( #5714 )
2020-06-11 13:11:26 -04:00
Marcos Casagrande
fa6f10219e
fix(std/archive): untar ( #6217 )
...
- Fix `Untar` for tarballs with multiple files (Currently throwing `"checksum error"`)
- Fix parsing, now all `ustar` versions should be supported. Linux `tar -cvf deno.tar dir/` is not working on master.
- Added `asyncIterator`
- Added README.md
2020-06-10 17:10:47 -04:00
Ch3ri0ur
f364a4c2b6
minor fix to websocket readme ( #6207 )
2020-06-10 09:03:26 -04:00
Casper Beyer
15cfe9e6e5
Remove redundant call to ensureDirSync
( #6189 )
...
There's a seemingly redundant call to `ensureDirSync` right after a call
to `await ensureDir`.
This removes the offending call.
2020-06-09 17:34:32 -04:00
Ch3ri0ur
bad6f2b224
Readme cleanup in encoding and ws ( #6209 )
2020-06-09 15:08:38 -04:00
Szalay Kristóf
6e75254abb
fix(std/testing/bench): Make progress callback async ( #6175 )
2020-06-09 11:19:06 -04:00
blairzhao111
6c21ba0575
fix(std/node): emitter.removeAllListeners ( #5583 )
...
When given a non-registered eventName to
emitter.removeAllListeners(eventName), current code
would remove all listeners instead of silently skip,
which is not ideal.
2020-06-09 15:07:25 +02:00
Nayeem Rahman
b3e189ee4f
fix(cli/js/process): Strengthen socket types based on pipes ( #4836 )
2020-06-09 13:18:18 +02:00
Marcos Casagrande
54742d29dc
cleanup std/tar ( #6185 )
2020-06-08 19:09:24 -04:00
Oliver Lenehan
6f22bc8278
feat(std/encoding/binary): add varnumBytes(), varbigBytes() ( #5173 )
2020-06-08 18:58:55 -04:00
Marcos Casagrande
50a70f4ece
fix(http/server): flaky test on Windows ( #6188 )
2020-06-09 00:10:29 +02:00
jersou
1f4520d2bd
doc(std/fs): fix sync walk example ( #6174 )
...
The example doesn't compile : Property 'filename' does not exist on type 'WalkEntry'.
The property has been renamed : fileInfo.filename → fileInfo.name
2020-06-08 17:09:38 -04:00
Marcos Casagrande
0bf952bb49
feat(std/node) - Add util.promisify ( #5540 )
2020-06-08 19:26:52 +02:00
Marcos Casagrande
2c990414bf
fix(std/http): Prevent crash on UnexpectedEof and InvalidData ( #6155 )
2020-06-08 17:58:52 +02:00
Marcos Casagrande
62adc63934
refactor(std/signal): Replace setTimeout with IIFE ( #6153 )
2020-06-07 09:23:52 -04:00