summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2022-09-03BREAKING(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-03fix(npm): add more context to errors when file doesn't exist (#15749)Bartek Iwańczuk
2022-09-03feat(info): add information about npm modules cache (#15750)Bartek Iwańczuk
2022-09-02refactor: move JsError formatting to deno_runtime (#15345)Christian Dürr
This takes the existing `fmt_error` module from cli and puts it as a public module into `deno_runtime`.
2022-09-02refactor(test): grab runTests() and runBenchmarks() from __bootstrap (#15420)Nayeem Rahman
2022-09-02fix(npm): respect `latest` dist tag for getting current version (#15746)David Sherret
2022-09-02fix(init): suppress info logs when using quiet mode (#15741)Geert-Jan Zwiers
2022-09-02fix(ext/timers): create primordial `eval` (#15110)Garcia
2022-09-02fix(npm): correct exact matching of pre-release versions (#15745)David Sherret
2022-09-02refactor: extract out check code from emit (#15729)David Sherret
Closes #15535
2022-09-02fix(cli/repl): await Promise.any([])... (#15623)Jason
2022-09-02fix(repl): don't terminate on unhandled error events (#15548)Nayeem Rahman
2022-09-02chore: forward v1.25.1 release commit to main (#15735)denobot
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2022-09-01fix(serde_v8): no panic on reading large text file (#15494)Geert-Jan Zwiers
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2022-09-01fix(ext/ffi): Fix pointer types (#15730)Aapo Alasuutari
2022-09-01fix(npm): ignore npm cache directory creation errors (#15728)David Sherret
2022-09-01fix(npm): ignore the unstable error in the lsp (#15727)David Sherret
2022-09-01fix(npm): better node version and version requirement compatibility (#15714)David Sherret
2022-09-01fix(ext/flash): retry write failures (#15591)Divy Srivastava
2022-09-01fix(check): --remote and --no-remote should be mutually exclusive (#14964)Geert-Jan Zwiers
2022-08-31fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697)Bartek Iwańczuk
2022-08-30fix(fmt): add the file path to the panic messages when formatting is ↵David Sherret
unstable (#15693)
2022-08-30fix(npm): prefer importing esm from esm (#15676)David Sherret
2022-08-30fix(npm): skip extracting pax_global_header from tarballs (#15677)Bartek Iwańczuk
2022-08-30fix(docs): add missing categories (#15684)Leo Kettmeir
2022-08-30fix(ext/websocket): fix closing of WebSocketStream with unread messages (#15632)Danny Povolotski
2022-08-29fix(compile): panic when running with a populated dep analysis cache (#15672)David Sherret
Closes #15612
2022-08-29refactor(cli): Remove cli/node dependency on cli/compat (#15654)Bartek Iwańczuk
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-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-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(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-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: 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.