1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-20 04:36:16 -05:00
A modern runtime for JavaScript and TypeScript. https://deno.com/
Find a file
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
.cargo Statically link the C runtime library on Windows (#4469) 2020-03-23 20:31:29 +01:00
.github feat(std/wasi): add wasi_snapshot_preview1 (#6441) 2020-06-24 09:27:31 -04:00
cli feat(test): Add support for regex in filter flag (#6343) 2020-07-07 15:13:38 +02:00
core chore: Only use one set of tokio features (#6655) 2020-07-06 09:53:36 -04:00
deno_typescript v1.1.3 2020-07-03 15:35:19 -04:00
docs feat(test): Add support for regex in filter flag (#6343) 2020-07-07 15:13:38 +02:00
std test(std/wasi): add std file read and write tests (#6671) 2020-07-07 00:49:04 -04:00
test_plugin upgrade crates (#6378) 2020-06-19 13:44:28 -04:00
test_util share HTTP server between threads (attempt 2) (#6652) 2020-07-06 13:07:15 -04:00
third_party@9ad53352a9 Update to TypeScript 3.9 (#4510) 2020-05-13 08:03:04 -04:00
tools Remove tools/hyper_hello (#6651) 2020-07-06 13:00:08 -04:00
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 2019-02-07 11:31:49 -05:00
.eslintignore feat: dprint formatter (#3820) 2020-01-29 21:16:48 -05:00
.eslintrc.json Add no-async-promise-executor lint rule (#4809) 2020-04-20 11:29:37 +02:00
.gitattributes Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
.gitignore feat(std/wasi): add wasi_snapshot_preview1 (#6441) 2020-06-24 09:27:31 -04:00
.gitmodules Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
.prettierignore feat(std/hash): reimplement all hashes in WASM (#6292) 2020-06-16 17:12:50 -04:00
.prettierrc.json tools/format: format markdown files with prettier 2018-10-04 02:02:23 -07:00
.rustfmt.toml change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
Cargo.lock Update Cargo.lock (#6665) 2020-07-06 20:36:51 +02:00
Cargo.toml Remove tools/hyper_hello (#6651) 2020-07-06 13:00:08 -04:00
CODE_OF_CONDUCT.md fix(tools): prettier formatting (#6206) 2020-06-09 17:50:41 +02:00
LICENSE change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
README.md docs: update discord link (#6599) 2020-07-02 09:15:36 -04:00
Releases.md v1.1.3 2020-07-03 15:35:19 -04:00

Deno

A secure runtime for JavaScript and TypeScript.

Build Status

Deno aims to provide a productive and secure scripting environment for the modern programmer. It is built on top of V8, Rust, and TypeScript.

Please read the introduction for more specifics.

Website

Manual

Install

API Reference

Style Guide

Module Repository

Releases

Chat

More links