summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2021-05-11docs: remove stale `Deno.compile` example (#10580)Casper Beyer
2021-05-11docs(cli/dts): fix `Deno.permissions.query` example (#10572)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.test permission examples (#10571)Casper Beyer
2021-05-11feat(lsp): add internal debugging logging (#10438)Kitson Kelly
Ref: #10368
2021-05-11docs(cli/dts): fix Deno.watchFs example (#10570)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.inspect examples (#10569)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.seek and Deno.seekSync examples (#10568)Casper Beyer
2021-05-11docs(cli/dts): fix Deno.run example (#10567)Casper Beyer
2021-05-11fix(tls): flush send buffer in the background after closing TLS stream (#10146)Bert Belder
In #9118, TLS streams were split into a "read half" and a "write half" using tokio::io::split() to allow concurrent Conn#read() and Conn#write() calls without one blocking the other. However, this introduced a bug: outgoing data gets discarded when the TLS stream is gracefully closed, because the read half is closed too early, before all TLS control data has been received. Fixes: #9692 Fixes: #10049 Fixes: #10296 Fixes: denoland/deno_std#750
2021-05-11feat(test): add support for type checking documentation (#10521)Casper Beyer
This commit adds support for type checking codeblocks in the JS doc comments.
2021-05-10chore: upgrade crates (#10559)Bartek Iwańczuk
2021-05-10fix(cli): typings for `Deno.os.arch` (#10541)Elias Sjögreen
2021-05-10refactor(cli): replace loading file for --config flag with generic structure ↵Bartek Iwańczuk
(#10481) Currently file passed to --config file is parsed using TsConfig structure that does multiple things when loading the file. Instead of relying on that structure I've introduced ConfigFile structure that can be updated to sniff out more fields from the config file in the future.
2021-05-10Switch grant/deny prompt to yes/no (#10547)Ryan Dahl
2021-05-10feat: add WebStorage API (#7819)crowlKats
This commit introduces localStorage and sessionStorage.
2021-05-10test: run deno test --watch test only on unix (#10550)Bartek Iwańczuk
2021-05-10feat: add deno test --watch (#9160)Liam Murphy
This commit implements file watching for deno test. When a file is changed, only the test modules which use it as a dependency are rerun. This is accomplished by reworking the file watching infrastructure to pass the paths which have changed to the resolver, and then constructing a module graph for each test module to check if it contains any changed files.
2021-05-10feat: support workspace folders configuration (#10488)Kitson Kelly
Ref #8643
2021-05-10fix(cli/installer): allow remote import maps (#10499)Satya Rohith
2021-05-08fix: TextEncoder#encodeInto spec compliance + perf gains (#10129)Thiago Padilha
2021-05-08cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530)Aaron O'Mullan
2021-05-07refactor(lsp): publish diagnostics independently (#10525)Kitson Kelly
Resolves #10518
2021-05-06refactor(ops): replace `ZeroCopyBuf` arg by 2nd generic deserializable arg ↵Aaron O'Mullan
(#10448)
2021-05-06chore: update wgpu and realign to spec (#9760)Luca Casonato
2021-05-06docs: tag permission examples as ts (#10506)Casper Beyer
2021-05-06docs: env.get will return `undefined` if not exist (#10514)迷渡
2021-05-05test(compile): show command output to testing log for debugging purpose (#10503)Yoshiya Hinosawa
2021-05-05docs(cli/dts): add missing awaits (#10501)Casper Beyer
2021-05-05docs(cli/dts): fix env examples (#10500)Casper Beyer
2021-05-05docs(cli/dts): use one block per writeAll example (#10496)Casper Beyer
2021-05-05docs(cli/dts): explicitly import assert in examples (#10495)Casper Beyer
2021-05-05docs(cli/dts): use one code block per truncate example (#10494)Casper Beyer
2021-05-04fix(cli): give context when failed to load import map (#10478)Satya Rohith
2021-05-04docs(cli/ftruncateSync): use openSync in example (#10485)Casper Beyer
2021-05-03fix(op_crates/fetch): check fetch() argument length (#10474)Anonymous
2021-05-02refactor(core): convert core.print() to a builtin op (#10436)Aaron O'Mullan
2021-05-02cleanup(bench/deno_http_native): don't use Deno.core funcs (#10460)Aaron O'Mullan
`Deno.core.*` is unstable and not fit for public consumption, although this is a somewhat internal bench some people may use it as reference code and start using `Deno.core.encode()` in their own code
2021-05-02fix(test): change inflection depending on number of pending tests (#10466)Casper Beyer
2021-05-02clean(cli): prefix all op functions with op_ (#10463)Aaron O'Mullan
Makes the codebase more searchable and helps distinguish op functions from helper functions Besides tests/examples/benches this pattern appears to be used everywhere else in the codebase
2021-05-01fix(test): re-enable "compile_windows_ext" test (#10131)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-05-01fix(console): Remove `console.timeStamp` from types (#10455)Liam Murphy
Fixes #10444
2021-04-30Rename crate_ops to extensions (#10431)Andy Hayden
2021-04-30fix(cli/tools/test): print module tests originate from (#10428)Casper Beyer
2021-04-30fix(test): default to num cpus when no value is given (#10443)Casper Beyer
2021-04-29fix(op_crate/fetch): infinite loop on fill headers (#10406)William Perron
Fixes a pesky bug in the fetch implementation where if the init part is specified in `fetch` instead of the `Request` constructor, the fillHeaders function receives two references to the same object, causing it to append to the same list being iterated over.
2021-04-29chore: remove unused keys from TsConfigJson (#10417)Kitson Kelly
2021-04-29refactor(cli): move test reporting into trait (#10408)Casper Beyer
2021-04-28chore(lsp): remove dead code (#10409)Satya Rohith
2021-04-28feat(test): run test modules in parallel (#9815)Casper Beyer
This commit adds support for running test in parallel. Entire test runner functionality has been rewritten from JavaScript to Rust and a set of ops was added to support reporting in Rust. A new "--jobs" flag was added to "deno test" that allows to configure how many threads will be used. When given no value it defaults to 2.
2021-04-28core: introduce extensions (#9800)Aaron O'Mullan
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware). This allows for: - `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers - op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...) - `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...) In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase.