postcss-colormin 8.0.3 → 8.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/package.json +2 -2
- package/src/index.js +1 -2
- package/types/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss-colormin",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"description": "Minify colors in your CSS files with PostCSS.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"repository": {
|
|
45
45
|
"type": "git",
|
|
46
|
-
"url": "cssnano/cssnano"
|
|
46
|
+
"url": "git+https://github.com/cssnano/cssnano.git"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@colordx/core": "^5.5.0",
|
package/src/index.js
CHANGED
|
@@ -96,8 +96,7 @@ function transform(value, options) {
|
|
|
96
96
|
function addPluginDefaults(options, browsers) {
|
|
97
97
|
const defaults = {
|
|
98
98
|
// Does the browser support 4 & 8 character hex notation
|
|
99
|
-
transparent:
|
|
100
|
-
browsers.some((b) => browsersWithTransparentBug.has(b)) === false,
|
|
99
|
+
transparent: new Set(browsers).isDisjointFrom(browsersWithTransparentBug),
|
|
101
100
|
// Does the browser support "transparent" value properly
|
|
102
101
|
alphaHex: isSupported('css-rrggbbaa', browsers),
|
|
103
102
|
name: true,
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;AAOI,OAAQ,KAAA,YAAY,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;AAOI,OAAQ,KAAA,YAAY,MAAM,cAAc,CAAA;AAoGzC,YAAkB,kBAAkB,GACpC;IAAqB,GAAG,AAAxB,CACA,EADW,OAAO,CAClB;IAAqB,QAAQ,AAA7B,CACA,EADW,OAAO,CAClB;IAAqB,GAAG,AAAxB,CACA,EADW,OAAO,CAClB;IAAqB,GAAG,AAAxB,CACA,EADW,OAAO,CAClB;IAAqB,IAAI,AAAzB,CACA,EADW,OAAO,CAClB;IAAqB,WAAW,AAAhC,CACA,EADW,OAAO,CAClB;;;;IAAqB,yBAAyB,AAA9C,CACF,EADa,OAAO,CACpB;CAAA,CAAA;AAGE,YAAwD,mBAAmB,GAAjE;IAAE,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAqB;AAC3E,YAAgE,mBAAmB,GAAzE,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC,CAAqB;AACnF,YAA0E,OAAO,GAAvE,kBAAkB,GAAG,mBAAmB,GAAG,mBAAmB,CAAS"}
|