postcss-custom-media
Advanced tools
Comparing version 9.0.1 to 9.1.0
# 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 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32017
16
125
5
165
+ Added@csstools/cascade-layer-name-parser@1.0.13(transitive)
+ Added@csstools/css-parser-algorithms@2.7.1(transitive)
+ Added@csstools/css-tokenizer@2.4.1(transitive)
+ Added@csstools/media-query-list-parser@2.1.13(transitive)
- Removed@csstools/css-parser-algorithms@1.0.0(transitive)
- Removed@csstools/css-tokenizer@1.0.0(transitive)
- Removed@csstools/media-query-list-parser@1.0.0(transitive)