summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2022-07-12fix(lsp): enable auto imports (#15145)Kitson Kelly
Fixes: #15111
2022-07-11fix(coverage): better handling of multi-byte characters (#15159)David Sherret
2022-07-11benchmarks: fix exec_time and latency benchmarks (#15155)Bartek Iwańczuk
2022-07-11perf(cli/proc_state): Get error source lines from memory (#15031)Nayeem Rahman
2022-07-11fix: upgrade deno_ast to 0.17 (#15152)David Sherret
2022-07-11refactor: rename run_basic to run_local (#15068)cuobiezi
2022-07-10refactor: update comment in diff.rs (#15142)Ikko Ashimine
Github -> GitHub
2022-07-09fix(ext/ffi): allow opting out of fast ffi calls (#15131)Divy Srivastava
2022-07-05chore: unpin pin project to fix cargo publish (#15085)David Sherret
2022-07-051.23.3 (#15081)denobot
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-07-05Revert "refactor(snapshots): to their own crate (#14794)" (#15076)Bartek Iwańczuk
This reverts commit fd5a12d7e25dc53238e2bbcffe970e646c1035f3.
2022-07-04Revert "feat: add "unhandledrejection" event support (#12994)" (#15075)Bartek Iwańczuk
This reverts commit f7af0b01a59aaac91473e2f920137004d39a310a.
2022-07-04feat: add "unhandledrejection" event support (#12994)Bartek Iwańczuk
This commit adds support for "unhandledrejection" event. This event will trigger event listeners registered using: "globalThis.addEventListener("unhandledrejection") "globalThis.onunhandledrejection" This is done by registering a default handler using "Deno.core.setPromiseRejectCallback" that allows to handle rejected promises in JavaScript instead of Rust. This commit will make it possible to polyfill "process.on("unhandledRejection")" in the Node compat layer. Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-07-04chore(test): fix `test_collect_specifiers` windows path to specifier code ↵Roj
(#15072)
2022-07-04fix(cli): handle collecting a directory with file:// (#15002)Roj
2022-07-04chore(cli/bench): use `deno bench` for deno_common.js (#15063)Divy Srivastava
2022-07-04fix(dts): stop default export type behavior (#14977)Carter Snook
Ref: #14976
2022-07-04fix: update to TypeScript 4.7.4 (#15022)Rafael Ávila de Espíndola
2022-07-02chore(cli/bench): benchmark for raw HTTP ops (#15043)Divy Srivastava
2022-07-01refactor: extract `deno_graph::create_graph` use to common function (#15009)David Sherret
2022-07-01chore: use Rust 1.62.0 (#15028)Bartek Iwańczuk
2022-07-01chore(cli/bench): Add more HTTP benchmarks (#14995)Divy Srivastava
2022-06-30chore: forward 1.23.2 to main (#15027)David Sherret
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-29fix(vendor): ignore import map in output directory instead of erroring (#14998)David Sherret
2022-06-29refactor: rename `RootConfig` to `CliOptions` (#15007)David Sherret
2022-06-29fix(ext/web): remove `ErrorEventInit`'s error default (#14809)Mark Ladyshau
2022-06-29chore(cli/bench): Add bun HTTP server (#15004)Divy Srivastava
2022-06-29chore(cli): remove unnecessary unsafe in bench (#15000)bokuweb
2022-06-28refactor: add `RootConfig` (#14985)David Sherret
2022-06-28fix(task): remove --no-config as task subcommand argument (#14983)Geert-Jan Zwiers
2022-06-28feat(web): add beforeunload event (#14830)Colin Ihrig
This commit adds the 'beforeunload' event. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-06-28refactor(bench): continuous benchmarking improvements (#14821)Divy Srivastava
2022-06-28feat(ext/ffi): Thread safe callbacks (#14942)Aapo Alasuutari
2022-06-27refactor: create `args` folder (#14982)David Sherret
2022-06-27fix(lsp): restart TS language service when caching dependencies (#14979)Bartek Iwańczuk
2022-06-27fix(dts/ffi): non-exact types break FFI inference (#14968)Carter Snook
2022-06-27fix(docs): --watch arg is stable (#14970)Geert-Jan Zwiers
2022-06-26build: require safety comments on unsafe code (#13870)Luca Casonato
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-06-25fix(modules): Immediately resolve follow-up dyn imports to a dyn imported ↵Andreu Botella
module (#14958) When a dynamically imported module gets resolved, any code that comes after an await import() to that module will continue running. However, if that is the last code in the evaluation of another dynamically imported module, that second module will not resolve until the next iteration of the event loop, even though it does not depend on the event loop at all. When the event loop is being blocked by a long-running operation, such as a long-running timer, or by an async op that might never end, such as with workers or BroadcastChannels, that will result in the second dynamically imported module not being resolved for a while, or ever. This change fixes this by running the dynamic module loading steps in a loop until no more dynamic modules can be resolved.
2022-06-25fix(core): don't panic on non-existent cwd (#14957)Divy Srivastava
Co-authored-by: cjihrig <cjihrig@gmail.com>
2022-06-24refactor(snapshots): to their own crate (#14794)Aaron O'Mullan
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-06-24fix: don't error if Deno.bench() or Deno.test() are used in run subcommand ↵Bartek Iwańczuk
(#14946)
2022-06-23v1.23.1 (#14954)Kayla Washburn
1.23.1 (#14952) Co-authored-by: aslilac <aslilac@users.noreply.github.com> Co-authored-by: Kayla Washburn <mckayla@hey.com> Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: aslilac <aslilac@users.noreply.github.com>
2022-06-23fix(check): ignore TS2306 (#14940)Nayeem Rahman
Fixes a regression where this type checking error was being surfaced in certain scenarios.
2022-06-23fix(fmt): ignore node_modules directory (#14943)Bartek Iwańczuk
2022-06-22fix: upgrade swc via deno_ast 0.16 (#14930)David Sherret
2022-06-22fix(repl): use spaces for tab handler on windows (#14931)sigmaSd
There is a bug in rustyline with tabs on Windows, so we insert spaces for now.
2022-06-21chore(test_util): add new string assertion macros (#14928)David Sherret
2022-06-21chore: fix pty_tab_handler test on windows (#14927)David Sherret
2022-06-21chore(ext/ffi): simplify FFI types (#14920)Aapo Alasuutari
This commit simplifies the TypeScript types used for interacting with Deno FFI. The basis is that types are now first grouped into logical wholes, NativeNumberType, NativeBigIntType etc. These wholes are combined into the NativeType and NativeResultType general types. Additionally, this PR removes the { function: { parameters: [], result: "void" } } type declaration from parameters (and result types. Now functions are merely passed and returned as "function".