Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | fix(lsp/testing): support not needing to declare first arg function in test ↵ | Leo Kettmeir | |
declaration (#17097) | |||
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: 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-13 | fix(fmt): panic in yaml header with multi-byte characters (#17042) | David Sherret | |
Closes #17010 | |||
2022-12-13 | fix(npm): support loose node semver ranges like `>= ^x.x.x` (#17037) | David Sherret | |
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 | |
2022-12-13 | fix: default to `"inherit"` for `Deno.Command#spawn()`'s `stdout` & `stderr` ↵ | Leo Kettmeir | |
(#17025) | |||
2022-12-12 | fix: always derive http client from cli flags (#17029) | David Sherret | |
I'm not sure how to test this. It doesn't seem to have an existing test. Closes #15921 | |||
2022-12-12 | feat: improve download progress bar (#16984) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-12-12 | feat: add `--inspect-wait` flag (#17001) | Bartek Iwańczuk | |
This commit adds new "--inspect-wait" flag which works similarly to "--inspect-brk" in that it waits for inspector session to be established before running code. However it doesn't break on the first statement of user code, but instead runs it as soon as a session is established. | |||
2022-12-10 | feat(cli): support deno bench in the config file (#16608) | Geert-Jan Zwiers | |
This PR adds the ability to set `include/exclude` fields for `deno bench` in the configuration file. | |||
2022-12-10 | feat(init): Generate main_bench.ts by default (#16786) | sigmaSd | |
This commit changes "deno init" to generate "main_bench.ts" file which scaffold two example bench cases. | |||
2022-12-09 | feat(init): Use jsonc for configuration file (#17002) | Bartek Iwańczuk | |
Generate "deno.jsonc" instead of "deno.json" when running "deno init" subcommand. | |||
2022-12-09 | fix: respect the `--quiet` flag in more cases (#16998) | David Sherret | |
2022-12-09 | unstable: remove Deno.spawn, Deno.spawnSync, Deno.spawnChild APIs (#16893) | Bartek Iwańczuk | |
This commit removes three unstable Deno APIs: - "Deno.spawn()" - "Deno.spawnSync()" - "Deno.spawnChild()" These APIs were replaced by a unified "Deno.Command" API. | |||
2022-12-09 | refactor: cleanup main.rs (#16996) | David Sherret | |
1. Extracts out some code from main.rs 2. Inlines all the `x_command` functions in main.rs | |||
2022-12-08 | fix(cli/upgrade): properly cleanup after finished (#16930) | Lino Le Van | |
Co-authored-by: kidonng <kidonng@users.noreply.github.com> | |||
2022-12-08 | chore: fix pty_complete_imports test (#16992) | David Sherret | |
This test doesn't run on the CI. | |||
2022-12-08 | fix(compile): ensure import map is used when specified in deno config file ↵ | David Sherret | |
(#16990) Closes #14246 | |||
2022-12-08 | feat(init): Generate deno.json by default (#16389) | Bartek Iwańczuk | |
Updates `deno init` subcommand to create a `deno.json` when initializing a new project. Slightly changes the output, to make it more readable. | |||
2022-12-08 | feat(cli): support configuring the lock file in the config file (#16781) | Roj | |
This allows the user to completely opt out from the lock file or rename it without having to use `--no-lock` and/or `--lock` in all commands. ## Don’t Use Lock File ```json { "lock": false } ``` ## Use Lock File With a Different Name ```json { "lock": "deno2.lock" } ``` The CLI args `--no-lock` and `--lock` will always override what is in the config file. Co-authored-by: David Sherret <dsherret@users.noreply.github.com> | |||
2022-12-07 | feat(fmt): improve width calculation (#16982) | David Sherret | |
Formats code according to Unicode Standard Annex #11 rules (https://crates.io/crates/unicode-width). This aligns `deno fmt` more with prettier. | |||
2022-12-07 | feat(npm): add support for `NPM_CONFIG_REGISTRY` (#16980) | David Sherret | |
2022-12-07 | feat(repl): run "deno repl" with no permissions (#16795) | Bartek Iwańczuk | |
This commit changes "deno repl" command to run with no permissions by default and accept "--allow-*" flags. This change is dictated by the fact that currently there is no way to run REPL with limited permissions. Technically it's a breaking change in the CLI command, but there's agreement in the team that it has merit and it's a good solution. Running just "deno" command still starts the REPL with full permissions allowed, but now a banner is printed to inform users about that: | |||
2022-12-07 | feat(flags): add `deno check --all` as new preferred alias for `--remote` ↵ | David Sherret | |
(#16702) Closes #16374 | |||
2022-12-07 | feat: ignore `node_modules` and `.git` folders when collecting files ↵ | David Sherret | |
everywhere (#16862) We currently only do this for fmt. This makes it so they're excluded by default, but you can still opt into these directories by explicitly specifying them. | |||
2022-12-07 | feat: upgrade to TypeScript 4.9.3 (#16973) | David Sherret | |
Updated from: https://github.com/denoland/TypeScript/pull/2 | |||
2022-12-06 | fix(test): handle scenario where --trace-ops would cause an unhandled ↵ | David Sherret | |
promise rejection (#16970) Closes #16969 |