postcss-merge-idents 5.1.1 → 6.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.
- package/package.json +7 -8
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss-merge-idents",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Merge keyframe and counter style identifiers.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -24,20 +24,19 @@
|
|
|
24
24
|
},
|
|
25
25
|
"repository": "cssnano/cssnano",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"postcss-value-parser": "^4.2.0",
|
|
28
|
+
"cssnano-utils": "^4.0.1"
|
|
29
29
|
},
|
|
30
30
|
"bugs": {
|
|
31
31
|
"url": "https://github.com/cssnano/cssnano/issues"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": "^
|
|
34
|
+
"node": "^14 || ^16 || >=18.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"postcss": "^8.
|
|
37
|
+
"postcss": "^8.4.32"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"postcss": "^8.
|
|
41
|
-
}
|
|
42
|
-
"readme": "# [postcss][postcss]-merge-idents\n\n> Merge keyframe and counter style identifiers.\n\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-merge-idents) do:\n\n```\nnpm install postcss-merge-idents --save\n```\n\n\n## Example\n\nThis module will merge identifiers such as `@keyframes` and `@counter-style`,\nif their properties are identical. Then, it will update those declarations that\ndepend on the duplicated property.\n\n### Input\n\n```css\n@keyframes rotate {\n from { transform: rotate(0) }\n to { transform: rotate(360deg) }\n}\n\n@keyframes flip {\n from { transform: rotate(0) }\n to { transform: rotate(360deg) }\n}\n\n.rotate {\n animation-name: rotate\n}\n\n.flip {\n animation-name: flip\n}\n```\n\n### Output\n\n```css\n@keyframes flip {\n from { transform: rotate(0) }\n to { transform: rotate(360deg) }\n}\n\n.rotate {\n animation-name: flip\n}\n\n.flip {\n animation-name: flip\n}\n```\n\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n\n[postcss]: https://github.com/postcss/postcss\n"
|
|
40
|
+
"postcss": "^8.4.31"
|
|
41
|
+
}
|
|
43
42
|
}
|
package/types/index.d.ts
CHANGED