cssnano 5.0.0 → 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 +41 -0
- package/dist/index.js +1 -1
- package/package.json +9 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.0.4] (2021-05-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **postcss-colormin:** Strict color parsing ([#1122](https://github.com/cssnano/cssnano/issues/1122)) ([32771da](https://github.com/cssnano/cssnano/commit/32771da46ee94f07a6907ec47701189f90ad2ec0))
|
|
12
|
+
* **postcss-colormin:** fix ERR_PACKAGE_PATH_NOT_EXPORTED ([#1110](https://github.com/cssnano/cssnano/issues/1110)) ([8a31ca38796](https://github.com/cssnano/cssnano/commit/8a31ca38796e12e6fe52620cf8a545cb058fe295))
|
|
13
|
+
|
|
14
|
+
## [5.0.3](https://github.com/cssnano/cssnano/compare/cssnano@5.0.0...cssnano@5.0.3) (2021-05-19)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **cssnano:** many bug fixes in dependent packages. Most notably fixed buggy reordering of border declarations and improved color value minification. See the changelogs for the single presets and plugins for details.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [5.0.2](https://github.com/cssnano/cssnano/compare/cssnano@5.0.0...cssnano@5.0.2) (2021-04-26)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **cssnano:** replace opencollective with funding field. ([#1047](https://github.com/cssnano/cssnano/issues/1047)) ([3dee7c5](https://github.com/cssnano/cssnano/commit/3dee7c553350e43ad0750a9478a63cf897e5510f)), closes [#1046](https://github.com/cssnano/cssnano/issues/1046)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [5.0.1](https://github.com/cssnano/cssnano/compare/cssnano@5.0.0...cssnano@5.0.1) (2021-04-13)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* **cssnano:** replace opencollective with funding field. ([#1047](https://github.com/cssnano/cssnano/issues/1047)) ([3dee7c5](https://github.com/cssnano/cssnano/commit/3dee7c553350e43ad0750a9478a63cf897e5510f)), closes [#1046](https://github.com/cssnano/cssnano/issues/1046)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [5.0.0](https://github.com/cssnano/cssnano/compare/cssnano@5.0.0-rc.2...cssnano@5.0.0) (2021-04-06)
|
|
7
48
|
|
|
8
49
|
**Note:** Version bump only for package cssnano
|
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ function resolvePreset(preset) {
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
if (fn === 'default') {
|
|
45
|
-
return require(
|
|
45
|
+
return require('cssnano-preset-default')(options).plugins;
|
|
46
46
|
} // For non-JS setups; we'll need to invoke the preset ourselves.
|
|
47
47
|
|
|
48
48
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cssnano",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "A modular minifier, built on top of the PostCSS ecosystem.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"bundle-size": "webpack --json --config src/__tests__/_webpack.config.js | webpack-bundle-size-analyzer",
|
|
8
8
|
"prebuild": "del-cli dist",
|
|
9
|
-
"build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.
|
|
10
|
-
"prepublish": "yarn build"
|
|
11
|
-
"postinstall": "opencollective-postinstall"
|
|
9
|
+
"build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"",
|
|
10
|
+
"prepublish": "yarn build"
|
|
12
11
|
},
|
|
13
|
-
"
|
|
12
|
+
"funding": {
|
|
14
13
|
"type": "opencollective",
|
|
15
14
|
"url": "https://opencollective.com/cssnano"
|
|
16
15
|
},
|
|
@@ -26,9 +25,8 @@
|
|
|
26
25
|
"license": "MIT",
|
|
27
26
|
"dependencies": {
|
|
28
27
|
"cosmiconfig": "^7.0.0",
|
|
29
|
-
"cssnano-preset-default": "^5.
|
|
30
|
-
"is-resolvable": "^1.1.0"
|
|
31
|
-
"opencollective-postinstall": "^2.0.2"
|
|
28
|
+
"cssnano-preset-default": "^5.1.1",
|
|
29
|
+
"is-resolvable": "^1.1.0"
|
|
32
30
|
},
|
|
33
31
|
"homepage": "https://github.com/cssnano/cssnano",
|
|
34
32
|
"author": {
|
|
@@ -51,10 +49,10 @@
|
|
|
51
49
|
},
|
|
52
50
|
"devDependencies": {
|
|
53
51
|
"autoprefixer": "^10.0.2",
|
|
54
|
-
"postcss": "^8.2.
|
|
52
|
+
"postcss": "^8.2.15"
|
|
55
53
|
},
|
|
56
54
|
"peerDependencies": {
|
|
57
|
-
"postcss": "^8.2.
|
|
55
|
+
"postcss": "^8.2.15"
|
|
58
56
|
},
|
|
59
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "08ec284f116d1ce2605deb55dfe17ffe2835b38a"
|
|
60
58
|
}
|