Comparing version 5.2.1 to 5.2.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="5.2.2"></a> | ||
## [5.2.2](https://github.com/zkat/ssri/compare/v5.2.1...v5.2.2) (2018-02-14) | ||
### Bug Fixes | ||
* **security:** tweak strict SRI regex ([#10](https://github.com/zkat/ssri/issues/10)) ([d0ebcdc](https://github.com/zkat/ssri/commit/d0ebcdc)) | ||
<a name="5.2.1"></a> | ||
@@ -7,0 +17,0 @@ ## [5.2.1](https://github.com/zkat/ssri/compare/v5.2.0...v5.2.1) (2018-02-06) |
@@ -12,3 +12,3 @@ 'use strict' | ||
const SRI_REGEX = /^([^-]+)-([^?]+)([?\S*]*)$/ | ||
const STRICT_SRI_REGEX = /^([^-]+)-([A-Za-z0-9+/]+(?:=?=?))([?\x21-\x7E]*)$/ | ||
const STRICT_SRI_REGEX = /^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/ | ||
const VCHAR_REGEX = /^[\x21-\x7E]+$/ | ||
@@ -15,0 +15,0 @@ |
{ | ||
"name": "ssri", | ||
"version": "5.2.1", | ||
"version": "5.2.2", | ||
"description": "Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38591