1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
Commit graph

144 commits

Author SHA1 Message Date
tokiedokie
c4ed3fb7e7
chore: add copyright (#7593) 2020-09-21 08:26:41 -04:00
Bartek Iwańczuk
79e5b57663
chore: reenable disabled test in std/ (#7578) 2020-09-19 14:07:54 +02:00
Bartek Iwańczuk
7845740637
refactor: deno_fetch op crate (#7524) 2020-09-18 09:20:55 -04:00
Ryan Dahl
46bf660e36
refactor: make fetch use op_fetch_read instead of op_read (#7529) 2020-09-17 16:11:55 +02:00
Casper Beyer
bee36a4de8
test(std/http): make tests runnable from any directory (#7441)
This makes std/http tests runnable from any directory by spawning test
processes in the module directory resolved from import.meta.url and
resolving test data relative to the same module directory.
2020-09-14 12:58:43 +02:00
Casper Beyer
644190eed8
test(std): ensure mod.ts modules have a test coverage (#7264) 2020-08-31 22:26:55 -04:00
木杉
988790834e
feat(std/http): add --no-dir-listing flag to file_server (#6808) 2020-08-12 11:38:25 -04:00
Alberto Ricart
91ff91093d
feat(std): added TLS serve abilities to file_server (#6962) 2020-08-12 12:55:38 +02:00
Trivikram Kamat
c8fc679329
test(std): remove unstable from multiple tests (#6882) 2020-07-26 15:52:08 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
Nayeem Rahman
63edeb1c36
fix(cli/js/web/url): Implement IPv4 hostname parsing (#6707) 2020-07-13 00:56:45 -04:00
KrisChambers
d01eb6d9c5
Fix for issue #6685: --allow-net=:8080 broken (#6698) 2020-07-10 22:37:20 -04:00
Evan Bertrand
e92cf5b9e8
fix(std/http): properly return port 80 in _parseAddrFromStr (#6635) 2020-07-09 03:37:50 -04:00
Kitson Kelly
7858ebd493
Update std/http/cookie types to not require full ServerRequest object (#6577) 2020-06-30 09:08:40 -04:00
Oron Sharabi
53f8d96a1f
fix(std/http): Support ipv6 parsing (#5263) 2020-06-29 10:39:17 -04: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
Stanislav
7ea3071db5
docs: replace delCookie with deleteCookie (#6467) 2020-06-25 07:12:09 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace (#6268) 2020-06-12 15:23:38 -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
Nayeem Rahman
b3e189ee4f
fix(cli/js/process): Strengthen socket types based on pipes (#4836) 2020-06-09 13:18:18 +02:00
Marcos Casagrande
50a70f4ece
fix(http/server): flaky test on Windows (#6188) 2020-06-09 00:10:29 +02:00
Marcos Casagrande
2c990414bf
fix(std/http): Prevent crash on UnexpectedEof and InvalidData (#6155) 2020-06-08 17:58:52 +02: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
Casper Beyer
ed5aedc6b4
Rename abbreviated assertions in std/testing (#6118) 2020-06-05 23:43:00 -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
simwipado
40419c664d
fix(std/http): file server not closing files (#5952) 2020-06-01 18:45:42 -04:00
Yasser A.Idrissi
12d741c2fe
feat(std/http) support code 103 Early Hints (#6021) 2020-06-01 11:10:17 -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
Yusuke Sakurai
b97459b5ae
fix: readTrailer didn't evaluate header names by case-insensitive (#4902) 2020-05-29 14:40:54 +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
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
moyinzi
8d8a2f573f
fix(std/http): file_server's target directory (#5695) 2020-05-21 13:55:18 -04: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
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
Ryan Dahl
73d8fa74c6
BREAKING: There is no public Rust API for the CLI (#5226) 2020-05-11 17:33:36 -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
zjopy
761b7efb3b
fix(docs): add missing "deno run" (#5126) 2020-05-07 13:48:48 +02:00
Ryan Dahl
6c02b061ce
stabilize Deno.cwd and require --allow-read (#5068) 2020-05-04 14:23:06 -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
Luca Casonato
80e2211141
Unstable methods should not appear in runtime or d.ts (#4957)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-04-30 11:23:40 -04:00
Ryan Dahl
bc792c0267
make camel case readDir, readLink, realPath (#4995) 2020-04-29 16:39:37 -04:00
Bartek Iwańczuk
d308e8d0c0
BREAKING: remove custom implementation of Deno.Buffer.toString() (#4992)
Keep in mind Buffer.toString() still exists, but returns [object Object]. 

Reason for removal of Buffer.toString() was that it implicitly used 
TextDecoder with fixed "utf-8" encoding and no way to customize 
the encoding.
2020-04-29 22:38:10 +02:00