summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2022-06-15fix(console): constrol inspect() indent with option (#14867)cjihrig
This commit updates the Deno.inspect() logic to use the indentLevel option to control indentation instead of passing around separate indent/level parameters internally. Refs: https://github.com/denoland/deno/issues/8099 Refs: https://github.com/denoland/deno/issues/14171
2022-06-15BREAKING: remove `Intl.v8BreakIterator` (#14864)Luca Casonato
This is a non-standard API that is mostly replaced by `Intl.Segmenter`.
2022-06-14refactor(runtime/signal): revert SIGINT and SIGBREAK `Deno.kill` Windows ↵David Sherret
changes (#14865)
2022-06-14feat(test): update test summary report (#14629)Mark Ladyshau
2022-06-14feat(vendor): support using an existing import map (#14836)David Sherret
2022-06-13Deno.exit() is an alias to self.close() in worker contexts (#14826)Bartek Iwańczuk
This commit changes Deno.exit() to be an alias to self.close() in worker contexts, and the provided exit code becomes is ignored.
2022-06-13feat: no type-check by default (#14691)Bartek Iwańczuk
This commit changes default default behavior of type checking for several subcommands. Instead of type checking and reporting type errors only for local files, the type checking is skipped entirely. Type checking can still be enabled using the "--check" flag. Following subcomands are affected: - deno cache - deno install - deno eval - deno run
2022-06-13feat(runtime/signal): implement SIGINT and SIGBREAK for windows (#14694)Geert-Jan Zwiers
This commit adds support for SIGINT and SIGBREAK signals on Windows platform. Co-authored-by: orange soeur <juzi201314@gmail.com>
2022-06-13Remove unstable Deno.sleepSync (#14719)Ryan Dahl
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-13fix(cli): add config flag to `deno info` (#14706)Mark Ladyshau
2022-06-13feat(console): pass options and depth to custom inspects (#14855)Colin Ihrig
This commit updates Deno.inspect() to pass inspect options and the current inspect depth to custom inspect functions. Refs: https://github.com/denoland/deno/issues/8099 Refs: https://github.com/denoland/deno/issues/14171
2022-06-09feat(fmt): support formatting cjs, cts, mjs, and mts files (#14837)David Sherret
2022-06-08feat(task): add `--cwd` flag for configuring the working directory (#14823)Kayla Washburn
2022-06-08fix: watch dynamic imports in --watch (#14775)Bartek Iwańczuk
Fix dynamic imports being watched in the watcher when using `--watch`.
2022-06-08feat(ext/crypto): export elliptic keys as "raw" (#14764)diachedelic
This commit adds support for the "raw" format when exporting public ECDH/ECDSA keys via the SubtleCrypto.exportKey method.
2022-06-07refactor(core): Move Deno.core bindings to ops (#14793)Nayeem Rahman
2022-06-06fix: Format non-error exceptions (#14604)Nayeem Rahman
This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc).
2022-06-02fix(ext/crypto): adjust `getRandomValues` types (#14714)Mark Ladyshau
2022-06-02chore: fix flaky `integration::bench::multifile_summary` test (#14771)Geert-Jan Zwiers
2022-06-01feat: update to TypeScript 4.7 (#14242)Kitson Kelly
2022-05-31feat(unstable): add Deno.getGid (#14528)James Bradlee
2022-05-26chore(serde_v8): throw error when string buffer exceeds v8 max length (#14588)Geert-Jan Zwiers
2022-05-25chore: upgrade test_util/std/ submodule (#14722)Bartek Iwańczuk
2022-05-24fix(core): op metrics op_names mismatch (#14716)Aaron O'Mullan
2022-05-23fix: read raw stdin to prevent buffering (regression) (#14704)David Sherret
2022-05-23fix: deno task should actually use current exe for `deno` command (#14705)David Sherret
2022-05-23fix(ext/websocket): WebSocket dispatch single close event (#13443)Leo Kettmeir
2022-05-22fix(coverage): do not report transpiled files with no lines (#14699)Colin Ihrig
This commit omits files from the coverage report that have no lines of code to report coverage for. Fixes: https://github.com/denoland/deno/issues/14683
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
2022-05-20fix: prevent Deno.exit to fail when dispatchEvent tampered (#14665)Yoshiya Hinosawa
Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-05-19fix(runtime): improve permission descriptor validation (#14676)Colin Ihrig
This commit improves the permission descriptor validation by explicitly checking for object types and using optional chaining when creating error messages in case the descriptor is not an object. Fixes: https://github.com/denoland/deno/issues/14675
2022-05-19fix(bench): update typo in bench summary (#14672)Geert-Jan Zwiers
2022-05-19feat: make Child.kill argument optional (#14669)Leo Kettmeir
2022-05-18refactor: use spawn API across codebase (#14414)Leo Kettmeir
2022-05-18fix: add types for `Response.json` (#14655)Luca Casonato
2022-05-18fix(ext/tls): ability to ignore IP-address certificate errors (#14610)Aleksei Kosyrev
2022-05-18 feat: return a signal string instead number on ChildStatus (#14643)Leo Kettmeir
2022-05-17feat: subcommands type-check only local files by default (#14623)Bartek Iwańczuk
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test
2022-05-17BREAKING(unstable): Enable Deno namespace in workers by default (#14581)Nayeem Rahman
This commit removes "WorkerOptions.deno" option as a boolean, as well as "WorkerOptions.deno.namespace" settings. Starting with this commit all workers have access to "Deno" namespace by default.
2022-05-17BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463)Bartek Iwańczuk
2022-05-17feat(core): deterministic snapshots (#14037)Divy Srivastava
2022-05-17fix: base64 encoding of source maps with emojis (#14607)Bartek Iwańczuk
This commit fixes source maps for files that contain emojis. This is done by updating "deno_ast" to "0.14.1" for the case of "--no-check" flag (ie using SWC emit) and by overriding TSC's default base64 encoder (which turned out to be buggy) for the type checking case.
2022-05-17fix(ext/http): skip auto-compression if content-encoding present (#14641)Aaron O'Mullan
Regression from #14552
2022-05-16feat(ext/net): add `CAA` DNS record support in Deno.resolveDns() API (#14624)Craig Morten
2022-05-15fix(lsp): correct positions in some scenarios (#14359)David Sherret
2022-05-15feat(ext/net): support NAPTR records in Deno.resolveDns() API (#14613)Craig Morten
2022-05-15feat(ext/net): support full `SOA` record interface (#14617)Craig Morten
2022-05-15Revert "refactor(runtime): change from signal_str_to_int function to enum ↵Leo Kettmeir
(#14539)" (#14606) This reverts commit c496639d5dc190b107222bc30462d67ddb86c223.
2022-05-14refactor(runtime): change from signal_str_to_int function to enum (#14539)Leo Kettmeir
2022-05-14feat(ext/net): add support for SOA records in Deno.resolveDns() API (#14534)Thanapat Chotipun