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

svg-sprite-loader

Package Overview
Dependencies
Maintainers
2
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-sprite-loader - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

4

lib/processings/raster-image-to-svg.js

@@ -8,3 +8,3 @@ var path = require('path');

var template = [
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink" width="{width}" height="{height}">',
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink" viewBox="0 0 {width} {height}">',
'<image width="{width}" height="{height}" xlink:href="{src}" />',

@@ -27,2 +27,2 @@ '</svg>'

.replace(/\{src\}/g, 'data:image/'+ info.type +';base64,' + src)
};
};
{
"name": "svg-sprite-loader",
"version": "0.0.23",
"version": "0.0.24",
"description": "SVG sprite webpack loader",

@@ -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