postcss-color-functional-notation 4.2.1 → 4.2.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes to PostCSS Color Functional Notation
2
2
 
3
+ ### 4.2.2 (February 5, 2022)
4
+
5
+ - Improved `es module` and `commonjs` compatibility
6
+
3
7
  ### 4.2.1 (January 2, 2022)
4
8
 
5
9
  - Removed Sourcemaps from package tarball.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # PostCSS Color Functional Notation [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss]
2
2
 
3
3
  [<img alt="NPM Version" src="https://img.shields.io/npm/v/postcss-color-functional-notation.svg" height="20">][npm-url]
4
- [<img alt="CSS Standard Status" src="https://cssdb.org/badge/lab-function.svg" height="20">][css-url]
4
+ [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/lab-function.svg" height="20">][css-url]
5
5
  [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url]
6
- [<img alt="Support Chat" src="https://img.shields.io/badge/support-chat-blue.svg" height="20">][git-url]
6
+ [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord]
7
7
 
8
8
  [PostCSS Color Functional Notation] lets you use space and slash separated
9
9
  color notation in CSS, following the [CSS Color] specification.
@@ -85,7 +85,7 @@ postcssImageSetFunction({ preserve: true })
85
85
 
86
86
  [cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
87
87
  [css-url]: https://cssdb.org/#color-functional-notation
88
- [git-url]: https://gitter.im/postcss/postcss
88
+ [discord]: https://discord.gg/bUadyRwkJS
89
89
  [npm-url]: https://www.npmjs.com/package/postcss-color-functional-notation
90
90
 
91
91
  [CSS Color]: https://drafts.csswg.org/css-color/#ref-for-funcdef-rgb%E2%91%A1%E2%91%A0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss-color-functional-notation",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "Use space and slash separated color notation in CSS",
5
5
  "author": "Jonathan Neal <jonathantneal@hotmail.com>",
6
6
  "license": "CC0-1.0",
@@ -9,6 +9,13 @@
9
9
  "main": "dist/index.cjs",
10
10
  "module": "dist/index.mjs",
11
11
  "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs",
16
+ "default": "./dist/index.mjs"
17
+ }
18
+ },
12
19
  "files": [
13
20
  "CHANGELOG.md",
14
21
  "LICENSE.md",
@@ -35,7 +42,7 @@
35
42
  "postcss-tape": "^6.0.1"
36
43
  },
37
44
  "peerDependencies": {
38
- "postcss": "^8.3"
45
+ "postcss": "^8.4"
39
46
  },
40
47
  "keywords": [
41
48
  "postcss",