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

grunt-img2sassb64

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-img2sassb64 - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "grunt-img2sassb64",
"version": "0.1.1",
"version": "0.1.2",
"description": "Converts image files to Base64 and saves them as SCSS or SASS variables in a single file",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/sarweiler/img2sassb64",

@@ -89,2 +89,4 @@ # img2sassb64

* 0.1.2 Fixed missing quotes in generated output
* 0.1.1 Updated documentation
* 0.1.0 Changed directory input to file input to be more flexible

@@ -91,0 +93,0 @@ * 0.0.4 First version

@@ -65,3 +65,3 @@ /*

// Read file and Base64 encode it
return varName + ': ' + 'data:image/' + fileExtension + ';base64,' + grunt.file.read(filepath, {encoding: null}).toString('base64') + endOfLine;
return varName + ': ' + '"data:image/' + fileExtension + ';base64,' + grunt.file.read(filepath, {encoding: null}).toString('base64') + '"' + endOfLine;
}

@@ -68,0 +68,0 @@ }).join(grunt.util.linefeed);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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