Update to v2.3.1

This commit is contained in:
Theron Voran 2021-08-18 15:26:24 -07:00
parent f3e4110f8d
commit 9b083946ab
3 changed files with 8 additions and 2 deletions

2
dist/index.js vendored
View file

@ -434,7 +434,7 @@ const testParameter = (name, filters) => {
};
const normalizeDataURL = (urlString, {stripHash}) => {
const parts = urlString.match(/^data:(.*?),(.*?)(?:#(.*))?$/);
const parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/);
if (!parts) {
throw new Error(`Invalid URL: ${urlString}`);