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 2.1.0-0 to 2.1.0-1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.1.0-1"></a>
# [2.1.0-1](https://github.com/kisenka/webpack-svg-sprite-loader/compare/v2.1.0-0...v2.1.0-1) (2017-05-08)
### Bug Fixes
* **plugin:** properly generate symbol url in extract mode ([6af7230](https://github.com/kisenka/webpack-svg-sprite-loader/commit/6af7230))
<a name="2.1.0-0"></a>

@@ -7,0 +17,0 @@ # [2.1.0-0](https://github.com/kisenka/webpack-svg-sprite-loader/compare/v2.0.5...v2.1.0-0) (2017-05-07)

2

lib/plugin.js

@@ -37,3 +37,3 @@ /* eslint-disable import/no-extraneous-dependencies */

const map = new MappedList(symbols, this);
const replacements = map.groupItemsBySymbolFile((acc, item) => acc[item.resource] = item.url);
const replacements = map.groupItemsBySymbolFile((acc, item) => acc[item.resource] = item.useUrl);
map.items.forEach(item => replaceInModuleSource(item.module, replacements));

@@ -40,0 +40,0 @@ });

{
"name": "svg-sprite-loader",
"version": "2.1.0-0",
"version": "2.1.0-1",
"description": "SVG sprite loader for Webpack",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/kisenka/webpack-svg-sprite-loader#readme",

Sorry, the diff of this file is not supported yet

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