Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-18 | Update style_guide.md (#5576) | Richard Lemaster | |
2020-05-18 | Update `docs/getting_started/permissions.md` (#5574) | Matt Dumler | |
Aligned the example wording more closely with that in the `first_steps.md` document, and made other minor edits/corrections. | |||
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-18 | docs(std): Fix typo (#5582) | pontakornth | |
2020-05-18 | fix(std/hash): SHA1 hash of Uint8Array (#5086) | Andrey Trebler | |
2020-05-17 | Miscellaneous documentation and spelling improvements (#5527) | Bert Belder | |
* Extended/updated documentation on code editor setup and plugins. * Moved documentation to the right file. * Fixed spelling errors in documentation and code. * Updated broken links. Co-authored-by: 迷渡 <justjavac@gmail.com> Co-authored-by: AlfieriChou <alfierichou@gmail.com> Co-authored-by: Anil Seervi <anil13112000@gmail.com Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com> Co-authored-by: József Sallai <jozsef@sallai.me> Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de> Co-authored-by: Tommy May <tommymay37@gmail.com> Co-authored-by: Turbinya <wownucleos@gmail.com> Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net> | |||
2020-05-17 | Implement Deno.kill for windows (#5347) | Ali Hasani | |
2020-05-17 | Update to dprint 0.18.3 and the latest version of swc (#5509) | David Sherret | |
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-17 | Fix definition of URL constructor (#5521) | Masahiro Miyashiro (3846masa) | |
2020-05-17 | Improve moveSync jsdoc | A.E Clarence | |
2020-05-17 | Simplify fmt::Display for ModuleResolutionError (#5550) | 扩散性百万甜面包 | |
2020-05-17 | docs(std): Fix default value in comment (#5539) | Marcos Casagrande | |
2020-05-17 | docs: fix import maps code without --allow-net (#5528) | thomasy | |
2020-05-17 | docs: update cli/js/tests README (#5531) | Ali Hasani | |
2020-05-17 | Return error if more than one listener calls `WorkerHandle::get_event()` (#5461) | Yiyu Lin | |
2020-05-16 | tsc: use serde to (de)serialize CompiledFileMetadata (#5481) | Yiyu Lin | |
Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
2020-05-16 | Fix formatting of example code in typescript declaration files (#5475) | Siddharth Parmar | |
2020-05-16 | Remove dead code: tools/sha256sum.py (#5502) | Ryan Dahl | |
2020-05-16 | Fix spelling: "--alow-write" => "--allow-write" (#5486) | Akash Vishwakarma | |
2020-05-16 | chore: remove typedoc (#5497) | Bartek Iwańczuk | |
2020-05-16 | fix some unwrap() in Rust (#5485) | Yiyu Lin | |
2020-05-16 | Fixed Typo (#5495) | Anil Seervi | |
2020-05-16 | docs(std): Fix spelling mistake on permission (#5476) | domharrington | |
2020-05-16 | Fix a bunch of spelling errors (#5314) | Bert Belder | |
2020-05-15 | Lets --> Let's (#5473) | Dan Vanderkam | |
2020-05-15 | Fix JavaScript spelling (#5467) | Andrius Kripaitis | |
2020-05-15 | improve chat example (#5474) | ddaza | |
2020-05-15 | improve deferred test (#5459) | Henry Zhuang | |
2020-05-15 | docs(std/fmt): Fix typo (#5315) | Peter Indiola | |
2020-05-15 | fix some clippy warning (#5462) | Yiyu Lin | |
2020-05-15 | refactor(fs): use every instead of reduce (#5323) | Linus Unnebäck | |
The previous usage of `reduce` was basically implementing the `every` A small difference is that the new implementation will stop checking as soon as one element have returned false, which will reduce the number of unnecessary checks. | |||
2020-05-15 | fix: panic if $DENO_DIR is a relative path (#5375) | Bartek Iwańczuk | |
This commit fixes panic occurring if $DENO_DIR is set to a relative path, eg. "DENO_DIR=denodir deno run main.ts". Before creating DenoDir instance given path is checked and if necessary resolved against current working directory. Additional sanity checks were put in place to ensure all caches receive absolute path for the location. | |||
2020-05-15 | adjust example code (#5332) | Max | |
2020-05-15 | chore: port deno_dir_test to Rust (#5408) | uki00a | |
2020-05-15 | Add link to JSDoc website (#5370) | Kerollos Magdy | |
2020-05-15 | fix link (#5333) | Claudio Cicali | |
Replaced with the current master version | |||
2020-05-15 | fix: setTimeout and friends have too strict types (#5412) | Tomasz Gałkowski | |
2020-05-15 | feat(std/node): fs.writeFileSync polyfill (#5414) | Marcos Casagrande | |
2020-05-15 | fix(std/testing): Provide message and diff for assertStrictEq (#5417) | Stéphane Klein | |
closes #5416 | |||
2020-05-15 | feat: add std/hash/fnv (#5403) | skdltmxn | |
2020-05-15 | doc: add stream api (#5418) | Chris Knight | |
2020-05-15 | Fix typos (#5441) | Anil Seervi | |
2020-05-15 | shorten example (#5448) | Juan Julián Merelo Guervós | |
2020-05-14 | docs: Fix typo in OS Signals example (#5413) | André Vargas | |
2020-05-14 | Remove debug prints introduced in e18aaf49c (#5356) | Valentin Anger | |
2020-05-14 | Fix grammar (#5399) | Stu Finn | |
2020-05-14 | [std/node]: remove execute permissions from fs.ts (#5363) | Evan Hahn | |
2020-05-14 | Add .css to the MEDIA_TYPES. (#5367) | Mike Nikles | |
2020-05-14 | Remove extra dollar sign from docs (#5361) | Kerollos Magdy | |