summaryrefslogtreecommitdiff
path: root/tests/specs/lockfile/frozen_lockfile
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-26 19:01:50 -0400
committerGitHub <noreply@github.com>2024-08-26 23:01:50 +0000
commite13230226fe91498b3a5f28a8de6edbe4f164944 (patch)
tree680687d66cb0725601008bed14fa7c2c8be2054c /tests/specs/lockfile/frozen_lockfile
parentba58628601057c6f996cbad287fcfbe353872368 (diff)
feat: lockfile v4 by default (#25165)
This won't be fully stabilized until 2.0 is released.
Diffstat (limited to 'tests/specs/lockfile/frozen_lockfile')
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_cache.out17
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_http.out9
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_jsr.out16
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_npm.out17
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_cache.out20
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_run.out20
-rw-r--r--tests/specs/lockfile/frozen_lockfile/frozen_new_dep_run.out17
-rw-r--r--tests/specs/lockfile/frozen_lockfile/no_lockfile_run.out26
8 files changed, 68 insertions, 74 deletions
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_cache.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_cache.out
index bf6c03367..a66e090a2 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_cache.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_cache.out
@@ -1,11 +1,10 @@
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
- 5 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
- 5 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
- 6 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
-11 | - }
-12 | + },
-13 | + "@denotest/subtract@1.0.0": {
-14 | + "integrity": "[WILDCARD]",
-15 | + "dependencies": {}
-16 | + }
+ 4 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
+ 4 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
+ 5 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
+ 9 | - }
+10 | + },
+11 | + "@denotest/subtract@1.0.0": {
+12 | + "integrity": "[WILDCARD]"
+13 | + }
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_http.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_http.out
index 99c884e9c..3ec45581a 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_http.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_http.out
@@ -1,10 +1,11 @@
Download http://localhost:4545/welcome.ts
error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
-14 | - "remote": {}
-14 | + "remote": {
-15 | + "http://localhost:4545/welcome.ts": "[WILDCARD]"
-16 | + }
+10 | - }
+10 | + },
+11 | + "remote": {
+12 | + "http://localhost:4545/welcome.ts": "[WILDCARD]"
+13 | + }
const _ = await import(scheme + "localhost:4545/welcome.ts");
^
at [WILDCARD] \ No newline at end of file
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_jsr.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_jsr.out
index e77853ab2..7051ecbfa 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_jsr.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_jsr.out
@@ -3,14 +3,14 @@ Download http://127.0.0.1:4250/@denotest/add/1.0.0_meta.json
Download http://127.0.0.1:4250/@denotest/add/1.0.0/mod.ts
error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
- 5 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
- 5 | + "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0",
- 6 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
- 7 | + },
- 8 | + "jsr": {
- 9 | + "@denotest/add@1.0.0": {
-10 | + "integrity": "[WILDCARD]"
-11 | + }
+ 4 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
+ 4 | + "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0",
+ 5 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
+ 6 | + },
+ 7 | + "jsr": {
+ 8 | + "@denotest/add@1.0.0": {
+ 9 | + "integrity": "[WILDCARD]"
+10 | + }
const { add } = await import(scheme + "@denotest/add@1");
^
at [WILDCARD] \ No newline at end of file
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_npm.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_npm.out
index 9b2efa462..749c69587 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_npm.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_dynamic_npm.out
@@ -1,15 +1,14 @@
Download http://localhost:4260/@denotest/subtract
error: Uncaught (in promise) TypeError: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
- 5 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
- 5 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
- 6 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
-11 | - }
-12 | + },
-13 | + "@denotest/subtract@1.0.0": {
-14 | + "integrity": "[WILDCARD]",
-15 | + "dependencies": {}
-16 | + }
+ 4 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
+ 4 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
+ 5 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
+ 9 | - }
+10 | + },
+11 | + "@denotest/subtract@1.0.0": {
+12 | + "integrity": "[WILDCARD]"
+13 | + }
const { subtract } = await import(scheme + "@denotest/subtract@1");
^
at [WILDCARD]
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_cache.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_cache.out
index bb523deff..9e77bce85 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_cache.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_cache.out
@@ -1,12 +1,12 @@
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
- 5 | - "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
- 6 | - },
- 7 | - "jsr": {
- 5 | + "jsr:@denotest/add@0.2.0": "jsr:@denotest/add@0.2.0",
- 6 | + "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
- 7 | + },
- 8 | + "jsr": {
- 9 | + "@denotest/add@0.2.0": {
-10 | + "integrity": "[WILDCARD]"
-11 | + },
+ 4 | - "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
+ 5 | - },
+ 6 | - "jsr": {
+ 4 | + "jsr:@denotest/add@0.2.0": "jsr:@denotest/add@0.2.0",
+ 5 | + "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
+ 6 | + },
+ 7 | + "jsr": {
+ 8 | + "@denotest/add@0.2.0": {
+ 9 | + "integrity": "[WILDCARD]"
+10 | + },
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_run.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_run.out
index 3a0d51678..0222ca355 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_run.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_jsr_run.out
@@ -2,13 +2,13 @@ Download http://127.0.0.1:4250/@denotest/add/0.2.0_meta.json
Download http://127.0.0.1:4250/@denotest/add/0.2.0/mod.ts
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
- 5 | - "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
- 6 | - },
- 7 | - "jsr": {
- 5 | + "jsr:@denotest/add@0.2.0": "jsr:@denotest/add@0.2.0",
- 6 | + "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
- 7 | + },
- 8 | + "jsr": {
- 9 | + "@denotest/add@0.2.0": {
-10 | + "integrity": "[WILDCARD]"
-11 | + },
+ 4 | - "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
+ 5 | - },
+ 6 | - "jsr": {
+ 4 | + "jsr:@denotest/add@0.2.0": "jsr:@denotest/add@0.2.0",
+ 5 | + "jsr:@denotest/add@1": "jsr:@denotest/add@1.0.0"
+ 6 | + },
+ 7 | + "jsr": {
+ 8 | + "@denotest/add@0.2.0": {
+ 9 | + "integrity": "[WILDCARD]"
+10 | + },
diff --git a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_run.out b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_run.out
index 6dad6f6f4..d8ab302b7 100644
--- a/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_run.out
+++ b/tests/specs/lockfile/frozen_lockfile/frozen_new_dep_run.out
@@ -1,12 +1,11 @@
Download http://localhost:4260/@denotest/subtract
error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun with `--frozen=false` to update it.
changes:
- 5 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
- 5 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
- 6 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
-11 | - }
-12 | + },
-13 | + "@denotest/subtract@1.0.0": {
-14 | + "integrity": "[WILDCARD]",
-15 | + "dependencies": {}
-16 | + }
+ 4 | - "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
+ 4 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0",
+ 5 | + "npm:@denotest/subtract@1": "npm:@denotest/subtract@1.0.0"
+ 9 | - }
+10 | + },
+11 | + "@denotest/subtract@1.0.0": {
+12 | + "integrity": "[WILDCARD]"
+13 | + }
diff --git a/tests/specs/lockfile/frozen_lockfile/no_lockfile_run.out b/tests/specs/lockfile/frozen_lockfile/no_lockfile_run.out
index 2ae84b110..e482c469f 100644
--- a/tests/specs/lockfile/frozen_lockfile/no_lockfile_run.out
+++ b/tests/specs/lockfile/frozen_lockfile/no_lockfile_run.out
@@ -3,18 +3,14 @@ error: The lockfile is out of date. Run `deno cache --frozen=false` or rerun wit
changes:
1 | -
1 | +{
- 2 | + "version": "3",
- 3 | + "packages": {
- 4 | + "specifiers": {
- 5 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
- 6 | + },
- 7 | + "npm": {
- 8 | + "@denotest/add@1.0.0": {
- 9 | + "integrity": "[WILDCARD]",
-10 | + "dependencies": {}
-11 | + }
-12 | + }
-13 | + },
-14 | + "remote": {}
-15 | +}
-16 | +
+ 2 | + "version": "4",
+ 3 | + "specifiers": {
+ 4 | + "npm:@denotest/add@1": "npm:@denotest/add@1.0.0"
+ 5 | + },
+ 6 | + "npm": {
+ 7 | + "@denotest/add@1.0.0": {
+ 8 | + "integrity": "[WILDCARD]"
+ 9 | + }
+10 | + }
+11 | +}
+12 | +