@csstools/postcss-gamut-mapping 1.0.11 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +3 -21
  2. package/README.md +1 -14
  3. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,27 +1,9 @@
1
1
  # Changes to PostCSS gamut-mapping
2
2
 
3
- ### 1.0.11
3
+ ### 2.0.1
4
4
 
5
- _July 6, 2024_
5
+ _August 14, 2024_
6
6
 
7
- - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.4.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#241) (patch)
8
- - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.7.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#271) (patch)
9
- - Updated [`@csstools/css-color-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser) to [`2.0.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#204) (patch)
10
-
11
- ### 1.0.10
12
-
13
- _June 29, 2024_
14
-
15
- - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#232) (patch)
16
- - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.7.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#270) (minor)
17
- - Updated [`@csstools/css-color-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser) to [`2.0.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#203) (patch)
18
-
19
- ### 1.0.9
20
-
21
- _May 4, 2024_
22
-
23
- - Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#231) (patch)
24
- - Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.6.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#263) (patch)
25
- - Updated [`@csstools/css-color-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser) to [`2.0.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#202) (patch)
7
+ - Updated [`@csstools/css-color-parser`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser) to [`3.0.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser/CHANGELOG.md#301) (patch)
26
8
 
27
9
  [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-gamut-mapping/CHANGELOG.md)
package/README.md CHANGED
@@ -1,10 +1,6 @@
1
1
  # PostCSS Gamut Mapping [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]
2
2
 
3
- [<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/postcss-gamut-mapping.svg" height="20">][npm-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]<br><br>[<img alt="Baseline Status" src="https://cssdb.org/images/badges-baseline/gamut-mapping.svg" height="20">][css-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/gamut-mapping.svg" height="20">][css-url]
4
-
5
- ```bash
6
- npm install @csstools/postcss-gamut-mapping --save-dev
7
- ```
3
+ `npm install @csstools/postcss-gamut-mapping --save-dev`
8
4
 
9
5
  [PostCSS Gamut Mapping] lets you use wide gamut colors with gamut mapping for specific displays following the [CSS Color 4 Specification].
10
6
 
@@ -63,16 +59,7 @@ postcss([
63
59
  ]).process(YOUR_CSS /*, processOptions */);
64
60
  ```
65
61
 
66
- [PostCSS Gamut Mapping] runs in all Node environments, with special
67
- instructions for:
68
62
 
69
- - [Node](INSTALL.md#node)
70
- - [PostCSS CLI](INSTALL.md#postcss-cli)
71
- - [PostCSS Load Config](INSTALL.md#postcss-load-config)
72
- - [Webpack](INSTALL.md#webpack)
73
- - [Next.js](INSTALL.md#nextjs)
74
- - [Gulp](INSTALL.md#gulp)
75
- - [Grunt](INSTALL.md#grunt)
76
63
 
77
64
  [cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
78
65
  [css-url]: https://cssdb.org/#gamut-mapping
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@csstools/postcss-gamut-mapping",
3
3
  "description": "Gamut map css colors to fit display specific gamuts",
4
- "version": "1.0.11",
4
+ "version": "2.0.1",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",
@@ -25,7 +25,7 @@
25
25
  }
26
26
  ],
27
27
  "engines": {
28
- "node": "^14 || ^16 || >=18"
28
+ "node": ">=18"
29
29
  },
30
30
  "type": "module",
31
31
  "main": "dist/index.cjs",
@@ -48,9 +48,9 @@
48
48
  "dist"
49
49
  ],
50
50
  "dependencies": {
51
- "@csstools/css-color-parser": "^2.0.4",
52
- "@csstools/css-parser-algorithms": "^2.7.1",
53
- "@csstools/css-tokenizer": "^2.4.1"
51
+ "@csstools/css-color-parser": "^3.0.1",
52
+ "@csstools/css-parser-algorithms": "^3.0.0",
53
+ "@csstools/css-tokenizer": "^3.0.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "postcss": "^8.4"