Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ssri

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssri - npm Package Compare versions

Comparing version 4.1.5 to 4.1.6

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="4.1.6"></a>
## [4.1.6](https://github.com/zkat/ssri/compare/v4.1.5...v4.1.6) (2017-06-07)
### Bug Fixes
* **checkStream:** make sure to pass all opts through ([0b1bcbe](https://github.com/zkat/ssri/commit/0b1bcbe))
<a name="4.1.5"></a>

@@ -7,0 +17,0 @@ ## [4.1.5](https://github.com/zkat/ssri/compare/v4.1.4...v4.1.5) (2017-06-05)

9

index.js

@@ -217,8 +217,5 @@ 'use strict'

const P = opts.Promise || Promise
const checker = integrityStream({
integrity: sri,
size: opts.size,
strict: opts.strict,
pickAlgorithm: opts.pickAlgorithm
})
const checker = integrityStream(Object.assign({}, opts, {
integrity: sri
}))
return new P((resolve, reject) => {

@@ -225,0 +222,0 @@ stream.pipe(checker)

{
"name": "ssri",
"version": "4.1.5",
"version": "4.1.6",
"description": "Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.",

@@ -40,3 +40,3 @@ "main": "index.js",

"dependencies": {
"safe-buffer": "^5.0.1"
"safe-buffer": "^5.1.0"
},

@@ -46,4 +46,4 @@ "devDependencies": {

"standard": "^9.0.2",
"standard-version": "^4.0.0",
"tap": "^10.3.2",
"standard-version": "^4.1.0",
"tap": "^10.3.3",
"weallbehave": "^1.2.0",

@@ -50,0 +50,0 @@ "weallcontribute": "^1.0.8"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc