Socket
Socket
Sign inDemoInstall

postcss-image-inliner

Package Overview
Dependencies
280
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.3 to 3.0.4

5

index.js

@@ -5,4 +5,3 @@ 'use strict';

const debug = require('debug')('image-inliner');
const last = require('lodash/last');
const escapeRegExp = require('lodash/escapeRegExp');
const escapeRegExp = require('escape-string-regexp');
const {getDataUriMapping} = require('./lib/image');

@@ -22,3 +21,3 @@

while ((match = matcher.exec(decl.value)) !== null) {
cb({decl, url: last(match)});
cb({decl, url: match[match.length - 1]});
}

@@ -25,0 +24,0 @@ };

14

package.json
{
"name": "postcss-image-inliner",
"version": "3.0.3",
"version": "3.0.4",
"description": "PostCSS plugin to inline images into css",

@@ -24,7 +24,7 @@ "keywords": [

"dependencies": {
"asset-resolver": "^2.0.1",
"asset-resolver": "^2.0.4",
"debug": "^4.1.1",
"filesize": "^4.1.2",
"lodash": "^4.17.15",
"postcss": "^7.0.17",
"escape-string-regexp": "^2.0.0",
"filesize": "^5.0.3",
"postcss": "^7.0.18",
"svgo": "^1.3.0"

@@ -34,6 +34,6 @@ },

"chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint": "^6.5.1",
"eslint-config-xo-space": "^0.21.0",
"finalhandler": "^1.1.2",
"mocha": "^6.2.0",
"mocha": "^6.2.2",
"serve-static": "^1.14.1"

@@ -40,0 +40,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc