1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-12 12:50:00 -05:00
Commit graph

8318 commits

Author SHA1 Message Date
Ali Hasani
eddb916883
Implement Deno.kill for windows (#5347) 2020-05-17 19:11:24 +02:00
David Sherret
a054250a2c
Update to dprint 0.18.3 and the latest version of swc (#5509) 2020-05-17 18:56:22 +02:00
Bartek Iwańczuk
e16eb9e108
chore: capture stderr in integration tests (#5549)
This commit removes "check_stderr" setting from itest! macro used
to generate integration tests. Without this setting on tests discarded
output of stderr making it very hard to debug the problem in test.

Numerous tests were changed by adding "--quiet" flag to not display
"Compile"/"Download" prompts.
2020-05-17 17:42:39 +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
扩散性百万甜面包
2c71780cfb
Simplify fmt::Display for ModuleResolutionError (#5550) 2020-05-17 11:33:44 -04:00
Marcos Casagrande
4d3bcd807d
docs(std): Fix default value in comment (#5539) 2020-05-17 12:31:19 +02:00
thomasy
c4f356bda5
docs: fix import maps code without --allow-net (#5528) 2020-05-17 12:29:56 +02:00
Ali Hasani
6ffb8ee2c3
docs: update cli/js/tests README (#5531) 2020-05-17 12:14:37 +02:00
Yiyu Lin
c4fe58d8df
Return error if more than one listener calls WorkerHandle::get_event() (#5461) 2020-05-17 06:50:38 +02:00
Yiyu Lin
f12dffca9f
tsc: use serde to (de)serialize CompiledFileMetadata (#5481)
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-05-16 21:47:26 +02:00
Siddharth Parmar
bfd4baf2d3
Fix formatting of example code in typescript declaration files (#5475) 2020-05-16 21:23:48 +02:00
Ryan Dahl
acc821c2be
Remove dead code: tools/sha256sum.py (#5502) 2020-05-16 20:37:41 +02:00
Akash Vishwakarma
6257684da6
Fix spelling: "--alow-write" => "--allow-write" (#5486) 2020-05-16 20:36:13 +02:00
Bartek Iwańczuk
6405675448
chore: remove typedoc (#5497) 2020-05-16 16:02:03 +02:00
Yiyu Lin
0b9942da84
fix some unwrap() in Rust (#5485) 2020-05-16 09:41:32 -04: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
Dan Vanderkam
aa1284ceb0
Lets --> Let's (#5473) 2020-05-15 17:02:11 -04:00
Andrius Kripaitis
a9ebbca170
Fix JavaScript spelling (#5467) 2020-05-15 17:01:21 -04: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
Yiyu Lin
871a0c9c0e
fix some clippy warning (#5462) 2020-05-15 15:26:16 -04: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
Bartek Iwańczuk
89fe81168e
fix: panic if $DENO_DIR is a relative path (#5375)
This commit fixes panic occurring if $DENO_DIR is set to a relative
path, eg. "DENO_DIR=denodir deno run main.ts".

Before creating DenoDir instance given path is checked and if necessary
resolved against current working directory.

Additional sanity checks were put in place to ensure all caches
receive absolute path for the location.
2020-05-15 16:32:52 +02:00
Max
d4afc9890d
adjust example code (#5332) 2020-05-15 10:27:38 -04:00
uki00a
c5a54e44bc
chore: port deno_dir_test to Rust (#5408) 2020-05-15 10:22:28 -04:00
Kerollos Magdy
b0d62cdbd7
Add link to JSDoc website (#5370) 2020-05-15 10:21:00 -04: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
Chris Knight
8c45d3a06d
doc: add stream api (#5418) 2020-05-15 09:35:50 -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
André Vargas
750a3413a0
docs: Fix typo in OS Signals example (#5413) 2020-05-14 22:18:33 +02:00
Valentin Anger
5b76f7a838
Remove debug prints introduced in e18aaf49c (#5356) 2020-05-14 14:10:54 -04:00
Stu Finn
8a5068f2b4
Fix grammar (#5399) 2020-05-14 14:10:25 -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
Kerollos Magdy
a2ba5a31a5
Remove extra dollar sign from docs (#5361) 2020-05-14 11:34:13 -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
Thomas Steiner
b60cde4c0a
Avoid unfortunate ASCII arrow splitting (#5325) 2020-05-14 07:00:44 -04:00
Kevin (Kun) "Kassimo" Qian
7de86ab605
cli: don't panic on Deno.close invalid argument (#5320) 2020-05-14 06:59:56 -04:00
Peter Indiola
21a4e9cc58
Fix small typo in the docs (#5310) 2020-05-14 09:03:55 +02:00