Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-21 | fix(fmt): Do not panic on new expr with no parens. (#5734) | David Sherret | |
Closes #5567 | |||
2020-05-21 | fix: --inspect flag working like --inspect-brk (#5697) | Bartek Iwańczuk | |
2020-05-21 | fix(std/http): file_server's target directory (#5695) | moyinzi | |
2020-05-21 | typos (#5713) | Khang Dinh | |
2020-05-21 | feat(std/hash): add md5 (#5719) | skdltmxn | |
2020-05-21 | docs: add entry for 'deno info' (#5703) | Bartek Iwańczuk | |
2020-05-21 | docd: Replace obsolete Deno.homeDir() with Deno.dir('home') (#5708) | Bhumij Gupta | |
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-21 | docs: Update debugger.md (#5615) | Chris Schepman | |
2020-05-21 | docs: update permissions docs (#5426) | JavaScriptDude | |
2020-05-21 | Move std/fmt/sprintf.ts to std/fmt/printf.ts (#4567) | Ryan Dahl | |
2020-05-21 | docs: fix test glob pattern (#5661) | Maple Miao | |
2020-05-20 | Remove duplicate test (#5687) | Marcos Casagrande | |
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-20 | v1.0.1 | Ryan Dahl | |
2020-05-20 | Provide required arguments to walk in example. (#5668) | Hendrik | |
2020-05-20 | fix: compilation error introduced by #4543 (#5673) | uki00a | |
2020-05-20 | feat(std/node): first pass at url module (#4700) | Ali Hasani | |
2020-05-20 | feat(std/node) Export TextDecoder and TextEncoder from util (#5663) | Garrone Joseph | |
2020-05-20 | fix(std/io): BufReader should not share the internal buffer across reads (#4543) | uki00a | |
2020-05-20 | feat(std/bytes): add hasSuffix and contains functions, update docs (#4801) | Ali Hasani | |
2020-05-20 | Update dprint 0.18.4 (#5671) | David Sherret | |
Fixes trailing comma issue | |||
2020-05-20 | feat(std/fmt): rgb24 and bgRgb24 can use numbers for color (#5198) | Oliver Lenehan | |
2020-05-20 | std/node: add util.callbackify (#5415) | Evan Hahn | |
This adds [Node's `util.callbackify`][0] to `std/node/util.ts`. I lifted most of this from the [original Node source code][1] (and [its tests][2]). I tried to make minimal modifications to the source. I made a few arbitrary decisions: - I was unable to do the function's types elegantly. I made overloads for functions that have 0 to 5 (inclusive) arguments, excluding the callback. I would love to know a better way to do this. (It seems that the folks at DefinitelyTyped [were also stumped][3], though maybe their solution is deliberate.) - There are a few edge cases that cause custom Node errors to be produced. Instead of re-implementing those errors completely, I created simplified classes. These are mostly correct but are not identical to the real Node errors. - The tests implement a possibly-arcane `TestQueue` class. I originally used a lot of inline promises but found it too repetitive. Closes [#5366][4]. [0]: https://nodejs.org/api/util.html#util_util_callbackify_original [1]: https://github.com/nodejs/node/blob/47804933012841f2dc90626bdcc161adf34569a5/lib/util.js#L183-L226 [2]: https://github.com/nodejs/node/blob/47804933012841f2dc90626bdcc161adf34569a5/test/parallel/test-util-callbackify.js [3]: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7d24857ddb07ab637dfa8c477d13352f8a8206fc/types/node/util.d.ts#L61-L84 [4]: https://github.com/denoland/deno/issues/5366 | |||
2020-05-20 | fix(std/log): await default logger setup (#5341) | Marcos Casagrande | |
2020-05-20 | refactor: reorganize TS compiler (#5603) | Bartek Iwańczuk | |
2020-05-20 | docs(std): fixed spelling mistake (#5662) | Anil Seervi | |
2020-05-20 | feat(std/node): Add fs.promises.readFile (#5656) | Marcos Casagrande | |
2020-05-19 | fix(std/node) improve fs.close compatibility (#5649) | Marcos Casagrande | |
2020-05-19 | fix(doc): crash on formatting type predicate (#5651) | Ryan Dahl | |
2020-05-19 | fix url (#5637) | moumni | |
2020-05-19 | fix(multipart): fix error when parsing file name in utf8 format (#5428) | zfx | |
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 | Mark Deno.pid and Deno.noColor as const (#5593) | buckle2000 | |
2020-05-19 | Implement Deno.symlink() for windows (#5533) | Ali Hasani | |
2020-05-18 | adjust docs (#5598) | Matt Dumler | |
2020-05-18 | docs: Clarify external code vendoring (#5597) | Nayeem Rahman | |
2020-05-18 | Fix URL encoding (#5557) | Nayeem Rahman | |
2020-05-18 | Make Deno.remove() work with directory symlinks on windows (#5488) | Ali Hasani | |
2020-05-18 | Revert "Fix definition of URL constructor (#5521)" (#5564) | Ryan Dahl | |
This reverts commit 63bc468365bceda929a39b5eb93b605e2dc2bd9c. | |||
2020-05-18 | fix: disable test using 019_media_types (#5589) | Bartek Iwańczuk | |
This commit disabled flaky test in cli/module_graph.rs. The test uses 019_media_types.ts which was known to be flaky for some time. Test should be reenabled once test HTTP server is rewritten to Rust. | |||
2020-05-18 | Update `docs/getting_started/first_steps.md` (#5573) | Matt Dumler | |
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 | |