diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-09-08 13:34:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 14:34:57 -0400 |
commit | c521c5fe771a92a73b2e48c846e1346fb7ca2b20 (patch) | |
tree | c9c695930dcfe67d2d213acb9ad600f77fca4a34 /cli/tests/integration/check_tests.rs | |
parent | 9cac5601b8f37ba4713631a13cf1ed65c82012c9 (diff) |
feat: lockfile v3 (#20424)
Details: https://github.com/denoland/deno_lockfile/pull/8
Diffstat (limited to 'cli/tests/integration/check_tests.rs')
-rw-r--r-- | cli/tests/integration/check_tests.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs index 253ccf767..402f683c8 100644 --- a/cli/tests/integration/check_tests.rs +++ b/cli/tests/integration/check_tests.rs @@ -370,9 +370,9 @@ fn npm_module_check_then_error() { lockfile.read_json::<deno_lockfile::LockfileContent>(); // make the specifier resolve to version 1 - lockfile_content.npm.specifiers.insert( - "@denotest/breaking-change-between-versions".to_string(), - "@denotest/breaking-change-between-versions@1.0.0".to_string(), + lockfile_content.packages.specifiers.insert( + "npm:@denotest/breaking-change-between-versions".to_string(), + "npm:@denotest/breaking-change-between-versions@1.0.0".to_string(), ); lockfile.write_json(&lockfile_content); temp_dir.write( @@ -385,9 +385,9 @@ fn npm_module_check_then_error() { // now update the lockfile to use version 2 instead, which should cause a // type checking error because the oldName no longer exists - lockfile_content.npm.specifiers.insert( - "@denotest/breaking-change-between-versions".to_string(), - "@denotest/breaking-change-between-versions@2.0.0".to_string(), + lockfile_content.packages.specifiers.insert( + "npm:@denotest/breaking-change-between-versions".to_string(), + "npm:@denotest/breaking-change-between-versions@2.0.0".to_string(), ); lockfile.write_json(&lockfile_content); |