diff --git a/sample/Cargo.toml b/sample/Cargo.toml index 17929e3..e62ee2d 100644 --- a/sample/Cargo.toml +++ b/sample/Cargo.toml @@ -25,7 +25,8 @@ log = "0.4" clippy = { version = "0.0.302", optional = true} cookie_rs = {package = "cookie", version = "0.10.1"} emoji-clock = { version= "0.1.0", path = "../lib"} - +pin-utils = "0.1.0-alpha.4" +inkwell="0.0.0" [dependencies.clap] version = "3.0.0" diff --git a/src/toml/listener.ts b/src/toml/listener.ts index b247063..1438230 100644 --- a/src/toml/listener.ts +++ b/src/toml/listener.ts @@ -38,7 +38,7 @@ function fetchCrateVersions(dependencies: Item[], shouldListPreRels: boolean, gi versions: json.versions .reduce((result: any[], item: any) => { const isPreRelease = !shouldListPreRels && item.num.indexOf("-") !== -1; - if (!item.yanked && !isPreRelease && item.num !== "0.0.0") { + if (!item.yanked && !isPreRelease ) { result.push(item.num); } return result;