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.14 to 0.0.15

8

lib/web/sprite.js

@@ -33,3 +33,3 @@ /**

* @param {Object} arrayLike
* @returns {Array.<T>}
* @returns {Array.<*>}
*/

@@ -43,7 +43,7 @@ function arrayFrom(arrayLike) {

* Adds leading slash for the brackets
* @param url
* @return encoded url
* @param {string} url
* @return {string} encoded url
*/
function encodeUrlForEmbedding(url) {
return url.replace(/\(|\)/, "\\$&");
return url.replace(/\(|\)/g, "\\$&");
}

@@ -50,0 +50,0 @@

{
"name": "svg-sprite-loader",
"version": "0.0.14",
"version": "0.0.15",
"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