Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-19 | chore(test): report correct cwd when running tests via itest macro (#17132) | Kamil Ogórek | |
2022-12-19 | fix(cli): allow for specifying `noErrorTruncation` compiler option (#17127) | Kamil Ogórek | |
Fixes https://github.com/denoland/deno/issues/16568 | |||
2022-12-19 | perf(lsp): concurrent reads and exclusive writes (#17135) | David Sherret | |
2022-12-19 | fix(lsp/testing): fallback name for non-analyzable tests in collector (#17120) | Leo Kettmeir | |
Closes #17054. The fallback is `Test lineNumber:columnNumber` | |||
2022-12-19 | fix: display URL in invalid URL error (#17128) | Leo Kettmeir | |
2022-12-19 | fix: hide progress bars when showing permission prompt (#17130) | David Sherret | |
Also adds download bytes progress when downloading remote specifiers. Closes #16860 | |||
2022-12-19 | chore(test_util): use pty2 instead of pty (#17131) | Divy Srivastava | |
Fixes https://github.com/denoland/deno/issues/484 Removes dependency on winapi 0.2.x versions. | |||
2022-12-19 | fix(cli): do not clear screen for non-TTY environments in watch mode (#17129) | Kamil Ogórek | |
2022-12-19 | refactor(progress bars): global control for drawing (#17091) | David Sherret | |
This PR adds the concept of a global `DrawThread`, which can receive multiple renderers to draw information on the screen (note: the underlying thread is released back to tokio when it's not rendering). It also separates the concept of progress bars from the existing "draw thread". This makes it trivial for us to do stuff like show permission prompts and progress bars at the same time in the future. The reason this is global is because the process' tty stderr is also a global concept. | |||
2022-12-19 | fix(npm): conditional exports with --node-modules-dir (#17111) | Bartek Iwańczuk | |
This commit fixes conditional exports in `require()` implementation if `--node-modules-dir` flag is used. | |||
2022-12-19 | test(ext/fetch): fix test in release mode (#17125) | Luca Casonato | |
2022-12-19 | fix(ext/fetch): handle errors in req body stream (#17081) | Luca Casonato | |
Right now an error in a request body stream causes an uncatchable global promise rejection. This PR fixes this to instead propagate the error correctly into the promise returned from `fetch`. It additionally fixes errored readable stream bodies being treated as successfully completed bodies by Rust. | |||
2022-12-19 | chore(lsp/testing): refactor collectors test (#17104) | Leo Kettmeir | |
2022-12-19 | fix(runtime): expose `extensions_with_js` from WorkerOptions (#17109) | Leo Kettmeir | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-12-18 | refactor(runtime): "Worker::execute_script" returns value (#17092) | Fenix | |
This commit changes "Worker::execute_script" to return a global handle to "v8::Value". | |||
2022-12-18 | refactor(permissions): factor out PermissionPrompter trait, add callbacks ↵ | Bartek Iwańczuk | |
(#16975) This commit refactors several things in "runtime/permissions" module: - splits it into "mod.rs" and "prompter.rs" - adds "PermissionPrompter" trait with two implementations: * "TtyPrompter" * "TestPrompter" - adds "before" and "after" prompt callback which can be used to hide progress bar in the CLI (to be done in a follow up) - "permissions_prompt" API returns "PromptResponse" enum, instead of a boolean; this allows to add "allow all"/"deny all" functionality for the prompt | |||
2022-12-17 | fix(init): update comment style (#17074) | Pig Fang | |
The output of `init` are commands, so this should be treated as a "Shell script". In Shell script, comments must start with `#`, not `//`. (This also makes the commands example easier to be copied to somewhere.) | |||
2022-12-17 | fix(runtime): `Deno.memoryUsage().rss` should return correct value (#17088) | David Sherret | |
This commit changes implementation of "Deno.memoryUsage()" to return correct value for "rss" field. To do that we implement a specialized function per os to retrieve this information. | |||
2022-12-17 | chore: update to Rust 1.66.0 (#17078) | linbingquan | |
2022-12-17 | fix(lint): column number for pretty reporting was off by 1 (#17107) | David Sherret | |
Closes #17086 | |||
2022-12-17 | chore: remove im.json (#17095) | Divy Srivastava | |
`im.json` was added in https://github.com/denoland/deno/commit/435948e47057a5d8f2ffffebf74b9f84e31770f8 cc @bartlomieju | |||
2022-12-17 | fix(lsp/testing): support not needing to declare first arg function in test ↵ | Leo Kettmeir | |
declaration (#17097) | |||
2022-12-17 | chore(core): Small realm-related fixes (#17044) | Andreu Botella | |
- `JsRuntime::built_from_snapshot` was removed because it was redundant with `JsRuntime::snapshot_options`. - Updates to stale documentation of `JsRuntime::create_realm`. - `JsRuntime::create_realm` now calls `JsRuntime::init_extension_js` unconditionally, since if the runtime was built from a snapshot, `init_extension_js` will be a no-op. - Typo fix in the documentation for `JsRealm`. | |||
2022-12-16 | fix(repl): doing two history searches exiting with ctrl+c should not exit ↵ | sigmaSd | |
repl (#17079) fix https://github.com/denoland/deno/issues/16147 | |||
2022-12-16 | fix(npm): fix require resolution if using --node-modules-dir (#17087) | Bartek Iwańczuk | |
In our `require()` implementation we use a special logic to resolve "base path" when looking for matching packages, however this logic is in contradiction to what needs to happen if there's a local "node_modules" directory used. This commit changes require implementation to be aware if we're running off of global node modules cache or a local one. | |||
2022-12-16 | fix(install): use a hidden file for the lockfile and config (#17084) | David Sherret | |
Closes #17083 | |||
2022-12-16 | refactor(core): allow to listen for notifications in LocalInspectorSession ↵ | Bartek Iwańczuk | |
(#17040) | |||
2022-12-16 | fix(repl): errors shouldn't terminate repl (#17082) | Bartek Iwańczuk | |
This commit changes REPL to never surface errors coming from code execution, but instead print them as errors to the REPL itself. | |||
2022-12-16 | fix(lsp): handle template literal as first arg in test function (#17076) | Leo Kettmeir | |
2022-12-15 | fix(npm): improve exports resolution when type checking (#17071) | David Sherret | |
Closes #17012 | |||
2022-12-15 | fix(regression): ensure progress information is shown when downloading ↵ | David Sherret | |
remote modules (#17069) | |||
2022-12-15 | chore: forward v1.29.1 release commit to main (#17067) | denobot | |
Co-authored-by: dsherret <dsherret@users.noreply.github.com> | |||
2022-12-15 | fix: re-add Response.json static method (#17061) | Leo Kettmeir | |
Same as #16040 | |||
2022-12-15 | Revert "feat(ops): Fast zero copy string arguments (#16777)" (#17063) | Bartek Iwańczuk | |
This reverts commit 9b2b8df927ac23cfa99016a684179f2a3198ba2e. Closes https://github.com/dsherret/ts-morph/issues/1372 Closes https://github.com/denoland/deno/issues/16979 | |||
2022-12-15 | 1.29.0 (#17052) | denobot | |
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-12-14 | fix(upgrade/windows): correct command in windows access denied message (#17049) | David Sherret | |
2022-12-14 | fix(permissions): Allow ancestor path for --allow-ffi (#16765) | sigmaSd | |
This commit changes "--allow-ffi" flag to support "parent paths", ie. if an FFI library is loaded we are checking if the library has an ancestor path in the allowlist for the FFI permission descriptor. | |||
2022-12-14 | fix: upgrade to TS 4.9.4 (#17048) | David Sherret | |
2022-12-14 | chore: fix recent regression with `deno upgrade` not handling redirects (#17045) | David Sherret | |
2022-12-14 | feat: Stabilize Deno.TcpConn.setNoDelay() and Deno.TcpConn.setKeepAlive() ↵ | Bartek Iwańczuk | |
(#17003) This commit stabilizes following APIs: - `Deno.TcpConn.setNoDelay()` - `Deno.TcpConn.setKeepAlive()` | |||
2022-12-13 | fix(fmt): panic in yaml header with multi-byte characters (#17042) | David Sherret | |
Closes #17010 | |||
2022-12-13 | chore(core): Deduplicate `event_loop_pending_state` (#17039) | Andreu Botella | |
2022-12-13 | refactor(core): add more information when unable to build error (#17027) | Bartek Iwańczuk | |
This should help debug problem in https://github.com/denoland/deno/issues/16963 | |||
2022-12-13 | fix(npm): support loose node semver ranges like `>= ^x.x.x` (#17037) | David Sherret | |
2022-12-13 | chore: upgrade rusty_v8 to 0.60.0 (#17033) | Bartek Iwańczuk | |
2022-12-13 | ci: update release action (#17034) | Bartek Iwańczuk | |
2022-12-13 | feat(napi): improve napi coverage (#16198) | Divy Srivastava | |
2022-12-13 | docs: use example & default tags (#17032) | Leo Kettmeir | |
2022-12-13 | feat(repl): support npm packages (#16770) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-12-13 | feat: support `createNew` in `Deno.writeFile` (#17023) | Leo Kettmeir | |