summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-11-02add commit hash and target to long_version output (#8133)Yoshiya Hinosawa
2020-11-02fix(cli): inject helpers when transpiling via swc (#8221)Kitson Kelly
Fixes #8212
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-11-02fix(op_crates/web): make TextEncoder work with forced non-strings (#8206)Benjamin Gruenbaum
Fixes: #8201
2020-10-31refactor(cli/permissions): Cleanup Flags to Permissions conversion (#8213)Nayeem Rahman
2020-10-31v1.5.1Luca Casonato
2020-10-30upgrade: deno_doc, deno_lint, dprint, swc (#8197)Bartek Iwańczuk
- deno_doc 0.1.14 - deno_lint 0.2.7 - dprint-plugin-typescript 0.32.7 - swc_bundler 0.14.1 - swc_ecmascript 0.13.1
2020-10-30fix: Deno.fdata(), Deno.fdatasync() (#8193)Bartek Iwańczuk
These APIs were stabilized in 1.5.0, but were never added to the "stable" Deno namespace. This commit fixes that.
2020-10-30fix: panic in bundler (#8168)Bartek Iwańczuk
This commit fixes panic in bundler which was caused by not setting thread-local slots.
2020-10-30fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135)Nayeem Rahman
2020-10-29fix(cli): prompt works with windows eol and eof (#8149)Sander Hahn
2020-10-29refactor: don't spin up V8 for `deno cache` (#8186)Luca Casonato
2020-10-29fix(cli): make hashes of tsconfig deterministic (#8167)Kitson Kelly
Fixes #8163
2020-10-28refactor(watch): create single watcher for whole process (#8083)Yusuke Tanaka
This commit rewrites file watcher used with --watch flag. Instead of creating new watcher after each restart, only a single watcher is created for whole process. Additionally debouncing mechanism has been added to prevent infinite restart loops if multiple files were changed in quick succession. Co-authored-by: bartossh <lenart.consulting@gmail.com>
2020-10-28fix(repl): don't hang on unpaired braces (#8151)Kevin (Kun) "Kassimo" Qian
Previously, entering a single ']' would cause repl to forever accepting new lines, due to that `ValidationResult::Invalid` would actually be consumed by the editor itself while continue building the lines. Instead we should mark it as `Valid` and send the bad input for evaluation to get the proper error from V8. Before: ``` > ] (you can keep entering new line here, and it will never consume input until you Ctrl-C) ``` After: ``` > ] Uncaught SyntaxError: Unexpected token ']' > ```
2020-10-28fix(cli): module graph handles redirects properly (#8159)Kitson Kelly
Fixes #8154
2020-10-28fix(cli): restore tripleslash lib refs support (#8157)Kitson Kelly
Fixes #8147
2020-10-27v1.5.0Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27fix(cli): handle URL paths in Deno.mkdir() (#8140)Ross Weir
2020-10-27fix(cli): do not throw on empty typescript files (#8143)Kitson Kelly
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-27fix(op_crates/web): Expose event properties in console output (#8103)Ross Weir
Fixes #8073
2020-10-27fix(cli): restore permission check on workers (#8123)Kitson Kelly
Fixes #8120
2020-10-26chore: add bundle_no_check benchmark (#8130)Luca Casonato
2020-10-26fix: Use -rw-r--r-- for cache files (#8132)Ryan Dahl
2020-10-26rename(std/testing): rename assert*Contains to assert*Includes (#7951)Tim Reichen
This commit renames two assertion functions to better align with JS API: - assertStringContains -> assertStringIncludes - assertArrayContains -> assertArrayIncludes
2020-10-26feat(unstable): add Deno.systemCpuInfo() (#7774)Elias Sjögreen
2020-10-26fix(op_crates/fetch): ensure Request.method to be string (#8100)Kid
Ensure "Request.method" to be the default value ("GET") if "init.method" is not defined, which follows browser's behavior.
2020-10-26refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090)Bartek Iwańczuk
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-10-26Revert "feat(lint): stabilize "deno lint" subcommand (#8075)" (#8128)Bartek Iwańczuk
This reverts commit c5c48f845a4d25f064c4388fcdd4295317edf155.
2020-10-26fix(core/runtime): Indicate exceptions in promises (#8124)Nayeem Rahman
Fixes #4879
2020-10-26feat(cli): pass script args for test command (#8121)Ross Weir
Closes #8096
2020-10-26fix(cli): properly handle roots with extensions that don't match media type ↵Kitson Kelly
(#8114)
2020-10-25refactor(run): use new module graph for run --watch (#8085)Bartek Iwańczuk
This commit changes how "deno run --watch" is implemented by migrating to use ModuleGraph2.
2020-10-25test(cli): ensure modules can export typed JS files (#8101)Kitson Kelly
Closes #5935
2020-10-25test(cli): dynamic imports not evaluated until runtime (#8102)Kitson Kelly
Closes #7997
2020-10-23refactor: use of lock file in ModuleGraph2 (#8087)Bartek Iwańczuk
2020-10-23Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089)Bartek Iwańczuk
This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93.
2020-10-23feat(cli): Add deno cache --test and --worker (#7920)Nayeem Rahman
2020-10-23fix: typos in cli and core (#8082)Toan Nguyen
2020-10-23refactor(cli): move bundle check to new infrastructure (#8071)Kitson Kelly
2020-10-23BREAKING(cli/tsc): Enable isolatedModules by default (#8050)Nayeem Rahman
2020-10-23docs(cli): update link to dprint-plugin-typescript (#8052)Nikolai Vavilov
2020-10-23refactor(cli): migrate run and cache to new infrastructure (#7996)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-22feat(lint): stabilize "deno lint" subcommand (#8075)Bartek Iwańczuk
This commit stabilizes "deno lint" by removing the need to pass --unstable flag. --unstable is still required when using --json flag.
2020-10-22upgrade: deno_doc, deno_lint, dprint, swc (#8077)Bartek Iwańczuk
- deno_doc 0.1.13 - deno_lint 0.2.5 - dprint-plugin-typescript 0.32.6 - swc_bundler 0.12.0 - swc_ecmascript 0.11.1
2020-10-22chores(cli/fmt): make --ignore stable (#7922)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-10-22fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty ↵nerix
(#7936)
2020-10-21refactor(cli): use PathBuf instead of String for lint and fmt subcommands ↵Akshat Agarwal
(#8042)
2020-10-21feat(cli): add types for WeakRef/FinalizationRegistry (#8056)Kitson Kelly
Fixes #8051
2020-10-20bump versions for op crates (#8048)Ryan Dahl