summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2020-08-28Move benchmarks to Rust (#7134)Valentin Anger
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
2020-08-26test(url_test): disable `no-self-assign` rule here (#7204)Yusuke Tanaka
2020-08-26upgrade: swc, deno_doc, deno_lint, dprint (#7194)Bartek Iwańczuk
2020-08-26fix(cli): revert "never type check deno info #6978" (#7199)Luca Casonato
2020-08-26Simplify ErrBox-to-class mapping & hook it up to core json ops (#7195)Bert Belder
2020-08-26refactor: remove OpError, use ErrBox everywhere (#7187)Bert Belder
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-08-24feat: update to TypeScript 4.0 (#6514)Kitson Kelly
2020-08-24fix(console): handle escape sequences when logging objects (#7171)Tuan Le
2020-08-24test(cli): use assertThrows and assertThrowsAsync for chown tests (#7106)Casper Beyer
2020-08-23fix(doc): stack overflow for .d.ts files (#7167)Bartek Iwańczuk
2020-08-23upgrade: swc, dprint, deno_lint, deno_doc (#7162)Bartek Iwańczuk
2020-08-21fix(URL): Don't encode "'" in non-special query strings (#7152)Nayeem Rahman
2020-08-20fix: Create body stream from any valid bodySource (#7128)Kurt Mackey
Fixes #6752
2020-08-18refactor: permissions (#7074)Nayeem Rahman
2020-08-18Async op dispatcher support with 'stateful_json_op_(a)sync()' (#7095)Bert Belder
Closes: #7020
2020-08-18Fix nightly and Windows-only clippy warnings (#7095)Bert Belder
2020-08-18test(cli): use assertThrowsAsync for permission tests (#7092)Casper Beyer
2020-08-17Blob.arrayBuffer returns uint8array (#7086)crowlKats
2020-08-17Fix handling of multiple spaces in URLSearchParams (#7068)Joel Chippindale
This ensures that all spaces are set to be "+" in the string rather than just the first and brings deno into line with how browsers handle spaces in URLSearchParams, see #7001.
2020-08-15fix: add `NO_PROXY` to `deno help` and add test (#7048)Tomofumi Chiba
2020-08-14Enable WebAssembly.instantiateStreaming (#7043)Casper Beyer
2020-08-13feat: Add "--json" flag to deno lint (#6940)souldzin
Co-authored-by: JackSkylark <jdslaughter44@gmail.com>
2020-08-12feat: Support file URLs in Deno.run for executable (#6994)Nayeem Rahman
2020-08-12feat: add "--ignore" to deno lint (#6934)Divy Srivastava
2020-08-12fix: URLSearchParams.toString() behaviour is different from browsers (#7017)Prabhanjan
2020-08-11feat(web): FileReader API (#6673)Paul Thompson
2020-08-10Remove unnecessary drop calls (#7007)Ryan Dahl
2020-08-10feat: Stabilize Deno.mainModule (#6993)Nayeem Rahman
2020-08-09fix: console.log should see color codes when grouping occurs (#7000)uki00a
2020-08-08test(cli/wasm_unreachable): don't assume git work dir is named 'deno' (#6991)Bert Belder
2020-08-08test(cli/stat_test): older versions of Linux don't support `birthtime` (#6991)Bert Belder
2020-08-08test(cli/inspector_port_collision): skip test on WSL (#6991)Bert Belder
2020-08-08test(cli/inspector_port_collision): fail rather than hang (#6991)Bert Belder
2020-08-08fix(cli): show error on unrecognized V8 flag, exit on --help (#6980)Bert Belder
2020-08-07Encode op errors as strings instead of numbers (#6977)Bartek Iwańczuk
2020-08-07fix(deno info): Never type check (#6978)Nayeem Rahman
2020-08-07Op crate for Web APIs (#6906)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-08-05feat(cli): custom http client for fetch (#6918)Luca Casonato
2020-08-03fix(cli): add support for non-UTF8 source files (#6789)Maayan Hanin
Fixes: #5542
2020-08-03feat: hash file names in gen cache (#6911)Luca Casonato
2020-07-30feat(unstable): add "--ignore" flag to deno fmt (#6890)Divy Srivastava
2020-07-28fix: downcast from SwcDiagnosticBuffer to OpError (#6909)Bartek Iwańczuk
2020-07-25upgrade: deno_lint v0.1.17 (#6869)Bartek Iwańczuk
2020-07-24fix: deno-types directive should have higher precedence than ↵Bartek Iwańczuk
X-TypeScript-Types header (#6761)
2020-07-23fix: Improve URL compatibility (#6807)Nayeem Rahman
- Fix protocol regex. - Truncate repeated leading slashes in file paths. - Make drive letter support platform-independent. - Drop the hostname if a drive letter is parsed. - Fix drive letter normalization and basing. - Allow basing over the host. - Fix same-protocol basing. - Remove Windows UNC path support. - Reverts #6418. This is non-standard. Wouldn't be too much of a problem but it makes other parts of the spec hard to realize.
2020-07-23fix(cli/js/ops/fs_events): Ignore polling errors caused by return() (#6785)Nayeem Rahman
2020-07-23refactor: remove more compiler runtime code (#6841)Bartek Iwańczuk
2020-07-22test(cli/unit): remove rogue console.log statement (#6846)Casper Beyer
2020-07-22Reduce size of TypeScript Compiler snapshot (#6809)Ryan Dahl
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into cli/tsc/ ... because it's very important that we all understand that this code is unnecessarily duplicated in our binary. I hope this ugliness provides the motivation to clean it up. The typescript git submodule is removed, because it's a very large repo and contains all sorts of stuff we don't need. Instead the necessary files are copied directly into the deno repo. Hence +200k lines. COMPILER_SNAPSHOT.bin size ``` master 3448139 this branch 3320972 ``` Fixes #6812
2020-07-20Remove deno_typescript (#6813)Ryan Dahl