1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00
denoland-deno/test_util/src
David Sherret 4f80d83774
feat(unstable): single checksum per JSR package in the lockfile (#22421)
This changes the lockfile to not store JSR specifiers in the "remote"
section. Instead a single JSR integrity is stored per package in the
lockfile, which is a hash of the version's `x.x.x_meta.json` file, which
contains hashes for every file in the package. The hashes in this file
are then compared against when loading.

Additionally, when using `{ "vendor": true }` in a deno.json, the files
can be modified without causing lockfile errors—the checksum is only
checked when copying into the vendor folder and not afterwards
(eventually we should add this behaviour for non-jsr specifiers as
well). As part of this change, the `vendor` folder creation is not
always automatic in the LSP and running an explicit cache command is
necessary. The code required to track checksums in the LSP would have
been too complex for this PR, so that all goes through deno_graph now.
The vendoring is still automatic when running from the CLI.
2024-02-15 14:49:35 -05:00
..
servers feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
testdata fix(test_util): parse strace usecs/call in total line if present (#18241) 2023-03-17 10:39:57 +02:00
assertions.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
builders.rs feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
factory.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
fs.rs refactor: load bytes in deno_graph (#22212) 2024-02-01 03:15:22 +00:00
https.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
lib.rs chore: rename DENO_REGISTRY_URL to JSR_URL (#22414) 2024-02-14 18:30:44 +00:00
lsp.rs chore: rename DENO_REGISTRY_URL to JSR_URL (#22414) 2024-02-14 18:30:44 +00:00
macros.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
npm.rs feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
pty.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
spawn.rs refactor: split integration tests from CLI (part 1) (#22308) 2024-02-09 13:33:05 -07:00
test_server.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00