1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/cli
Bartek Iwańczuk 89fe81168e
fix: panic if $DENO_DIR is a relative path (#5375)
This commit fixes panic occurring if $DENO_DIR is set to a relative
path, eg. "DENO_DIR=denodir deno run main.ts".

Before creating DenoDir instance given path is checked and if necessary
resolved against current working directory.

Additional sanity checks were put in place to ensure all caches
receive absolute path for the location.
2020-05-15 16:32:52 +02:00
..
doc Remove debug prints introduced in e18aaf49c (#5356) 2020-05-14 14:10:54 -04:00
js fix: setTimeout and friends have too strict types (#5412) 2020-05-15 09:51:49 -04:00
ops cli: don't panic on Deno.close invalid argument (#5320) 2020-05-14 06:59:56 -04:00
tests chore: port deno_dir_test to Rust (#5408) 2020-05-15 10:22:28 -04:00
build.rs Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
Cargo.toml v1.0.0 2020-05-13 18:07:15 -04:00
checksum.rs fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
colors.rs feat: Added colors to doc output (#4518) 2020-03-28 17:35:31 -04:00
deno_dir.rs fix: panic if $DENO_DIR is a relative path (#5375) 2020-05-15 16:32:52 +02:00
diagnostics.rs refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
disk_cache.rs fix: panic if $DENO_DIR is a relative path (#5375) 2020-05-15 16:32:52 +02:00
file_fetcher.rs refactor: check permissions in SourceFileFetcher (#5011) 2020-05-11 13:13:27 +02:00
flags.rs fix: remove default --allow-read perm for deno test (#5208) 2020-05-10 23:24:36 +02:00
fmt.rs feat: format deno bundle output (#5139) 2020-05-07 14:39:00 -04:00
fmt_errors.rs refactor(cli): unify display of errors from Rust and JS (#5183) 2020-05-09 21:09:46 +02:00
fs.rs refactor: move code from fs.rs into ops/fs.rs (#4428) 2020-03-20 09:46:26 -04:00
global_state.rs fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
global_timer.rs clippy (#4618) 2020-04-03 22:41:16 -04:00
http_cache.rs fix: panic if $DENO_DIR is a relative path (#5375) 2020-05-15 16:32:52 +02:00
http_util.rs Add support for X-Deno-Warning header (#5161) 2020-05-09 12:43:24 -04:00
import_map.rs update references to testing/mod.ts in manual (#3973) 2020-02-11 21:50:20 +01:00
inspector.rs Make --inspect-brk pause on the first line of _user_ code (#5250) 2020-05-13 00:12:46 +02:00
installer.rs fix(cli/installer): Fix concurrent env handling in tests (#5182) 2020-05-09 19:14:56 +02:00
js.rs BREAKING: Remove support for .wasm imports (#5135) 2020-05-07 20:43:27 +02:00
lockfile.rs fix: source maps in inspector (#5223) 2020-05-11 23:48:36 +02:00
main.rs Make --inspect-brk pause on the first line of _user_ code (#5250) 2020-05-13 00:12:46 +02:00
metrics.rs feat: update metrics to track different op types (#4221) 2020-03-02 19:13:36 +01:00
msg.rs refactor: remove unneeded ErrorKinds (#3936) 2020-02-21 10:36:13 -05:00
op_error.rs Make writeSync, readSync, seekSync, openSync, isatty proper synchronous syscalls (#4762) 2020-04-15 20:43:19 -04:00
permissions.rs refactor: check permissions in SourceFileFetcher (#5011) 2020-05-11 13:13:27 +02:00
README.md update readmes (#3765) 2020-01-23 22:32:52 +01:00
repl.rs Remove REPL/Windows hack (#5136) 2020-05-07 12:01:27 -04:00
resolve_addr.rs remove calls to futures::executor::block_on (#4760) 2020-04-15 23:14:28 -04:00
signal.rs upgrade: rust crates (#4679) 2020-04-08 14:29:42 -04:00
source_maps.rs refactor(core/js_error): Align JSStackFrame with CallSite (#4715) 2020-04-13 10:54:16 -04:00
startup_data.rs Upgrade to rusty_v8 v0.4.0 (#4856) 2020-04-23 03:35:52 +02:00
state.rs Make --inspect-brk pause on the first line of _user_ code (#5250) 2020-05-13 00:12:46 +02:00
swc_util.rs feat: add SWC dependency analyzer (#5015) 2020-04-30 20:18:50 +02:00
test_runner.rs BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04:00
test_util.rs BREAKING: There is no public Rust API for the CLI (#5226) 2020-05-11 17:33:36 -04:00
tokio_util.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
tsc.rs Make --inspect-brk pause on the first line of _user_ code (#5250) 2020-05-13 00:12:46 +02:00
upgrade.rs feat(upgrade): allow specifying a version (#5156) 2020-05-09 06:31:15 -04:00
version.rs Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
web_worker.rs Change plugin interface to prevent segfaults when unloading plugin (#5210) 2020-05-11 22:39:13 +02:00
worker.rs Fix typos across the repo (#5295) 2020-05-14 06:38:42 +02:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core and deno_typescript to provide the executable.