normalize-url
Advanced tools
Comparing version 5.3.0 to 5.3.1
@@ -12,3 +12,3 @@ 'use strict'; | ||
const normalizeDataURL = (urlString, {stripHash}) => { | ||
const match = /^data:(?<type>.*?),(?<data>.*?)(?:#(?<hash>.*))?$/.exec(urlString); | ||
const match = /^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(urlString); | ||
@@ -15,0 +15,0 @@ if (!match) { |
{ | ||
"name": "normalize-url", | ||
"version": "5.3.0", | ||
"version": "5.3.1", | ||
"description": "Normalize a URL", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
18554