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

web-resource-inliner

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-resource-inliner - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

3

HISTORY.md
## Release History
### 2017-09-06 *v4.2.0*
Fixes: Skip inlining of srcs that are already data uris
### 2017-09-06 *v4.1.1*

@@ -4,0 +7,0 @@ Fixes: buffer.toString() encoding fix for nodejs 8

3

package.json

@@ -8,3 +8,3 @@ {

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

@@ -41,2 +41,3 @@ "inline",

"request": "^2.78.0",
"valid-data-url": "^0.1.4",
"xtend": "^4.0.0"

@@ -43,0 +44,0 @@ },

@@ -9,2 +9,3 @@ "use strict";

var chalk = require( "chalk" );
var validDataUrl = require( "valid-data-url" );

@@ -183,2 +184,6 @@ var util = {};

}
else if( validDataUrl( src ) )
{
callback( null, src );
}
else

@@ -185,0 +190,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