Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-07 | feat: add --no-npm flag to disable npm: imports (#15673) | Bartek Iwańczuk | |
This commit adds "--no-npm" flag, it's similar to "--no-remote" flag. This flag makes Deno error out if "npm:" specifier is encountered. | |||
2022-09-07 | fix(core): make errors more resistant to tampering (#15789) | Colin Ihrig | |
This commit makes error objects more resistant to prototype tampering. This bug was found when updating the deno_std Node compatibility layer to Node 18. The Node test 'parallel/test-assert-fail.js' was breaking std's assertion library. Refs: https://github.com/denoland/deno_std/pull/2585 | |||
2022-09-07 | fix(ext/flash): use utf8 length as Content-Length (#15793) | Divy Srivastava | |
2022-09-07 | fix(test): unflake wasm_unreachable test (#15794) | Divy Srivastava | |
2022-09-07 | test: fix bad resource fixture (#15792) | Nayeem Rahman | |
2022-09-06 | perf(runtime): short-circuit `queue_async_op` for Poll::Ready (#15773) | Divy Srivastava | |
2022-09-06 | fix(watch): ignore unload errors on drop (#15782) | Nayeem Rahman | |
2022-09-04 | fix(cli): allow using file resource synchronously while being used async ↵ | David Sherret | |
(#15747) | |||
2022-09-03 | BREAKING(unstable): remove --compat mode (#15678) | Bartek Iwańczuk | |
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon. | |||
2022-09-03 | fix(npm): add more context to errors when file doesn't exist (#15749) | Bartek Iwańczuk | |
2022-09-03 | feat(info): add information about npm modules cache (#15750) | Bartek Iwańczuk | |
2022-09-02 | refactor(test): grab runTests() and runBenchmarks() from __bootstrap (#15420) | Nayeem Rahman | |
2022-09-02 | fix(init): suppress info logs when using quiet mode (#15741) | Geert-Jan Zwiers | |
2022-09-02 | fix(ext/timers): create primordial `eval` (#15110) | Garcia | |
2022-09-02 | fix(npm): correct exact matching of pre-release versions (#15745) | David Sherret | |
2022-09-02 | fix(cli/repl): await Promise.any([])... (#15623) | Jason | |
2022-09-02 | fix(repl): don't terminate on unhandled error events (#15548) | Nayeem Rahman | |
2022-09-01 | fix(serde_v8): no panic on reading large text file (#15494) | Geert-Jan Zwiers | |
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2022-09-01 | fix(npm): better node version and version requirement compatibility (#15714) | David Sherret | |
2022-09-01 | fix(ext/flash): retry write failures (#15591) | Divy Srivastava | |
2022-08-31 | fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) | Bartek Iwańczuk | |
2022-08-30 | fix(npm): prefer importing esm from esm (#15676) | David Sherret | |
2022-08-30 | fix(npm): skip extracting pax_global_header from tarballs (#15677) | Bartek Iwańczuk | |
2022-08-30 | fix(ext/websocket): fix closing of WebSocketStream with unread messages (#15632) | Danny Povolotski | |
2022-08-29 | fix(compile): panic when running with a populated dep analysis cache (#15672) | David Sherret | |
Closes #15612 | |||
2022-08-29 | fix(npm): conditional exports with wildcards (#15652) | Bartek Iwańczuk | |
2022-08-29 | chore: update test_util/std/ submodule (#15657) | Bartek Iwańczuk | |
2022-08-26 | fix(npm): handle cjs re-exports with the same name as an export (#15626) | David Sherret | |
2022-08-26 | fix(ext/node): fix global in node env (#15622) | Yoshiya Hinosawa | |
2022-08-26 | chore(npm): add test for esm npm binary package (#15609) | David Sherret | |
2022-08-26 | fix(ext/flash): panic on AddrInUse (#15607) | Bartek Iwańczuk | |
2022-08-25 | fix: 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-24 | fix(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-24 | fix(npm): always require --unstable flag even for esm (#15583) | David Sherret | |
2022-08-24 | fix: 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-24 | feat: support subpaths in npm package references (#15578) | David Sherret | |
2022-08-24 | fix(unstable): Deno.serve() can parse hostnames (#15579) | Bartek Iwańczuk | |
2022-08-24 | fix(unstable): various resolution bugs for npm: specifiers (#15546) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-24 | feat(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-23 | feat(npm): support packages with multiple command names (#15565) | David Sherret | |
2022-08-24 | feat: 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-23 | feat: binary npm commands (#15542) | David Sherret | |
2022-08-23 | fix(cache): do not attempt to emit non-emitable files (#15562) | David Sherret | |
2022-08-23 | fix(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-22 | feat(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-22 | fix(ext/flash): fix default onListen callback (#15533) | Yoshiya Hinosawa | |
2022-08-21 | fix(unstable): better error for invalid hostname in Deno.serve() (#15529) | Bartek Iwańczuk | |
2022-08-21 | feat: `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-21 | fix(ext/flash): fix listening port (#15519) | Yoshiya Hinosawa | |
2022-08-21 | fix(core/runtime): always cancel termination in exception handling (#15514) | Nayeem Rahman | |