Comparing version 6.0.1 to 6.0.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="6.0.2"></a> | ||
## [6.0.2](https://github.com/zkat/ssri/compare/v6.0.1...v6.0.2) (2021-04-07) | ||
### Bug Fixes | ||
* backport regex change from 8.0.1 ([b30dfdb](https://github.com/zkat/ssri/commit/b30dfdb)), closes [#19](https://github.com/zkat/ssri/issues/19) | ||
<a name="6.0.1"></a> | ||
@@ -7,0 +17,0 @@ ## [6.0.1](https://github.com/zkat/ssri/compare/v6.0.0...v6.0.1) (2018-08-27) |
@@ -11,3 +11,3 @@ 'use strict' | ||
const SRI_REGEX = /^([^-]+)-([^?]+)([?\S*]*)$/ | ||
const STRICT_SRI_REGEX = /^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)*$/ | ||
const STRICT_SRI_REGEX = /^([^-]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/ | ||
const VCHAR_REGEX = /^[\x21-\x7E]+$/ | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "ssri", | ||
"version": "6.0.1", | ||
"version": "6.0.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", |
41730