summaryrefslogtreecommitdiff
path: root/tests/specs/install
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-28 14:17:47 -0400
committerGitHub <noreply@github.com>2024-08-28 14:17:47 -0400
commitb708a13eb02510925b5fd964fe933b4896093185 (patch)
treee20a84f95680439a3eb665245fc7ede27bf4be02 /tests/specs/install
parent7dd861aa36974d5afa9633078b51c4c7f17cf181 (diff)
feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247)
Stores normalized version constraints in the lockfile, which will improve reproducibility and will fix a bug with duplicate specifiers ending up in the lockfile. Also, gets rid of some duplicate data in the specifiers area of the lockfile.
Diffstat (limited to 'tests/specs/install')
-rw-r--r--tests/specs/install/future_install_local_deno/deno.lock.out12
-rw-r--r--tests/specs/install/future_install_node_modules/deno.lock.out4
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/specs/install/future_install_local_deno/deno.lock.out b/tests/specs/install/future_install_local_deno/deno.lock.out
index 04bfc9b3a..5c9582fff 100644
--- a/tests/specs/install/future_install_local_deno/deno.lock.out
+++ b/tests/specs/install/future_install_local_deno/deno.lock.out
@@ -1,9 +1,9 @@
{
"version": "4",
"specifiers": {
- "jsr:@denotest/add": "jsr:@denotest/add@1.0.0",
- "jsr:@std/testing": "jsr:@std/testing@1.0.0",
- "npm:@denotest/esm-basic@^1.0.0": "npm:@denotest/esm-basic@1.0.0"
+ "jsr:@denotest/add@*": "1.0.0",
+ "jsr:@std/testing@*": "1.0.0",
+ "npm:@denotest/esm-basic@1": "1.0.0"
},
"jsr": {
"@denotest/add@1.0.0": {
@@ -26,9 +26,9 @@
},
"workspace": {
"dependencies": [
- "jsr:@denotest/add",
- "jsr:@std/testing",
- "npm:@denotest/esm-basic@^1.0.0"
+ "jsr:@denotest/add@*",
+ "jsr:@std/testing@*",
+ "npm:@denotest/esm-basic@1"
]
}
}
diff --git a/tests/specs/install/future_install_node_modules/deno.lock.out b/tests/specs/install/future_install_node_modules/deno.lock.out
index c8071adad..3a6ae8586 100644
--- a/tests/specs/install/future_install_node_modules/deno.lock.out
+++ b/tests/specs/install/future_install_node_modules/deno.lock.out
@@ -1,7 +1,7 @@
{
"version": "4",
"specifiers": {
- "npm:@denotest/esm-basic": "npm:@denotest/esm-basic@1.0.0"
+ "npm:@denotest/esm-basic@*": "1.0.0"
},
"npm": {
"@denotest/esm-basic@1.0.0": {
@@ -11,7 +11,7 @@
"workspace": {
"packageJson": {
"dependencies": [
- "npm:@denotest/esm-basic"
+ "npm:@denotest/esm-basic@*"
]
}
}