Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-30 | feat(lsp): add experimental testing API (#13798) | Kitson Kelly | |
Ref: denoland/vscode_deno#629 | |||
2022-03-29 | feat(cli/fmt): ignore .git folder when formatting files (#14138) | TrickyPi | |
2022-03-29 | feat(lsp): support API for config file (#14139) | Kitson Kelly | |
Closes: #13910 | |||
2022-03-28 | chore: fix compile_windows_ext test (#14142) | David Sherret | |
2022-03-25 | fix(ext/ffi): enforce unstable check on ops (#14115) | Luca Casonato | |
2022-03-24 | tests(cli): ignore previously unignored test (#14104) | Kitson Kelly | |
Ref: #14103 | |||
2022-03-23 | fix(bench): require --unstable flag in JavaScript (#14091) | Bartek Iwańczuk | |
2022-03-23 | fix(test): don't error on missing op details (#14074) | Bartek Iwańczuk | |
2022-03-22 | chore: replace `.expect("...")` calls with `.unwrap()` in test code (#14081) | David Sherret | |
2022-03-22 | fix(tests): do not use global env vars in install tests (#14078) | David Sherret | |
2022-03-22 | fix(ext/fetch): Connect async error stack with user code (#13899) | Nayeem Rahman | |
2022-03-22 | fix(fetch): Fix uncaught rejection panic with ↵ | Andreu Botella | |
`WebAssembly.instantiateStreaming` (#13925) When an exception is thrown during the processing of streaming WebAssembly, `op_wasm_streaming_abort` is called. This op calls into V8, which synchronously rejects the promise and calls into the promise rejection handler, if applicable. But calling an op borrows the isolate's `JsRuntimeState` for the duration of the op, which means it is borrowed when V8 calls into `promise_reject_callback`, which tries to borrow it again, panicking. This change changes `op_wasm_streaming_abort` from an op to a binding (`Deno.core.abortWasmStreaming`). Although that binding must borrow the `JsRuntimeState` in order to access the `WasmStreamingResource` stored in the `OpTable`, it also takes ownership of that `WasmStreamingResource` instance, which means it can drop any borrows of the `JsRuntimeState` before calling into V8. | |||
2022-03-21 | chore: fix development issues on Windows (#14030) | David Sherret | |
2022-03-21 | feat(lsp): support deno.enablePaths setting (#13978) | Kitson Kelly | |
Ref: denoland/vscode_deno#633 | |||
2022-03-18 | fix(cli): improve `deno compile` error messages (#13944) | TrickyPi | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-03-15 | feat(task): add unstable warning to `deno task` (#13966) | David Sherret | |
2022-03-15 | disable flakes (#13962) | Ryan Dahl | |
2022-03-12 | feat(task): log task script (#13922) | Bartek Iwańczuk | |
Logs task name and associated script with additional args. This is disabled if "--quiet/-q" flag is present. | |||
2022-03-12 | test: fix flaky compat tests (#13921) | Bartek Iwańczuk | |
2022-03-11 | feat: "deno bench" subcommand (#13713) | Bartek Iwańczuk | |
This commit adds "deno bench" subcommand and "Deno.bench()" API that allows to register bench cases. The API is modelled after "Deno.test()" and "deno test" subcommand. Currently the output is rudimentary and bench cases and not subject to "ops" and "resource" sanitizers. Co-authored-by: evan <github@evan.lol> | |||
2022-03-10 | feat: "deno task" subcommand (#13725) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-03-11 | fix(compat): cjs/esm interop for dynamic imports (#13792) | Bartek Iwańczuk | |
This commit fixes CJS/ESM interop in compat mode for dynamically imported modules. "ProcState::prepare_module_load" was changed to accept a list of "graph roots" without associated "module kind". That module kind was always hardcoded to "ESM" which is not true for CJS/ESM interop - a CommonJs module might be imported using "import()" function. In such case the root of the graph should have "CommonJs" module kind instead of "ESM". | |||
2022-03-11 | fix(test): skip typechecking for blocks inside HTML comments (#13889) | Geert-Jan Zwiers | |
2022-03-08 | fix(test): typecheck blocks annotated with long js/ts notations (#13785) | Geert-Jan Zwiers | |
2022-03-02 | fix(repl): fix null eval result (#13804) | Yoshiya Hinosawa | |
Co-authored-by: Satya Rohith <me@satyarohith.com> | |||
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-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 | feat: Add hint to permission prompt to display allow flag (#13695) | Ryan Dahl | |
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-12 | feat: permission prompt by default (#13650) | Ryan Dahl | |
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): support linking to symbols in JSDoc on hover (#13631) | Kitson Kelly | |
Closes #13198 | |||
2022-02-10 | feat(lsp): provide completions from import map if available (#13624) | Kitson Kelly | |
Closes #13619 | |||
2022-02-07 | refactor: factor out CDP message types (#13551) | Leo Kettmeir | |
2022-02-04 | feat(lsp): add redirect diagnostic and quick fix (#13580) | Kitson Kelly | |
Ref: #12864 | |||
2022-02-03 | fix: don't crash when $HOME is a relative path (#13581) | Luca Casonato | |
Absolutize the cache/home dir before use in DenoDir. | |||
2022-02-02 | refactor(lsp): remove circular dependency between `LanguageServer` and ↵ | David Sherret | |
`DiagnosticsServer` (#13577) | |||
2022-02-03 | fix(cli): handle local files with query params on emit (#13568) | Kitson Kelly | |
Fixes #13562 | |||
2022-01-31 | feat(cli): add "--no-clear-screen" flag (#13454) | Zheyu Zhang | |
This commit adds "--no-clear-screen" flag which can be used with "--watch" flag to disable clearing of terminal screen on each file change. | |||
2022-01-31 | fix(cli): handle extensionless imports better (#13548) | Kitson Kelly | |
Fixes #13526 | |||
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 | fix(lsp): independent diagnostic publishing should include all diagnostic ↵ | David Sherret | |
sources on each publish (#13483) | |||
2022-01-24 | perf(lsp): independent diagnostic source publishes (#13427) | David Sherret | |
2022-01-24 | tests: Add inspector tests for "Memory" and "Profile" tabs (#13476) | Bartek Iwańczuk | |