Comparing version 1.1.0 to 1.1.1
@@ -18,3 +18,3 @@ 'use strict'; | ||
module.exports = function (buf) { | ||
return !isBinary(buf) && /<svg[^>]*>.*<\/svg>\s*$/.test(buf); | ||
return !isBinary(buf) && /<svg[^>]*>[^]*<\/svg>\s*$/.test(buf); | ||
}; |
{ | ||
"name": "is-svg", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Check if a String/Buffer is SVG", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
2558