postcss-color-functional-notation 5.1.0 → 6.0.0

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 +69 -21
  2. package/LICENSE.md +18 -108
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,28 +1,46 @@
1
1
  # Changes to PostCSS Color Functional Notation
2
2
 
3
- ### 5.1.0 (June 1, 2023)
3
+ ### 6.0.0
4
+
5
+ _July 3, 2023_
6
+
7
+ - Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/))
8
+ - Updated [`@csstools/postcss-progressive-custom-properties`](/plugins/postcss-progressive-custom-properties) to [`3.0.0`](/plugins/postcss-progressive-custom-properties/CHANGELOG.md#300) (major)
9
+
10
+ ### 5.1.0
11
+
12
+ _June 1, 2023_
4
13
 
5
14
  - Added `@csstools/postcss-progressive-custom-properties` for improved support of custom properties.
6
15
  - Updated `@csstools/postcss-progressive-custom-properties` to `2.3.0` (minor)
7
16
 
17
+ ### 5.0.2
8
18
 
9
- ### 5.0.2 (February 6, 2023)
19
+ _February 6, 2023_
10
20
 
11
21
  - Reduce the amount of duplicate fallback CSS.
12
22
 
13
- ### 5.0.1 (January 28, 2023)
23
+ ### 5.0.1
24
+
25
+ _January 28, 2023_
14
26
 
15
27
  - Improve `types` declaration in `package.json`
16
28
 
17
- ### 5.0.0 (January 24, 2023)
29
+ ### 5.0.0
30
+
31
+ _January 24, 2023_
18
32
 
19
33
  - Updated: Support for Node v14+ (major).
20
34
 
21
- ### 4.2.4 (July 8, 2022)
35
+ ### 4.2.4
36
+
37
+ _July 8, 2022_
22
38
 
23
39
  - Fix case insensitive matching.
24
40
 
25
- ### 4.2.3 (May 19, 2022)
41
+ ### 4.2.3
42
+
43
+ _May 19, 2022_
26
44
 
27
45
  - Handle modern channel values in legacy notation (comma separated)
28
46
 
@@ -38,70 +56,100 @@
38
56
  }
