New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-svg2string

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

grunt-svg2string - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"name": "grunt-svg2string",
"description": "Transforms a SVG file into a JavaScript string",
"version": "0.1.5",
"version": "0.1.6",
"homepage": "https://github.com/mistakster/grunt-svg2string",

@@ -6,0 +6,0 @@ "author": {

@@ -33,4 +33,4 @@ # grunt-svg2string

// Target-specific file lists and/or options go here.
},
},
}
}
});

@@ -135,9 +135,11 @@ ```

svg2string: {
files: {
'assets/_/js/elements.js': [
'assets/images/icon-set.svg',
'assets/images/navigation.svg'
],
},
},
elements: {
files: {
'assets/_/js/elements.js': [
'assets/images/icon-set.svg',
'assets/images/navigation.svg'
]
}
}
}
});

@@ -172,13 +174,15 @@ ```

svg2string: {
options: {
template: '(App.SVG = App.SVG || {})["[%= filename %]"] = [%= content %];',
wrapLines: false
},
files: {
'assets/_/js/elements.js': [
'assets/images/icon-set.svg',
'assets/images/navigation.svg'
],
},
},
elements: {
options: {
template: '(App.SVG = App.SVG || {})["[%= filename %]"] = [%= content %];',
wrapLines: false
},
files: {
'assets/_/js/elements.js': [
'assets/images/icon-set.svg',
'assets/images/navigation.svg'
]
}
}
}
});

@@ -199,2 +203,3 @@ ```

* 0.1.6 (04-Oct-2014): Fix samples in the documentation
* 0.1.5 (24-Aug-2014): Fix wrong code

@@ -201,0 +206,0 @@ * 0.1.4 (24-Aug-2014): Add option to convert set of SVG files into symbols.

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