summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
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.
2020-11-13refactor(cli+core): various cleanups in Rust (#8336)KNnut
2020-11-13refactor(cli): minor cleanup of main.rs (#8362)Max Drosdo.www
2020-11-11fix(cli): don't walk the subdirectory twice when using the `--ignore` flag ↵Akshat Agarwal
(#8040) This commit reworks "collect_files" utility to accept "ignore" parameter which allows to filter out files in a single iteration instead of walking file tree second time to excude "ignored" files.
2020-11-11fix(op_crates/web): FileReader event handler order (#8348)Benjamin Gruenbaum
2020-11-10fix(web/worker) define event handlers in DOM order (#8334)Benjamin Gruenbaum
2020-11-10test(cli/upgrade): remove test_compose_url_to_exec (#8329)Andrew Mitchell
2020-11-10fix(cli/rt): dom handler order in websocket (#8320)Benjamin Gruenbaum
2020-11-10tests(cli): check ignores dynamic import errors (#8323)Kitson Kelly
Closes #6618
2020-11-10fix(cli): allow root modules be .mjs/.cjs (#8310)Kitson Kelly
Fixes #6176
2020-11-10fix(cli): allow setting of importsNotUsedAsValues in Deno.compile() (#8306)Kitson Kelly
Fixes #6663
2020-11-10fix(cli): allow declaration emits for Deno.compile() (#8303)Kitson Kelly
Fixes #8289
2020-11-09fix(cli): Use safe shell escaping in `deno install` (#7613)Scott Olson
2020-11-09refactor(cli): remove unnecessary format! calls (#8315)KNnut
2020-11-09fix(cli): do not write tsbuildinfo when diagnostics are emitted (#8311)Kitson Kelly
Fixes #8309
2020-11-09v1.5.2 (#8301)Kitson Kelly
2020-11-08chore: remove dead code (#8298)Bartek Iwańczuk
2020-11-08upgrade: deno_doc, deno_lint, dprint, swc (#8292)Bartek Iwańczuk
2020-11-08refactor: auto detect target triples for upgrade (#8286)crowlKats
2020-11-08refactor: rewrite permission_test to not depend on Python (#8291)Mo
2020-11-08fix(cli): ensure that transitory dependencies are emitted (#8275)Kitson Kelly
Fixes #8111
2020-11-07fix(cli): allow remapping to locals for import map (#8262)Kitson Kelly
Fixes #7723
2020-11-07fix(cli): properly handle type checking root modules with type defini… (#8263)Kitson Kelly
2020-11-06fix(cli): correct libs sent to tsc for unstable worker (#8260)Kitson Kelly
Fixes #8257
2020-11-06refactor(cli): refactor file_fetcher (#8245)Kitson Kelly
2020-11-05build: rewrite tools/ scripts to deno (#8247)Bartek Iwańczuk
This commit rewrites scripts in "tools/" directory to use Deno instead of Python. In return it allows to remove huge number of Python packages in "third_party/".
2020-11-05fix(cli/repl): Fixing syntax highlighting (#8202)ali ahmed
Fixes #8240
2020-11-03Remove dead code (#8235)Ryan Dahl
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-11-03fix(prompt): fix display of non-ASCII characters on Windows (#8199)Yoshiya Hinosawa
2020-11-02refactor(cli): remove ProgramState::permissions (#8228)Bartek Iwańczuk
This commit removes ProgramState::permissions field. Having permissions parsed from CLI flags stored on globally accessible state object made it easy to mistakenly use these permissions in situations which required "runtime" permissions.
2020-11-03refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220)Kitson Kelly
2020-11-03feat(cli): bump TypeScript to 4.0.5 (#8138)Trivikram Kamat
2020-11-02fix(op_crates/web): fix URLSearchParams, malformed url handling (#8092)Yoshiya Hinosawa
Co-authored-by: Evan <c4t@tuta.io>
2020-11-02test(op_crates/web): add EventTarget tests (#8205)Benjamin Gruenbaum