ssri
14.0.0 · 8 May 2026ISC47.5M / weekRepositoryHomepagenpmAtom feed
44 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 14.x · latest line
14.0.0
8 May 2026- Breaking
ssrinow supports node^22.22.2 || ^24.15.0 || >=26.0.0 - Breaking
template-oss-apply
Bump to new node engine range
Breaking changes
- Breaking
ssrinow supports node^22.22.2 || ^24.15.0 || >=26.0.0 - Breaking
template-oss-apply
Features
Bump to new node engine range
template-oss-apply
- 13.x
13.0.1
9 Feb 2026hash: Filter on known hashes
Code cleanup
Bug Fixes
hash: Filter on known hashes
Code cleanup
13.0.0
22 Oct 2025- Breaking
ssrinow supports node^20.17.0 || >=22.9.0 Align to npm 11 node engine range
Improve
SRI_REGEX
Breaking changes
- Breaking
ssrinow supports node^20.17.0 || >=22.9.0
Bug Fixes
Align to npm 11 node engine range
Improve
SRI_REGEX
- 12.x
12.0.0
25 Sep 2024- Breaking
ssrinow supports node^18.17.0 || >=20.5.0 Align to npm 10 node engine range
Breaking changes
- Breaking
ssrinow supports node^18.17.0 || >=20.5.0
Bug Fixes
Align to npm 10 node engine range
- 11.x
11.0.0
3 Sep 2024- Breaking
ssriis now compatible with the following semver range for node:^16.14.0 || >=18.0.0 Address breaking engine change in dependency
Breaking changes
- Breaking
ssriis now compatible with the following semver range for node:^16.14.0 || >=18.0.0
Bug Fixes
Address breaking engine change in dependency
- 10.x
10.0.6
4 May 2024linting: no-unused-vars
Bug Fixes
linting: no-unused-vars
10.0.4 – 10.0.52 releases that only update dependenciesminipass 7.0.3Show each
- 10.0.514 Aug 2023minipass 7.0.3
- 10.0.426 Apr 2023minipass 5.0.0
10.0.3
11 Apr 2023Optimize adding this.algorithm to algorithms list
Prevent DEFAULT_ALGORITHM mutation
Integrity#match prioritizes overlapping hashes
Bug Fixes
Optimize adding this.algorithm to algorithms list
Prevent DEFAULT_ALGORITHM mutation
Integrity#match prioritizes overlapping hashes
Faster stream verification
10.0.2
4 Apr 2023Move from symbols to private methods
Faster toString for integrity
Remove spread of defaultOpts
10.0.1
7 Dec 2022Only updates a dependency:minipass 4.0.0
10.0.0
14 Oct 2022- Breaking
ssriis now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0 Postinstall for dependabot template-oss PR
Properly handle missing algorithm type
- 9.x
9.0.1
19 May 2022Store emitted events and re-emit them for late listeners
9.0.0
5 Apr 2022- Breaking
This drops support for node 8, node 10, and non-LTS versions of node 12 and node 14
Breaking changes
- Breaking
This drops support for node 8, node 10, and non-LTS versions of node 12 and node 14
- 8.x
8.0.1
27 Jan 20218.0.0
18 Feb 2020- Breaking
SRI values with
../in the algorithm name now throw as invalid (which they always probably should have!) - Breaking
Adds a new error that will be thrown. Empty SRIs are no longer considered valid for checking, only when using integrityStream to calculate the SRI value.
Remove figgy-pudding
Breaking changes
- Breaking
SRI values with
../in the algorithm name now throw as invalid (which they always probably should have!) - Breaking
Adds a new error that will be thrown. Empty SRIs are no longer considered valid for checking, only when using integrityStream to calculate the SRI value.
PR-URL: #12 Credit: @claudiahdz
Features
Remove figgy-pudding
Bug Fixes
- 7.x
7.1.1
17 May 20217.0.1
30 Sep 20197.0.0
18 Sep 2019- Breaking
Ssri no longer accepts a Promise option, and does not use, return, or rely on Bluebird promises.
- Breaking
Drop support for Node.js v6.
- Breaking
streams: this replaces the Node.js stream with a Minipass stream. See npm.im/minipass for documentation.
Breaking changes
- Breaking
Ssri no longer accepts a Promise option, and does not use, return, or rely on Bluebird promises.
- Breaking
Drop support for Node.js v6.
We knew this was coming, and the Stream changes are breaking anyway. May as well do this now.
- Breaking
streams: this replaces the Node.js stream with a Minipass stream. See npm.im/minipass for documentation.
Bug Fixes
Return super.write() return value
Use native promises only
Update tap, standard, standard-version, travis
streams: replace transform streams with minipass
- 6.x
6.0.2
7 Apr 20216.0.1
27 Aug 2018opts: use figgy-pudding to specify consumed opts
6.0.0
9 Apr 2018- Removed
Drop support for node@4
- Breaking
node@4 is no longer supported
meta
- Removed
Drop support for node@4
Breaking changes
- Breaking
node@4 is no longer supported
- 5.x
5.3.0
13 Mar 2018checkData: optionally throw when checkData fails
5.2.4
16 Feb 20185.2.3
16 Feb 2018hashes: filter hash priority list by available hashes
integrityStream: dedupe algorithms to generate
5.2.2
14 Feb 2018security: tweak strict SRI regex
5.2.1
7 Feb 20185.1.0
18 Jan 2018checkStream: integrityStream now takes opts.integrity algos into account
sha3: do some guesswork about upcoming sha3
5.0.0
23 Oct 2017- Breaking
license: the license has been changed from CC0-1.0 to ISC.
license: relicense to ISC
- 4.x
4.1.6
7 Jun 2017checkStream: make sure to pass all opts through
4.1.5
5 Jun 2017integrityStream: stop crashing if opts.algorithms and opts.integrity have an algo mismatch
4.1.3
24 May 2017check: handle various bad hash corner cases better
4.1.2
18 Apr 2017stream: _flush can be called multiple times. use on("end")
4.1.1
12 Apr 2017pickAlgorithm: error if pickAlgorithm() is used in an empty Integrity
4.1.0
7 Apr 2017Adding ssri.create for a crypto style interface
4.0.0
3 Apr 2017- Breaking
integrity: EBADCHECKSUM -> EINTEGRITY for verification errors
integrity: should have changed the error code before. oops
- 3.x
3.0.2
3 Apr 20173.0.1
3 Apr 2017package.json: really should have these in the keywords because search
3.0.0
3 Apr 2017- Breaking
hashes:
.isIntegrityMetadatais now.isHash. Also, any references toIntegrityMetadatanow refer toHash. - Breaking
integrityStream: createCheckerStream has been removed and replaced with a general-purpose integrityStream.
- Breaking
check:
checkData,checkStream, andcreateCheckerStreamnow yield a whole IntegrityMetadata instance representing the first successful hash match.
Bug Fixes
hashes: IntegrityMetadata -> Hash
Features
check: return IntegrityMetadata on check success
fromHex: ssri.fromHex to make it easier to generate them from hex valus
hex: utility function for getting hex version of digest
hexDigest: added hexDigest method to Integrity objects too
integrity: add .isIntegrity and .isIntegrityMetadata
integrityStream: new stream that can both generate and check streamed data
parse: allow parsing straight into a single IntegrityMetadata object
pickAlgorithm: Intergrity#pickAlgorithm() added
size: calculate and update stream sizes
Breaking changes
- Breaking
hashes:
.isIntegrityMetadatais now.isHash. Also, any references toIntegrityMetadatanow refer toHash. - Breaking
integrityStream: createCheckerStream has been removed and replaced with a general-purpose integrityStream.
To convert existing createCheckerStream code, move the
sriargument intoopts.integrityin integrityStream. All other options should be the same.- Breaking
check:
checkData,checkStream, andcreateCheckerStreamnow yield a whole IntegrityMetadata instance representing the first successful hash match.
- 2.x
2.0.0
24 Mar 2017- 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.
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.
- 1.x
1.0.0
23 Mar 2017- Breaking
api: Initial API established.
api: implemented initial api
- 0.0.x
0.0.0
23 Mar 2017
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.