Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit ced3e26

Browse files
authored
deps: Audit 06/25 (#39)
1 parent f9bbb16 commit ced3e26

File tree

11 files changed

+80
-73
lines changed

11 files changed

+80
-73
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.11.3
4+
5+
#### 🚀 Updates
6+
7+
- Updated dependencies.
8+
39
## 0.11.2
410

511
#### 🐞 Fixes

Cargo.lock

Lines changed: 52 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ members = ["crates/*"]
55
[workspace.dependencies]
66
extism-pdk = { version = "1.2.0" }
77
nodejs_package_json = "0.2.0"
8-
proto_pdk = { version = "0.20.0" } #, path = "../../proto/crates/pdk" }
9-
proto_pdk_api = { version = "0.20.0" } #, path = "../../proto/crates/pdk-api" }
10-
proto_pdk_test_utils = { version = "0.24.0" } #, path = "../../proto/crates/pdk-test-utils" }
11-
regex = { version = "1.10.4", default-features = false, features = [
8+
proto_pdk = { version = "0.21.0" } #, path = "../../proto/crates/pdk" }
9+
proto_pdk_api = { version = "0.21.0" } #, path = "../../proto/crates/pdk-api" }
10+
proto_pdk_test_utils = { version = "0.25.0" } #, path = "../../proto/crates/pdk-test-utils" }
11+
regex = { version = "1.10.5", default-features = false, features = [
1212
"std",
1313
"unicode",
1414
] }
1515
serde = "1.0.203"
16-
serde_json = "1.0.117"
17-
starbase_sandbox = "0.6.1"
16+
serde_json = "1.0.118"
17+
starbase_sandbox = "0.6.2"
1818
tokio = { version = "1.38.0", features = ["full"] }
1919

2020
[profile.release]

crates/node-depman/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "node_depman_plugin"
3-
version = "0.11.2"
3+
version = "0.11.3"
44
edition = "2021"
55
license = "MIT"
66
publish = false

crates/node-depman/src/package_manager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl PackageManager {
2828
let version = version.as_ref();
2929

3030
if matches!(self, PackageManager::Yarn) {
31-
if let UnresolvedVersionSpec::Version(inner) = &version {
31+
if let UnresolvedVersionSpec::Semantic(inner) = &version {
3232
// Version 2.4.3 was published to the wrong package. It should
3333
// have been published to `@yarnpkg/cli-dist` but was published
3434
// to `yarn`. So... we need to manually fix it.
@@ -50,7 +50,7 @@ impl PackageManager {
5050
matches!(self, PackageManager::Yarn)
5151
&& match version.as_ref() {
5252
UnresolvedVersionSpec::Alias(alias) => alias == "legacy" || alias == "classic",
53-
UnresolvedVersionSpec::Version(ver) => ver.major == 1,
53+
UnresolvedVersionSpec::Semantic(ver) => ver.major == 1,
5454
UnresolvedVersionSpec::Req(req) => req.comparators.iter().any(|c| c.major == 1),
5555
_ => false,
5656
}
@@ -60,7 +60,7 @@ impl PackageManager {
6060
matches!(self, PackageManager::Yarn)
6161
&& match version.as_ref() {
6262
UnresolvedVersionSpec::Alias(alias) => alias == "berry" || alias == "latest",
63-
UnresolvedVersionSpec::Version(ver) => ver.major > 1,
63+
UnresolvedVersionSpec::Semantic(ver) => ver.major > 1,
6464
UnresolvedVersionSpec::Req(req) => req.comparators.iter().any(|c| c.major > 1),
6565
_ => false,
6666
}

0 commit comments

Comments
 (0)