Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-11 | chore(ci): skip non-ubuntu test release jobs on PRs (#17353) | David Sherret | |
2023-01-12 | test: fix flaky deno_land_unsafe_ssl test (#17357) | Bartek Iwańczuk | |
2023-01-11 | fix(ci): use Node 18 (#17355) | Asher Gomez | |
2023-01-11 | chore(ci): save cache on main at end of workflow (#17354) | David Sherret | |
Seems like our caching was totally broken. We need to save the cache after building and not before. ``` Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved. Warning: Cache save failed. ``` | |||
2023-01-11 | fix: don't panic on resolveDns if unsupported record type is specified (#17336) | Leo Kettmeir | |
Fixes #14373 | |||
2023-01-11 | chore(ci): do not run CI on draft PRs unless explicitly run via commit ↵ | David Sherret | |
message (#17350) This will help us reduce CI time during development. The CI can be explicitly run on draft PRs by adding `[ci]` to the commit message. | |||
2023-01-11 | fix(fmt): better handling of link reference definitions when formatting ↵ | David Sherret | |
markdown (#17352) Two fixes: - https://github.com/dprint/dprint-plugin-markdown/pull/75 - https://github.com/dprint/dprint-plugin-markdown/pull/73 | |||
2023-01-11 | refactor(napi): Cleanup tests (#17347) | Bartek Iwańczuk | |
2023-01-11 | chore(ci): checkout less submodules based on job (#17343) | David Sherret | |
Co-authored-by: Luca Casonato <lucacasonato@users.noreply.github.com> | |||
2023-01-10 | chore(ci): ci refactor - Part 1 - Generate ci yaml by js (#17335) | David Sherret | |
2023-01-10 | fix(napi): support for env cleanup hooks (#17324) | Bartek Iwańczuk | |
This commit adds support for "napi_add_env_cleanup_hook" and "napi_remove_env_cleanup_hook" function for Node-API. | |||
2023-01-10 | fix(watch): preserve `ProcState::file_fetcher` between restarts (#15466) | Nayeem Rahman | |
This commit changes "ProcState" to store "file_fetcher" field in an "Arc", allowing it to be preserved between restarts and thus keeping the state alive between the restarts. File watchers for "deno test" and "deno bench" now reset "ProcState" between restarts. | |||
2023-01-10 | fix(napi): handle static properties in classes (#17320) | Bartek Iwańczuk | |
Adds support for static properties when using "napi_define_class". | |||
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-09 | fix(ext/web/streams): fix ReadableStream asyncIterator (#16276) | Marcos Casagrande | |
2023-01-09 | feat(runtime/os): add `Deno.env.has()` (#17315) | Leo Kettmeir | |
2023-01-09 | fix(cli/args): update value_name of inspect args to resolve broken ↵ | Geert-Jan Zwiers | |
completions (#17287) This PR updates the name used in `clap::Arg::value_name` for the `--inspect*` flags from `HOST:PORT` to `HOST_AND_PORT` because the former causes an arguments error when using shell completions in the `zsh` shell. | |||
2023-01-08 | feat(core): allow specifying name and dependencies of an Extension (#17301) | Leo Kettmeir | |
2023-01-08 | fix(install): should always include `--no-config` in shim unless `--config` ↵ | David Sherret | |
is specified (#17300) Closes #17294 | |||
2023-01-08 | feat(ext/ffi): structs by value (#15060) | Dj | |
Adds support for passing and returning structs as buffers to FFI. This does not implement fastapi support for structs. Needed for certain system APIs such as AppKit on macOS. | |||
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-06 | fix(core): get v8 console from context extra bindings (#17243) | Chengzhong Wu | |
Explicitly get `console` object from V8 instead of relying on `console` defined on the global object. | |||
2023-01-06 | fix(npm): handle declaration file resolution where packages incorrectly ↵ | David Sherret | |
define "types" last in "exports" (#17290) Closes #17279 | |||
2023-01-06 | fix(npm): support old packages and registries with no integrity, but with a ↵ | David Sherret | |
sha1sum (#17289) Closes #17281 | |||
2023-01-06 | chore: upgrade tokio to 1.24.0 (#17271) | Jun Jiang | |
2023-01-06 | fix(npm): reduce copy packages when resolving optional peer dependencies ↵ | David Sherret | |
(#17280) If an optional peer dependency entry previously wasn't resolved and it's now being resolved, then it will add it as if it were a dependency of the previously resolved package instead of creating a new "copy package" (seems to be what npm and pnpm does). Closes #17240 | |||
2023-01-06 | fix(npm): panic resolving some dependencies with dist tags (#17278) | David Sherret | |
This would only occur if a dist tag for a package was resolved more than once. Closes #17275 | |||
2023-01-06 | perf(ext,runtime): remove using `SafeArrayIterator` from `for-of` (#17255) | Kenta Moriuchi | |
2023-01-06 | fix(cli): uninstall command accept short flags (#17259) | Doni Rubiagatra | |
2023-01-05 | refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274) | Yiyu Lin | |
2023-01-05 | refactor(cli): clean up clones (#17268) | Geert-Jan Zwiers | |
2023-01-05 | chore: forward v1.29.2 release commit to main (#17277) | denobot | |
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-01-04 | fix: upgrade deno_ast to 0.23 (#17269) | David Sherret | |
Closes #17172 Closes #15669 Closes #8529 | |||
2023-01-04 | chore(cli,ext,rt): remove some unnecessary `clone` or `malloc` (#17261) | Yiyu Lin | |
2023-01-04 | docs(cli): do not need gen doc for cli (#17260) | Yiyu Lin | |
2023-01-04 | chore(CI): update to `actions/cache@v3` (#17201) | Asher Gomez | |
2023-01-03 | fix(permissions): process `URL` in `Deno.FfiPermissionDescriptor.path` for ↵ | Asher Gomez | |
`revoke()` and `request()` (#17094) Previously, `Deno.permissions.[revoke|request]()` wouldn't correctly process the `path: URL` when `name` was `ffi`. This change fixes that behaviour and adds a new function, `formDescriptor()`, to ensure `URL` arguments are consistently handled across `Deno.permissions.[query|revoke|request]()`. | |||
2023-01-03 | chore: resolve clippy errors in windows build (#17215) | Geert-Jan Zwiers | |
2023-01-03 | fix(lsp): don't error if completionItem/resolve request fails (#17250) | Bartek Iwańczuk | |
2023-01-03 | fix(permissions): fix italic font in permission prompt (#17249) | Bartek Iwańczuk | |
2023-01-03 | fix(cli): bundle command support shebang file (#17113) | Fenix | |
2023-01-03 | fix(lsp): treat empty string config value as None (#17227) | Leo Kettmeir | |
Fixes #14630 | |||
2023-01-03 | fix(declaration): change `Deno.open` example to not use `Deno.close(rid)` ↵ | David Sherret | |
(#17218) | |||
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 | refactor: cleanup redundant call (#17226) | Geert-Jan Zwiers | |
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. |