0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

3546 commits

Author SHA1 Message Date
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
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
Shohei YOSHIDA
45ec10535a
docs: add 'ts' tag to code blocks in manual/examples/os_signals.md (#5297)
This should enable syntax highlighting on the website.
2020-05-14 05:54:57 +02:00
Manikandan Sundararajan
d397b86c6c
Fix broken links to manual web page in README.md (#5284)
The old link to the manual web page includes the `.html` extension but this leads to a 404. Removing the `.html` leads to the right webpage.
2020-05-14 01:35:40 +02:00
Bartek Iwańczuk
55d2c6bd10
v1.0.0 2020-05-13 18:07:15 -04:00
Amen
38e253e377
Add allow-read to file-server debugger example (#5282) 2020-05-13 18:06:43 -04:00
Bartek Iwańczuk
7ceac1284e
docs: standard library (#5274) 2020-05-13 19:19:29 +02:00
Luca Casonato
aa58128a12
docs: Added unstable message to compiler api (#5272) 2020-05-13 18:10:54 +02:00
Bartek Iwańczuk
e9ce043b7c
docs: add debugger manual (#5265) 2020-05-13 17:55:44 +02:00
Pavan Kumar
9c01403865
default to 0.0.0.0 for Deno.listen (#5203) 2020-05-13 09:18:41 -04:00
Kitson Kelly
3d7552af2e
Update to TypeScript 3.9 (#4510) 2020-05-13 08:03:04 -04:00
Nugine
bc7817e161
doc: fix typo in workers.md (#5256) 2020-05-13 12:13:06 +02:00
Bert Belder
e34a3b61f4
Make --inspect-brk pause on the first line of _user_ code (#5250) 2020-05-13 00:12:46 +02:00
A.E Clarence
e90c95b465
fix example of readTextFile (#5247) 2020-05-12 13:38:44 -04:00
Bartek Iwańczuk
053c568c8c
fix: source maps in inspector for local files (#5245)
This commit changes handling of source maps by setting proper
file URLs for "file" and "sources" fields in the source map.
2020-05-12 17:44:25 +02:00
Ryan Dahl
593c3aa857
Clean up core/shared_queue.js (#5237) 2020-05-12 11:09:28 -04:00
Bartek Iwańczuk
35e8bc8de6
v1.0.0-rc3 2020-05-12 08:33:18 -04:00
Ryan Dahl
f193dde4a9
docs: Fix style guide link (#5236) 2020-05-12 13:10:09 +02:00
Lucas Machado
eec0855737
fix(std): fix broken style guide link (#5211) 2020-05-11 20:36:24 -04:00
Haobo Zhao
c912ffde11
doc: fix typo (remove redundant 'from') in first_steps.md (#5199) 2020-05-12 01:31:21 +02:00
Bartek Iwańczuk
d062ffc1ba
fix: source maps in inspector (#5223)
This commit fixes problems with source maps in Chrome Devtools
by substituting source map URL generated by TS compiler with
actual file URL pointing to DENO_DIR.

Dummy value of "source_map_url" has been removed from
"ScriptOrigin".

Also fixes lock file which used compiled source code to generate
lock hash; it now uses source code of the file that is
being compiled.
2020-05-11 23:48:36 +02:00
Ryan Dahl
73d8fa74c6
BREAKING: There is no public Rust API for the CLI (#5226) 2020-05-11 17:33:36 -04:00
Bert Belder
3cccadcf0f
Change plugin interface to prevent segfaults when unloading plugin (#5210)
Fixes: #3473
Closes: #5193
2020-05-11 22:39:13 +02:00