Skip to content

Commit

Permalink
chore(deps): update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Apr 15, 2024
1 parent b7602a1 commit ea7ef17
Show file tree
Hide file tree
Showing 12 changed files with 594 additions and 86 deletions.
610 changes: 559 additions & 51 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ schemars = { version = "0.8", features = ["url", "preserve_order", "derive"] }
clap = { version = "4.5", features = ["derive"] }
dirs = "5.0"
semver = "1"
base64 = "0.21"
base64 = "0.22"
tracing = "0.1"
time = "0.3"
tar = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions bindings/packager/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"galactus": "^1.0.0"
},
"devDependencies": {
"@napi-rs/cli": "^2.16.5",
"@napi-rs/cli": "^2.18.1",
"@types/fs-extra": "^11.0.3",
"@types/node": "^20.8.10",
"ava": "^6.0.0",
"json-schema-to-typescript": "^13.1.1",
"typescript": "^5.2.2"
"typescript": "^5.4.5"
},
"ava": {
"timeout": "3m"
Expand Down
2 changes: 1 addition & 1 deletion bindings/resource-resolver/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.16.5",
"@napi-rs/cli": "^2.18.1",
"@types/node": "^20.8.10",
"ava": "^6.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion bindings/updater/nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.16.5",
"@napi-rs/cli": "^2.18.1",
"@tinyhttp/app": "^2.2.1",
"@types/node": "^20.8.10",
"ava": "^6.0.0",
Expand Down
10 changes: 5 additions & 5 deletions crates/packager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@ hex = "0.4"
sha1 = "0.10"
sha2 = "0.10"
zip = { version = "0.6", default-features = false, features = [ "deflate" ] }
handlebars = "4.5"
handlebars = "5.0"
glob = "0.3"
relative-path = "1.9"
walkdir = "2"
os_pipe = "1"
minisign = "0.7"
tar = { workspace = true }
flate2 = "1.0"
strsim = "0.10"
strsim = "0.11"
schemars = { workspace = true, optional = true }
native-tls = { version = "0.2", optional = true }
cargo-packager-utils = { version = "0.1.0", path = "../utils", features = [ "serde" ] }
icns = { package = "tauri-icns", version = "0.1" }
time = { workspace = true, features = [ "formatting" ] }
image = "0.24"
image = "0.25"
tempfile = "3"
plist = "1"

Expand All @@ -87,7 +87,7 @@ regex = "1.10"
]

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies]
image = "0.24"
image = "0.25"
md5 = "0.7"
heck = "0.4"
heck = "0.5"
ar = "0.9"
8 changes: 4 additions & 4 deletions crates/packager/src/package/nsis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fn write_ut16_le_with_bom<P: AsRef<Path> + Debug>(path: P, content: &str) -> cra
}

fn handlebars_or(
h: &handlebars::Helper<'_, '_>,
h: &handlebars::Helper<'_>,
_: &Handlebars<'_>,
_: &handlebars::Context,
_: &mut handlebars::RenderContext<'_, '_>,
Expand All @@ -187,7 +187,7 @@ fn handlebars_or(
}

fn association_description(
h: &handlebars::Helper<'_, '_>,
h: &handlebars::Helper<'_>,
_: &Handlebars<'_>,
_: &handlebars::Context,
_: &mut handlebars::RenderContext<'_, '_>,
Expand All @@ -205,7 +205,7 @@ fn association_description(
}

fn unescape_newlines(
h: &handlebars::Helper<'_, '_>,
h: &handlebars::Helper<'_>,
_: &Handlebars<'_>,
_: &handlebars::Context,
_: &mut handlebars::RenderContext<'_, '_>,
Expand All @@ -217,7 +217,7 @@ fn unescape_newlines(
}

fn unescape_dollar_sign(
h: &handlebars::Helper<'_, '_>,
h: &handlebars::Helper<'_>,
_: &Handlebars<'_>,
_: &handlebars::Context,
_: &mut handlebars::RenderContext<'_, '_>,
Expand Down
2 changes: 1 addition & 1 deletion crates/resource-resolver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ features = [ "auto-detect-format" ]
thiserror = { workspace = true }
cargo-packager-utils = { version = "0.1.0", path = "../utils", default-features = false }
log = "0.4.21"
heck = "0.4.1"
heck = "0.5"

[features]
process-relaunch-dangerous-allow-symlink-macos = [ ]
Expand Down
4 changes: 2 additions & 2 deletions crates/updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rustls-tls = [ "reqwest/rustls-tls-native-roots" ]

[dependencies]
cargo-packager-utils = { version = "0.1.0", path = "../utils" }
reqwest = { version = "0.11", default-features = false, features = [ "json", "stream", "blocking" ] }
reqwest = { version = "0.12", default-features = false, features = [ "json", "stream", "blocking" ] }
thiserror = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
Expand All @@ -27,7 +27,7 @@ dirs = { workspace = true }
semver = { workspace = true }
base64 = { workspace = true }
time = { workspace = true, features = [ "parsing", "formatting" ] }
http = "0.2"
http = "1"
url = { version = "2.5", features = [ "serde" ] }
minisign-verify = "0.2"
ctor = "0.2"
Expand Down
6 changes: 3 additions & 3 deletions crates/updater/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ a [`Config`](https://docs.rs/cargo-packager-updater/latest/cargo_packager_update
use cargo_packager_updater::{check_update, Config};

let config = Config {
endpoints: vec!["http://myserver.com/updates"],
pubkey: "<pubkey here>",
endpoints: vec!["http://myserver.com/updates".parse().unwrap()],
pubkey: "<pubkey here>".into(),
..Default::default()
};
if let Some(update) = check_update("0.1.0", config).expect("failed while checking for update") {
if let Some(update) = check_update("0.1.0".parse().unwrap(), config).expect("failed while checking for update") {
update.download_and_install().expect("failed to download and install update");
} else {
// there is no updates
Expand Down
6 changes: 3 additions & 3 deletions crates/updater/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
//! use cargo_packager_updater::{check_update, Config};
//!
//! let config = Config {
//! endpoints: vec!["http://myserver.com/updates"],
//! pubkey: "<pubkey here>",
//! endpoints: vec!["http://myserver.com/updates".parse().unwrap()],
//! pubkey: "<pubkey here>".into(),
//! ..Default::default()
//! };
//! if let Some(update) = check_update("0.1.0", config).expect("failed while checking for update") {
//! if let Some(update) = check_update("0.1.0".parse().unwrap(), config).expect("failed while checking for update") {
//! update.download_and_install().expect("failed to download and install update");
//! } else {
//! // there is no updates
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

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

0 comments on commit ea7ef17

Please sign in to comment.