summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2020-06-10feat(lint): use default globs, upgrade to v0.1.9 (#6222)Bartek Iwańczuk
This commit: * added default file globs so "deno lint" can be run without arguments (just like "deno fmt") * added test for globs in "deno lint" * upgrade "deno_lint" crate to v0.1.9
2020-06-10fix(URL): IPv6 hostname support (#5766)Josh Byrnes
2020-06-10fix: Remove try-catch from Buffer.readFrom, readFromSync (#6161)Casper Beyer
2020-06-10fix udp BorrowMutError (#6221)Ryan Dahl
2020-06-10fix(cli/js/process): Always return a code in ProcessStatus (#5244)Nayeem Rahman
2020-06-10fix: several regressions in TS compiler (#6177)Bartek Iwańczuk
This commit fixes several regressions in TS compiler: * double compilation of same module during same process run * compilation of JavaScript entry point with non-JS imports * unexpected skip of emit during compilation Additional checks were added to ensure "allowJs" setting is used in TS compiler if JavaScript has non-JS dependencies.
2020-06-10fix: handle @deno-types in export {} (#6202)Bartek Iwańczuk
* fix: handle @deno-types in export {} * lint * fix tests * fmt * fix test
2020-06-09upgrade: deno_lint v0.1.8 (#6208)Bartek Iwańczuk
2020-06-09fix: Deno.readSync on stdin (#6126)Casper Beyer
Currently sync operations on stdin are failing because tokio::Stdin cannot be converted to a std::File. This commit replaces tokio::stdin with a raw file descriptor wrapped in a std::fs::File which can be converted to a tokio::File and back again making the synchronous version of op_read actually work.
2020-06-09feat(cli): Add Deno.env.delete() (#5859)Tuan Le
2020-06-09fix(cli/js/web/worker): Disable relative module specifiers (#5266)Nayeem Rahman
2020-06-09feat(doc): display all overloads in cli details view (#6186)uki00a
2020-06-09fix(cli/js/process): Strengthen socket types based on pipes (#4836)Nayeem Rahman
2020-06-08test: fixed initial `[WILDCARD]` not matching empty the on first line (#5420)Jack Kelly
2020-06-08feat(cli/js/net): make rid on listener public (#5571)Peter Indiola
2020-06-08fix(cli/web/fetch): multipart/form-data request body support for binary ↵Marcos Casagrande
files (#5886)
2020-06-06feat: deno eval -p (#5682)Ryan Dahl
2020-06-05Rename abbreviated assertions in std/testing (#6118)Casper Beyer
2020-06-05Revert "fix: Use # to denote line number in stack traces" (#6119)Ryan Dahl
This reverts commit c4c6a8dae488a3473ee09b0e3a54943b706d8944 There is some controversy about this change because vscode doesn't interpret the fragments correctly. Needs more discussion before landing.
2020-06-05fix: Use # to denote line number in stack traces (#6114)Andrew Mitchell
This makes the URLs in stack traces actual URLs to the files. Before: https://deno.land/std/testing/asserts.ts:138:11 After: https://deno.land/std/testing/asserts.ts#138:11
2020-06-05ci: upgrade to Rust 1.44.0 (#6113)Bert Belder
2020-06-04Revert "feat: format deno bundle output (#5139)" (#6085)Ryan Dahl
This reverts commit 93cf3bd5341d5985201ea0905280082d5a3310f9.
2020-06-03fix(fetch): Support 101 status code (#6059)Marcos Casagrande
2020-06-02Fix REPL BorrowMutError panic (#6055)Ryan Dahl
2020-06-02fix: Better use of @ts-expect-error (#6038)Kitson Kelly
2020-06-01fix: compile TS dependencies of JS files (#6000)Bartek Iwańczuk
This commit fixes regression that caused TS dependencies not being compiled. Check was added that ensures TS compiler is run if any of dependencies in module graph is TS/TSX/JSX.
2020-06-01fix(cli/web): Body.bodyUsed should use IsReadableStreamDisturbedMarcos Casagrande
2020-06-01fix(cli/js/web): formData parser for binary files (#6015)Marcos Casagrande
2020-05-31fix(cli/fetch): set null body for null-body status (#5980)Marcos Casagrande
2020-05-31fix(fetch): network error on multiple redirects (#5985)Marcos Casagrande
2020-05-31fix Headers.name and FormData.name (#5994)Marcos Casagrande
2020-05-31fix: media type for .cjs and application/node (#6005)Bartek Iwańczuk
2020-05-31chore(cli/tests/unit/remove_test): remove duplicate codes between sync and ↵uki00a
async cases (#6004)
2020-05-30fix(#4850): Deno.remove() fails to remove unix socket (#5967)uki00a
2020-05-30fix: ES private fields parsing in SWC (#5964)Bartek Iwańczuk
2020-05-30test to check that resource handle is closed after stream is cancelled (#5956)Marcos Casagrande
2020-05-29fix(cli/permissions): Fix CWD and exec path leaks (#5642)Nayeem Rahman
2020-05-29refactor: TS compiler and module graph (#5817)Bartek Iwańczuk
This PR addresses many problems with module graph loading introduced in #5029, as well as many long standing issues. "ModuleGraphLoader" has been wired to "ModuleLoader" implemented on "State" - that means that dependency analysis and fetching is done before spinning up TS compiler worker. Basic dependency tracking for TS compilation has been implemented. Errors caused by import statements are now annotated with import location. Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-05-29fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254)Nayeem Rahman
2020-05-29Improved typechecking error for unstable props (#5503)Luca Casonato
2020-05-29fix: REPL evaluates in strict mode (#5565)Kitson Kelly
Since everything that Deno loads is treated as an ES Module, it means that all code is treated as "use strict" except for when using the REPL. This PR changes that so code in the REPL is also always evaluated with "use strict". There are also a couple other places where we load code as scripts which should also use "use strict" just in case.
2020-05-29fix(cli): write lock file before running any code (#5794)Adam Odziemkowski
2020-05-29fix DenoBlob name (#5879)Peter Evers
2020-05-28chore(integration_tests): stop collecting unnecessary output in permissions ↵uki00a
tests (#5926)
2020-05-28formData: set default filename for Blob to <blob> (#5907)Marcos Casagrande
2020-05-28console: Hide `values` for console.table if display not necessary (#5914)Kevin (Kun) "Kassimo" Qian
2020-05-27test(clie/web/fetch): Re-enable tests (#5904)Marcos Casagrande
2020-05-26Use ts-expect-error instead of ts-ignore. (#5869)Kitson Kelly
2020-05-26fix: parsing of JSX and TSX in SWC (#5870)Bartek Iwańczuk
2020-05-25Add more tests for fetch response body (#5852)Marcos Casagrande