Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-03 | fix(fetch): Support 101 status code (#6059) | Marcos Casagrande | |
2020-06-02 | Fix REPL BorrowMutError panic (#6055) | Ryan Dahl | |
2020-06-02 | fix: Better use of @ts-expect-error (#6038) | Kitson Kelly | |
2020-06-01 | fix: 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-01 | fix(cli/web): Body.bodyUsed should use IsReadableStreamDisturbed | Marcos Casagrande | |
2020-06-01 | fix(cli/js/web): formData parser for binary files (#6015) | Marcos Casagrande | |
2020-05-31 | fix(cli/fetch): set null body for null-body status (#5980) | Marcos Casagrande | |
2020-05-31 | fix(fetch): network error on multiple redirects (#5985) | Marcos Casagrande | |
2020-05-31 | fix Headers.name and FormData.name (#5994) | Marcos Casagrande | |
2020-05-31 | fix: media type for .cjs and application/node (#6005) | Bartek Iwańczuk | |
2020-05-31 | chore(cli/tests/unit/remove_test): remove duplicate codes between sync and ↵ | uki00a | |
async cases (#6004) | |||
2020-05-30 | fix(#4850): Deno.remove() fails to remove unix socket (#5967) | uki00a | |
2020-05-30 | fix: ES private fields parsing in SWC (#5964) | Bartek Iwańczuk | |
2020-05-30 | test to check that resource handle is closed after stream is cancelled (#5956) | Marcos Casagrande | |
2020-05-29 | fix(cli/permissions): Fix CWD and exec path leaks (#5642) | Nayeem Rahman | |
2020-05-29 | refactor: 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-29 | fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254) | Nayeem Rahman | |
2020-05-29 | Improved typechecking error for unstable props (#5503) | Luca Casonato | |
2020-05-29 | fix: 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-29 | fix(cli): write lock file before running any code (#5794) | Adam Odziemkowski | |
2020-05-29 | fix DenoBlob name (#5879) | Peter Evers | |
2020-05-28 | chore(integration_tests): stop collecting unnecessary output in permissions ↵ | uki00a | |
tests (#5926) | |||
2020-05-28 | formData: set default filename for Blob to <blob> (#5907) | Marcos Casagrande | |
2020-05-28 | console: Hide `values` for console.table if display not necessary (#5914) | Kevin (Kun) "Kassimo" Qian | |
2020-05-27 | test(clie/web/fetch): Re-enable tests (#5904) | Marcos Casagrande | |
2020-05-26 | Use ts-expect-error instead of ts-ignore. (#5869) | Kitson Kelly | |
2020-05-26 | fix: parsing of JSX and TSX in SWC (#5870) | Bartek Iwańczuk | |
2020-05-25 | Add more tests for fetch response body (#5852) | Marcos Casagrande | |
2020-05-25 | fix(cli/web/fetch): Make Response constructor standard (#5787) | Marcos Casagrande | |
2020-05-25 | fix: Allow ArrayBuffer as Fetch request body (#5831) | Marcos Casagrande | |
2020-05-25 | fix: BorrowMutError when evaluating expression in inspector console (#5822) | Bert Belder | |
Note that this does not fix the 'Uncaught ReferenceError' issue that happens when 'eager evaluation' is enabled in the inspector. Fixes: #5807 | |||
2020-05-25 | test: add utility function for assigning unique port to inspector (#5822) | Bert Belder | |
2020-05-24 | Re-enable several fetch tests (#5803) | Andrew Mitchell | |
2020-05-23 | fix: TSX analysis in module graph loader (#5785) | Bartek Iwańczuk | |
2020-05-22 | fix: SWC lexer settings and silent errors (#5752) | Bartek Iwańczuk | |
This commit changes how error occurring in SWC are handled. Changed lexer settings to properly handle TS decorators. Changed output of SWC error to annotate with position in file. | |||
2020-05-22 | fix: ts type imports (#5733) | Bartek Iwańczuk | |
2020-05-22 | fix: redirects handling in module analysis (#5726) | Bartek Iwańczuk | |
This commit fixes a bug introduced in #5029 that caused bad handling of redirects during module analysis. Also ensured that duplicate modules are not downloaded. | |||
2020-05-21 | fix: --inspect flag working like --inspect-brk (#5697) | Bartek Iwańczuk | |
2020-05-21 | ci: Errors in benchmarks should fail CI (#5422) | Colin Harrington | |
2020-05-21 | fix: disallow http imports for modules loaded over https (#5680) | Bartek Iwańczuk | |
2020-05-20 | fix: streams hwm validation (#5681) | Marcos Casagrande | |
2020-05-20 | move js unit tests to cli/tests (#5678) | Ryan Dahl | |
2020-05-19 | Provide better ANSI colorized output when inspecting objects (#5404) | Speykious | |
2020-05-19 | fix: REPL does not exit properly when close() is called (#5451) | uki00a | |
2020-05-18 | refactor: rewrite TS dependency analysis in Rust (#5029) | Bartek Iwańczuk | |
This commit completely overhauls how module analysis is performed in TS compiler by moving the logic to Rust. In the current setup module analysis is performed using "ts.preProcessFile" API in a special TS compiler worker running on a separate thread. "ts.preProcessFile" allowed us to build a lot of functionality in CLI including X-TypeScript-Types header support and @deno-types directive support. Unfortunately at the same time complexity of the ops required to perform supporting tasks exploded and caused some hidden permission escapes. This PR introduces "ModuleGraphLoader" which can parse source and load recursively all dependent source files; as well as declaration files. All dependencies used in TS compiler and now fetched and collected upfront in Rust before spinning up TS compiler. To achieve feature parity with existing APIs this commit includes a lot of changes: * add "ModuleGraphLoader" - can fetch local and remote sources - parses source code using SWC and extracts imports, exports, file references, special headers - this struct inherited all of the hidden complexity and cruft from TS version and requires several follow up PRs * rewrite cli/tsc.rs to perform module analysis upfront and send all required source code to TS worker in one message * remove op_resolve_modules and op_fetch_source_files from cli/ops/compiler.rs * run TS worker on the same thread | |||
2020-05-17 | chore: capture stderr in integration tests (#5549) | Bartek Iwańczuk | |
This commit removes "check_stderr" setting from itest! macro used to generate integration tests. Without this setting on tests discarded output of stderr making it very hard to debug the problem in test. Numerous tests were changed by adding "--quiet" flag to not display "Compile"/"Download" prompts. | |||
2020-05-15 | chore: port deno_dir_test to Rust (#5408) | uki00a | |
2020-05-11 | fix: source maps in inspector (#5223) | Bartek Iwańczuk | |
This commit fixes problems with source maps in Chrome Devtools by substituting source map URL generated by TS compiler with actual file URL pointing to DENO_DIR. Dummy value of "source_map_url" has been removed from "ScriptOrigin". Also fixes lock file which used compiled source code to generate lock hash; it now uses source code of the file that is being compiled. | |||
2020-05-11 | BREAKING: There is no public Rust API for the CLI (#5226) | Ryan Dahl | |
2020-05-11 | Merge std_tests.rs into integration_tests.rs.rs (#5228) | Ryan Dahl | |
* Remove usage of url_to_filename from integration_tests * Make test ports not conflict with each other |