Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-08 | fix(test): typecheck blocks annotated with long js/ts notations (#13785) | Geert-Jan Zwiers | |
2022-03-02 | feat(cli): update to TypeScript 4.6.2 (#13474) | Kitson Kelly | |
2022-02-27 | feat(compat): CJS/ESM interoperability (#13553) | Bartek Iwańczuk | |
This commit adds CJS/ESM interoperability when running in --compat mode. Before executing files, they are analyzed and all CommonJS modules are transformed on the fly to a ES modules. This is done by utilizing analyze_cjs() functionality from deno_ast. After discovering exports and reexports, an ES module is rendered and saved in memory for later use. There's a caveat that all files ending with ".js" extension are considered as CommonJS modules (unless there's a related "package.json" with "type": "module"). | |||
2022-02-26 | fix(test): use --no-prompt by default (#13777) | Bartek Iwańczuk | |
This commit changes "deno test" subcommand, to always never prompt for permissions (ie. as if "deno test" was run with "--no-prompt" flag). | |||
2022-02-25 | feat: deno test --trace-ops (#13770) | Bartek Iwańczuk | |
This commit adds "--trace-ops" flag to "deno test" subcommand. This flag enables saving of stack traces for async ops, that before were always saved. While the feature proved to be very useful it comes with a significant performance hit, it's caused by excessive source mapping of stack frames. | |||
2022-02-25 | fix(cli): disable config discovery for remote script (#13745) | Yoshiya Hinosawa | |
2022-02-25 | feat(cli): support data url (#13667) | Simon Lecoq | |
Closes #11141 | |||
2022-02-24 | fix(compile): Support import maps (#13756) | Divy Srivastava | |
2022-02-23 | feat: allow specification of import map in config file (#13739) | Kitson Kelly | |
Closes: #12800 | |||
2022-02-17 | v1.19.0 | Bartek Iwańczuk | |
2022-02-16 | feat(test): improved op sanitizer errors + traces (#13676) | Luca Casonato | |
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests. | |||
2022-02-16 | feat: deno vendor (#13670) | David Sherret | |
2022-02-16 | tests: deflake a bunch of net related tests (#13685) | Luca Casonato | |
2022-02-15 | feat(cli): Replace bundling with eszip in deno compile (#13563) | William Tetlow | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-02-15 | chore(ext/timers): move ext/timers to ext/web (#13665) | Andreu Botella | |
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 | |