Marcos Casagrande
91767501e1
feat(std/node): add buf.equals method ( #6640 )
2020-07-05 18:01:36 -04:00
Bartek Iwańczuk
be07aaed84
v1.1.3
2020-07-03 15:35:19 -04:00
WJH
538504f57c
improve(std/asserts): allow assert functions to specify type parameter ( #6413 )
2020-07-02 18:03:15 +02:00
Casper Beyer
cc2dda6754
test(std/wasi): add create directory and file tests ( #6603 )
2020-07-02 09:15:02 -04:00
Bartek Iwańczuk
851344f2ed
upgrade: swc_ecma_visit, dprint, deno_lint ( #6580 )
2020-07-01 16:04:56 +02:00
Kitson Kelly
7858ebd493
Update std/http/cookie types to not require full ServerRequest object ( #6577 )
2020-06-30 09:08:40 -04:00
Water Zheng
6844c3ac0e
fix(std/log): print "{msg}" when log an empty line ( #6381 )
2020-06-30 11:29:26 +02:00
Casper Beyer
971dfcf9bb
test(std/wasi): add rename test ( #6573 )
2020-06-29 23:37:05 -04:00
Casper Beyer
9b749945bb
test(std/wasi): add hard-link test ( #6571 )
2020-06-29 20:37:15 -04:00
Casper Beyer
cb16439e85
feat(std/wasi): implement fd_sync ( #6560 )
2020-06-29 17:45:39 -04:00
Ryan Dahl
f5242f333e
fix(std/node): do not use absolute urls ( #6562 )
2020-06-29 15:09:59 -04:00
Casper Beyer
3c5459d849
feat(std/wasi) implement fd_filestat_set_size ( #6558 )
2020-06-29 14:36:22 -04:00
Casper Beyer
4cde7fdc9a
feat(std/wasi): implement fd_datasync ( #6556 )
2020-06-29 10:44:08 -04:00
Oron Sharabi
53f8d96a1f
fix(std/http): Support ipv6 parsing ( #5263 )
2020-06-29 10:39:17 -04:00
Casper Beyer
06f34a1aed
feat(std/wasi) implement fd_filestat_get ( #6555 )
2020-06-29 09:34:18 -04:00
Marcos Casagrande
0374eadcf7
feat(std/node): Add Buffer.isEncoding ( #6521 )
2020-06-28 12:27:02 -04:00
Casper Beyer
96b4a5f837
docs(std): update paragraph about the tagging process ( #6519 )
2020-06-28 12:25:20 -04:00
Marcos Casagrande
d779053dc6
feat(std/node): Add Buffer.allocUnsafe ( #6533 )
2020-06-28 10:16:54 -04:00
Marcos Casagrande
2da0840583
fix(std/io): export streams.ts & added docs ( #6535 )
2020-06-27 20:20:48 -04:00
Marcos Casagrande
a829fa8f57
feat(std/io): add fromStreamReader, fromStreamWriter ( #5789 )
2020-06-27 16:55:01 -04:00
Marcos Casagrande
a216bd06fc
feat(std/node): support hex/base64 encoding in fs.readFile/fs.writeFile ( #6512 )
2020-06-27 16:52:49 -04:00
Marcos Casagrande
f0093a9d8b
test(std/node): Add Buffer tests ( #6524 )
2020-06-27 15:57:32 -04:00
Marcos Casagrande
4302941b06
fix(std/node): add fill & encoding args to Buffer.alloc ( #6526 )
2020-06-27 15:56:39 -04:00
Casper Beyer
5f3d730df0
fix(std/wasi): use lookupflags for path_filestat_get ( #6530 )
2020-06-27 15:55:05 -04:00
Casper Beyer
40dcfc8996
fix(std/wasi): path_filestat_get padding ( #6509 )
2020-06-27 13:53:43 +02:00
Jim van der Voort
6f3ad0f73a
fix(std/http): Catch errors on file_server response.send ( #6285 )
2020-06-27 13:49:07 +02:00
Ali Hasani
affba80454
feat(std/datetime): add is leap and difference functions ( #4857 )
2020-06-27 13:10:45 +02:00
Bartek Iwańczuk
5bc130be27
v1.1.2
2020-06-26 17:45:12 -04:00
Casper Beyer
99f4a710f1
test(std/wasi): add read, write and metadata tests ( #6494 )
2020-06-26 15:36:46 -04:00
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
Peter Evers
7b597c82fc
feat(std/node) add util.types ( #6159 )
2020-06-07 09:21:49 -04:00
Chris Knight
3ef94c5473
refactor(std): remove testing dependencies from non-test code ( #5838 )
2020-06-07 09:20:33 -04:00
Tim Reichen
adffbacfe4
refactor(std/http): rename delCookie to deleteCookie ( #6088 )
2020-06-07 13:53:36 +02:00
Nikolai Vavilov
09ee9a8280
feat(std/node): Buffer ( #5925 )
2020-06-06 15:56:49 -04:00
Marcos Casagrande
26287ef87b
fix: use queueMicrotask instead of setTimeout ( #6112 )
2020-06-06 15:32:17 -04:00
Deepak Vishwakarma
f931805502
readme for std/hash ( #6139 )
2020-06-06 12:36:34 -04:00
Ryan Dahl
1a2f88609b
fix(std/io): StringReader implementation ( #6148 )
2020-06-06 10:37:52 -04:00
Deepak Vishwakarma
ee192b0758
added documentation with sample for std/io mod ( #6106 )
2020-06-05 23:43:42 -04:00
Casper Beyer
ed5aedc6b4
Rename abbreviated assertions in std/testing ( #6118 )
2020-06-05 23:43:00 -04:00
Chris Knight
c137b11abf
fix: revert setInterval log flushing as it prevents process completion ( #6127 )
2020-06-05 23:39:49 -04:00
skdltmxn
e05ed53713
feat(std/hash): add sha3 ( #5558 )
2020-06-04 15:14:36 -04:00
Yusuke Sakurai
430beebc46
doc: Improved ws example and README ( #5636 )
2020-06-04 15:13:33 -04:00
Jon Short
4b1638dccc
feat(std/testing): Allow non-void promises in assertThrowsAsync ( #6052 )
2020-06-04 10:43:05 -04:00
Szalay Kristóf
42a04ea08a
refactor(std/testing/bench): Remove differentiating on runs count ( #6084 )
2020-06-03 22:33:53 -04:00
Nayeem Rahman
97d876f6db
fix(std/http): Don't use assert() for user input validation ( #6092 )
2020-06-03 22:32:27 -04:00
matheus
94bf551ead
fix(std/http/file_server): args handling only if invoked directly ( #5989 )
2020-06-03 13:48:03 -04:00
Szalay Kristóf
cab273476a
fix(std/testing/bench): clock assertions without --allow-hrtime ( #6069 )
2020-06-03 13:45:37 -04:00
Szalay Kristóf
4ef38bad43
docs: benchmarking ( #6075 )
2020-06-03 13:44:37 -04:00
Ryan Dahl
515d19d901
v1.0.5
2020-06-03 12:52:01 -04:00
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
Marcos Casagrande
7566aa8765
fix(std/log): await default logger setup ( #5341 )
2020-05-20 16:27:01 +02:00
Anil Seervi
f366e5e9bb
docs(std): fixed spelling mistake ( #5662 )
2020-05-20 13:20:20 +02:00
Marcos Casagrande
eb5acb39d5
feat(std/node): Add fs.promises.readFile ( #5656 )
2020-05-20 02:50:48 -04:00
Marcos Casagrande
62c34bc21e
fix(std/node) improve fs.close compatibility ( #5649 )
2020-05-19 19:01:06 -04:00
zfx
7589d4d7c4
fix(multipart): fix error when parsing file name in utf8 format ( #5428 )
2020-05-19 14:22:26 -04:00
Speykious
9752b853dd
Provide better ANSI colorized output when inspecting objects ( #5404 )
2020-05-19 14:19:26 -04:00
Ali Hasani
6072755ead
Implement Deno.symlink() for windows ( #5533 )
2020-05-19 00:46:02 +02:00
Ryan Dahl
2a038eafcd
Revert "Fix definition of URL constructor ( #5521 )" ( #5564 )
...
This reverts commit 63bc468365
.
2020-05-18 08:46:56 -04:00
pontakornth
ce81064e4c
docs(std): Fix typo ( #5582 )
2020-05-18 12:10:19 +02:00
Andrey Trebler
2d5abbe909
fix(std/hash): SHA1 hash of Uint8Array ( #5086 )
2020-05-18 00:04:11 +02:00
Bert Belder
36fde75d77
Miscellaneous documentation and spelling improvements ( #5527 )
...
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02:00
Ali Hasani
eddb916883
Implement Deno.kill for windows ( #5347 )
2020-05-17 19:11:24 +02:00
Masahiro Miyashiro (3846masa)
63bc468365
Fix definition of URL constructor ( #5521 )
2020-05-17 11:37:16 -04:00
A.E Clarence
4db4a7fbcc
Improve moveSync jsdoc
2020-05-17 11:36:01 -04:00
Marcos Casagrande
4d3bcd807d
docs(std): Fix default value in comment ( #5539 )
2020-05-17 12:31:19 +02:00
Akash Vishwakarma
6257684da6
Fix spelling: "--alow-write" => "--allow-write" ( #5486 )
2020-05-16 20:36:13 +02:00
Anil Seervi
59cb3c14c7
Fixed Typo ( #5495 )
2020-05-16 09:31:21 -04:00
domharrington
b34628a26a
docs(std): Fix spelling mistake on permission ( #5476 )
2020-05-16 11:36:11 +02:00
Bert Belder
76a6a1ff46
Fix a bunch of spelling errors ( #5314 )
2020-05-16 00:36:49 +02:00
ddaza
15466c9007
improve chat example ( #5474 )
2020-05-15 17:00:31 -04:00
Henry Zhuang
e98b759446
improve deferred test ( #5459 )
2020-05-15 16:59:44 -04:00
Peter Indiola
0e4a927bcf
docs(std/fmt): Fix typo ( #5315 )
2020-05-15 22:33:45 +02:00
Linus Unnebäck
8228ea85fd
refactor(fs): use every instead of reduce ( #5323 )
...
The previous usage of `reduce` was basically implementing the `every`
A small difference is that the new implementation will stop checking
as soon as one element have returned false, which will reduce
the number of unnecessary checks.
2020-05-15 20:53:23 +02:00
Claudio Cicali
f37967d229
fix link ( #5333 )
...
Replaced with the current master version
2020-05-15 10:13:33 -04:00
Tomasz Gałkowski
8440d765d5
fix: setTimeout and friends have too strict types ( #5412 )
2020-05-15 09:51:49 -04:00
Marcos Casagrande
ce57a1824d
feat(std/node): fs.writeFileSync polyfill ( #5414 )
2020-05-15 09:50:27 -04:00
Stéphane Klein
62a7fcbdc4
fix(std/testing): Provide message and diff for assertStrictEq ( #5417 )
...
closes #5416
2020-05-15 09:49:11 -04:00
skdltmxn
06f3268f3a
feat: add std/hash/fnv ( #5403 )
2020-05-15 09:42:19 -04:00
Anil Seervi
3e07e0b01d
Fix typos ( #5441 )
2020-05-15 08:52:01 -04:00
Juan Julián Merelo Guervós
f2e431c2b0
shorten example ( #5448 )
2020-05-15 08:51:15 -04:00
Evan Hahn
6f7e74d694
[std/node]: remove execute permissions from fs.ts ( #5363 )
2020-05-14 11:57:12 -04:00
Mike Nikles
0cbd432dc7
Add .css to the MEDIA_TYPES. ( #5367 )
2020-05-14 11:56:29 -04:00
Bert Belder
676be6632c
Fix flakiness in std file_server tests ( #5306 )
...
Fixes: #5275
2020-05-14 14:14:35 +02:00
Bartek Iwańczuk
c474d38354
std/0.51.0 ( #5336 )
2020-05-14 13:45:05 +02:00
Marcos Casagrande
524b1547b7
std/node fs.readFile should take string as option ( #5316 )
2020-05-14 07:04:07 -04:00
Dante Calderón
c3a205bae8
Fix typos across the repo ( #5295 )
...
Corrections made:
* cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers"
* cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege"
* cli/worker.rs:231:56: corrected "decendants" to "descendants"
* deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted"
* core/es_isolate.rs:492:67: corrected "registerd" to "registered"
* core/isolate.rs:103:28: corrected "initalize" to "initialize"
* docs/runtime.md:29:14: corrected "ect" to "etc"
* docs/tools/debugger.md:122:16: corrected "implementes" to "implements"
* std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere"
* std/encoding/csv.ts:37:43: corrected "referal" to "referral"
* std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable"
* std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively"
* std/fmt/README.md:35:68: corrected "seperated" to "separated"
* std/fmt/README.md:179:59: corrected "provded" to "provided"
* std/mime/multipart.ts:581:46: corrected "writen" to "written"
* std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent"
* std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous"
* std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous"
* tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance"
* std/node/module.ts:1003:18: corrected "existend" to "existed"
2020-05-14 06:38:42 +02:00
Kitson Kelly
3d7552af2e
Update to TypeScript 3.9 ( #4510 )
2020-05-13 08:03:04 -04:00
Lucas Machado
eec0855737
fix(std): fix broken style guide link ( #5211 )
2020-05-11 20:36:24 -04:00
Ryan Dahl
73d8fa74c6
BREAKING: There is no public Rust API for the CLI ( #5226 )
2020-05-11 17:33:36 -04:00
Edward Elric
b2da8f3d4e
doc: fix typo in std/node/README.md ( #4819 )
2020-05-11 15:13:06 +02:00
Nayeem Rahman
e74a83a715
fix(std/encoding/yaml): Correct exports ( #5191 )
2020-05-10 17:17:54 -04:00
Ryan Dahl
d5dd5ae87d
std/0.50.0
...
Add std/version.ts and document unstableness of std.
2020-05-09 09:15:26 -04:00
Ryan Dahl
5de077ab65
Move style guide to docs dir ( #5174 )
2020-05-09 09:05:23 -04:00
Nayeem Rahman
f184332c09
BREAKING(std): reorganization ( #5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move std/_util/async.ts to std/async
* Move std/util/sha*.ts to std/hash
2020-05-09 08:34:47 -04:00
Oliver Lenehan
7d3728e3f4
feat(std/fmt): 8bit and 24bit ANSI colors ( #5168 )
2020-05-09 06:29:44 -04:00
Andrey Trebler
c42ad381ad
revert PR #5002 ( #5141 )
2020-05-08 10:32:09 -04:00
zjopy
761b7efb3b
fix(docs): add missing "deno run" ( #5126 )
2020-05-07 13:48:48 +02:00
Luca Casonato
34ec3b2254
Multi page manual ( #5110 )
2020-05-06 18:21:13 -04:00
Ryan Dahl
846c049c9b
Remove flaky and useless tests ( #5116 )
2020-05-06 17:04:52 -04:00
Tomofumi Chiba
6e287d9518
update manual with "deno run" ( #5082 )
2020-05-05 09:45:51 -04:00
Marcos Casagrande
f0aea98c85
feat(std/node): fs.writefile / fs.promises.writeFile ( #5054 )
2020-05-04 18:59:37 -04:00
David Sherret
60f2d57fb7
feat(fmt): Add deno-fmt-ignore
and deno-fmt-ignore-file
comment support ( #5075 )
2020-05-04 15:17:15 -04:00