Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
308 changes: 152 additions & 156 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions badgers-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ homepage.workspace = true
authors.workspace = true

[dependencies]
once_cell = "1.19"
once_cell = "1.21"

[dependencies.regex]
version = "1.8.2"
version = "1.11"
default-features = false
features = ["std", "perf", "unicode-perl"]

Expand Down
12 changes: 1 addition & 11 deletions badgers-web/src/utils/Badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,7 @@ const Badge = {

// Build query params
const systemQueryOverrides = overrides
const userQueryOverrides = request.nextUrl.search
.replace(/^\?+/gm, '')
.split('&')
.reduce(
(acc, pair) => {
const [key, value] = pair.split('=')
acc[key] = value
return acc
},
{} as Record<string, string>,
)
const userQueryOverrides = Object.fromEntries(request.nextUrl.searchParams)
const unifiedQueryOverrides = {
...systemQueryOverrides,
...userQueryOverrides,
Expand Down
2 changes: 1 addition & 1 deletion badgers-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default = ["console_error_panic_hook"]
[dependencies]
urlencoding = "2.1"
base64 = "0.22"
worker = "0.4.2"
worker = "0.5.0"
cfg-if = "1"
serde = "1"
serde_json = "1"
Expand Down
2 changes: 1 addition & 1 deletion badgers-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "wrangler dev"
},
"devDependencies": {
"wrangler": "^3.91.0"
"wrangler": "4"
},
"packageManager": "yarn@4.2.2"
}
2 changes: 1 addition & 1 deletion badgers-worker/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ compatibility_date = "2023-05-15"
account_id = "d9006e724848ae413c69d6f52a934063"

[vars]
WORKERS_RS_VERSION = "0.4.2"
WORKERS_RS_VERSION = "0.5.0"

[build]
command = "cargo install -q worker-build && worker-build"
Loading