ssri
14.0.0 · 8 May 2026ISC47.5M / weekRepositoryHomepagenpmAtom feed
In short
3 breaking6 new1 fixed
- Breaking
pickAlgo: ssri will prioritize specific hashes now
- Breaking
stringify: serialize and unparse have been removed. Use ssri.stringify instead.
- Breaking
strict-mode: functions that accepted an optional
separgument now expectopts.sep.
Security
1 advisory affects 2.0.0; 5.2.2 fixes them
- ModerateRegular Expression Denial of Service in ssriGHSA-325j-24f4-qv5x · 7 Mar 2018Fixed in 5.2.2
Release note
Bug Fixes
strict-mode: make regexes more rigid
Features
api: added serialize alias for unparse
concat: add Integrity#concat()
pickAlgo: pick the strongest algorithm provided, by default
strict-mode: strict SRI support
stringify: replaced unparse/serialize with stringify
verification: add opts.pickAlgorithm
Breaking changes
- Breaking
pickAlgo: ssri will prioritize specific hashes now
- Breaking
stringify: serialize and unparse have been removed. Use ssri.stringify instead.
- Breaking
strict-mode: functions that accepted an optional
separgument now expectopts.sep.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.