# needed to prevent bad npm that has min-release-age but not exclude
engine-strict=true

min-release-age=14

# fast-uri 3.1.5 includes fixes for vulns (GHSA-7p8r-x3mc-p8w7). remove this when 3.1.5 is > 2wks old (rel 2026-07-31)
min-release-age-exclude[]=fast-uri

# js-yaml 4.3.1 includes fixes for GHSA-5p4m-2wfm-xmqj. remove when > 2wks old (rel 2026-07-31)
min-release-age-exclude[]=js-yaml

# nanoid 3.3.17 includes fixes for GHSA-2v37-7h3g-55p8. remove when > 2wks old (rel 2026-08-03)
min-release-age-exclude[]=nanoid

# mermaid 11.16.1 includes fixes for 5 GHSAs. remove when > 2wks old (rel 2026-08-04)
min-release-age-exclude[]=mermaid

# minimatch 10.2.6 includes fixes for vulns. remove this when 10.2.6 is > 2wks  old
min-release-age-exclude[]=minimatch

# brace-expansion 5.0.8 includes fixes for vulns. remove this when 5.0.8 is > 2wks  old
min-release-age-exclude[]=brace-expansion

# undici 6.28.0 includes fixes for vulns. remove this when 6.28.0 is > 2wks old
min-release-age-exclude[]=undici

# @nous-research/image-size 2.0.3 includes fixes for vulns. remove this when 2.0.3 is > 2wks old
min-release-age-exclude[]=@nous-research/image-size

# http-cache-semantics 4.3.0 fixes GHSA-ch52-4w7c-c8xp (high, cross-user cached data disclosure).
# remove when 4.3.0 is > 2wks old (rel 2026-10-04)
min-release-age-exclude[]=http-cache-semantics

# body-parser 1.20.9 fixes GHSA-27r3-jxmh-p828 (high, DoS via trailing bytes after a compressed body).
# remove when 1.20.9 is > 2wks old (rel 2026-10-22)
min-release-age-exclude[]=body-parser

# cross-spawn 7.1.2 fixes GHSA-ghv9-86vm-4v8m (critical) and GHSA-m6qr-m48x-3xhh (fixed in 7.1.0),
# GHSA-w3gc-668g-rf8f (7.1.1) and 7.1.0's Windows batch-file regression.
# remove when 7.1.2 is > 2wks old (rel 2026-11-29)
min-release-age-exclude[]=cross-spawn

# dompurify 3.5.0 fixes GHSA-hrxw-jjj6-2g2j (high, SAFE_FOR_TEMPLATES bypass); the package.json
# override pins the exact version. remove when 3.5.0 is > 2wks old (rel 2026-11-22)
min-release-age-exclude[]=dompurify

# terser 5.51.3 fixes GHSA-6jpm-p5cq-9q44 (sourcesContent leak from input sourcemaps); 5.51.4 only
# drops source maps shipped by mistake. remove when 5.51.4 is > 2wks old (rel 2026-11-20)
min-release-age-exclude[]=terser
