summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
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
2020-07-19Port internal TS code to JS (#6793)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-17fix: providing empty source code for missing compiled files (#6760)Bartek Iwańczuk
This commit adds a fallback mechanism for absent compiled source file. Because imported type declaration files are not emitted by TS compiler and their imports are not elided users often hit "No such file or directory" error. With this commit in such situation an empty source file will be provided to V8 with a warning to the user suggesting using "import type"/ "export type" syntax instead.
2020-07-16fix(cli/js/web): IPv6 hostname should be compressed (#6772)JohannLai
2020-07-15fix: panic for runtime error in TS compiler (#6758)Bartek Iwańczuk
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-13fix(cli): don't panic when no "HOME" env var is set (#6728)Maayan Hanin
2020-07-13Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)Bartek Iwańczuk
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)" This reverts commit 202e7fa6ad366ee56a6d070e94eaecb6dbc745bf.
2020-07-13test: ignore max buffer tests (#6732)Marcos Casagrande
2020-07-13fix(Deno.ppid): improve error message when --unstable is missing (#6717)uki00a
2020-07-13feat(cli): add copy argument to Buffer.bytes (#6697)Marcos Casagrande
2020-07-13fix(cli/js/web/url): Implement IPv4 hostname parsing (#6707)Nayeem Rahman
2020-07-13fix(cli/fetch): fix relative redirect (#6715)Marcos Casagrande
2020-07-13fix: more tolerant performance.measure unit tests (#6726)Kitson Kelly
Fixes #6725
2020-07-12feat(cli): add DENO_CERT environment variable (#6370)Oscar Linde
2020-07-11chore: reenable ignored integration tests (#6703)Bartek Iwańczuk
2020-07-11feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to ↵Nayeem Rahman
InspectOptions (#6591)
2020-07-10feat: add performance user timing APIs (#6421)Kitson Kelly
2020-07-10fix(URL): Implement spec-compliant host parsing (#6689)Nayeem Rahman
2020-07-10fix(cli/buffer): allow Buffer to store MAX_SIZE bytes (#6570)Marcos Casagrande
2020-07-10feat(unstable): add Deno.consoleSize (#6520)Sebastien Filion
2020-07-09fix(cli): panic when stdio is null on windows (#6528)Maayan Hanin
Fixes: #6409
2020-07-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-07-08feat(cli): json option for "deno info" (#6372)Emmanuel
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-07-08feat(cli): Add WriteFileOptions to writeTextFile & writeTextFileSync (#6280)Marcos Casagrande
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
2020-07-07perf(cli/body): improve .arrayBuffer() speed (#6669)Marcos Casagrande
2020-07-07feat(test): Add support for regex in filter flag (#6343)Sebastien Filion
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-07feat: add lockfile support to bundle (#6624)Takahiko Inayama
2020-07-06fix: Deno.setRaw shouldn't panic on ENOTTY (#6630)uki00a
2020-07-06feat: deno upgrade --output (#6352)crowlKats
2020-07-06feat: Deno.chown() make uid, gid args optional (#4612)dubiousjim
2020-07-05chore: re-enable tests using media_types (#6642)Bartek Iwańczuk
2020-07-05fix(cli/fetch): response constructor default properties (#6650)Marcos Casagrande
2020-07-04fix(tools): command line args parsing bug, unused function parameter (#6629)Bert Belder
2020-07-04Update timers to ignore Date Override (#6552)Kyle June
2020-07-04chore: port http_server.py to rust (#6364)Ryan Dahl
2020-07-04test(cli): enable realpath symlink tests on Windows (#6627)Casper Beyer