Socket
Socket
Sign inDemoInstall

is-svg

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-svg - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

2

index.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc