Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-06 | fix: revert lsp related internal specifiers (#17673) | Leo Kettmeir | |
To fix reports of breakage from #17655 | |||
2023-02-05 | refactor: rename `deno` specifiers to `internal` (#17655) | Leo Kettmeir | |
2023-02-03 | fix(lsp): prevent crash analyzing module (#17642) | David Sherret | |
Closes #17640 | |||
2023-01-28 | fix(lsp): update document dependencies on configuration change (#17556) | David Sherret | |
2023-01-27 | fix: ensure "fs" -> "node:fs" error/quick fix works when user has import map ↵ | David Sherret | |
(#17566) Closes #17563 | |||
2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-26 | refactor(lsp): fewer clones (#17551) | Geert-Jan Zwiers | |
2023-01-25 | fix: support import map specified as data uri (#17531) | David Sherret | |
2023-01-25 | feat: embed import map in the config file (#17478) | Bartek Iwańczuk | |
This commit changes handling of config file to enable specifying "imports" and "scopes" objects effectively making the configuration file an import map. "imports" and "scopes" take precedence over "importMap" configuration, but have lower priority than "--importmap" CLI flag. Co-authored-by: David Sherret <dsherret@users.noreply.github.com> Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-01-24 | feat: suggest adding a "node:" prefix for bare specifiers that look like ↵ | David Sherret | |
built-in Node modules (#17519) | |||
2023-01-24 | feat: support node built-in module imports (#17264) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-01-24 | refactor(deno_graph): remove unused Resolved::Ok#kind usage (#17504) | David Sherret | |
See https://github.com/denoland/deno_graph/pull/205 for more details. | |||
2023-01-18 | refactor(cli): Integrate standalone mode cert handling into `Flags` (#17419) | Andreu Botella | |
The way the standalone mode handles the `--cert` flag is different to all other modes. This is because `--cert` takes a path to the certificate file, which is directly added to the root cert store; except for compile mode, where its byte contents are stored in the standalone metadata, and they are added to the root cert store after the `ProcState` is created. This change instead changes `Flags::ca_file` (an `Option<String>`) into `Flags::ca_data`, which can represent a `String` file path or a `Vec<u8>` with the certificate contents. That way, standalone mode can create a `ProcState` whose root cert store alreay contains the certificate. This change also adds a tests for certificates in standalone mode, since there weren't any before. This refactor will help with implementing web workers in standalone mode in the future. | |||
2023-01-16 | refactor(cli): fewer clones (#17450) | Geert-Jan Zwiers | |
2023-01-14 | chore: use rustfmt imports_granularity option (#17421) | Divy Srivastava | |
Closes https://github.com/denoland/deno/issues/2699 Closes https://github.com/denoland/deno/issues/2347 Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not need to switch the cargo toolchain to nightly. Do we care about formatting stability of our codebase across Rust versions? (I don't) | |||
2023-01-14 | refactor(tsc): do not store some typescript declaration file text in ↵ | David Sherret | |
multiple places (#17410) | |||
2023-01-13 | chore: add `copyright_checker` tool and add the missing copyright (#17285) | Yiyu Lin | |
2023-01-10 | fix(npm): allow to read package.json if permissions are granted (#17209) | Bartek Iwańczuk | |
This commit changes signature of "deno_core::ModuleLoader::resolve" to pass an enum indicating whether or not we're resolving a specifier for dynamic import. Additionally "CliModuleLoader" was changes to store both "parent permissions" (or "root permissions") as well as "dynamic permissions" that allow to check for permissions in top-level module load an dynamic imports. Then all code paths that have anything to do with Node/npm compat are now checking for permissions which are passed from module loader instance associated with given worker. | |||
2023-01-08 | feat(core): allow specifying name and dependencies of an Extension (#17301) | Leo Kettmeir | |
2023-01-07 | refactor(cli/tools): move flag and config logic to CliOptions (#17008) | Geert-Jan Zwiers | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2023-01-07 | refactor(permissions): add PermissionsContainer struct for internal ↵ | Bartek Iwańczuk | |
mutability (#17134) Turns out we were cloning permissions which after prompting were discarded, so the state of permissions was never preserved. To handle that we need to store all permissions behind "Arc<Mutex<>>" (because there are situations where we need to send them to other thread). Testing and benching code still uses "Permissions" in most places - it's undesirable to share the same permission set between various test/bench files - otherwise granting or revoking permissions in one file would influence behavior of other test files. | |||
2023-01-03 | fix(lsp): don't error if completionItem/resolve request fails (#17250) | Bartek Iwańczuk | |
2023-01-03 | fix(lsp): treat empty string config value as None (#17227) | Leo Kettmeir | |
Fixes #14630 | |||
2023-01-03 | refactor(lsp): reduce number of clones (#17254) | Geert-Jan Zwiers | |
This PR optimizes the code in the language server by performing less cloning of data. | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-30 | fix(lsp): less agressive completion triggers (#17225) | Bartek Iwańczuk | |
Closes https://github.com/denoland/deno/issues/17056 Closes https://github.com/denoland/deno/issues/17055 | |||
2022-12-29 | fix(lsp): completions for private variables (#17220) | Bartek Iwańczuk | |
2022-12-29 | fix(lsp): "Add all missing imports" uses correct specifiers (#17216) | Bartek Iwańczuk | |
This commit fixes "Add all missing imports" quick fix; before it was replacing all occurrences with the same specifier. Now every line returned from TSC is processed individually. | |||
2022-12-20 | fix(lsp/format): language formatter used should be based on language id (#17148) | David Sherret | |
Closes #11897 | |||
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 | chore(lsp/testing): refactor collectors test (#17104) | Leo Kettmeir | |
2022-12-17 | chore: update to Rust 1.66.0 (#17078) | linbingquan | |
2022-12-17 | fix(lsp/testing): support not needing to declare first arg function in test ↵ | Leo Kettmeir | |
declaration (#17097) | |||
2022-12-16 | fix(lsp): handle template literal as first arg in test function (#17076) | Leo Kettmeir | |
2022-12-13 | feat(repl): support npm packages (#16770) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-12-12 | feat: improve download progress bar (#16984) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-12-07 | feat: upgrade to TypeScript 4.9.3 (#16973) | David Sherret | |
Updated from: https://github.com/denoland/TypeScript/pull/2 | |||
2022-12-05 | fix(npm): dependency types were sometimes not being resolved when package ↵ | David Sherret | |
had no types entry (#16958) Closes #16957 | |||
2022-12-05 | fix(test): improve how `--fail-fast` shuts down when hitting limit (#16956) | David Sherret | |
Closes #15650 | |||
2022-11-30 | fix(npm): improve package.json exports support for types (#16880) | David Sherret | |
2022-11-30 | chore: remove unnecessary lifetimes (#16878) | David Sherret | |
It seems we don't really need to allow these clippy rules. | |||
2022-11-30 | fix(lsp): analyze fs dependencies of dependencies to find npm package ↵ | David Sherret | |
requirements (#16866) Closes #16867 | |||
2022-11-28 | refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵ | David Sherret | |
cache folder (#16857) | |||
2022-11-27 | fix(npm): ensure npm package downloaded once per run when using `--reload` ↵ | David Sherret | |
(#16842) | |||
2022-11-26 | refactor: `DenoDir` - move to cache folder and make `root_dir` private (#16823) | David Sherret | |
2022-11-25 | refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder (#16820) | David Sherret | |
2022-11-25 | refactor(lsp): consolidate relative_specifier (#16780) | David Sherret | |
Closes #14840 | |||
2022-11-22 | fix(inspector): ensure console methods provided by inspector are available ↵ | Bartek Iwańczuk | |
(#16724) | |||
2022-11-21 | feat(core): Ability to create snapshots from existing snapshots (#16597) | Bartek Iwańczuk | |
Co-authored-by: crowlkats <crowlkats@toaxl.com> |