Socket
Socket
Sign inDemoInstall

postcss-image-inliner

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-image-inliner - npm Package Compare versions

Comparing version 6.1.0 to 6.2.0

5

index.js

@@ -11,2 +11,3 @@ 'use strict';

strict: false,
filter: /^(mask(?:-image)?)|(list-style(?:-image)?)|(background(?:-image)?)|(content)|(cursor)/,
largeFileCallback: undefined,

@@ -35,3 +36,3 @@ svgoPlugins: [

const escapeRegExp = string => string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d');
const escapeRegExp = (string) => string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&').replace(/-/g, '\\x2d');

@@ -49,3 +50,3 @@ module.exports = (options_ = {}) => {

const urls = new Set([]);
const filter = /^(background(?:-image)?)|(content)|(cursor)/;
const {filter} = options;
// Get urls

@@ -52,0 +53,0 @@ root.walkDecls(

2

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

@@ -5,0 +5,0 @@ "keywords": [

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