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 3.0.7 to 3.0.8

7

index.js

@@ -12,3 +12,3 @@ 'use strict';

b64Svg: false,
strict: false
strict: false,
};

@@ -39,3 +39,6 @@

// Get urls
css.walkDecls(filter, loop(({url}) => urls.add(url)));
css.walkDecls(
filter,
loop(({url}) => urls.add(url))
);

@@ -42,0 +45,0 @@ const mapping = await getDataUriMapping([...urls], options);

@@ -71,4 +71,4 @@ 'use strict';

return await getResource(file, {base, filter});
} catch (err) {
debug(err.message, filepath, 'could not be resolved');
} catch (error) {
debug(error.message, filepath, 'could not be resolved');
}

@@ -75,0 +75,0 @@ }

{
"name": "postcss-image-inliner",
"version": "3.0.7",
"version": "3.0.8",
"description": "PostCSS plugin to inline images into css",

@@ -33,12 +33,11 @@ "keywords": [

"chai": "^4.2.0",
"eslint": "^6.6.0",
"eslint-config-xo-space": "^0.21.0",
"finalhandler": "^1.1.2",
"mocha": "^6.2.2",
"serve-static": "^1.14.1"
"serve-static": "^1.14.1",
"xo": "^0.25.3"
},
"scripts": {
"eslint": "eslint .",
"xo": "xo",
"mocha": "mocha",
"test": "npm run eslint && npm run mocha"
"test": "npm run xo && npm run mocha"
},

@@ -51,4 +50,10 @@ "prettier": {

},
"eslintConfig": {
"extends": "xo-space"
"xo": {
"space": 2,
"prettier": true,
"rules": {
"capitalized-comments": "off",
"default-param-last": "off",
"promise/prefer-await-to-then": "off"
}
},

@@ -55,0 +60,0 @@ "engines": {

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