Avatar for the Cap-go user
Cap-go
capgo
BlogDocsChangelog

fix(api): enforce API key expiration policy for app scopes

#1962Merged
Comparing
codex/fix-ghsa-j6p6-qqcg-3fwp
(
3258b32
) with
main
(
2c5b422
)
CodSpeed Performance Gauge
0%
Untouched
28

Benchmarks

28 total
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
22.8 µs22.8 µs
changes detected (version_name differs)
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
sparse existing vs full device
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
no changes detected
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1 ms1 ms
full device object
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
42.1 µs42.1 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.3 µs16.3 µs
empty policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
26.9 µs26.9 µs
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
14.2 µs14.2 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
18.3 µs18.3 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.3 µs19.3 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
29.5 µs29.5 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.5 µs15.5 µs
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
17.2 µs17.2 µs
full existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
39.9 µs39.9 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
15.8 µs15.8 µs
full device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
71 µs71 µs
ASCII password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
40.5 µs40.5 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
29.9 µs29.9 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.4 µs41.5 µs
invalid password (all rules fail)
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
38.3 µs38.4 µs
valid number within range
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
25.4 µs25.5 µs
NaN and Infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
17.9 µs17.9 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.7 µs15.8 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.1 µs15.1 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15 µs15.1 µs

Commits

Click on a commit to change the comparison range
Base
main
2c5b422
+0.03%
fix(api): enforce API key expiration policy for app scopes
7a1aedd
13 days ago
by riderx
+0.05%
fix(api): address apikey review comments
3147b85
13 days ago
by riderx
-0.05%
fix(api): reject unresolved apikey app scopes
895dbbc
13 days ago
by riderx
-0.13%
fix(api): resolve hidden app scopes for apikey policies
3258b32
13 days ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs