Skip to content

Commit

Permalink
feat: deno_lockfile 0.22 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Aug 22, 2024
1 parent a62061e commit bf96d29
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ license = "MIT"
[dependencies]
anyhow = "1.0.70"
async-trait = "0.1.68"
deno_semver = "0.5.4"
deno_lockfile = "0.21.1"
deno_semver = "0.5.10"
deno_lockfile = "0.22.0"
monch = "0.5.0"
log = "0.4"
serde = { version = "1.0.130", features = ["derive", "rc"] }
Expand Down
32 changes: 13 additions & 19 deletions src/resolution/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,6 @@ mod tests {
}
}"#,
overwrite: false,
is_deno_future: false,
})
.unwrap();

Expand Down Expand Up @@ -1337,7 +1336,6 @@ mod tests {
}
}"#,
overwrite: false,
is_deno_future: false,
})
.unwrap();

Expand Down Expand Up @@ -1389,28 +1387,24 @@ mod tests {
let lockfile = Lockfile::new(NewLockfileOptions {
file_path: PathBuf::from("/deno.lock"),
content: r#"{
"version": "3",
"remote": {},
"packages": {
"specifiers": {
"npm:chalk@5": "npm:[email protected]",
"npm:emoji-regex": "npm:[email protected]",
"deno:path": "deno:@std/[email protected]"
"version": "4",
"specifiers": {
"npm:chalk@5": "npm:[email protected]",
"npm:emoji-regex": "npm:[email protected]",
"deno:path": "deno:@std/[email protected]"
},
"npm": {
"[email protected]": {
"integrity": "sha512-integrity1",
"dependencies": []
},
"npm": {
"[email protected]": {
"integrity": "sha512-integrity1",
"dependencies": {}
},
"[email protected]": {
"integrity": "sha512-integrity2",
"dependencies": {}
}
"[email protected]": {
"integrity": "sha512-integrity2",
"dependencies": []
}
}
}"#,
overwrite: false,
is_deno_future: false,
})
.unwrap();

Expand Down

0 comments on commit bf96d29

Please sign in to comment.