Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-11 | compat: support --compat in web workers (#13629) | Bartek Iwańczuk | |
Adds another callback to WebWorkerOptions that allows to execute some modules before actual worker code executes. This allows to set up Node global using std/node. | |||
2022-02-10 | feat(lsp): provide completions from import map if available (#13624) | Kitson Kelly | |
Closes #13619 | |||
2022-02-04 | chore: forward v1.18.2 to main (#13595) | Bartek Iwańczuk | |
2022-02-04 | feat(lsp): add redirect diagnostic and quick fix (#13580) | Kitson Kelly | |
Ref: #12864 | |||
2022-02-03 | fix(cli): handle local files with query params on emit (#13568) | Kitson Kelly | |
Fixes #13562 | |||
2022-02-02 | fix(lsp): properly display x-deno-warning with redirects (#13554) | Kitson Kelly | |
Fixes: #13472 | |||
2022-02-01 | refactor: integrate deno_graph breaking changes (#13495) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-01-31 | fix(cli): handle extensionless imports better (#13548) | Kitson Kelly | |
Fixes #13526 | |||
2022-01-27 | chore: forward v1.18.1 to main (#13514) | Bartek Iwańczuk | |
2022-01-25 | feat(test): better errors for resource sanitizer (#13296) | Luca Casonato | |
This commit makes the errors produced from the resource sanitizer much more human readable. It does this by using real words rather than our "resource names" when referring to resources, and by giving helpful hints on how to clean up each of the resources. | |||
2022-01-24 | chore: re-enable wgpu_sync (#13453) | Aaron O'Mullan | |
2022-01-24 | tests: Add inspector tests for "Memory" and "Profile" tabs (#13476) | Bartek Iwańczuk | |
2022-01-24 | fix(lsp): respect DENO_CERT and other options related to TLS certs (#13467) | Kitson Kelly | |
Fixes #13437 | |||
2022-01-20 | 1.18.0 | Divy Srivastava | |
2022-01-20 | revert(#13402): experiment: wgpu sync (#13439) | Aaron O'Mullan | |
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2022-01-19 | experiment: wgpu sync (#13402) | Aaron O'Mullan | |
2022-01-18 | feat: stabilize test steps API (#13400) | David Sherret | |
2022-01-17 | feat: auto-discover config file (#13313) | Ryan Dahl | |
2022-01-18 | fix(runtime): don't crash when window is deleted (#13392) | Bartek Iwańczuk | |
This commit fixes an error when user deletes "window" global JS variable. Instead of relying on "window" or "globalThis" to dispatch "load" and "unload" events, we are default to global scope of the worker. | |||
2022-01-17 | fix(ext/console): don't depend on globalThis present (#13387) | Bartek Iwańczuk | |
2022-01-16 | fix(cli): Don't strip shebangs from modules (#13220) | Andreu Botella | |
Deno's module loader currently strips a shebang if a module file starts with one. However, this is no longer necessary, since there is a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the language (https://github.com/tc39/proposal-hashbang), and V8, `tsc` and `swc` all support it. Furthermore, stripping shebangs causes a correctness bug with JSON modules, since a JSON file with a shebang should not parse as a JSON module, yet it does with this stripping. This change fixes this. | |||
2022-01-13 | chore: forward v1.17.3 to main (#13364) | Bartek Iwańczuk | |
2022-01-12 | feat(cli): add ignore directives to bundled code (#13309) | juju | |
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually. | |||
2022-01-11 | fix(coverage): merge coverage ranges (#13334) | Bartek Iwańczuk | |
Covered ranges were not merged and thus it appeared that some lines might be uncovered. To fix this I used "v8-coverage" that takes care of merging the ranges properly. With this change, coverage collected from a file by multiple entrypoints is now correctly calculated. I ended up forking https://github.com/demurgos/v8-coverage and adding "cli/tools/coverage/merge.rs" and "cli/tools/coverage/range_tree.rs". | |||
2022-01-09 | fix: expose "Deno.memoryUsage()" in worker context (#13293) | Rodney van den Velden | |
2022-01-09 | test: add inspector test with ts files (#13312) | Bartek Iwańczuk | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2022-01-07 | feat(lsp): provide registry details on hover if present (#13294) | Kitson Kelly | |
Closes: #13272 | |||
2022-01-06 | feat(ext/websocket): server automatically handle ping/pong for incoming ↵ | Leo Kettmeir | |
WebSocket (#13172) | |||
2022-01-06 | chore: forward 1.17.2 to main (#13295) | Bartek Iwańczuk | |
2022-01-05 | feat(ext/websocket): add header support to WebSocketStream (#11887) | Leo Kettmeir | |
2022-01-04 | fix: upgrade swc_ecmascript to 0.103 (#13284) | David Sherret | |
2022-01-04 | fix(lsp): handle repeating patterns in registry correctly (#13275) | Kitson Kelly | |
2022-01-02 | chore: update std submodule to efa94f2 (#13260) | Bartek Iwańczuk | |
2022-01-02 | fix(lsp): properly generate data URLs for completion items (#13246) | Kitson Kelly | |
2021-12-30 | feat(test): Add support for "deno test --compat" (#13235) | Steven Guerrero | |
2021-12-29 | feat: output `cause` on JS runtime errors (#13209) | Leo Kettmeir | |
2021-12-23 | fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) | David Sherret | |
2021-12-24 | fix(cli): include JSON modules in bundle (#13188) | Kitson Kelly | |
Fixes #13150 | |||
2021-12-22 | chore: merge v1.17.1 into main (#13184) | Bartek Iwańczuk | |
2021-12-22 | chore: update deno_graph and deno_doc (#13173) | Kitson Kelly | |
2021-12-20 | feat(lsp): add code lens for debugging tests (#13138) | Jesper van den Ende | |
Closes: #13130 | |||
2021-12-16 | v1.17.0 | Bartek Iwańczuk | |
2021-12-16 | feat: support abort reasons in Deno APIs and `WebSocketStream` (#13066) | Andreu Botella | |
2021-12-16 | refactor(cli): use GraphData for check and emit (#12960) | Nayeem Rahman | |
2021-12-16 | fix(lsp): provide diagnostics for import assertions (#13105) | Kitson Kelly | |
Fixes: #13099 | |||
2021-12-16 | fix(test): wait for inspector session in side modules (#13065) | Jesper van den Ende | |
This commit fixes inspector integration with "deno test" subcommand by waiting for inspector sessions to connect if "--inspect-brk" flag is passed. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-12-15 | feat: Add support for import assertions and JSON modules (#12866) | Bartek Iwańczuk | |
This commit adds proper support for import assertions and JSON modules. Implementation of "core/modules.rs" was changed to account for multiple possible module types, instead of always assuming that the code is an "ES module". In effect "ModuleMap" now has knowledge about each modules' type (stored via "ModuleType" enum). Module loading pipeline now stores information about expected module type for each request and validates that expected type matches discovered module type based on file's "MediaType". Relevant tests were added to "core/modules.rs" and integration tests, additionally multiple WPT tests were enabled. There are still some rough edges in the implementation and not all WPT were enabled, due to: a) unclear BOM handling in source code by "FileFetcher" b) design limitation of Deno's "FileFetcher" that doesn't download the same module multiple times in a single run Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-12-15 | chore: updates to support deno_graph API changes (#13080) | Kitson Kelly | |