diff --git a/CHANGELOG.md b/CHANGELOG.md index e443e04..ea75292 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.4.1 + +#### 🐞 Fixes + +- Potentially fixed a WASM memory issue. + ## 0.4.0 #### 🚀 Updates diff --git a/Cargo.lock b/Cargo.lock index 2639e93..7d674a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1850,7 +1850,7 @@ dependencies = [ [[package]] name = "node_depman_plugin" -version = "0.4.0" +version = "0.4.1" dependencies = [ "extism-pdk", "node_common", @@ -1864,7 +1864,7 @@ dependencies = [ [[package]] name = "node_plugin" -version = "0.4.0" +version = "0.4.1" dependencies = [ "extism-pdk", "node_common", diff --git a/crates/node-depman/Cargo.toml b/crates/node-depman/Cargo.toml index 1bb8101..2e532f3 100644 --- a/crates/node-depman/Cargo.toml +++ b/crates/node-depman/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node_depman_plugin" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "MIT" publish = false diff --git a/crates/node-depman/src/proto.rs b/crates/node-depman/src/proto.rs index 0f5e4ac..6889412 100644 --- a/crates/node-depman/src/proto.rs +++ b/crates/node-depman/src/proto.rs @@ -205,18 +205,16 @@ pub fn load_versions(Json(input): Json) -> FnResult = - fetch_url_with_cache("https://nodejs.org/download/release/index.json")?; + fetch_url("https://nodejs.org/download/release/index.json")?; let mut found_version = false; // Infer from proto's environment variable diff --git a/crates/node/Cargo.toml b/crates/node/Cargo.toml index a56fc45..0c374b5 100644 --- a/crates/node/Cargo.toml +++ b/crates/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node_plugin" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "MIT" publish = false diff --git a/crates/node/src/proto.rs b/crates/node/src/proto.rs index 99f3932..a18195a 100644 --- a/crates/node/src/proto.rs +++ b/crates/node/src/proto.rs @@ -66,7 +66,7 @@ pub fn download_prebuilt( // When canary, extract the latest version from the index if version == "canary" { let response: Vec = - fetch_url_with_cache("https://nodejs.org/download/nightly/index.json")?; + fetch_url("https://nodejs.org/download/nightly/index.json")?; host = "https://nodejs.org/download/nightly".into(); version = response[0].version.strip_prefix('v').unwrap().to_owned(); @@ -128,7 +128,7 @@ pub fn locate_bins(Json(_): Json) -> FnResult) -> FnResult> { let mut output = LoadVersionsOutput::default(); let response: Vec = - fetch_url_with_cache("https://nodejs.org/download/release/index.json")?; + fetch_url("https://nodejs.org/download/release/index.json")?; for (index, item) in response.iter().enumerate() { let version = Version::parse(&item.version[1..])?;