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

grunt-inline

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-inline - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

LICENSE-MIT

2

package.json

@@ -9,3 +9,3 @@ {

"description": "Inlines img, script and link tags into the same file.",
"version": "0.3.0",
"version": "0.3.1",
"keywords": [

@@ -12,0 +12,0 @@ "gruntplugin",

@@ -157,3 +157,3 @@ # grunt-inline[![build status](https://secure.travis-ci.org/miniflycn/grunt-inline.png)](http://travis-ci.org/miniflycn/grunt-inline)

<img src="img/icon.png?__inline=true" />
<script src="js/erport.js?__inline=true"></script>

@@ -215,2 +215,3 @@ </body>

## Release History
* 2014-06-15 v0.3.1 bug fix: when options.tag is '', then all img tags, whose src attribute has already been inlined will be matched.
* 2014-05-19 v0.3.0 support for new options.exts

@@ -217,0 +218,0 @@ * 2014-05-19 v0.2.9 bug fix: options.tag is assigned '', bug image url in css are not converted to base64 formate

@@ -11,3 +11,3 @@ /*

module.exports = function(grunt) {
var path = require('path');

@@ -132,3 +132,3 @@ var datauri = require('datauri');

return ret;
}).replace(/<img.+?src=["']([^"']+?)["'].*?\/?\s*?>/g, function(matchedWord, src){
}).replace(/<img.+?src=["']([^"':]+?)["'].*?\/?\s*?>/g, function(matchedWord, src){
var ret = matchedWord;

@@ -135,0 +135,0 @@

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