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

fix(api): enforce org security settings validation

#1845
Comparing
fix/ghsa-964v-org-security-validation
(
b86dc5a
) with
main
(
a843519
)
CodSpeed Performance Gauge
0%
Untouched
28

Benchmarks

28 total
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%
997.8 µs997.7 µs
full existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
40 µs40 µs
changes detected (version_name differs)
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
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.7 µs40.7 µs
empty policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
27 µs27.1 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.6 µs41.6 µs
full device object
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
42.2 µs42.2 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.3 µs19.3 µs
NaN and Infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
17.8 µs17.8 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
18.2 µs18.3 µs
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
17.4 µs17.4 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.8 µs15.9 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15 µs15 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.5 µs16.5 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16 µs16 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.2 µs15.2 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.2 µs15.2 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.7 µs15.7 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
30 µs30.1 µs
non-number types
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
14.2 µs14.2 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
29.7 µs29.7 µs
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
14.3 µs14.4 µs
with custom fallback
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
12.3 µs12.3 µs

Commits

Click on a commit to change the comparison range
Base
main
a843519
-0.17%
Merge remote-tracking branch 'origin/main' into fix/ghsa-964v-org-security-validation
b86dc5a
3 days ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs