summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
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
2022-05-14feat: add userAgent property to Navigator's prototype (#14415)randomicon00
2022-05-13feat(ext/web): add performance.toJSON (#14548)Geert-Jan Zwiers
2022-05-13feat: add --no-config flag (#14555)Bartek Iwańczuk
This flag disables loading of configuration file, ie. it will not be automatically discovered and loaded. Of course this flag conflicts with "--config" flag and they cannot be used together.
2022-05-13chore: update test_util/std/ submodule (#14595)Bartek Iwańczuk
2022-05-13fix(ext/http): make serveHttp compress for Accept-Encoding: deflate, gzip ↵Andy Kurnia
(#14525)
2022-05-11chore: fix flaky integration::test::pass test (#14571)David Sherret
2022-05-11chore: fix flaky lsp_testing_api test (#14569)David Sherret
2022-05-11fix: stdout and stderr encoding on Windows (#14559)David Sherret