- 26 2月, 2020 2 次提交
- 25 2月, 2020 14 次提交
-
-
由 Nayeem Rahman 提交于
-
由 Ryan Dahl 提交于
-
由 Kitson Kelly 提交于
Fixes #3852 Fixes #4117
-
由 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`
-
由 João Souto 提交于
-
由 João Souto 提交于
ref #2988
-
由 Ryan Dahl 提交于
Broke colors https://github.com/denoland/deno/issues/4112#issuecomment-590545385 This reverts commit c2507787.
-
由 Suguru Motegi 提交于
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Nayeem Rahman 提交于
-
由 Kitson Kelly 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Matthew Lennon 提交于
-
- 24 2月, 2020 8 次提交
-
-
由 João Souto 提交于
-
由 Yoshiya Hinosawa 提交于
This PR introduces the mutex guard for the test cases which depends on the permission prompt mocking utility. permission_request test cases depend on the mocked (dummy) value of the permission_prompt result. The value is stored at static STUB_PROMPT_VALUE: AtomicBool and these test cases share this value. So we should lock at the start of these test cases. Before this change cargo test permission failed 6 times out of 20. After this change, 0 times out of 20 (on my mac).
-
由 ecyrbe 提交于
-
由 uki00a 提交于
-
由 Yusuke Sakurai 提交于
-
由 Bartek Iwańczuk 提交于
To better reflect changes in error types in JS from #3662 this PR changes default error type used in ops from "ErrBox" to "OpError". "OpError" is a type that can be sent over to JSON; it has all information needed to construct error in JavaScript. That made "GetErrorKind" trait useless and so it was removed altogether. To provide compatibility with previous use of "ErrBox" an implementation of "From<ErrBox> for OpError" was added, however, it is an escape hatch and ops implementors should strive to use "OpError" directly.
-
由 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.
-
由 Yusuke Sakurai 提交于
-
- 23 2月, 2020 6 次提交
-
-
-
-
由 EnokMan 提交于
-
由 Yusuke Sakurai 提交于
-
由 ecyrbe 提交于
-
由 jigsaw 提交于
-
- 22 2月, 2020 3 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 ecyrbe 提交于
-
由 hazæ41 提交于
-
- 21 2月, 2020 3 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
-
由 木杉 提交于
-
- 20 2月, 2020 4 次提交
-
-
由 Ryan Dahl 提交于
-
由 Clemens Tolboom 提交于
-
由 Kitson Kelly 提交于
This PR fixes an issue where we recursively analysed imports on plain JS files in the compiler irrespective of "checkJs" being true. This caused problems where when analysing the imports of those files, we would mistake some import like structures (AMD/CommonJS) as dependencies and try to resolve the "modules" even though the compiler would not actually look at those files.
-
由 Kitson Kelly 提交于
Fixes #4031 When a bundle contains a single module, we were incorrectly determining the module name, resulting in a non-functional bundle. This PR corrects that determination.
-