Socket
Socket
Sign inDemoInstall

postcss-image-set-function

Package Overview
Dependencies
5
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.4 to 4.0.5

4

CHANGELOG.md
# Changes to PostCSS image-set() Function
### 4.0.5 (January 31, 2022)
- Fix sourcemaps for `image-set()` function
### 4.0.4 (January 2, 2022)

@@ -4,0 +8,0 @@

2

dist/lib/get-media.d.ts
import type { Node } from 'postcss-value-parser';
export declare function getMedia(dpi: number | false, postcss: any): any;
export declare function getMedia(dpi: number | false, postcss: any, decl: any): any;
export declare function getMediaDPI(node: Node): number | false;
{
"name": "postcss-image-set-function",
"version": "4.0.4",
"version": "4.0.5",
"description": "Display resolution-dependent images using the image-set() function in CSS",

@@ -24,3 +24,4 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"stryker": "stryker run --logLevel error",
"test": "postcss-tape --ci && npm run test:exports",
"test": "node .tape.mjs && npm run test:exports",
"test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs",
"test:exports": "node ./test/_import.mjs && node ./test/_require.cjs"

@@ -34,8 +35,4 @@ },

},
"devDependencies": {
"postcss": "^8.3.6",
"postcss-tape": "^6.0.1"
},
"peerDependencies": {
"postcss": "^8.3"
"postcss": "^8.4"
},

@@ -42,0 +39,0 @@ "keywords": [

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

[![Build Status][cli-img]][cli-url]
[![Support Chat][git-img]][git-url]
[<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]

@@ -152,6 +152,5 @@ [PostCSS image-set() Function] lets you display resolution-dependent images

[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
[css-img]: https://cssdb.org/badge/image-set-function.svg
[css-img]: https://cssdb.org/images/badges/image-set-function.svg
[css-url]: https://cssdb.org/#image-set-function
[git-img]: https://img.shields.io/badge/support-chat-blue.svg
[git-url]: https://gitter.im/postcss/postcss
[discord]: https://discord.gg/bUadyRwkJS
[npm-img]: https://img.shields.io/npm/v/postcss-image-set-function.svg

@@ -158,0 +157,0 @@ [npm-url]: https://www.npmjs.com/package/postcss-image-set-function

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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