postcss-reduce-initial
Advanced tools
Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "postcss-reduce-initial", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Reduce initial definitions to the actual initial value, where possible.", | ||
@@ -26,3 +26,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"browserslist": "^4.16.6", | ||
"browserslist": "^4.21.4", | ||
"caniuse-api": "^3.0.0" | ||
@@ -38,2 +38,3 @@ }, | ||
"@types/caniuse-api": "^3.0.2", | ||
"html-to-text": "^8.2.0", | ||
"postcss": "^8.2.15" | ||
@@ -46,4 +47,3 @@ }, | ||
"acquire": "node ./src/script/acquire.mjs" | ||
}, | ||
"readme": "# [postcss][postcss]-reduce-initial\n\n> Reduce `initial` definitions to the _actual_ initial value, where possible.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-reduce-initial) do:\n\n```\nnpm install postcss-reduce-initial --save\n```\n\n## Examples\n\nSee the [data](data) for more conversions. This data is courtesy\nof Mozilla.\n\n### Convert `initial` values\n\nWhen the `initial` keyword is longer than the property value, it will\nbe converted:\n\n#### Input\n\n```css\nh1 {\n min-width: initial;\n}\n```\n\n#### Output\n\n```css\nh1 {\n min-width: 0;\n}\n```\n\n### Convert values back to `initial`\n\nWhen the `initial` value is smaller than the property value, it will\nbe converted:\n\n#### Input\n\n```css\nh1 {\n transform-box: border-box;\n}\n```\n\n#### Output\n\n```css\nh1 {\n transform-box: initial;\n}\n```\n\nThis conversion is only applied when you supply a browsers list that all support\nthe `initial` keyword; it's worth noting that Internet Explorer has no support.\n\n## API\n\n### reduceInitial([options])\n\n#### options\n\n##### ignore\n\nType: `Array<String>`\nDefault: `undefined`\n\nIt contains the Array of properties that will be ignored while reducing its value to initial.\nExample : `{ ignore : [\"min-height\"] }`\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\nThis program uses a list of CSS properties derived from data maintained my the MDN team at Mozilla and licensed under the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/).\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n" | ||
} | ||
} |
@@ -15,3 +15,4 @@ { | ||
"animation-timing-function": "ease", | ||
"appearance": "auto", | ||
"animation-timeline": "auto", | ||
"appearance": "none", | ||
"aspect-ratio": "auto", | ||
@@ -24,4 +25,4 @@ "azimuth": "center", | ||
"background-position": "0% 0%", | ||
"background-position-x": "left", | ||
"background-position-y": "top", | ||
"background-position-x": "0%", | ||
"background-position-y": "0%", | ||
"background-repeat": "repeat", | ||
@@ -71,2 +72,3 @@ "block-overflow": "clip", | ||
"caret-color": "auto", | ||
"caret-shape": "auto", | ||
"clear": "none", | ||
@@ -83,2 +85,6 @@ "clip": "auto", | ||
"contain": "none", | ||
"contain-intrinsic-block-size": "none", | ||
"contain-intrinsic-height": "none", | ||
"contain-intrinsic-inline-size": "none", | ||
"contain-intrinsic-width": "none", | ||
"content": "normal", | ||
@@ -130,2 +136,3 @@ "counter-increment": "none", | ||
"height": "auto", | ||
"hyphenate-character": "auto", | ||
"hyphens": "manual", | ||
@@ -138,2 +145,3 @@ "image-rendering": "auto", | ||
"inline-size": "auto", | ||
"input-security": "auto", | ||
"inset": "auto", | ||
@@ -181,6 +189,8 @@ "inset-block": "auto", | ||
"masonry-auto-flow": "pack", | ||
"math-depth": "0", | ||
"math-shift": "normal", | ||
"math-style": "normal", | ||
"max-block-size": "0", | ||
"max-block-size": "none", | ||
"max-height": "none", | ||
"max-inline-size": "0", | ||
"max-inline-size": "none", | ||
"max-lines": "none", | ||
@@ -199,3 +209,3 @@ "max-width": "none", | ||
"offset-rotate": "auto", | ||
"opacity": "1.0", | ||
"opacity": "1", | ||
"order": "0", | ||
@@ -273,2 +283,4 @@ "orphans": "2", | ||
"scroll-snap-type-y": "none", | ||
"scroll-timeline-axis": "block", | ||
"scroll-timeline-name": "none", | ||
"shape-image-threshold": "0.0", | ||
@@ -275,0 +287,0 @@ "shape-margin": "0", |
@@ -18,2 +18,3 @@ { | ||
"box-sizing": "content-box", | ||
"color": "canvastext", | ||
"column-rule-color": "currentcolor", | ||
@@ -25,2 +26,3 @@ "font-synthesis": "weight style", | ||
"mask-origin": "border-box", | ||
"mask-repeat": "no-repeat", | ||
"mask-type": "luminance", | ||
@@ -27,0 +29,0 @@ "ruby-align": "space-around", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
422
0
16625
3
Updatedbrowserslist@^4.21.4