postcss-reduce-transforms 5.1.0 → 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.
Files changed (2) hide show
  1. package/package.json +5 -6
  2. package/types/index.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss-reduce-transforms",
3
- "version": "5.1.0",
3
+ "version": "6.0.1",
4
4
  "description": "Reduce transform functions with PostCSS.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -24,13 +24,12 @@
24
24
  "url": "https://github.com/cssnano/cssnano/issues"
25
25
  },
26
26
  "engines": {
27
- "node": "^10 || ^12 || >=14.0"
27
+ "node": "^14 || ^16 || >=18.0"
28
28
  },
29
29
  "devDependencies": {
30
- "postcss": "^8.2.15"
30
+ "postcss": "^8.4.32"
31
31
  },
32
32
  "peerDependencies": {
33
- "postcss": "^8.2.15"
34
- },
35
- "readme": "# [postcss][postcss]-reduce-transforms\n\n> Reduce transform functions with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-reduce-transforms) do:\n\n```\nnpm install postcss-reduce-transforms --save\n```\n\n## Example\n\nThis module will reduce transform functions where possible. For more examples,\nsee the [tests](src/__tests__/index.js).\n\n### Input\n\n```css\nh1 {\n transform: rotate3d(0, 0, 1, 20deg);\n}\n```\n\n### Output\n\n```css\nh1 {\n transform: rotate(20deg);\n}\n```\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n"
33
+ "postcss": "^8.4.31"
34
+ }
36
35
  }
package/types/index.d.ts CHANGED
@@ -5,5 +5,5 @@ export = pluginCreator;
5
5
  */
6
6
  declare function pluginCreator(): import('postcss').Plugin;
7
7
  declare namespace pluginCreator {
8
- const postcss: true;
8
+ let postcss: true;
9
9
  }