Age | Commit message (Collapse) | Author |
|
(#11879)
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit merges the two vectors of specifiers into a single one introducing
the concept of a "TestMode" which is a tri-state enum specifying how a specifier
is to be tested (as documentation, as an executable module or as both).
This is determined during the collection phase and determines how a specifier
will be executed based on how the specifier was collected (directly or not) and
if it has an eligible media_type when fetched.
For example "deno test README.md" is marked as documentation because, while it
is a direct inclusion it is not an executable media type therefore will only
have the fenced code blocks that can be parsed from it tested.
|
|
|
|
|
|
|
|
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
|
|
|
|
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit adds following unstable APIs:
- Deno.flock()
- Deno.flockSync()
- Deno.funlock()
- Deno.funlockSync()
|
|
|
|
|
|
|
|
Co-authored-by: Luca Casonato <hello@lcas.dev>
|
|
Fixes a WPT test.
|
|
|
|
|
|
Co-authored-by: Feng Yu <f3n67u@gmail.com>
|
|
This commit adds tracking of resources that are related
to "HttpConn" so they can be closed automatically
when closing the connection.
|
|
|
|
|
|
Changes the type of the `fail_fast` flag from `Option<usize>` to
`Option<NonZeroUsize>` as an optional value of zero isn't sound.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A ~25% improvement: `~1950ns/call` => `~1500ns/call`
|
|
URL parsing (#11775)
A 20% decrease in url parsing:
- before: `~2450ns/parse`
- after: `~1950ns/parse`
|
|
No user impact, but is simpler and aligns with `opcall()`
|
|
|
|
Fixes #11521
Fixes #11742
|