Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-custom-media

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-custom-media - npm Package Compare versions

Comparing version 9.0.1 to 9.1.0

dist/cascade-layers.d.ts

4

CHANGELOG.md
# Changes to PostCSS Custom Media
### 9.1.0 (January 24, 2023)
- Added: Support for Cascade Layers.
### 9.0.1 (November 19, 2022)

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

9

dist/index.d.ts
import type { PluginCreator } from 'postcss';
export interface PluginOptions {
/** Determines whether Custom Media and media queries using custom media should be preserved in their original form. */
/** postcss-custom-media plugin options */
export type pluginOptions = {
/** Preserve the original notation. default: false */
preserve?: boolean;
}
declare const creator: PluginCreator<PluginOptions>;
};
declare const creator: PluginCreator<pluginOptions>;
export default creator;
{
"name": "postcss-custom-media",
"description": "Use Custom Media Queries in CSS",
"version": "9.0.1",
"version": "9.1.0",
"contributors": [

@@ -48,5 +48,6 @@ {

"dependencies": {
"@csstools/css-parser-algorithms": "^1.0.0",
"@csstools/css-tokenizer": "^1.0.0",
"@csstools/media-query-list-parser": "^1.0.0"
"@csstools/cascade-layer-name-parser": "^1.0.0",
"@csstools/css-parser-algorithms": "^2.0.0",
"@csstools/css-tokenizer": "^2.0.0",
"@csstools/media-query-list-parser": "^2.0.0"
},

@@ -57,4 +58,5 @@ "peerDependencies": {

"scripts": {
"prebuild": "npm run clean",
"build": "rollup -c ../../rollup/default.mjs",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"",
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",

@@ -91,2 +93,3 @@ "lint": "npm run lint:eslint && npm run lint:package-json",

"csstools": {
"assumesToProcessBundledCSS": true,
"cssdbId": "custom-media-queries",

@@ -93,0 +96,0 @@ "exportName": "postcssCustomMedia",

@@ -122,3 +122,2 @@ # PostCSS Custom Media [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]

- [Webpack](INSTALL.md#webpack)
- [Create React App](INSTALL.md#create-react-app)
- [Next.js](INSTALL.md#nextjs)

@@ -125,0 +124,0 @@ - [Gulp](INSTALL.md#gulp)

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc