Socket
Socket
Sign inDemoInstall

postcss-image-set-function

Package Overview
Dependencies
8
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 4.0.0

index.js

36

package.json
{
"name": "postcss-image-set-function",
"version": "3.0.1",
"version": "4.0.0",
"description": "Display resolution-dependent images using the image-set() function in CSS",

@@ -10,15 +10,9 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"bugs": "https://github.com/jonathantneal/postcss-image-set-function/issues",
"main": "index.cjs.js",
"module": "index.es.mjs",
"main": "index.js",
"files": [
"index.cjs.js",
"index.cjs.js.map",
"index.es.mjs",
"index.es.mjs.map"
"lib/"
],
"scripts": {
"prepublishOnly": "npm test",
"pretest": "rollup -c .rollup.js --silent",
"test": "echo 'Running tests...'; npm run test:js && npm run test:tape",
"test:ec": "echint --ignore index.*.js test",
"test:js": "eslint *.js --cache --ignore-path .gitignore --quiet",

@@ -28,22 +22,18 @@ "test:tape": "postcss-tape"

"engines": {
"node": ">=6.0.0"
"node": ">=12"
},
"dependencies": {
"postcss": "^7.0.2",
"postcss-values-parser": "^2.0.0"
"postcss-values-parser": "6.0.0"
},
"peerDependencies": {
"postcss": "^8.3"
},
"devDependencies": {
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"babel-eslint": "^9.0.0",
"eslint": "^5.6.0",
"eslint-config-dev": "^2.0.0",
"postcss-tape": "^2.2.0",
"pre-commit": "^1.2.2",
"rollup": "^0.66.0",
"rollup-plugin-babel": "^4.0.3"
"eslint": "7.32.0",
"eslint-config-dev": "2.0.0",
"postcss": "8.3.6",
"postcss-tape": "6.0.1"
},
"eslintConfig": {
"extends": "dev",
"parser": "babel-eslint"
"extends": "dev"
},

@@ -50,0 +40,0 @@ "keywords": [

@@ -12,2 +12,4 @@ # PostCSS image-set() Function [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss]

[!['Can I use' table](https://caniuse.bitsofco.de/image/css-image-set.png)](https://caniuse.com/#feat=css-image-set)
```pcss

@@ -154,4 +156,4 @@ .example {

[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-image-set-function.svg
[cli-url]: https://travis-ci.org/jonathantneal/postcss-image-set-function
[cli-img]: https://github.com/csstools/postcss-image-set-function/workflows/test/badge.svg
[cli-url]: https://github.com/csstools/postcss-image-set-function/actions/workflows/test.yml?query=workflow/test
[css-img]: https://cssdb.org/badge/image-set-function.svg

@@ -158,0 +160,0 @@ [css-url]: https://cssdb.org/#image-set-function

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc