summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-11-28chore: clippy future cleanups (#8514)Kitson Kelly
2020-11-27test: fix flaky "run_watch" test (#8519)Bartek Iwańczuk
2020-11-27refactor(repl): use SWC lexer to highlight and validate (#8496)Liam Murphy
2020-11-27fix(cli/ops/net): add write permissions for unixpackets datagrams & unix ↵William Perron
socket (#8511) Fixes #7781
2020-11-27fix flaky tests by using exec in PTY tests (#8525)Ryan Dahl
2020-11-27fix test_raw_tty hang (#8520)Ryan Dahl
2020-11-27fix: panic in worker when closing at top level (#8510)Bartek Iwańczuk
Fixes panic occurring in worker when "self.close()" is called at the top level, ie. worker shuts down while module evaluation promise hasn't yet resolved.
2020-11-26fix: "onload" event order (#8376)Benjamin Gruenbaum
This commit fixes order of events for "onload" event. Previously handler attached using "window.onload" was always fired before handlers added using "addEventListener".
2020-11-26fix(watch): fix flaky tests for watcher (#8508)Bartek Iwańczuk
2020-11-26fix: re-enable test_raw_tty (#8509)Ryan Dahl
2020-11-26refactor(cli/tests): replace createResolvable with deferred (#8507)crowlKats
2020-11-26refactor(cli): reorganize main.rs and split workers (#8495)Bartek Iwańczuk
Factored out "init_v8_flags", "init_logger" and "get_subcommand" from "main" function. Also "Worker" was removed in favor of moving logic to "MainWorker" and "WebWorker" respectively.
2020-11-26fix(websocket): set User-Agent header (#8502)Bartek Iwańczuk
2020-11-26fix(cli/websocket): set User-Agent header (#8470)crowlKats
2020-11-26refactor(cli): Remove unnecessary conversion into BTreeMap (#8498)Yusuke Tanaka
This commit removes unnecessary conversion into BTreeMap. The value that gets converted into BTreeMap is _originally_ BTreeMap, so this conversion is just superfluous. Additionally, a test is added so that we can make sure the keys in the emitted lockfile are sorted alphabetically.
2020-11-25fix(websocket): Fix PermissionDenied error being caught in constructor (#8402)crowlKats
2020-11-25BREAKING(cli/tsc_config): Make isolatedModules non-configurable (#8482)Nayeem Rahman
2020-11-25docs: Add missing closing parenthesis (#8477)Chayim Refael Friedman
2020-11-25add canary versioning (#8480)crowlKats
2020-11-24feat(test): horizontal separator between disjoint runs of lines (#8484)Valentin Anger
Places a newline between non-consecutive line block in coverage report to improve readability.
2020-11-24fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵Luca Casonato
"default"` response (#8353)
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-11-23fix(cli): add file URL support for Deno.readLink (#8423)William Perron
2020-11-23v1.5.4Bartek Iwańczuk
2020-11-23Revert "docs(cli): Fix documentation about usage of deno completions … (#8468)Bartek Iwańczuk
This reverts commit 17d4cd92133bb822ff3a4f2f5bb32dfd17f99282.
2020-11-23tests(cli): add test for improper unicode encoding (#8162)Kitson Kelly
and updates swc_ecma_codegen Closes #8161
2020-11-23fix(cli/tsc): allow non-standard extensions on imports (#8464)Nayeem Rahman
2020-11-22feat(unstable): Support --watch flag for bundle and fmt subcommands (#8276)Yusuke Tanaka
This commit adds support for "--watch" flag for "bundle" and "fmt" subcommands. In addition to this, it refactors "run --watch" command so that module resolution will occur every time the file watcher detects file addition/deletion, which allows the watcher to observe a file that is newly added to the dependency as well.
2020-11-22docs(cli): Fix documentation about usage of deno completions script (#8369)Mayank Agarwal
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-22refactor(cli/tools/upgrade): rework upgrade (#8331)crowlKats
This commit does major overhaul of "upgrade" subcommand, reducing complexity & giving more sensible console output. Removes gz support for archives. Uses last part of url instead of scraping to get latest version.
2020-11-22chore(cli/flags): Rename --failfast to --fail-fast (#8456)Nayeem Rahman
2020-11-22feat(unstable): Add deno test --no-run (#8093)Nayeem Rahman
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check.
2020-11-21fix(cli): support "deno run --v8-flags=--help" without script (#8110)Max Drosdo.www
2020-11-21fix: "cloneValue" should return a Set when given a Set (#7972)Anonymous
2020-11-21refactor(corr): accept get_error_class_fn in RuntimeOptions (#8444)Bartek Iwańczuk
This commit adds "get_error_class_fn" field to "RuntimeOptions" struct in order to unify configuration of "JsRuntime".
2020-11-21upgrade: rusty_v8 0.13.0, v8 8.8.278.2 (#8446)Bartek Iwańczuk
2020-11-21upgrade: deno_doc, deno_lint, dprint, swc (#8443)Bartek Iwańczuk
2020-11-20refactor(cli): worker event serialization (#8438)Bartek Iwańczuk
This commit simplifies code responsible for serialization of web worker events. Instead of using "PrettyJsError" it's enough to downcast to "deno_core::JsError", making the code less specific to cli/ implementation.
2020-11-19refactor(cli): rename fmt_errors::JsError to PrettyJsError (#8435)Bartek Iwańczuk
This commit renames "fmt_errors::JsError" to "PrettyJsError" to avoid confusion with "deno_core::JsError". Consequently "CoreJsError" aliases to "deno_core::JsError" were removed. Additionally source mapping step has been removed from "PrettyJsError::create" to better separate domains.
2020-11-19refactor(cli): move tooling to cli/tools/ (#8424)Bartek Iwańczuk
This commit moves following tools into a single "tools" module located at "cli/tools/mod.rs": - formatter - linter - test runner - coverage collector - installer - binary upgrader - repl
2020-11-19fix(cli/tests): printf.exe doesn't exist on windows (#8404)Mark Tiedemann
2020-11-16refactor(cli): rename fs module to fs_util (#8380)Bartek Iwańczuk
This commit renames "fs" module in "cli/" to "fs_util". This is purely cosmetic change; there were a few places which aliased "crate::fs" to "deno_fs" which was very confusing with "fs" module in ops.
2020-11-16Improve Deno.version type declaration (#8391)Mark Tiedemann
2020-11-16v1.5.3Bartek Iwańczuk
2020-11-16fix(cli): local sources are not cached in memory (#8328)Kitson Kelly
Fixes #4743 Closes #5253 Fixes #5631 Fixes #6116 Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-11-14feat(lint): support --rules --json (#8384)Bartek Iwańczuk
This commit adds support for "--json" flag in combination with "--rules". List of rules is serialized to JSON and printed.
2020-11-14build: update dlint to v0.2.10 (#8284)Yusuke Tanaka
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics for "require-await" rule. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-11-14fix: fix various global objects constructor length (#8373)Benjamin Gruenbaum
This commit changes various Web APIs constructors to match their signature in the browser.
2020-11-14fix(fmt, lint): Make sure that target paths are not directory (#8375)Yusuke Tanaka
This commit merges implementations of "collect_files" and "files_in_subtree", leaving only the former. Additionally it was ensured that directories are not yielded from this function.
2020-11-13refactor: deno_crypto op crate (#7956)Divy Srivastava
This commit factors out "deno_crypto" op crate. "rand" crate dependency was consequently moved to "deno_crypto" crate and reexported.