cssnano 5.1.10 → 5.1.13

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cssnano",
3
- "version": "5.1.10",
3
+ "version": "5.1.13",
4
4
  "description": "A modular minifier, built on top of the PostCSS ecosystem.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "cssnano-preset-default": "^5.2.10",
22
+ "cssnano-preset-default": "^5.2.12",
23
23
  "lilconfig": "^2.0.3",
24
24
  "yaml": "^1.10.2"
25
25
  },
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "autoprefixer": "^10.3.7",
46
- "cssnano-preset-advanced": "^5.3.6",
46
+ "cssnano-preset-advanced": "^5.3.8",
47
47
  "cssnano-preset-lite": "^2.1.3",
48
48
  "postcss": "^8.2.15"
49
49
  },
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ function resolveConfig(options) {
125
125
  /**
126
126
  * @type {import('postcss').PluginCreator<Options>}
127
127
  * @param {Options=} options
128
- * @return {import('postcss').Plugin}
128
+ * @return {import('postcss').Processor}
129
129
  */
130
130
  function cssnanoPlugin(options = {}) {
131
131
  if (Array.isArray(options.plugins)) {
package/types/index.d.ts CHANGED
@@ -2,9 +2,9 @@ export = cssnanoPlugin;
2
2
  /**
3
3
  * @type {import('postcss').PluginCreator<Options>}
4
4
  * @param {Options=} options
5
- * @return {import('postcss').Plugin}
5
+ * @return {import('postcss').Processor}
6
6
  */
7
- declare function cssnanoPlugin(options?: Options | undefined): import('postcss').Plugin;
7
+ declare function cssnanoPlugin(options?: Options | undefined): import('postcss').Processor;
8
8
  declare namespace cssnanoPlugin {
9
9
  export { postcss, Options };
10
10
  }