Luca Casonato
b9165e9482
fix: atomically write files to $DENO_DIR ( #8822 )
2020-12-18 19:30:49 +01:00
Kitson Kelly
301d3e4b68
feat: add mvp language server ( #8515 )
...
Resolves #8400
2020-12-07 21:46:39 +11:00
Bartek Iwańczuk
636af2850c
refactor(cli): rename fs module to fs_util ( #8380 )
...
This commit renames "fs" module in "cli/" to "fs_util". This is purely
cosmetic change; there were a few places which aliased "crate::fs"
to "deno_fs" which was very confusing with "fs" module in ops.
2020-11-16 20:48:50 +01:00
Ryan Dahl
c4d33e8d77
fix: Use -rw-r--r-- for cache files ( #8132 )
2020-10-26 12:58:58 -04:00
Kitson Kelly
26639b3bac
chore(cli): remove dead code ( #7941 )
2020-10-12 22:25:25 +11:00
Bartek Iwańczuk
92edc36442
refactor: use futures and serde_json from deno_core ( #7614 )
2020-09-21 18:36:37 +02:00
Ryan Dahl
104aebdfb5
Re-export deno_core::url ( #7525 )
...
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16 14:28:07 -04:00
Ryan Dahl
0cb64cef76
Remove unnecessary serde_derive dependency
2020-09-16 13:29:42 -04:00
Bartek Iwańczuk
d4a24c870e
Revert "fix(cli/http_utils): accept a single key-multiple values headers ( #7375 )" ( #7515 )
...
This reverts commit f5c84920c2
.
2020-09-16 13:34:16 +02:00
tokiedokie
f5c84920c2
fix(cli/http_utils): accept a single key-multiple values headers ( #7375 )
2020-09-15 07:18:48 +02:00
Bert Belder
f5b40c918c
refactor: use the 'anyhow' crate instead of 'ErrBox' ( #7476 )
2020-09-15 01:50:52 +02:00
Bert Belder
3da20d19a1
chore: fix clippy warnings ( #7476 )
2020-09-15 00:11:20 +02:00
Ryan Dahl
7d01fcbb77
Remove unnecessary drop calls ( #7007 )
2020-08-10 17:31:05 -04:00
Valentin Anger
db36857288
refactor: util functions take slices instead of heap values ( #6547 )
2020-06-29 14:17:37 +02:00
Bartek Iwańczuk
e934df5f7d
fix: create HTTP cache lazily ( #5795 )
2020-05-24 19:20:40 +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
Yoshiya Hinosawa
dabe88f854
fix(deno_dir): better error message ( #5120 )
...
Add better error messages when a cache subdirectory in
`DENO_DIR` cannot be created.
2020-05-07 14:32:57 +02:00
Ryan Dahl
0099c28db3
http_cache: change .headers.json to .metadata.json ( #4175 )
...
Add original URL to metadata. This is so the VS Code Plugin can reverse
look up the URL for cache entries. Ref #4069 .
2020-02-28 13:15:31 -05:00
Bartek Iwańczuk
852823fa50
refactor: rewrite HTTP cache for file fetcher ( #4030 )
2020-02-19 08:17:13 -05:00