chore(deps): lock file maintenance#87
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
⚡ Benchmark Results
|
| Suite — Benchmark | ops/sec | mean (µs) | p99 (µs) | ±rme | vs main |
|---|---|---|---|---|---|
| SharedRingBuffer – small payload (64 B) — write 64 bytes | 555.1 K | 0.0018 | 0.0110 | ±0.66% | +2.3% |
| SharedRingBuffer – small payload (64 B) — write + read 64 bytes | 459.1 K | 0.0022 | 0.0109 | ±0.97% | -12.7% |
| SharedRingBuffer – medium payload (1 KB) — write 1 KB | 306.7 K | 0.0033 | 0.0146 | ±0.48% | -11.6% |
| SharedRingBuffer – medium payload (1 KB) — write + read 1 KB | 214.5 K | 0.0047 | 0.0202 | ±0.49% | -17.5% |
| SharedRingBuffer – large payload (16 KB) — write 16 KB | 53.4 K | 0.0187 | 0.0336 | ±0.56% | -8.3% |
| SharedRingBuffer – large payload (16 KB) — write + read 16 KB | 87.5 K | 0.0114 | 0.0354 | ±1.56% | +13.6% 🚀 |
| SharedRingBuffer – sequential throughput (100 × 64 B) — 100 write + read cycles | 36.6 K | 0.0273 | 0.0398 | ±0.46% | -9.9% |
| SharedRingBuffer – introspection — availableToRead | 14.63 M | 0.0001 | 0.0002 | ±0.08% | -1.6% |
| SharedRingBuffer – introspection — isEmpty | 14.45 M | 0.0001 | 0.0002 | ±0.08% | -1.2% |
| SharedRingBuffer – introspection — isFull | 14.05 M | 0.0001 | 0.0002 | ±0.08% | -3.7% |
benchmarks/renderer/shared-buffer.bench.ts
| Suite — Benchmark | ops/sec | mean (µs) | p99 (µs) | ±rme | vs main |
|---|---|---|---|---|---|
| SharedBuffer – allocation — createSharedBuffer(4 KB) | 592.6 K | 0.0017 | 0.0109 | ±0.46% | -16.9% |
| SharedBuffer – allocation — createSharedBuffer(64 KB) | 61.7 K | 0.0162 | 0.0330 | ±1.02% | +9.4% |
| SharedBuffer – small payload round-trip — write small JSON | 296.5 K | 0.0034 | 0.0139 | ±0.37% | -17.5% |
| SharedBuffer – small payload round-trip — write + read small JSON | 224.8 K | 0.0044 | 0.0132 | ±0.43% | -17.8% |
| SharedBuffer – medium payload round-trip — write medium JSON (~2 KB) | 96.8 K | 0.0103 | 0.0264 | ±4.11% | +8.7% |
| SharedBuffer – medium payload round-trip — write + read medium JSON (~2 KB) | 57.5 K | 0.0174 | 0.0344 | ±0.80% | -1.4% |
| SharedBuffer – large payload round-trip — write large JSON (~10 KB) | 16.1 K | 0.0622 | 0.0953 | ±0.38% | +4.1% |
| SharedBuffer – large payload round-trip — write + read large JSON (~10 KB) | 7.3 K | 0.1373 | 0.1731 | ±0.39% | -6.8% |
benchmarks/utils/ip-address.bench.ts
| Suite — Benchmark | ops/sec | mean (µs) | p99 (µs) | ±rme | vs main |
|---|---|---|---|---|---|
| getClientIPAddress – no IP headers — no IP-related headers → null | 2.63 M | 0.0004 | 0.0009 | ±0.86% | ~0% |
| getClientIPAddress – single header — cf-connecting-ip (Cloudflare) | 1.72 M | 0.0006 | 0.0011 | ±1.03% | +2.8% |
| getClientIPAddress – single header — x-forwarded-for (simple) | 2.09 M | 0.0005 | 0.0009 | ±0.41% | +8.0% |
| getClientIPAddress – single header — x-real-ip | 1.46 M | 0.0007 | 0.0013 | ±1.01% | -2.5% |
| getClientIPAddress – single header — true-client-ip (Akamai / Cloudflare Enterprise) | 1.54 M | 0.0007 | 0.0012 | ±0.11% | ~0% |
| getClientIPAddress – x-forwarded-for multi-hop — 2-hop chain | 1.71 M | 0.0006 | 0.0010 | ±0.09% | -2.1% |
| getClientIPAddress – x-forwarded-for multi-hop — 4-hop chain | 1.51 M | 0.0007 | 0.0011 | ±0.29% | -9.8% |
| getClientIPAddress – Forwarded header (RFC 7239) — simple for= directive | 901.0 K | 0.0011 | 0.0019 | ±0.89% | -11.2% |
| getClientIPAddress – Forwarded header (RFC 7239) — for= with port | 701.3 K | 0.0014 | 0.0020 | ±0.43% | -3.8% |
| getClientIPAddress – Forwarded header (RFC 7239) — IPv6 literal | 698.9 K | 0.0014 | 0.0025 | ±0.40% | -8.1% |
| getClientIPAddress – Forwarded header (RFC 7239) — multi-hop Forwarded | 740.9 K | 0.0013 | 0.0020 | ±0.39% | -12.0% |
| getClientIPAddress – IPv6 addresses — x-forwarded-for IPv6 | 1.15 M | 0.0009 | 0.0014 | ±1.67% | ~0% |
benchmarks/utils/promise.bench.ts
| Suite — Benchmark | ops/sec | mean (µs) | p99 (µs) | ±rme | vs main |
|---|---|---|---|---|---|
| promiseHash – concurrent resolution — 2 already-resolved promises | 807.1 K | 0.0012 | 0.0023 | ±0.95% | -5.7% |
| promiseHash – concurrent resolution — 5 already-resolved promises | 433.9 K | 0.0023 | 0.0033 | ±1.31% | -17.2% |
| promiseHash – concurrent resolution — 10 already-resolved promises | 257.0 K | 0.0039 | 0.0072 | ±1.06% | -9.8% |
| promiseHash – concurrent resolution — 5 promises with object values | 403.0 K | 0.0025 | 0.0035 | ±1.16% | -17.1% |
| timeout – wrapping fast promises — timeout wrapping an already-resolved promise (1 s budget) | 950.8 K | 0.0011 | 0.0017 | ±0.52% | -1.8% |
| timeout – wrapping fast promises — timeout wrapping an already-resolved object (5 s budget) | 900.0 K | 0.0011 | 0.0018 | ±1.41% | -3.7% |
benchmarks/utils/safe-redirect.bench.ts
| Suite — Benchmark | ops/sec | mean (µs) | p99 (µs) | ±rme | vs main |
|---|---|---|---|---|---|
| safeRedirect – valid paths — root path / | 7.47 M | 0.0001 | 0.0003 | ±0.09% | +10.4% 🚀 |
| safeRedirect – valid paths — simple path /dashboard | 3.85 M | 0.0003 | 0.0004 | ±0.07% | +6.5% |
| safeRedirect – valid paths — nested path /settings/profile | 3.36 M | 0.0003 | 0.0006 | ±0.21% | +5.2% |
| safeRedirect – valid paths — path with query string /search?q=hello | 3.75 M | 0.0003 | 0.0004 | ±0.08% | +7.4% |
| safeRedirect – valid paths — path with hash /docs#section | 3.76 M | 0.0003 | 0.0004 | ±0.23% | +4.8% |
| safeRedirect – rejected inputs — absolute URL https://evil.com | 5.03 M | 0.0002 | 0.0003 | ±0.10% | +9.0% |
| safeRedirect – rejected inputs — protocol-relative URL //evil.com | 4.78 M | 0.0002 | 0.0004 | ±0.08% | +6.2% |
| safeRedirect – rejected inputs — backslash-relative /\evil.com | 4.72 M | 0.0002 | 0.0004 | ±0.07% | +1.9% |
| safeRedirect – rejected inputs — path traversal /../etc/passwd | 4.29 M | 0.0002 | 0.0004 | ±0.08% | +4.2% |
| safeRedirect – rejected inputs — null input | 15.87 M | 0.0001 | 0.0002 | ±0.07% | -2.1% |
| safeRedirect – rejected inputs — undefined input | 16.25 M | 0.0001 | 0.0002 | ±0.08% | ~0% |
| safeRedirect – rejected inputs — empty string | 15.74 M | 0.0001 | 0.0002 | ±0.14% | -2.8% |
| safeRedirect – percent-encoded bypass — percent-encoded // (%2F%2F) | 4.74 M | 0.0002 | 0.0004 | ±0.08% | ~0% |
| safeRedirect – percent-encoded bypass — percent-encoded path traversal (%2e%2e) | 4.87 M | 0.0002 | 0.0004 | ±0.24% | +2.6% |
| safeRedirect – percent-encoded bypass — mixed percent-encoded absolute URL | 4.70 M | 0.0002 | 0.0004 | ±3.54% | +2.7% |
| safeRedirect – custom default redirect — valid path with custom default | 3.94 M | 0.0003 | 0.0004 | ±0.22% | +5.3% |
| safeRedirect – custom default redirect — invalid input with custom default | 4.99 M | 0.0002 | 0.0003 | ±0.07% | +3.9% |
🔬 Compared against the latest benchmark run on
main.⚠️ = >10% slower · 🚀 = >10% faster.
|
📚 Docs preview deployed https://scratchyjs-docs-pr-87.asjas.workers.dev Updates automatically on every push to this PR. |
7420afd to
58d7e43
Compare
58d7e43 to
af702b2
Compare
This PR contains the following updates:
🔧 This Pull Request updates lock files to use the latest dependency versions.
Configuration
📅 Schedule: (in timezone Africa/Johannesburg)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.