Comparing version 5.0.0 to 5.0.1
@@ -32,3 +32,3 @@ import {XMLParser, XMLValidator} from 'fast-xml-parser'; | ||
if (!('svg' in jsonObject)) { | ||
if (!Object.keys(jsonObject).some(x => x.toLowerCase() === 'svg')) { | ||
return false; | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "is-svg", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Check if a string is SVG", | ||
@@ -18,2 +18,3 @@ "license": "MIT", | ||
}, | ||
"sideEffects": false, | ||
"engines": { | ||
@@ -23,3 +24,4 @@ "node": ">=14.16" | ||
"scripts": { | ||
"test": "xo && ava && tsd" | ||
"//test": "xo && ava && tsd", | ||
"test": "ava && tsd" | ||
}, | ||
@@ -26,0 +28,0 @@ "files": [ |
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
3275