Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mini-svg-data-uri

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-svg-data-uri - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

index.js

@@ -41,3 +41,3 @@ const shorterNames = require('./shorter-css-color-names');

if (typeof svgString !== 'string') {
throw new TypeError(`Expected a string, but received ${typeof svgString}`);
throw new TypeError('Expected a string, but received ' + typeof svgString);
}

@@ -44,0 +44,0 @@ // Strip the Byte-Order Mark if the SVG has one

{
"name": "mini-svg-data-uri",
"version": "1.0.1",
"version": "1.0.2",
"description": "Small, efficient encoding of SVG data URIs for CSS, HTML, etc.",

@@ -5,0 +5,0 @@ "main": "index.js",

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