Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-01 | fix(check): --remote and --no-remote should be mutually exclusive (#14964) | Geert-Jan Zwiers | |
2022-08-31 | fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) | Bartek Iwańczuk | |
2022-08-30 | fix(fmt): add the file path to the panic messages when formatting is ↵ | David Sherret | |
unstable (#15693) | |||
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(docs): add missing categories (#15684) | Leo Kettmeir | |
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 | refactor(cli): Remove cli/node dependency on cli/compat (#15654) | Bartek Iwańczuk | |
2022-08-29 | fix(npm): conditional exports with wildcards (#15652) | Bartek Iwańczuk | |
2022-08-29 | fix: config file errors should not print specifier with debug formatting ↵ | David Sherret | |
(#15648) | |||
2022-08-29 | chore: update test_util/std/ submodule (#15657) | Bartek Iwańczuk | |
2022-08-28 | perf: use fast api for op_now (#15643) | Divy Srivastava | |
2022-08-27 | fix(ext/flash): add missing backticks in server docs (#15644) | Geert-Jan Zwiers | |
2022-08-27 | fix(cli): `deno upgrade --canary` always downloaded latest version even if ↵ | cuobiezi | |
it was already latest (#15639) Closes #15570 | |||
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-25 | v1.25.0 | Bartek Iwańczuk | |
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(npm): cjs export analysis should take into consideration exports with ↵ | David Sherret | |
dashes (#15582) | |||
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 | fix: parse scoped npm specifiers with no version (#15564) | David Sherret | |
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-23 | BREAKING(ext/ffi): specialized `buffer` type (#15518) | Divy Srivastava | |
2022-08-23 | docs: add permission tags to JSDocs (#15541) | Kitson Kelly | |
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com> | |||
2022-08-22 | chore: typo (#15536) | Ikko Ashimine | |
2022-08-22 | perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵ | David Sherret | |
memory (#15502) | |||
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 | chore: use Rust 1.63.0 (#15464) | Mathias Lafeldt | |
2022-08-21 | fix(ext/flash): fix listening port (#15519) | Yoshiya Hinosawa | |
2022-08-21 | feat(ops): V8 Fast Calls (#15291) | Divy Srivastava | |
2022-08-21 | fix(core/runtime): always cancel termination in exception handling (#15514) | Nayeem Rahman | |
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-20 | feat: add "deno init" subcommand (#15469) | Leo Kettmeir | |
This adds an init subcommand to that creates a project starter similar to cargo init. ``` $ deno init my_project Project initialized Run these commands to get started: cd my_project deno run main.ts deno run main_test.ts $ deno run main.ts Add 2 + 3 5 $ cat main.ts export function add(a: number, b: number): number { return a + b; } if (import.meta.main) { console.log("Add 2 + 3", add(2, 3)); } $ cat main_test.ts import { assertEquals } from "https://deno.land/std@0.151.0/testing/asserts.ts"; import { add } from "./main.ts"; Deno.test(function addTest() { assertEquals(add(2, 3), 5); }); ``` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-19 | feat(unstable): change Deno.serve() API (#15498) | Bartek Iwańczuk | |
- Merge "Deno.serve()" and "Deno.serveTls()" API - Remove first argument and use "fetch" field options instead - Update type declarations - Add more documentation |