summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2020-09-17refactor: use Symbol.for instead of Symbol in cli/rt/ (#7537)Bartek Iwańczuk
2020-09-17refactor: move op_resources and op_close to deno_core (#7539)Bartek Iwańczuk
Moves op_close and op_resources to deno_core::ops and exports them. Adds serde dependency to deno_core and reexports it. Moves JS implementation of those ops to Deno.core and reexports them in Deno.
2020-09-17refactor: disable URL.createObjectUrl (#7543)Bartek Iwańczuk
2020-09-17fix: Use Buffer.writeSync in MultipartBuilder (#7542)Ryan Dahl
2020-09-17refactor: make fetch use op_fetch_read instead of op_read (#7529)Ryan Dahl
2020-09-16refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521)Bartek Iwańczuk
Instead use Deno.core.jsonOpSync and Deno.core.jsonOpAsync
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16Remove unnecessary extern statementsRyan Dahl
2020-09-16Remove unnecessary serde_derive dependencyRyan Dahl
2020-09-16Revert "feat(install): bundle before installation" (#7522)Bert Belder
This reverts the changes introduced by PR #5276, which made `deno install «script»` automatically bundle the script's dependencies. It broke the `deno install` command for a large number of scripts. This reverts commit 34e98fa59cd70f7ce64e587bef41fac536a3076b. Closes: #7492
2020-09-16simplify global properties (#7502)Ryan Dahl
2020-09-16refactor(unstable): deno info --json output (#7417)bartOssh
Provide flat JSON structured output. Fix BrokenPipe error when piping out to "head".
2020-09-16Revert "fix(cli/http_utils): accept a single key-multiple values headers ↵Bartek Iwańczuk
(#7375)" (#7515) This reverts commit f5c84920c225579af9c249bdac4a59a046ef8683.
2020-09-15Remove http_client from CliState, store in OpState directly (#7497)Ryan Dahl
2020-09-15cli/msg.rs -> cli/media_type.rsRyan Dahl
2020-09-15Don't expose ErrWithV8Handle from deno_coreRyan Dahl
2020-09-15fix(cli/http_utils): accept a single key-multiple values headers (#7375)tokiedokie
2020-09-15refactor(cli/tests): change std_path to root_path in std_tests() (#7438)tokiedokie
2020-09-14Make JsRuntimeState private (#7484)Ryan Dahl
2020-09-14refactor(core): remove JsRuntime::set_js_error_create_fn (#7478)Bartek Iwańczuk
Instead use RuntimeOptions.js_error_create_fn
2020-09-14Rename deno::state::State to deno::state::CliState (#7480)Ryan Dahl
2020-09-14Remove unnecessary wildcard from ts_decorators test (#7485)Ryan Dahl
2020-09-15refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)Bert Belder
2020-09-15chore: fix clippy warnings (#7476)Bert Belder
2020-09-14chore: add some traits to ast.rs (#7479)Kitson Kelly
2020-09-14test: reenable TS decorator test (#7471)Bartek Iwańczuk
2020-09-14refactor: use ParsedModule and improve MediaTypes enum (#7456)Kitson Kelly
2020-09-14test(cli/tests/https_import): use ts file in localhost instead of remote (#7431)tokiedokie
2020-09-14test(cli/tests/unit): Enable color for js_unit_tests (#7443)Nayeem Rahman
2020-09-14chore: add no_check_hello benchmark (#7458)Kitson Kelly
2020-09-14Upgrade Rust crates, pin 'webpki-roots' to version 0.19.0 (#7454)Bert Belder
2020-09-13v1.4.0Bartek Iwańczuk
2020-09-13feat(unstable): deno test --coverage (#6901)Casper Beyer
This commit adds basic support for collecting coverage data using "deno test". Currently the report is only a text added to the end of output from "deno test".
2020-09-13upgrade: deno_doc, deno_lint, dprint, swc (#7434)Bartek Iwańczuk
upgrades: - swc_ecmascript 0.7.7 - dprint-plugin-typescript 0.31.3 - deno_lint 0.2.0 - deno_doc 0.1.9 Split std_lint test into std_lint and unit_test_lint. Added lint ignores to CommonJS files in std/node.
2020-09-13upgrade: rusty_v8 0.10.0 / V8 8.7.75 (#7429)Bert Belder
2020-09-13fix(WebSocket): no panic on failed connect + handle promise rejection via ↵Luca Casonato
error event (#7437)
2020-09-12chore: remove --no-check from deno info (#7439)Luca Casonato
2020-09-12chore: add systemMemoryInfo unstable diagnostic (#7435)Luca Casonato
2020-09-12refactor: improve tsc diagnostics (#7420)Kitson Kelly
2020-09-12refactor: Improve placeholder module names (#7430)Nayeem Rahman
2020-09-12Revert "feat(unstable): Support data: urls (#5157)" (#7432)Bartek Iwańczuk
This reverts commit e3319f34a6ece36eab3138eae83c8d0e18fcc07c.
2020-09-11feat(unstable): Support data: urls (#5157)Valentin Anger
2020-09-11feat(unstable): deno run --watch (#7382)Bartek Iwańczuk
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
2020-09-11feat(unstable): enable importsNotUsedAsValues by default (#7413)Luca Casonato
2020-09-11refactor(core): JsRuntime initialization (#7415)Bartek Iwańczuk
Removes: - "deno_core::StartupData" - "deno_core::Script" - "deno_core::OwnedScript" Changes to "JsRuntime": - remove "new_with_loader()" - remove "with_heap_limits()" - rename "IsolateOptions" to "RuntimeOptions" and make public - "JsRuntime::new()" takes "RuntimeOptions" as a single param
2020-09-10Use gotham-like state for ops (#7385)Ryan Dahl
Provides a concrete state type that can be dynamically added. This is necessary for op crates. * renames BasicState to OpState * async ops take `Rc<RefCell<OpState>>` * sync ops take `&mut OpState` * removes `OpRegistry`, `OpRouter` traits * `get_error_class_fn` moved to OpState * ResourceTable moved to OpState
2020-09-10feat(console): support CSS styling with "%c" (#7357)Nayeem Rahman
2020-09-10feat(unstable): Add Deno.systemMemoryInfo() (#7350)Akshat Agarwal
Co-authored-by: marcopacini <pacinim88@gmail.com> Co-authored-by: Casper Beyer <caspervonb@pm.me>
2020-09-09fix: panic on process.kill() after run (#7405)Bartek Iwańczuk
This commit fixes panic caused by "unimplemented!()" calls for some variants of "nix::errno::Errno". Catch-all variant now returns "Error" class name instead of panicking. Co-authored-by: Bert Belder <bertbelder@gmail.com>
2020-09-09fix(cli): suppress 'WSANOTINITIALIZED' error on Deno exit (#7408)Bert Belder
Unblocks: #6901