summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-29fix(npm): conditional exports with wildcards (#15652)Bartek Iwańczuk
2022-08-29fix: config file errors should not print specifier with debug formatting ↵David Sherret
(#15648)
2022-08-29chore: update test_util/std/ submodule (#15657)Bartek Iwańczuk
2022-08-29chore(ext/flash): typo in `lib.rs` (#15662)pk
'Syncrhonous' -> 'Synchronous'
2022-08-28perf: use fast api for op_now (#15643)Divy Srivastava
2022-08-27fix(ext/flash): add missing backticks in server docs (#15644)Geert-Jan Zwiers
2022-08-27fix(cli): `deno upgrade --canary` always downloaded latest version even if ↵cuobiezi
it was already latest (#15639) Closes #15570
2022-08-27perf(runtime): optimize allocations in read/write checks (#15631)Divy Srivastava
2022-08-27chore(ext/webstorage): upgrade rusqlite to 0.28.0 (#15638)Satya Rohith
2022-08-27serde_v8: fix pointer size assumptions (#15613)Will Glozer
2022-08-26fix(npm): handle cjs re-exports with the same name as an export (#15626)David Sherret
2022-08-26fix(ext/node): fix global in node env (#15622)Yoshiya Hinosawa
2022-08-26chore(npm): add test for esm npm binary package (#15609)David Sherret
2022-08-26fix: typo in deno_ops README (#15606)Gabriele Mastrapasqua
2022-08-26fix(ext/flash): panic on AddrInUse (#15607)Bartek Iwańczuk
2022-08-25fix: avoid global declaration collisions in cjs (#15608)David Sherret
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though.
2022-08-25chore: fix publish for circular dependencies (#15598)David Sherret
2022-08-25fix(ext/node): add missing primordial (#15595)Bartek Iwańczuk
2022-08-25v1.25.0Bartek Iwańczuk
2022-08-24fix(unstable): finish HTTP response for 205 and 304 responses (#15584)Bartek Iwańczuk
This commit fixes "Deno.serve()" API by making sure that 205 and 304 responses end with "\r\n\r\n".
2022-08-24fix(npm): always require --unstable flag even for esm (#15583)David Sherret
2022-08-24fix(npm): cjs export analysis should take into consideration exports with ↵David Sherret
dashes (#15582)
2022-08-24fix: resolve `jsxImportSource` relative to module (#15561)Luca Casonato
Previously `jsxImportSource` was resolved relative to the config file during graph building, and relative to the emitted module during runtime. This is now fixed so that the JSX import source is resolved relative to the module both during graph building and at runtime.
2022-08-24feat(unstable): add more permission checks for ext/node/ (#15581)Bartek Iwańczuk
2022-08-24feat: support subpaths in npm package references (#15578)David Sherret
2022-08-24fix(unstable): Deno.serve() can parse hostnames (#15579)Bartek Iwańczuk
2022-08-24fix(unstable): various resolution bugs for npm: specifiers (#15546)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-08-24feat(ext/flash): split upgradeHttp into two APIs (#15557)Luca Casonato
This commit splits `Deno.upgradeHttp` into two different APIs, because the same API is currently overloaded with two different functions. Flash requests upgrade immediately, with no need to return a `Response` object. Instead you have to manually write the response to the socket. Hyper requests only upgrade once a `Response` object has been sent. These two behaviours are now split into `Deno.upgradeHttp` and `Deno.upgradeHttpRaw`. The latter is flash only. The former only supports hyper requests at the moment, but can be updated to support flash in the future. Additionally this removes `void | Promise<void>` as valid return types for the handler function. If one wants to use `Deno.upgradeHttpRaw`, they will have to type cast the handler signature - the signature is meant for the 99.99%, and should not be complicated for the 0.01% that use `Deno.upgradeHttpRaw()`.
2022-08-23feat(npm): support packages with multiple command names (#15565)David Sherret
2022-08-24feat: update `Deno.serve` function signature (#15563)Luca Casonato
This commit changes the `Deno.serve` function signature to be more versatile and easier to use. It is now a drop in replacement for std/http's `serve`. The input validation has also been reworked.
2022-08-23fix: parse scoped npm specifiers with no version (#15564)David Sherret
2022-08-23feat: binary npm commands (#15542)David Sherret
2022-08-23fix(cache): do not attempt to emit non-emitable files (#15562)David Sherret
2022-08-23chore: upgrade rusty_v8 to v0.49.0 (#15547)Bartek Iwańczuk
2022-08-23fix(ext/fetch): ignore user content-length header (#15555)Luca Casonato
Previously if a user specified a content-length header for an POST request without a body, the request would contain two `content-length` headers. One added by us, and one added by the user. This commit ignores all content-length headers coming from the user, because we need to have the sole authority on the content-length because we transmit the body.
2022-08-23refactor(core/runtime): clean up extra type cast (#15539)Geert-Jan Zwiers
2022-08-23BREAKING(ext/ffi): specialized `buffer` type (#15518)Divy Srivastava
2022-08-23docs: add permission tags to JSDocs (#15541)Kitson Kelly
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
2022-08-22chore: typo (#15536)Ikko Ashimine
2022-08-22perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵David Sherret
memory (#15502)
2022-08-22feat(unstable): Respect --cached-only flags for npm: specifiers (#15512)Bartek Iwańczuk
This commit changes "npm:" specifier handling to respect "--cached-only" flags and adds "Download" messages for npm registry api calls. Co-authored-by: David Sherret <dsherret@gmail.com>
2022-08-22fix(ext/flash): fix default onListen callback (#15533)Yoshiya Hinosawa
2022-08-21fix(unstable): better error for invalid hostname in Deno.serve() (#15529)Bartek Iwańczuk
2022-08-21fix: Free up JsRuntime state global handles before snapshot (#15491)Giovanny Gutiérrez
2022-08-21feat: `queueMicrotask()` error handling (#15522)Nayeem Rahman
Adds error event dispatching for queueMicrotask(). Consequently unhandled errors are now reported with Deno.core.terminate(), which is immune to the existing quirk with plainly thrown errors (#14158).
2022-08-21chore: use Rust 1.63.0 (#15464)Mathias Lafeldt
2022-08-21fix(ext/flash): fix listening port (#15519)Yoshiya Hinosawa
2022-08-21feat(ops): V8 Fast Calls (#15291)Divy Srivastava
2022-08-21fix(core/runtime): always cancel termination in exception handling (#15514)Nayeem Rahman
2022-08-21docs: Fix typo (#15507)akmhmgc