39
57
  ```
40
58
 
41
- ### 4.2.2 (February 5, 2022)
59
+ ### 4.2.2
60
+
61
+ _February 5, 2022_
42
62
 
43
63
  - Improved `es module` and `commonjs` compatibility
44
64
 
45
- ### 4.2.1 (January 2, 2022)
65
+ ### 4.2.1
66
+
67
+ _January 2, 2022_
46
68
 
47
69
  - Removed Sourcemaps from package tarball.
48
70
  - Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
49
71
 
50
- ### 4.2.0 (December 27, 2021)
72
+ ### 4.2.0
73
+
74
+ _December 27, 2021_
51
75
 
52
76
  - Added: support for Alpha value as the fourth argument in comma separated values notation.
53
77
 
54
- ### 4.1.0 (December 15, 2021)
78
+ ### 4.1.0
79
+
80
+ _December 15, 2021_
55
81
 
56
82
  - Added: support for Alpha value as a CSS variable in `rgb()` and `rgba()`.
57
83
 
58
- ### 4.0.2 (December 13, 2021)
84
+ ### 4.0.2
85
+
86
+ _December 13, 2021_
59
87
 
60
88
  - Changed: now uses `postcss-value-parser` for parsing.
61
89
  - Updated: documentation
62
90
  - Added: support for CSS variables with `preserve: true` option.
63
91
 
64
- ### 4.0.1 (November 18, 2021)
92
+ ### 4.0.1
93
+
94
+ _November 18, 2021_
65
95
 
66
96
  - Added: Safeguards against postcss-values-parser potentially throwing an error.
67
97
  - Updated: postcss-value-parser to 6.0.1 (patch)
68
98
 
69
- ### 4.0.0 (September 17, 2021)
99
+ ### 4.0.0
100
+
101
+ _September 17, 2021_
70
102
 
71
103
  - Updated: Support for PostCS 8+ (major).
72
104
  - Updated: Support for Node 12+ (major).
73
105
 
74
- ### 3.0.2 (April 25, 2020)
106
+ ### 3.0.2
107
+
108
+ _April 25, 2020_
75
109
 
76
110
  - Updated: Publish
77
111
 
78
- ### 3.0.1 (April 25, 2020)
112
+ ### 3.0.1
113
+
114
+ _April 25, 2020_
79
115
 
80
116
  - Updated: Using `walkType` to evade walker bug in `postcss-values-parser`
81
117
 
82
- ### 3.0.0 (April 25, 2020)
118
+ ### 3.0.0
119
+
120
+ _April 25, 2020_
83
121
 
84
122
  - Updated: Support for Node 10+
85
123
  - Updated: `postcss` to 7.0.27 (patch)
86
124
  - Updated: `postcss-values-parser` to 3.2.0 (minor)
87
125
 
88
- ### 2.0.1 (September 18, 2018)
126
+ ### 2.0.1
127
+
128
+ _September 18, 2018_
89
129
 
90
130
  - Updated: PostCSS Values Parser 2 (patch for this project)
91
131
 
92
- ### 2.0.0 (September 17, 2018)
132
+ ### 2.0.0
133
+
134
+ _September 17, 2018_
93
135
 
94
136
  - Updated: Support for PostCSS v7+
95
137
  - Updated: Support for Node 6+
96
138
 
97
- ### 1.0.2 (July 13, 2018)
139
+ ### 1.0.2
140
+
141
+ _July 13, 2018_
98
142
 
99
143
  - Fixed: Poorly detected hsl() and rgb() now resolve correctly
100
144
 
101
- ### 1.0.1 (May 11, 2018)
145
+ ### 1.0.1
146
+
147
+ _May 11, 2018_
102
148
 
103
149
  - Fixed: A non-percentage 0 works alongside other percentages
104
150
 
105
- ### 1.0.0 (May 7, 2018)
151
+ ### 1.0.0
152
+
153
+ _May 7, 2018_
106
154
 
107
155
  - Initial version
package/LICENSE.md CHANGED
@@ -1,108 +1,18 @@
1
- # CC0 1.0 Universal
2
-
3
- ## Statement of Purpose
4
-
5
- The laws of most jurisdictions throughout the world automatically confer
6
- exclusive Copyright and Related Rights (defined below) upon the creator and
7
- subsequent owner(s) (each and all, an “owner”) of an original work of
8
- authorship and/or a database (each, a “Work”).
9
-
10
- Certain owners wish to permanently relinquish those rights to a Work for the
11
- purpose of contributing to a commons of creative, cultural and scientific works
12
- (“Commons”) that the public can reliably and without fear of later claims of
13
- infringement build upon, modify, incorporate in other works, reuse and
14
- redistribute as freely as possible in any form whatsoever and for any purposes,
15
- including without limitation commercial purposes. These owners may contribute
16
- to the Commons to promote the ideal of a free culture and the further
17
- production of creative, cultural and scientific works, or to gain reputation or
18
- greater distribution for their Work in part through the use and efforts of
19
- others.
20
-
21
- For these and/or other purposes and motivations, and without any expectation of
22
- additional consideration or compensation, the person associating CC0 with a
23
- Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
24
- and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
25
- publicly distribute the Work under its terms, with knowledge of his or her
26
- Copyright and Related Rights in the Work and the meaning and intended legal
27
- effect of CC0 on those rights.
28
-
29
- 1. Copyright and Related Rights. A Work made available under CC0 may be
30
- protected by copyright and related or neighboring rights (“Copyright and
31
- Related Rights”). Copyright and Related Rights include, but are not limited
32
- to, the following:
33
- 1. the right to reproduce, adapt, distribute, perform, display, communicate,
34
- and translate a Work;
35
- 2. moral rights retained by the original author(s) and/or performer(s);
36
- 3. publicity and privacy rights pertaining to a person’s image or likeness
37
- depicted in a Work;
38
- 4. rights protecting against unfair competition in regards to a Work,
39
- subject to the limitations in paragraph 4(i), below;
40
- 5. rights protecting the extraction, dissemination, use and reuse of data in
41
- a Work;
42
- 6. database rights (such as those arising under Directive 96/9/EC of the
43
- European Parliament and of the Council of 11 March 1996 on the legal
44
- protection of databases, and under any national implementation thereof,
45
- including any amended or successor version of such directive); and
46
- 7. other similar, equivalent or corresponding rights throughout the world
47
- based on applicable law or treaty, and any national implementations
48
- thereof.
49
-
50
- 2. Waiver. To the greatest extent permitted by, but not in contravention of,
51
- applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
52
- unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright
53
- and Related Rights and associated claims and causes of action, whether now
54
- known or unknown (including existing as well as future claims and causes of
55
- action), in the Work (i) in all territories worldwide, (ii) for the maximum
56
- duration provided by applicable law or treaty (including future time
57
- extensions), (iii) in any current or future medium and for any number of
58
- copies, and (iv) for any purpose whatsoever, including without limitation
59
- commercial, advertising or promotional purposes (the “Waiver”). Affirmer
60
- makes the Waiver for the benefit of each member of the public at large and
61
- to the detriment of Affirmer’s heirs and successors, fully intending that
62
- such Waiver shall not be subject to revocation, rescission, cancellation,
63
- termination, or any other legal or equitable action to disrupt the quiet
64
- enjoyment of the Work by the public as contemplated by Affirmer’s express
65
- Statement of Purpose.
66
-
67
- 3. Public License Fallback. Should any part of the Waiver for any reason be
68
- judged legally invalid or ineffective under applicable law, then the Waiver
69
- shall be preserved to the maximum extent permitted taking into account
70
- Affirmer’s express Statement of Purpose. In addition, to the extent the
71
- Waiver is so judged Affirmer hereby grants to each affected person a
72
- royalty-free, non transferable, non sublicensable, non exclusive,
73
- irrevocable and unconditional license to exercise Affirmer’s Copyright and
74
- Related Rights in the Work (i) in all territories worldwide, (ii) for the
75
- maximum duration provided by applicable law or treaty (including future time
76
- extensions), (iii) in any current or future medium and for any number of
77
- copies, and (iv) for any purpose whatsoever, including without limitation
78
- commercial, advertising or promotional purposes (the “License”). The License
79
- shall be deemed effective as of the date CC0 was applied by Affirmer to the
80
- Work. Should any part of the License for any reason be judged legally
81
- invalid or ineffective under applicable law, such partial invalidity or
82
- ineffectiveness shall not invalidate the remainder of the License, and in
83
- such case Affirmer hereby affirms that he or she will not (i) exercise any
84
- of his or her remaining Copyright and Related Rights in the Work or (ii)
85
- assert any associated claims and causes of action with respect to the Work,
86
- in either case contrary to Affirmer’s express Statement of Purpose.
87
-
88
- 4. Limitations and Disclaimers.
89
- 1. No trademark or patent rights held by Affirmer are waived, abandoned,
90
- surrendered, licensed or otherwise affected by this document.
91
- 2. Affirmer offers the Work as-is and makes no representations or warranties
92
- of any kind concerning the Work, express, implied, statutory or
93
- otherwise, including without limitation warranties of title,
94
- merchantability, fitness for a particular purpose, non infringement, or
95
- the absence of latent or other defects, accuracy, or the present or
96
- absence of errors, whether or not discoverable, all to the greatest
97
- extent permissible under applicable law.
98
- 3. Affirmer disclaims responsibility for clearing rights of other persons
99
- that may apply to the Work or any use thereof, including without
100
- limitation any person’s Copyright and Related Rights in the Work.
101
- Further, Affirmer disclaims responsibility for obtaining any necessary
102
- consents, permissions or other rights required for any use of the Work.
103
- 4. Affirmer understands and acknowledges that Creative Commons is not a
104
- party to this document and has no duty or obligation with respect to this
105
- CC0 or use of the Work.
106
-
107
- For more information, please see
108
- http://creativecommons.org/publicdomain/zero/1.0/.
1
+ MIT No Attribution (MIT-0)
2
+
3
+ Copyright © CSSTools Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the “Software”), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9
+ of the Software, and to permit persons to whom the Software is furnished to do
10
+ so.
11
+
12
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ SOFTWARE.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "postcss-color-functional-notation",
3
3
  "description": "Use space and slash separated color notation in CSS",
4
- "version": "5.1.0",
4
+ "version": "6.0.0",
5
5
  "author": "Jonathan Neal <jonathantneal@hotmail.com>",
6
- "license": "CC0-1.0",
6
+ "license": "MIT-0",
7
7
  "funding": [
8
8
  {
9
9
  "type": "github",
@@ -35,7 +35,7 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@csstools/postcss-progressive-custom-properties": "^2.3.0",
38
+ "@csstools/postcss-progressive-custom-properties": "^3.0.0",
39
39
  "postcss-value-parser": "^4.2.0"
40
40
  },
41
41
  "peerDependencies": {