summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2022-08-12fix(coverage): ensure coverage is only collected in certain situations (#15467)David Sherret
2022-08-12docs(cli/dts): fix typo (#15457)Roj
2022-08-11refactor(cli): consolidate most MainWorker related code to the same place ↵David Sherret
(#15459)
2022-08-11chore: forward v1.24.3 release commit to main (#15462)denobot
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-08-11perf(ops): Monomorphic sync op calls (#15337)Aapo Alasuutari
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader.
2022-08-10refactor(runtime): split up `MainWorker` and `WebWorker`'s `preload_module` ↵David Sherret
method into two separate methods (#15451)
2022-08-11fix(cli): allow configurations files to also be json modules (#15444)Nayeem Rahman
Closes #15440
2022-08-10feat: add initial internal npm client and dependency resolver (#15446)David Sherret
2022-08-10fix(permissions): ignore empty values (#15447)Leo Kettmeir
2022-08-10fix: allow setting `globalThis.location` when no `--location` is provided ↵Kayla Washburn
(#15448)
2022-08-10feat(repl): add color to functions for syntax highlighting (#15434)sigmaSd
2022-08-10fix(task): subcommand parser skips global args (#15297)Cre3per
2022-08-09chore: temporarily disable `op_require_read_file` (#15433)David Sherret
2022-08-10fix: update deno_graph to fix importing config as JSON module (#15388)Kitson Kelly
Ref: denoland/deno_graph#166
2022-08-09feat: add ext/node for require support (#15362)Bartek Iwańczuk
This commit adds "ext/node" extension that implementes CommonJS module system. In the future this extension might be extended to actually contain implementation of Node compatibility layer in favor of "deno_std/node". Currently this functionality is not publicly exposed, it is available via "Deno[Deno.internal].require" namespace and is meant to be used by other functionality to be landed soon. This is a minimal first pass, things that still don't work: support for dynamic imports in CJS conditional exports
2022-08-05fix: various formatting fixes (#15412)David Sherret
2022-08-05feat(ext/ffi): Add static method variants to Deno.UnsafePointerView (#15146)Aapo Alasuutari
2022-08-05chore: forward v1.24.2 release commit to main (#15410)denobot
2022-08-04fix(test): output parallel test results independently (#15399)Nayeem Rahman
2022-08-04fix(vendor): existing import map with bare specifier in remote (#15390)David Sherret
2022-08-04fix: Update `Object.prototype.__proto__` related comments (#15394)Yongwook Choi
2022-08-03fix(vendor): error on dynamic imports that fail to load instead of panicking ↵David Sherret
(#15391)
2022-08-03chore(compat): update list of supported modules (#15397)Bartek Iwańczuk
2022-08-02fix(test): race condition for cancelled tests (#15233)Nayeem Rahman
2022-08-02fix(lsp): use correct commit chars for completions (#15366)Kitson Kelly
Fixes: #15252
2022-08-02fix(lsp): remove excessive line breaks in status page (#15364)Outvi V
Fixes #15359
2022-07-30refactor(emit/cache): move cli version into emit hash (#15348)David Sherret
2022-07-30refactor: reuse `FastInsecureHasher` in `get_check_hash` (#15354)David Sherret
2022-07-30fix(core): BorrowMutError in nested error (#15352)Bartek Iwańczuk
2022-07-30docs: turn bare URLs into clickable links (#15347)Mathias Lafeldt
2022-07-29fix(compat): use mjs extension for stream/promises (#15341)David Sherret
2022-07-29Forward 1.24.1 to main (#15333) (#15336)Colin Ihrig
1.24.1 (#15333) Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-07-26chore: update jsonc_parser to 0.20 (#15316)David Sherret
2022-07-26chore(ops): Remove unused arguments from ops (#15315)Aapo Alasuutari
2022-07-25fix(lsp): remove CompletionInfo.flags (#15288)Kitson Kelly
Fixes: #15287
2022-07-24feat(ext/ffi): Safe number pointers (#15173)Aapo Alasuutari
2022-07-23feat(ext/crypto): deriveBits P-384 (#15138)diachedelic
This commit adds P-384 curve support for crypto.subtle.deriveBits. Co-authored-by: James Diacono <james@diacono.com.au>
2022-07-23fix: unhandledrejection handling for sync throw in top level (#15279)Bartek Iwańczuk
Fixes an edge in "unhandledrejection" event that prevent synchronous errors being surfaced when throw from a top-level scope.
2022-07-22fix: Child.unref() unrefs stdio streams properly (#15275)Bartek Iwańczuk
2022-07-22Revert "feat(ops): V8 Fast Calls (#15122)" (#15276)Divy Srivastava
This reverts commit 03dc3b8972f460e40d0b75fc3207cae9fe4f60da.
2022-07-22feat(ops): V8 Fast Calls (#15122)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-21fix: proper typings for unhandledrejection event (#15271)Bartek Iwańczuk
2022-07-21fix(cli): unset jsxFragmentFactory & jsxFactory options (#15264)Satya Rohith
2022-07-211.24.0 (#15262)denobot
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-07-20feat(test): add `--parallel` flag, soft deprecate `--jobs` (#15259)David Sherret
Co-authored-by: mrkldshv <markladyshev@gmail.com>
2022-07-20fix(coverage): do not verify emit source hash for coverage (#15260)David Sherret
2022-07-20Reland "feat: add "unhandledrejection" event support" (#15211)Bartek Iwańczuk
2022-07-20chore(cli): Ignore "experimentalDecorators" and "moduleDetection" options ↵Nayeem Rahman
(#15202)
2022-07-20chore: use import.meta.resolve() in tests (#15256)Bartek Iwańczuk
2022-07-20fix(task): resolve deno configuration file first from specified `--cwd` arg ↵David Sherret
(#15257)