Socket
Socket
Sign inDemoInstall

is-svg

Package Overview
Dependencies
Maintainers
2
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 4.3.1 to 4.3.2

2

index.d.ts

@@ -1,3 +0,1 @@

/// <reference types="node"/>
declare const isSvg: {

@@ -4,0 +2,0 @@ /**

3

index.js

@@ -9,3 +9,4 @@ 'use strict';

input = input.toString().trim();
// TODO: Remove the `.replace` call when using `fast-xml-parser@4` which has fixed the bug.
input = input.toString().trim().replace(/\n/g, ' ');

@@ -12,0 +13,0 @@ if (input.length === 0) {

{
"name": "is-svg",
"version": "4.3.1",
"version": "4.3.2",
"description": "Check if a string or buffer is SVG",

@@ -5,0 +5,0 @@ "license": "MIT",

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