cssnano-preset-default 5.2.14 → 6.0.0

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-preset-default",
3
- "version": "5.2.14",
3
+ "version": "6.0.0",
4
4
  "main": "src/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "description": "Safe defaults for cssnano which require minimal configuration.",
@@ -13,33 +13,33 @@
13
13
  "dependencies": {
14
14
  "css-declaration-sorter": "^6.3.1",
15
15
  "postcss-calc": "^8.2.3",
16
- "cssnano-utils": "^3.1.0",
17
- "postcss-discard-comments": "^5.1.2",
18
- "postcss-convert-values": "^5.1.3",
19
- "postcss-discard-duplicates": "^5.1.0",
20
- "postcss-colormin": "^5.3.1",
21
- "postcss-discard-empty": "^5.1.1",
22
- "postcss-discard-overridden": "^5.1.0",
23
- "postcss-merge-longhand": "^5.1.7",
24
- "postcss-merge-rules": "^5.1.4",
25
- "postcss-minify-gradients": "^5.1.1",
26
- "postcss-minify-font-values": "^5.1.0",
27
- "postcss-minify-params": "^5.1.4",
28
- "postcss-normalize-charset": "^5.1.0",
29
- "postcss-minify-selectors": "^5.2.1",
30
- "postcss-normalize-display-values": "^5.1.0",
31
- "postcss-normalize-positions": "^5.1.1",
32
- "postcss-normalize-repeat-style": "^5.1.1",
33
- "postcss-normalize-string": "^5.1.0",
34
- "postcss-normalize-timing-functions": "^5.1.0",
35
- "postcss-normalize-unicode": "^5.1.1",
36
- "postcss-normalize-whitespace": "^5.1.1",
37
- "postcss-normalize-url": "^5.1.0",
38
- "postcss-ordered-values": "^5.1.3",
39
- "postcss-reduce-initial": "^5.1.2",
40
- "postcss-reduce-transforms": "^5.1.0",
41
- "postcss-svgo": "^5.1.0",
42
- "postcss-unique-selectors": "^5.1.1"
16
+ "cssnano-utils": "^4.0.0",
17
+ "postcss-colormin": "^6.0.0",
18
+ "postcss-convert-values": "^6.0.0",
19
+ "postcss-discard-comments": "^6.0.0",
20
+ "postcss-discard-duplicates": "^6.0.0",
21
+ "postcss-discard-empty": "^6.0.0",
22
+ "postcss-discard-overridden": "^6.0.0",
23
+ "postcss-merge-longhand": "^6.0.0",
24
+ "postcss-merge-rules": "^6.0.0",
25
+ "postcss-minify-font-values": "^6.0.0",
26
+ "postcss-minify-gradients": "^6.0.0",
27
+ "postcss-minify-params": "^6.0.0",
28
+ "postcss-minify-selectors": "^6.0.0",
29
+ "postcss-normalize-charset": "^6.0.0",
30
+ "postcss-normalize-display-values": "^6.0.0",
31
+ "postcss-normalize-positions": "^6.0.0",
32
+ "postcss-normalize-repeat-style": "^6.0.0",
33
+ "postcss-normalize-string": "^6.0.0",
34
+ "postcss-normalize-unicode": "^6.0.0",
35
+ "postcss-normalize-timing-functions": "^6.0.0",
36
+ "postcss-normalize-url": "^6.0.0",
37
+ "postcss-normalize-whitespace": "^6.0.0",
38
+ "postcss-ordered-values": "^6.0.0",
39
+ "postcss-reduce-initial": "^6.0.0",
40
+ "postcss-reduce-transforms": "^6.0.0",
41
+ "postcss-svgo": "^6.0.0",
42
+ "postcss-unique-selectors": "^6.0.0"
43
43
  },
44
44
  "author": {
45
45
  "name": "Ben Briggs",
@@ -52,7 +52,7 @@
52
52
  "url": "https://github.com/cssnano/cssnano/issues"
53
53
  },
54
54
  "engines": {
55
- "node": "^10 || ^12 || >=14.0"
55
+ "node": "^14 || ^16 || >=18.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "postcss": "^8.2.15"
package/src/index.js CHANGED
@@ -57,7 +57,7 @@ minifySelectors?: false | { exclude?: true},
57
57
  minifyParams?: false | { exclude?: true},
58
58
  normalizeCharset?: false | import('postcss-normalize-charset').Options & { exclude?: true},
59
59
  minifyFontValues?: false | import('postcss-minify-font-values').Options & { exclude?: true},
60
- normalizeUrl?: false | import('postcss-normalize-url').Options & { exclude?: true},
60
+ normalizeUrl?: false | { exclude?: true},
61
61
  mergeLonghand?: false | { exclude?: true},
62
62
  discardDuplicates?: false | { exclude?: true},
63
63
  discardOverridden?: false | { exclude?: true},
package/types/index.d.ts CHANGED
@@ -49,7 +49,7 @@ type Options = {
49
49
  minifyFontValues?: false | import('postcss-minify-font-values').Options & {
50
50
  exclude?: true;
51
51
  };
52
- normalizeUrl?: false | import('postcss-normalize-url').Options & {
52
+ normalizeUrl?: false | {
53
53
  exclude?: true;
54
54
  };
55
55
  mergeLonghand?: false | {