autoprefixer 10.4.23 → 10.4.24
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/lib/hacks/gradient.js +1 -1
- package/lib/hacks/grid-utils.js +8 -4
- package/lib/transition.js +1 -1
- package/package.json +2 -2
package/lib/hacks/gradient.js
CHANGED
package/lib/hacks/grid-utils.js
CHANGED
|
@@ -135,13 +135,14 @@ exports.prefixTrackValue = prefixTrackValue
|
|
|
135
135
|
function prefixTrackValue({ gap, value }) {
|
|
136
136
|
let result = parser(value).nodes.reduce((nodes, node) => {
|
|
137
137
|
if (node.type === 'function' && node.value === 'repeat') {
|
|
138
|
-
|
|
138
|
+
nodes.push({
|
|
139
139
|
type: 'word',
|
|
140
140
|
value: transformRepeat(node, { gap })
|
|
141
141
|
})
|
|
142
|
+
return nodes
|
|
142
143
|
}
|
|
143
144
|
if (gap && node.type === 'space') {
|
|
144
|
-
|
|
145
|
+
nodes.push(
|
|
145
146
|
{
|
|
146
147
|
type: 'space',
|
|
147
148
|
value: ' '
|
|
@@ -152,8 +153,10 @@ function prefixTrackValue({ gap, value }) {
|
|
|
152
153
|
},
|
|
153
154
|
node
|
|
154
155
|
)
|
|
156
|
+
return nodes
|
|
155
157
|
}
|
|
156
|
-
|
|
158
|
+
nodes.push(node)
|
|
159
|
+
return nodes
|
|
157
160
|
}, [])
|
|
158
161
|
|
|
159
162
|
return parser.stringify(result)
|
|
@@ -1046,7 +1049,8 @@ function normalizeRowColumn(str) {
|
|
|
1046
1049
|
if (node.type === 'space') {
|
|
1047
1050
|
return result
|
|
1048
1051
|
}
|
|
1049
|
-
|
|
1052
|
+
result.push(parser.stringify(node))
|
|
1053
|
+
return result
|
|
1050
1054
|
}, [])
|
|
1051
1055
|
|
|
1052
1056
|
return normalized
|
package/lib/transition.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.24",
|
|
4
4
|
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^10 || ^12 || >=14"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"browserslist": "^4.28.1",
|
|
43
|
-
"caniuse-lite": "^1.0.
|
|
43
|
+
"caniuse-lite": "^1.0.30001766",
|
|
44
44
|
"fraction.js": "^5.3.4",
|
|
45
45
|
"picocolors": "^1.1.1",
|
|
46
46
|
"postcss-value-parser": "^4.2.0"
|