Packages

ssri

14.0.0 · 8 May 2026ISC47.5M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major24 Mar 2017Where it was published

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 sep argument now expect opts.sep.

Security

1 advisory affects 2.0.0; 5.2.2 fixes them

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 sep argument now expect opts.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.