Skip to content

Commit 5c3a076

Browse files
chore: update deps
Signed-off-by: Henry Gressmann <[email protected]>
1 parent f8f0e82 commit 5c3a076

File tree

8 files changed

+101
-98
lines changed

8 files changed

+101
-98
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,34 +45,19 @@ tracing={version="0.1", default-features=false, features=["std"]}
4545
tracing-subscriber={version="0.3", features=["env-filter"]}
4646

4747
# web
48-
poem={version="3.1", default-features=false, features=[
49-
"time",
50-
"embed",
51-
"cookie",
52-
"compression",
53-
"tower-compat",
54-
]}
48+
poem={version="3.1", default-features=false, features=["time", "embed", "cookie", "compression", "tower-compat"]}
5549
poem-openapi={version="5.1", default-features=false, features=["time"]}
5650
tower={version="0.5", default-features=false, features=["limit"]}
5751
uaparser="0.6"
5852
mime_guess={version="2.0"}
5953
rust-embed={version="8.5"}
60-
reqwest={version="0.12", default-features=false, features=[
61-
"json",
62-
"stream",
63-
"charset",
64-
"rustls-tls",
65-
]}
54+
reqwest={version="0.12", default-features=false, features=["json", "stream", "charset", "rustls-tls"]}
6655

6756
# database
68-
duckdb={version="1.1", git="https://github.com/explodingcamera-contrib/duckdb-rs", features=[
69-
"bundled",
70-
"time",
71-
"r2d2",
72-
]}
73-
rusqlite={version="0.32", features=["bundled", "time"]}
57+
duckdb={version="1.1", git="https://github.com/explodingcamera-contrib/duckdb-rs", features=["bundled", "time", "r2d2"]}
58+
rusqlite={version="0.33", features=["bundled", "time"]}
7459
r2d2={version="0.8"}
75-
r2d2_sqlite="0.25"
60+
r2d2_sqlite="0.26"
7661
refinery={version="0.8", default-features=false}
7762
refinery-core={version="0.8", default-features=false}
7863
maxminddb={version="0.24", optional=true}

data/licenses-npm.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/app/core/geoip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ async fn download_maxmind_db(edition: &str, account_id: &str, license_key: &str)
221221
.map_err(|e| eyre::eyre!("Failed to read entry: {}", e))?;
222222

223223
let entry_path = entry.path()?;
224-
if entry_path.extension().map_or(false, |ext| ext == "mmdb") {
224+
if entry_path.extension().is_some_and(|ext| ext == "mmdb") {
225225
file = entry
226226
.unpack_in(folder)
227227
.await

src/utils/referrer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn process_referer(referer: Option<&str>) -> Referrer {
5353
// valid referer are stripped to the FQDN
5454
Some(Ok(referer_uri)) => {
5555
// ignore localhost / IP addresses
56-
if referer_uri.host().map_or(false, |host| {
56+
if referer_uri.host().is_some_and(|host| {
5757
host == "localhost" || host.ends_with(".localhost") || host.parse::<std::net::IpAddr>().is_ok()
5858
}) {
5959
return Referrer::Unknown(None);

src/utils/validate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn is_valid_username(name: &str) -> bool {
1414
}
1515

1616
pub fn can_access_project(project: &Project, user: Option<&SessionUser>) -> bool {
17-
project.public || user.map_or(false, |u| u.0.role == UserRole::Admin || u.0.projects.contains(&project.id))
17+
project.public || user.is_some_and(|u| u.0.role == UserRole::Admin || u.0.projects.contains(&project.id))
1818
}
1919

2020
#[cfg(test)]

web/bun.lockb

-4.73 KB
Binary file not shown.

web/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
},
1111
"dependencies": {
1212
"@astrojs/check": "^0.9.4",
13-
"@astrojs/react": "4.1.4",
13+
"@astrojs/react": "4.1.6",
1414
"@explodingcamera/css": "^0.0.4",
1515
"@fontsource-variable/outfit": "^5.1.1",
16-
"@icons-pack/react-simple-icons": "^11.0.1",
16+
"@icons-pack/react-simple-icons": "^11.1.0",
1717
"@nivo/line": "^0.88.0",
1818
"@picocss/pico": "^2.0.6",
1919
"@radix-ui/react-accordion": "^1.2.2",
20-
"@radix-ui/react-dialog": "^1.1.4",
20+
"@radix-ui/react-dialog": "^1.1.5",
2121
"@radix-ui/react-tabs": "^1.1.2",
22-
"@tanstack/react-query": "^5.64.1",
22+
"@tanstack/react-query": "^5.64.2",
2323
"d3-array": "^3.2.4",
2424
"d3-axis": "^3.0.0",
2525
"d3-ease": "^3.0.1",
@@ -33,17 +33,17 @@
3333
"fets": "^0.8.4",
3434
"fuzzysort": "^3.1.0",
3535
"little-date": "^1.0.0",
36-
"lucide-react": "0.471.1",
36+
"lucide-react": "0.473.0",
3737
"react": "19.0.0",
3838
"react-dom": "19.0.0",
39-
"react-tag-autocomplete": "^7.4.0",
39+
"react-tag-autocomplete": "^7.5.0",
4040
"react-tooltip": "^5.28.0",
4141
"topojson-client": "^3.1.0"
4242
},
4343
"devDependencies": {
4444
"@biomejs/biome": "1.9.4",
4545
"@million/lint": "^1.0.14",
46-
"@types/bun": "^1.1.16",
46+
"@types/bun": "^1.2.0",
4747
"@types/d3-array": "^3.2.1",
4848
"@types/d3-axis": "^3.0.6",
4949
"@types/d3-ease": "^3.0.2",
@@ -53,14 +53,14 @@
5353
"@types/d3-shape": "^3.1.7",
5454
"@types/d3-transition": "^3.0.9",
5555
"@types/d3-zoom": "^3.0.8",
56-
"@types/react": "^19.0.7",
56+
"@types/react": "^19.0.8",
5757
"@types/react-dom": "^19.0.3",
5858
"@types/topojson-client": "^3.1.5",
5959
"@types/topojson-specification": "^1.0.5",
60-
"astro": "5.1.6",
60+
"astro": "5.1.8",
6161
"rollup-plugin-license": "^3.5.3",
6262
"typescript": "^5.7.3"
6363
},
64-
"packageManager": "bun@1.1.43",
64+
"packageManager": "bun@1.2.0",
6565
"trustedDependencies": ["@biomejs/biome", "esbuild", "sharp"]
6666
}

0 commit comments

Comments
 (0)