summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-08Remove __io namespace (#4669)Ryan Dahl
2020-04-07Remove __url namespace (#4668)Ryan Dahl
2020-04-07Remove __workers namespace (#4665)Ryan Dahl
2020-04-07feat(doc): handle basic reexports (#4625)Bartek Iwańczuk
2020-04-07Remove __textEncoding and __performanceUtil namespaces (#4663)Ryan Dahl
2020-04-07BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)Akshat Agarwal
2020-04-07Remove __timers namespace (#4662)Ryan Dahl
2020-04-07file_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-07feat(std/http/server): Respond with 400 on request parse failure (#4614)Nayeem Rahman
2020-04-07feat: add --importmap flag to deno bundle (#4651)Bartek Iwańczuk
2020-04-06Add exists and existsSync to std/node (#4655)Ali Hasani
2020-04-06Remove media_types from std/README.md (#4650)Ali Hasani
2020-04-06fix: fetch reference types for JS files (#4652)Giorgi Rostomashvili
Fixes #4000 and fixes #4476. Now always tries to fetch reference types for JS files. Does not throw if it fails, since Typescript compiler will complain if the file is not there(it will try to fetch it again first) and people who just use JS should not be bothered by this error. Not sure about my test, it passes and catches the bug but maybe there is a better way to express it.
2020-04-06remove std/testing/runner.ts (#4649)Bartek Iwańczuk
2020-04-06fix: test_create_cache_if_dir_not_exit (#4636)Yusuke Sakurai
This test doesn't remove created directory after test. It will fail on next run.
2020-04-06Drop headers with trailing whitespace in header name (#4642)Andrew Stucki
This relates directly to [an issue](https://github.com/denoland/deno_std/issues/620) that I initially raised in `deno_std` awhile back, and was reminded about it today when the `oak` project popped up on my github recommended repos. As of now Deno's http servers are vulnerable to the same underlying issue of go CVE-2019-16276 due to the fact that it's based off of ported go code from their old standard library. [Here's the commit that fixed the CVE.](https://github.com/golang/go/commit/6e6f4aaf70c8b1cc81e65a26332aa9409de03ad8) Long story short, some off the shelf proxies and caching servers allow for passing unaltered malformed headers to backends that they're fronting. When they pass invalid headers that they don't understand this can cause issues with HTTP request smuggling. I believe that to this date, this is the default behavior of AWS ALBs--meaning any server that strips whitespace from the tail end of header field names and then interprets the header, when placed behind an ALB, is susceptible to request smuggling. The current behavior is actually specifically called out in [RFC 7230](https://tools.ietf.org/html/rfc7230#section-3.2.4) as something that MUST result in a rejected message, but the change corresponding to this PR, is more lenient and what both go and nginx currently do, and is better than the current behavior.
2020-04-06feat(std/flags): pass key and value to unknown (#4637)Andreas
2020-04-06docs: add README to cli/js/web/ (#4578)Ondřej Žára
2020-04-05feat: Add File support in FormData (#4632)crowlKats
2020-04-04Enable inspector tests (#4628)Andres Villegas
2020-04-04fix(std/testing): formatting bigint (#4626)Khải
2020-04-04doc: Improve the style guide (#4627)Nayeem Rahman
2020-04-03on init create disk_cache directory if it doesn't already exists (#4617)Lorran Rosa
2020-04-03clippy (#4618)Kitson Kelly
2020-04-03fix(#4546) Added Math.trunc to toSecondsFromEpoch to conform the result to ↵Parker Gabel
u64 (#4575)
2020-04-03feat: Expose ReadableStream and make Blob more standardized (#4581)Yusuke Sakurai
Co-authored-by: crowlkats <crowlkats@gmail.com>
2020-04-03v0.39.0Ryan Dahl
2020-04-03fix erroneous assert (#4608)dubiousjim
2020-04-03Properly handle invalid utf8 in paths (#4609)dubiousjim
2020-04-03adjust docs for Deno.seek (#4610)dubiousjim
2020-04-03Make inspector more robust, add --inspect-brk support (#4552)Bert Belder
2020-04-03fix: async ops sanitizer false positives in timers (#4602)Bartek Iwańczuk
2020-04-03upgrade dprint to 0.9.10 (#4601)Bartek Iwańczuk
2020-04-03Remove /std/media_types (#4594)Ryan Dahl
2020-04-03make Worker.poll private (#4603)Bartek Iwańczuk
2020-04-03Improve tests and docs for Deno.rename (#4597)dubiousjim
2020-04-03remove `Send` trait requirement from the `Resource` trait (#4585)Andy Finch
2020-04-03"deno doc" parses the "implements" clause of a class def (#4604)Ondřej Žára
2020-04-03`deno doc` parses super-class names (#4595)Ondřej Žára
Co-Authored-By: Luca Casonato <luca.casonato@antipy.com>
2020-04-02Revert "Respond with 400 on request parse failure" (#4593)Ryan Dahl
readRequest should not write a response. This reverts commit 017a611131a35ccf5dbfce6a2a665fa569e32ec1.
2020-04-02Refactor and expand mkdir tests (#4579)dubiousjim
2020-04-02Publish deno types on release (#4583)Luca Casonato
2020-04-02feat: deno test --filter (#4570)Ryan Dahl
2020-04-02upgrade: rusty_v8 v0.3.10 (#4576)Ryan Dahl
2020-04-02Added 'declare' handling to 'deno doc' (#4573)Luca Casonato
2020-04-01Support dynamic import in bundles. (#4561)Kitson Kelly
2020-04-01Expose global state publicly (#4572)Marcus Weiner
2020-04-01Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ ↵Ryan Dahl
(#4565) also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
2020-04-01std(media_types): change .ts content type to application/typescript (#4563)木杉
2020-04-01Remove std/strings/pad.ts because String.prototype.padStart exists (#4564)Ryan Dahl