postcss-focus-within 5.0.3 → 5.0.4

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 Focus Within
2
2
 
3
+ ### 5.0.4 (February 5, 2022)
4
+
5
+ - Improved `es module` and `commonjs` compatibility
6
+
3
7
  ### 5.0.3 (January 2, 2022)
4
8
 
5
9
  - Removed Sourcemaps from package tarball.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # PostCSS Focus Within [<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-focus-within.svg" height="20">][npm-url]
4
- [<img alt="CSS Standard Status" src="https://cssdb.org/badge/focus-within-pseudo-class.svg" height="20">][css-url]
4
+ [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/focus-within-pseudo-class.svg" height="20">][css-url]
5
5
  [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/tree/main/postcss-focus-within/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 Focus Within] lets you use the `:focus-within` pseudo-class in CSS,
9
9
  following the [Selectors Level 4 specification].
@@ -117,7 +117,7 @@ focusWithin({ replaceWith: '.focus-within' });
117
117
 
118
118
  [css-url]: https://cssdb.org/#focus-within-pseudo-class
119
119
  [cli-url]: https://github.com/csstools/postcss-plugins/tree/main/postcss-focus-within/actions/workflows/test.yml?query=workflow/test
120
- [git-url]: https://gitter.im/postcss/postcss
120
+ [discord]: https://discord.gg/bUadyRwkJS
121
121
  [npm-url]: https://www.npmjs.com/package/postcss-focus-within
122
122
 
123
123
  [focus-within polyfill]: https://github.com/jsxtools/focus-within
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss-focus-within",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "Use the :focus-within pseudo-selector 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",
@@ -28,14 +35,14 @@
28
35
  "node": "^12 || ^14 || >=16"
29
36
  },
30
37
  "dependencies": {
31
- "postcss-selector-parser": "^6.0.8"
38
+ "postcss-selector-parser": "^6.0.9"
32
39
  },
33
40
  "devDependencies": {
34
41
  "postcss": "^8.3.6",
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",