summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-14fix(napi): correct arguments for napi_get_typedarray_info (#17306)Bartek Iwańczuk
2023-01-14chore: upgrade rusty_v8 to 0.60.1 (#17407)Bartek Iwańczuk
Required for https://github.com/denoland/deno/pull/17306
2023-01-14fix(npm): use original node regex in npm resolution (#17404)Kiryl Dziamura
Fixes regex for matching conditional exports in a package. Updated to the same regex Node.js uses.
2023-01-14refactor(bench/http): Use optional chaining instead of `||` fallthrough (#17317)Max Coplan
2023-01-13refactor(coverage): use FileFlags struct (#17388)Geert-Jan Zwiers
2023-01-13refactor(cli/tools): reduce cloning (#17309)Geert-Jan Zwiers
2023-01-13fix(napi): allow cleanup hook to remove itself (#17402)Bartek Iwańczuk
This commit fixes "cleanup hooks" in NAPI integration in two ways: - don't hold to RefCell's borrow while iterating over hooks - allow a hook to remove itself when being called
2023-01-13fix(napi): update node version to lts (#17399)Lino Le Van
2023-01-13chore(ci): use windows-2022 runner on skipped release job on PRs (#17398)David Sherret
2023-01-13chore: small cleanup of scripts in ./tools and run copyright checker in ↵David Sherret
lint.js (#17393)
2023-01-13chore: forward 1.29.3 release back to main (#17401)David Sherret
2023-01-13fix(permissions): lock stdio streams when prompt is shown (#17392)Bartek Iwańczuk
This commit changes permission prompt to lock stdio streams when prompt is shown.
2023-01-13tests: Disable flaky flash_shutdown test (#17390)Bartek Iwańczuk
2023-01-13fix(napi): date and unwrap handling (#17369)Bartek Iwańczuk
2023-01-13chore: add `copyright_checker` tool and add the missing copyright (#17285)Yiyu Lin
2023-01-12chore(ci): try to make sysroot step more reliable (#17383)David Sherret
Main is failing a lot because of: ``` Err:8 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 debootstrap all 1.0.118ubuntu1.8 Connection failed [IP: 40.81.13.82 80] Fetched 44.1 MB in 60s (734 kB/s) E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.118ubuntu1.8_all.deb Connection failed [IP: 40.81.13.82 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ```
2023-01-13tests: move integration tests to a single module (#17380)Bartek Iwańczuk
Effectively reverts changes done in https://github.com/denoland/deno/pull/16816
2023-01-13fix: make self and window getters only & make getterOnly ignore setting (#17362)Leo Kettmeir
2023-01-12chore(ci): only run doc tests on linux (#17379)David Sherret
Doc tests were observed to take over 100s on the Mac CI in one instance.
2023-01-13fix(webidl): properly implement setlike (#17363)Leo Kettmeir
2023-01-12chore(ci): try some wpt parallelism (#17375)David Sherret
2023-01-12chore(ci): skip running the benchmarks on a PR except when a label is added ↵David Sherret
(#17377)
2023-01-12chore(ci): fix canary publish on main (#17374)David Sherret
Ref #17358
2023-01-12chore(ci): use mtime cache for fastci (#17373)David Sherret
2023-01-12chore(ci): do not clone submodule ./test_util/wpt unnecessarily (#17372)David Sherret
2023-01-12chore(ci): only install node for the benchmarks (#17371)David Sherret
2023-01-12ci: update Windows runner, update Google Cloud integration, update Node (#17358)Bartek Iwańczuk
This commit rolls up following PRs into a single one: - https://github.com/denoland/deno/pull/16672 - https://github.com/denoland/deno/pull/16674 - https://github.com/denoland/deno/pull/16972 Generation script was updated to take into account these changes. Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Geert-Jan Zwiers <geertjanzwiers@protonmail.com> Co-authored-by: David Sherret <dsherret@gmail.com>
2023-01-12Revert "test: fix flaky deno_land_unsafe_ssl test (#17357)" (#17368)Bartek Iwańczuk
This reverts commit ee2c6cb04af232be672b31b81f7c377b2f571267. Closes https://github.com/denoland/deno/issues/17359
2023-01-12fix(napi): Implement `napi_threadsafe_function` ref and unref (#17304)Divy Srivastava
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-12fix: check if BroadcastChannel is open before sending (#17366)Leo Kettmeir
Fixes #16978
2023-01-12feat: allow passing a ReadableStream to Deno.writeFile/Deno.writeTextFile ↵Leo Kettmeir
(#17329) Closes #13229
2023-01-12fix: don't unwrap in test pipe handling logic (#17341)Leo Kettmeir
Fixes #14746
2023-01-11chore(ci): skip non-ubuntu test release jobs on PRs (#17353)David Sherret
2023-01-12test: fix flaky deno_land_unsafe_ssl test (#17357)Bartek Iwańczuk
2023-01-11fix(ci): use Node 18 (#17355)Asher Gomez
2023-01-11chore(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-11fix: don't panic on resolveDns if unsupported record type is specified (#17336)Leo Kettmeir
Fixes #14373
2023-01-11chore(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-11fix(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-11refactor(napi): Cleanup tests (#17347)Bartek Iwańczuk
2023-01-11chore(ci): checkout less submodules based on job (#17343)David Sherret
Co-authored-by: Luca Casonato <lucacasonato@users.noreply.github.com>
2023-01-10chore(ci): ci refactor - Part 1 - Generate ci yaml by js (#17335)David Sherret
2023-01-10fix(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-10fix(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-10fix(napi): handle static properties in classes (#17320)Bartek Iwańczuk
Adds support for static properties when using "napi_define_class".
2023-01-10fix(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-09fix(ext/web/streams): fix ReadableStream asyncIterator (#16276)Marcos Casagrande
2023-01-09feat(runtime/os): add `Deno.env.has()` (#17315)Leo Kettmeir
2023-01-09fix(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-08feat(core): allow specifying name and dependencies of an Extension (#17301)Leo Kettmeir