summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2023-03-22feat(cli): --ext parameter for run, compile, and bundle (#17172)Cre3per
Adds `--ext` to `deno run`, closes #5088 Additionally - Adds `--ext` to `deno compile` and `deno bundle`
2023-03-21chore(tools): Copyright checker had a bad interpolation (#18328)Matt Mastracci
The copyright checker was erroring out with a bad interpolation if errors existed.
2023-03-21docs(release): update to include deno_docker release workflow (#18323)David Sherret
2023-03-21chore(tools): restore node compat test setup script (#18290)Yoshiya Hinosawa
2023-03-18chore(ci): allow 'Reland' PR title prefix (#18273)Bartek Iwańczuk
2023-03-17BREAKING(unstable): remove WebGPU (#18094)Leo Kettmeir
This PR _**temporarily**_ removes WebGPU (which has behind the `--unstable` flag in Deno), due to performance complications due to its presence. It will be brought back in the future; as a point of reference, Chrome will ship WebGPU to stable on 26/04/2023. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-16chore(ci): allow 'BREAKING' PR title prefix (#18238)Bartek Iwańczuk
So that we can land PRs like https://github.com/denoland/deno/pull/18237 or https://github.com/denoland/deno/pull/18094
2023-03-16chore: upgrade deno_automation to 0.19.0 (#18213)David Sherret
I updated the lockfile with: ``` deno cache --lock=tools/deno.lock.json --lock-write ./tools/wpt.ts ./tools/upload_wptfyi.js ./tools/release/deps.ts ```
2023-03-15test: ignore global-immutable-prototype.any.worker.html (#18208)Bartek Iwańczuk
This test is very flaky on CI, ignoring it for now. https://github.com/denoland/deno/issues/17405
2023-03-15chore: parallelize lint steps (#18214)David Sherret
2023-03-15fix(wpt): set META_TITLE on global for the testharness (#18193)Filip Skokan
Fixes hopefully the last mismatch of reported test titles. - [redirect-schemes.any.html](https://wpt.fyi/results/fetch/api/redirect/redirect-schemes.any.html?run_id=5139017526411264&run_id=5093839906275328) - [redirect-schemes.any.worker.html](https://wpt.fyi/results/fetch/api/redirect/redirect-schemes.any.worker.html?run_id=5139017526411264&run_id=5093839906275328) - https://github.com/web-platform-tests/wpt/blob/ebf6814ebdf36a551563a34a4396f4f2b3b1f617/resources/testharness.js#L4754-L4756
2023-03-14feat(ext/url): URLSearchParams.size (#17884)Lino Le Van
2023-03-13chore(ci): verify the PR title as part of linting (#18163)David Sherret
This verifies the PR title as part of the lint step.
2023-03-13wpt: only tag daily runs as master (#18155)Filip Skokan
This PR updates the WPT upload script so that it only labels runs that come from the daily WPT job as "master". This is so that only the daily synchronized runs get selected when viewing dashboards such as [this](https://wpt.fyi/results/?label=master&label=experimental&product=deno&product=node.js&product=chrome&product=edge&product=firefox&product=safari&aligned&view=subtest&q=deno%3A%21missing).
2023-03-10build: run clippy with --all-features (#18115)Bartek Iwańczuk
2023-03-08refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme ↵Bartek Iwańczuk
for snapshotted modules (#18041) This commit renames "deno_core::InternalModuleLoader" to "ExtModuleLoader" and changes the specifiers used by the modules loaded from this loader to "ext:". "internal:" scheme was really ambiguous and it's more characters than "ext:", which should result in slightly smaller snapshot size. Closes https://github.com/denoland/deno/issues/18020
2023-03-05fix(ext/crypto): correctly limit ECDSA and hash algorithms (#18030)Filip Skokan
Closes #18029
2023-03-03wpt: unlock nightly with --no-ignore (#17998)Filip Skokan
When I was testing the code in #17892 I had updated expectations and didn't catch this. This PR fixes the the expectation file format to not be checked when --no-ignore is passed during [nightly](https://github.com/denoland/deno/actions/runs/4319520368/jobs/7538796572#step:9:46) runs.
2023-03-02test(wpt): implement process timeout, fix expectations update, and more... ↵Filip Skokan
(#17892) - relands #17872 - updates the timeouts to be re-configurable just for CI - fixes `./tools/wpt.ts update` - adds option not "ignore" during, applied to wpt epoch runs only
2023-02-23Revert "test(wpt): implement process timeout (#17872)" (#17886)Bartek Iwańczuk
This reverts commit 5fcbdd62285140353edbb28e67f7d72e3317e96e.
2023-02-22test(wpt): implement process timeout (#17872)Filip Skokan
``` response-consume-stream.any.js Blob-stream.any.js ``` These tests just hang whenever they get to use byob mode. This PR adds a timeout to the spawned process so that the WPTs finish running. This first broke the daily run due to https://github.com/web-platform-tests/wpt/commit/7b49c547d4b7bcc17e6308f741b080f4207d1e8a Also fixes "Untitled" test names in https://wpt.fyi/results/dom/events/Event-constructors.any.html?label=experimental&label=master&product=deno&product=chrome&aligned&view=subtest
2023-02-17test: add node compat tests (#17805)Yoshiya Hinosawa
2023-02-16test: add unit tests from std/node (#17794)Bartek Iwańczuk
Adds two test files: "cli/tests/unit_node/process_test.ts" and "cli/tests/unit_node/child_process_test.ts" --------- Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-02-09refactor: deno_graph 0.43 upgrade (#17692)David Sherret
2023-02-07 refactor: remove prefix from include_js_files & use extension name (#17683)Leo Kettmeir
2023-02-07refactor: Use ES modules for internal runtime code (#17648)Leo Kettmeir
This PR refactors all internal js files (except core) to be written as ES modules. `__bootstrap`has been mostly replaced with static imports in form in `internal:[path to file from repo root]`. To specify if files are ESM, an `esm` method has been added to `Extension`, similar to the `js` method. A new ModuleLoader called `InternalModuleLoader` has been added to enable the loading of internal specifiers, which is used in all situations except when a snapshot is only loaded, and not a new one is created from it. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-02-05 refactor: rename `deno` specifiers to `internal` (#17655)Leo Kettmeir
2023-02-02chore: add release checklist step to check the benchmarks page (#17632)David Sherret
The 1.30.1 release had a performance regression that would have been caught by looking at the benchmarks page. This adds a pre-flight step to the release checklist for the person doing the release to go to this page and look at the output. This would have prevented #17629
2023-01-30chore: update webgpu (#17534)Leo Kettmeir
2023-01-26fix(core): Add lint check for core (#17223)Kenta Moriuchi
The prefer-primordials lint was skipped for `core/*.js`.
2023-01-24refactor: remove Deno.core (#16881)Bartek Iwańczuk
This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-01-16chore: update dlint to v0.37.0 for GitHub Actions (#17295)Kenta Moriuchi
Updated third_party dlint to v0.37.0 for GitHub Actions. This PR includes following changes: * fix(prefer-primordials): Stop using array pattern assignments * fix(prefer-primordials): Stop using global intrinsics except for `SharedArrayBuffer` * feat(guard-for-in): Apply new guard-for-in rule
2023-01-15chore: update std submodule and its imports (#17408)Asher Gomez
2023-01-13chore: small cleanup of scripts in ./tools and run copyright checker in ↵David Sherret
lint.js (#17393)
2023-01-13chore: add `copyright_checker` tool and add the missing copyright (#17285)Yiyu Lin
2023-01-12chore(ci): try some wpt parallelism (#17375)David Sherret
2023-01-10chore(ci): ci refactor - Part 1 - Generate ci yaml by js (#17335)David Sherret
2023-01-09fix(ext/web/streams): fix ReadableStream asyncIterator (#16276)Marcos Casagrande
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-12-06fix(ext/fetch): new Request should soft clone (#16869)Luca Casonato
Previously the inner request object of the original and the new request were the same, causing the requests to be entangled and mutable changes to one to be visible to the other. This fixes that.
2022-12-02chore: rewrite tests and utils to use Deno.Command API (#16895)Bartek Iwańczuk
Since "Deno.spawn()", "Deno.spawnSync()" and "Deno.spawnChild" are getting deprecated, this commits rewrites all tests and utilities to use "Deno.Command" API instead.
2022-12-01chore(tools): update deprecated commands in format and lint tool (#16864)Geert-Jan Zwiers
Updates tools/format.js and tools/lint.js from Deno.spawn to Deno.Command API.
2022-11-30chore: remove unnecessary lifetimes (#16878)David Sherret
It seems we don't really need to allow these clippy rules.
2022-11-28refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵David Sherret
cache folder (#16857)
2022-11-25refactor: move generated_symbol_exports_list_* files to napi folder (#16822)David Sherret
2022-11-25refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder (#16820)David Sherret
2022-11-22chore: workspace inheritance (#16343)Leo Kettmeir
2022-11-11feat(ops): implement fast lazy async ops (#16579)Divy Srivastava
Implements fast scheduling of deferred op futures. ```rs #[op(fast)] async fn op_read( state: Rc<RefCell<OpState>>, rid: ResourceId, buf: &mut [u8], ) -> Result<u32, Error> { // ... } ``` The future is scheduled via a fast API call and polled by the event loop after being woken up by its waker.
2022-11-10refactor(ops): Rewrite fast call optimizer and codegen (#16514)Divy Srivastava
2022-11-10fix(ext/response): make error, json, redirect enumerable (#16497)Marcos Casagrande