summaryrefslogtreecommitdiff
path: root/node_modules/@csstools/postcss-media-minmax
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@csstools/postcss-media-minmax
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/@csstools/postcss-media-minmax')
-rw-r--r--node_modules/@csstools/postcss-media-minmax/CHANGELOG.md62
-rw-r--r--node_modules/@csstools/postcss-media-minmax/dist/index.d.ts8
-rw-r--r--node_modules/@csstools/postcss-media-minmax/dist/to-lower-case-a-z.d.ts1
-rw-r--r--node_modules/@csstools/postcss-media-minmax/dist/transform-single-pair.d.ts2
-rw-r--r--node_modules/@csstools/postcss-media-minmax/dist/transform.d.ts2
-rw-r--r--node_modules/@csstools/postcss-media-minmax/package.json46
6 files changed, 31 insertions, 90 deletions
diff --git a/node_modules/@csstools/postcss-media-minmax/CHANGELOG.md b/node_modules/@csstools/postcss-media-minmax/CHANGELOG.md
index 2ed00d6d..09166d6d 100644
--- a/node_modules/@csstools/postcss-media-minmax/CHANGELOG.md
+++ b/node_modules/@csstools/postcss-media-minmax/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changes to PostCSS Media MinMax
+### 1.1.1
+
+_December 15, 2023_
+
+- Fix type definitions
+- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#222) (patch)
+- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.4.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#240) (minor)
+- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.1.5`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#115) (patch)
+- Updated [`@csstools/media-query-list-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser) to [`2.1.6`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser/CHANGELOG.md#216) (patch)
+
### 1.1.0
_September 24, 2023_
@@ -16,54 +26,4 @@ _August 5, 2023_
- Updated [`@csstools/media-query-list-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser) to [`2.1.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser/CHANGELOG.md#214) (patch)
-### 1.0.6
-
-_July 24, 2023_
-
-- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#220) (minor)
-- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.3.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#231) (patch)
-- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.1.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#113) (patch)
-- Updated [`@csstools/media-query-list-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser) to [`2.1.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser/CHANGELOG.md#213) (patch)
-
-### 1.0.5
-
-_July 3, 2023_
-
-- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.3.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#230) (minor)
-- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.1.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#112) (patch)
-- Updated [`@csstools/media-query-list-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser) to [`2.1.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/media-query-list-parser/CHANGELOG.md#212) (patch)
-
-### 1.0.4
-
-_June 21, 2023_
-
-- Updated `@csstools/media-query-list-parser` to `2.1.1` (patch)
-
-
-### 1.0.3
-
-_June 1, 2023_
-
-- Updated `@csstools/media-query-list-parser` to `2.1.0` (minor)
-
-
-### 1.0.2
-
-_April 10, 2023_
-
-- Updated `@csstools/css-tokenizer` to `2.1.1` (patch)
-- Updated `@csstools/css-parser-algorithms` to `2.1.1` (patch)
-- Updated `@csstools/css-calc` to `1.1.1` (patch)
-- Updated `@csstools/media-query-list-parser` to `2.0.4` (patch)
-
-### 1.0.1
-
-_April 10, 2023_
-
-- Improve the detection of math function in media queries.
-
-### 1.0.0
-
-_March 30, 2023_
-
-- Initial version
+[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-minmax/CHANGELOG.md)
diff --git a/node_modules/@csstools/postcss-media-minmax/dist/index.d.ts b/node_modules/@csstools/postcss-media-minmax/dist/index.d.ts
index f22ef708..e60e05c0 100644
--- a/node_modules/@csstools/postcss-media-minmax/dist/index.d.ts
+++ b/node_modules/@csstools/postcss-media-minmax/dist/index.d.ts
@@ -1,5 +1,9 @@
import type { PluginCreator } from 'postcss';
-/** postcss-media-minmax plugin options */
-export type pluginOptions = never;
+
declare const creator: PluginCreator<pluginOptions>;
export default creator;
+
+/** postcss-media-minmax plugin options */
+export declare type pluginOptions = never;
+
+export { }
diff --git a/node_modules/@csstools/postcss-media-minmax/dist/to-lower-case-a-z.d.ts b/node_modules/@csstools/postcss-media-minmax/dist/to-lower-case-a-z.d.ts
deleted file mode 100644
index 396b252e..00000000
--- a/node_modules/@csstools/postcss-media-minmax/dist/to-lower-case-a-z.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function toLowerCaseAZ(x: string): string;
diff --git a/node_modules/@csstools/postcss-media-minmax/dist/transform-single-pair.d.ts b/node_modules/@csstools/postcss-media-minmax/dist/transform-single-pair.d.ts
deleted file mode 100644
index 2b3e5ce0..00000000
--- a/node_modules/@csstools/postcss-media-minmax/dist/transform-single-pair.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { MediaFeature, MediaFeatureComparison, MediaFeatureValue } from '@csstools/media-query-list-parser';
-export declare function transformSingleNameValuePair(name: string, operator: MediaFeatureComparison, value: MediaFeatureValue, nameBeforeValue: boolean): MediaFeature | undefined;
diff --git a/node_modules/@csstools/postcss-media-minmax/dist/transform.d.ts b/node_modules/@csstools/postcss-media-minmax/dist/transform.d.ts
deleted file mode 100644
index 9bcd6223..00000000
--- a/node_modules/@csstools/postcss-media-minmax/dist/transform.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import { MediaQuery } from '@csstools/media-query-list-parser';
-export declare function transform(mediaQueries: Array<MediaQuery>): string;
diff --git a/node_modules/@csstools/postcss-media-minmax/package.json b/node_modules/@csstools/postcss-media-minmax/package.json
index 1da41c6a..b4435755 100644
--- a/node_modules/@csstools/postcss-media-minmax/package.json
+++ b/node_modules/@csstools/postcss-media-minmax/package.json
@@ -1,7 +1,7 @@
{
"name": "@csstools/postcss-media-minmax",
"description": "Use the range notation in CSS media queries",
- "version": "1.1.0",
+ "version": "1.1.1",
"contributors": [
{
"name": "Antonio Laguna",
@@ -30,15 +30,18 @@
"engines": {
"node": "^14 || ^16 || >=18"
},
+ "type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
- "types": "dist/index.d.ts",
"exports": {
".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.mjs",
- "require": "./dist/index.cjs",
- "default": "./dist/index.mjs"
+ "import": {
+ "types": "./dist/index.d.ts",
+ "default": "./dist/index.mjs"
+ },
+ "require": {
+ "default": "./dist/index.cjs"
+ }
}
},
"files": [
@@ -48,26 +51,14 @@
"dist"
],
"dependencies": {
- "@csstools/css-calc": "^1.1.4",
- "@csstools/css-parser-algorithms": "^2.3.2",
- "@csstools/css-tokenizer": "^2.2.1",
- "@csstools/media-query-list-parser": "^2.1.5"
+ "@csstools/css-calc": "^1.1.5",
+ "@csstools/css-parser-algorithms": "^2.4.0",
+ "@csstools/css-tokenizer": "^2.2.2",
+ "@csstools/media-query-list-parser": "^2.1.6"
},
"peerDependencies": {
"postcss": "^8.4"
},
- "devDependencies": {
- "@csstools/postcss-tape": "*"
- },
- "scripts": {
- "build": "rollup -c ../../rollup/default.mjs",
- "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",
- "lint": "node ../../.github/bin/format-package-json.mjs",
- "prepublishOnly": "npm run build && npm run test",
- "test": "node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs",
- "test:browser": "node ./test/_browser.mjs",
- "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs"
- },
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-media-minmax#readme",
"repository": {
"type": "git",
@@ -79,14 +70,5 @@
"media queries",
"postcss-plugin",
"range"
- ],
- "csstools": {
- "cssdbId": "media-query-ranges",
- "exportName": "postcssMediaMinMax",
- "humanReadableName": "PostCSS Media MinMax",
- "specUrl": "https://www.w3.org/TR/mediaqueries-4/#mq-features"
- },
- "volta": {
- "extends": "../../package.json"
- }
+ ]
}