Stephan Seidt
55d36006fc
Add wasm to media types ( #5896 )
2020-05-27 09:35:03 -04:00
moyinzi
8d8a2f573f
fix(std/http): file_server's target directory ( #5695 )
2020-05-21 13:55:18 -04:00
Mike Nikles
0cbd432dc7
Add .css to the MEDIA_TYPES. ( #5367 )
2020-05-14 11:56:29 -04:00
Ryan Dahl
73d8fa74c6
BREAKING: There is no public Rust API for the CLI ( #5226 )
2020-05-11 17:33:36 -04:00
Nayeem Rahman
96fd0f4692
BREAKING: feat(cli/installer): Support guessing the executable name ( #5036 )
2020-05-01 15:33:11 -04:00
木杉
e57f0749e7
fix(std/http): avoid directly modifying the headers object ( #5024 )
2020-05-01 10:35:18 -04:00
Ryan Dahl
bc792c0267
make camel case readDir, readLink, realPath ( #4995 )
2020-04-29 16:39:37 -04:00
Bert Belder
3e6ea62841
BREAKING: Include limited metadata in 'DirEntry' objects ( #4941 )
...
This change is to prevent needed a separate stat syscall for each file
when using readdir.
For consistency, this PR also modifies std's `WalkEntry` interface to
extend `DirEntry` with an additional `path` field.
2020-04-29 16:00:31 -04:00
Nayeem Rahman
5ac728a5f1
refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces ( #4763 )
2020-04-16 01:40:30 -04:00
木杉
481fcfc8bd
file_server: use text/typescript instead of application/typescript ( #4620 )
...
I just tried it and found that using application/typescript, the browser will download
the file directly, I think that .ts should be mapped to application/javascript or
text/typescript
2020-04-07 10:06:22 -04:00
Ryan Dahl
13db64fbc6
Remove /std/media_types ( #4594 )
2020-04-03 12:11:52 -04:00
Khải
fa7929ad2c
fix(file_server): use media_types for Content-Type header ( #4555 )
2020-04-01 12:51:01 -04:00
Kitson Kelly
bced52505f
Update to Prettier 2 and use ES Private Fields ( #4498 )
2020-03-28 13:03:49 -04:00
Samrith Shankar
798904b0f2
Add require-await lint rule ( #4401 )
2020-03-20 09:38:34 -04:00
Bartek Iwańczuk
1edb20b399
refactor: add no-return-await lint rule ( #4384 )
2020-03-16 10:22:16 +01:00
dubiousjim
6cc40b0865
BREAKING CHANGE FileInfo.len renamed to FileName.size ( #4338 )
2020-03-14 22:57:42 -04:00
dubiousjim
9a63902db5
Rename readDir -> readdir ( #4225 )
2020-03-06 08:34:02 -05:00
Yusuke Sakurai
942e67c00b
refactor(std/http): move io functions to http/io.ts ( #4126 )
2020-02-26 10:48:35 -05:00
Bartek Iwańczuk
e1687c0a46
rename Deno.Err -> Deno.errors ( #4093 )
2020-02-24 15:48:35 -05:00
Bartek Iwańczuk
dd8a109481
refactor: remove unneeded ErrorKinds ( #3936 )
2020-02-21 10:36:13 -05:00
Maximilien Mellen
90125566bb
Enable TS strict mode by default ( #3899 )
...
Fixes #3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-19 15:36:18 -05:00
木杉
92019498f6
fix(file_server): don't crash on "%" pathname ( #3953 )
2020-02-11 15:53:09 -05:00
Yusuke Sakurai
c2986891f6
remove non-null assertion operator from std (part1) ( #3900 )
2020-02-07 02:23:38 -05:00
Bartek Iwańczuk
de5c099b47
feat: deno install in Rust ( #3806 )
...
//std/installer couldn't be removed due to bug, but it's now deprecated.
2020-01-30 18:42:39 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
木杉
7e116dd70d
Support utf8 in file_server ( #3495 )
2019-12-14 16:03:30 +08:00
木杉
d8e60309d2
feat(file_server): add help & switch to flags ( #3489 )
2019-12-14 10:01:32 +08:00
Weijia Wang
df7d8288d9
file_server: get file and fileInfo concurrently ( #3486 )
2019-12-12 15:59:46 +08:00
木杉
7f27f649cc
fix: file_server swallowing permission errors ( #3467 )
2019-12-12 13:05:26 +08:00
AleksandrukTad
31ddfd5a42
fix: decoding uri in file_server ( #3187 )
2019-12-10 20:11:55 +08:00
木杉
cfa4f540ba
better html for file_server ( #3423 )
2019-12-02 16:14:25 -08:00
Kitson Kelly
9837d324a7
Update to TypeScript 3.7 ( #3275 )
...
and update to prettier 1.19
Also, update `assert()` and remove not null assertions where possibly
in `cli`.
Closes #3273
2019-11-13 13:42:34 -05:00
Nayeem Rahman
f51dcc12d7
std: Move fs/path to the top-level ( #3100 )
2019-10-16 14:39:33 -04:00
Ryan Dahl
93f7f00c95
Run deno_std tests in github actions
2019-10-09 17:22:22 -04:00
Ryan Dahl
151ce0266e
Move everything into std subdir
2019-10-09 17:10:09 -04:00