summaryrefslogtreecommitdiff
path: root/std
AgeCommit message (Collapse)Author
2020-02-28[std/ws] provide default close code for ws.close() (#4172)Yusuke Sakurai
2020-02-27reduce unnecessary output on tests (#4148)Yusuke Sakurai
2020-02-26refactor(std/http): move io functions to http/io.ts (#4126)Yusuke Sakurai
2020-02-25upgrade: TypeScript 3.8 (#4100)Kitson Kelly
2020-02-24fix: [http] Consume unread body and trailers before reading next request (#3990)Yusuke Sakurai
- Added `ServerRequest.finalize()`: consuming all unread body stream and trailers. - This is cleanup method for reading next request from same keep-alive connection. - Needed when handler didn't consume all body and trailers even after responding. - refactor: `ServerRequest._bodyStream()`, `ServerRequestBody` are removed. - Now using `bodyReader()` and `chunkedBodyReader()` instead. - fix: Trailers should only be read `transfer-encoding` is `chunked` and `trailer` header is set and its value is valid. - fix: use `Headers.append()` on reading trailers. - fix: delete `trailer` field from headers after reading trailers. - reorg: Several functions related to IO are moved into `http/io.ts`
2020-02-24Remove ansi_term dependency (#4116)João Souto
2020-02-24Revert "Remove ansi_term dependency"Ryan Dahl
Broke colors https://github.com/denoland/deno/issues/4112#issuecomment-590545385 This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d.
2020-02-24fix: createSecKey logic (#4063)Suguru Motegi
2020-02-24rename Deno.Err -> Deno.errors (#4093)Bartek Iwańczuk
2020-02-24doc: Remove old link to deno types output (#4111)Nayeem Rahman
2020-02-24disable std/examples/chat tests for windows (#4109)Bartek Iwańczuk
2020-02-24update build instructions for windows (#4027)Matthew Lennon
2020-02-24Remove ansi_term dependency (#4106)João Souto
2020-02-24Add missing node os.release() implementation (#4065)ecyrbe
2020-02-24fix(std/examples): add tests for examples (#4094)uki00a
2020-02-24fix: chat example's content-security-policy (#4091)Yusuke Sakurai
2020-02-23feat(std/node): add os Symbol.toPrimitive methods (#4073)Ben Noordhuis
Node's os module exports a number of methods that evaluate to themselves when coerced to a primitive. I.e., `"" + os.arch` and `os.arch()` evaluate to the same string, and now Deno's shims do too.
2020-02-23fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083)Yusuke Sakurai
2020-02-22Added browser chat example (#4022)Yusuke Sakurai
2020-02-22feat(std/node): add os.loadavg() (#4075)ecyrbe
2020-02-22Fix example (#4076)jigsaw
2020-02-21feat: Deno.fsEvents() (#3452)Bartek Iwańczuk
2020-02-21feat(std/node) : add os.platform (#4064)ecyrbe
2020-02-21refactor: remove unneeded ErrorKinds (#3936)Bartek Iwańczuk
2020-02-20/std/ws: Fix args index for WS examples (#4046)Clemens Tolboom
2020-02-19Enable TS strict mode by default (#3899)Maximilien Mellen
Fixes #3324 Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-02-19Support loading additional TS lib files (#3863)Kitson Kelly
Fixes #3726 This PR provides support for referencing other lib files (like lib.dom.d.ts that are not used by default in Deno.
2020-02-17feat(std/io): Export readDelim(), readStringDelim() and readLines() from ↵Nayeem Rahman
bufio.ts (#4019) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-02-17feat: Asynchronous event iteration node polyfill (#4016)Chris Knight
2020-02-17Update ws client example (#4012)Nikolai Vavilov
2020-02-13fix: appended CRLF to end of trailer headers (#3989)Yusuke Sakurai
2020-02-11feat(node): add EventEmitter.errorMonitor (#3960)Chris Knight
2020-02-11fix(file_server): don't crash on "%" pathname (#3953)木杉
2020-02-11update references to testing/mod.ts in manual (#3973)Bartek Iwańczuk
2020-02-11refactor: rewrite tests in std/ to use Deno.test (#3930)Bartek Iwańczuk
2020-02-11fix(std/node): support named import for EventEmitter (#3959)uki00a
2020-02-10feat: Event emitter node polyfill (#3944)Chris Knight
2020-02-10feat: Support HTTP trailer headers for response (#3938)Yusuke Sakurai
2020-02-10Add readlink, readlinkSync for std/node/fs.ts (#3926)Benny Shi
2020-02-09Bump required VS version (#3940)Nikolai Vavilov
deno builds successfully with VS2019, so no need to require VS2017.
2020-02-08reenable server tests (#3928)Bartek Iwańczuk
2020-02-08remove non-null assertion operator from std (part2) (#3927)Yusuke Sakurai
2020-02-07remove non-null assertion operator from std (part1) (#3900)Yusuke Sakurai
2020-02-07feat: add std/signal/mod.ts (#3913)Yoshiya Hinosawa
2020-02-06fix(std/path/globrex.ts): Use non-capturing groups in globrex() (#3898)Nayeem Rahman
2020-02-06fix: make WebSocket.send() exclusive (#3885)Yusuke Sakurai
2020-02-04std/http/server::serve aligned to std/http/server::serveTLS (#3881)Kitson Kelly
2020-02-03fix: Deno.remove() to properly remove dangling symlinks (#3860)Rafael Vargas
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS.
2020-02-02std/encoding: add base32 support (#3855)Kevin (Kun) "Kassimo" Qian
2020-02-02Fixed month reference in documented output of parseDate and parseDateTime ↵Chris Knight
function calls (#3859)