summaryrefslogtreecommitdiff
path: root/cli/tests/unit
AgeCommit message (Collapse)Author
2020-09-01fix(URLSearchParams): fix handling of + character (#7314)Yoshiya Hinosawa
2020-09-01fix: use millisecond precision for Deno.futime and Deno.utime (#7299)Casper Beyer
2020-08-31feat(unstable): add Deno.futime and Deno.futimeSync (#7266)Casper Beyer
2020-08-31fix no-inner-declaration lint rule (#7287)Yusuke Tanaka
2020-08-31chore: remove unreachable code to pass linter (#7270)Yusuke Tanaka
2020-08-29fix(URL): Add missing part assignment (#7239)Nayeem Rahman
2020-08-26test(url_test): disable `no-self-assign` rule here (#7204)Yusuke Tanaka
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-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-18Async op dispatcher support with 'stateful_json_op_(a)sync()' (#7095)Bert Belder
Closes: #7020
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-12feat: Support file URLs in Deno.run for executable (#6994)Nayeem Rahman
2020-08-12fix: URLSearchParams.toString() behaviour is different from browsers (#7017)Prabhanjan
2020-08-11feat(web): FileReader API (#6673)Paul Thompson
2020-08-09fix: console.log should see color codes when grouping occurs (#7000)uki00a
2020-08-08test(cli/stat_test): older versions of Linux don't support `birthtime` (#6991)Bert Belder
2020-08-07Encode op errors as strings instead of numbers (#6977)Bartek Iwańczuk
2020-08-05feat(cli): custom http client for fetch (#6918)Luca Casonato
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-22test(cli/unit): remove rogue console.log statement (#6846)Casper Beyer
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-16fix(cli/js/web): IPv6 hostname should be compressed (#6772)JohannLai
2020-07-14Use dprint for internal formatting (#6682)David Sherret
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-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-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-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-07-08feat(cli): Add WriteFileOptions to writeTextFile & writeTextFileSync (#6280)Marcos Casagrande
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-06feat: Deno.chown() make uid, gid args optional (#4612)dubiousjim
2020-07-05fix(cli/fetch): response constructor default properties (#6650)Marcos Casagrande