1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/cli
Sebastien Filion 4534db656d
feat(test): Add support for regex in filter flag (#6343)
Currently, the documentation makes it sound like the test subcommand's filter
flag could accept some kind of pattern matching value like a glob or a regex,
although the function "createFilterFn" accepts a regex as an argument, there's
no way to pass an actual regex value from the CLI.

This commit makes it possible to pass a string that could be cast as regex 
when string matches "^/.*/$".

With this change, a user can use the filter flag as follow:

deno test --filter "/test-.+/"

Also tested that `\` get escaped properly, on MacOS at least, and this is 
also a valid flag:

deno test --filter "/test-\d+/"
2020-07-07 15:13:38 +02:00
..
doc upgrade: swc_ecma_visit, dprint, deno_lint (#6580) 2020-07-01 16:04:56 +02:00
js feat(test): Add support for regex in filter flag (#6343) 2020-07-07 15:13:38 +02:00
ops feat: Deno.chown() make uid, gid args optional (#4612) 2020-07-06 13:15:13 +02:00
tests feat(test): Add support for regex in filter flag (#6343) 2020-07-07 15:13:38 +02:00
build.rs Unstable methods should not appear in runtime or d.ts (#4957) 2020-04-30 11:23:40 -04:00
Cargo.toml chore: Only use one set of tokio features (#6655) 2020-07-06 09:53:36 -04:00
checksum.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
colors.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
deno_dir.rs Remove Deno.dir and dirs dependency (#6385) 2020-06-20 23:49:27 -04:00
diagnostics.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
diff.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
disk_cache.rs fix(cli/disk_cache): Support UNC paths in the typescript DiskCache (#6495) 2020-06-26 13:25:13 -04:00
file_fetcher.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
flags.rs feat(test): Add support for regex in filter flag (#6343) 2020-07-07 15:13:38 +02:00
flags_allow_net.rs Re-land "fix(cli): ipv6 parsing for --allow-net params" (#6472) 2020-06-26 08:09:02 -04:00
fmt.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
fmt_errors.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
fs.rs Add ability to output compiler performance information (#6434) 2020-06-24 11:58:23 +02:00
global_state.rs refactor: lock file (#6569) 2020-07-02 17:54:51 +02:00
global_timer.rs clippy (#4618) 2020-04-03 22:41:16 -04:00
http_cache.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
http_util.rs chore: port http_server.py to rust (#6364) 2020-07-04 13:05:01 -04:00
import_map.rs
inspector.rs Upgrade to rusty_v8 0.4.2 / V8 8.5.216 (#6503) 2020-06-26 20:17:15 +02:00
installer.rs To find home dir, use only $USERPROFILE on Windows, $HOME on Posix (#6132) 2020-06-05 22:15:05 +02:00
js.rs BREAKING: Remove support for .wasm imports (#5135) 2020-05-07 20:43:27 +02:00
lint.rs upgrade: dprint-typescript-plugin 0.19.5, deno_lint 0.1.15 (#6614) 2020-07-03 15:55:34 +02:00
lockfile.rs refactor: lock file (#6569) 2020-07-02 17:54:51 +02:00
main.rs feat: deno upgrade --output (#6352) 2020-07-06 18:21:26 -04:00
metrics.rs feat: update metrics to track different op types (#4221) 2020-03-02 19:13:36 +01:00
module_graph.rs refactor: util functions take slices instead of heap values (#6547) 2020-06-29 14:17:37 +02:00
msg.rs refactor(compiler): split code paths for compile and bundle (#6304) 2020-06-19 12:27:15 +02:00
op_error.rs fix: Deno.setRaw shouldn't panic on ENOTTY (#6630) 2020-07-06 18:26:34 -04:00
permissions.rs fix: net permissions didn't account for default ports (#6606) 2020-07-02 10:16:41 -04:00
README.md
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 Implement Deno.kill for windows (#5347) 2020-05-17 19:11:24 +02:00
source_maps.rs Remove unused check-only feature (#6035) 2020-06-02 14:56:21 -04:00
startup_data.rs Remove unused check-only feature (#6035) 2020-06-02 14:56:21 -04:00
state.rs refactor: Improvements to TsCompiler and its tests (#6576) 2020-06-30 13:10:51 +02:00
swc_util.rs refactor(compiler): split code paths for compile and bundle (#6304) 2020-06-19 12:27:15 +02:00
test_runner.rs chore(test): move testing utilities to test_util crate (#6360) 2020-06-18 11:54:55 -04:00
tokio_util.rs
tsc.rs feat: add lockfile support to bundle (#6624) 2020-07-07 13:05:28 +02:00
upgrade.rs feat: deno upgrade --output (#6352) 2020-07-06 18:21:26 -04:00
version.rs
web_worker.rs refactor(compiler): split code paths for compile and bundle (#6304) 2020-06-19 12:27:15 +02:00
worker.rs chore(test): move testing utilities to test_util crate (#6360) 2020-06-18 11:54:55 -04: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.