autoprefixer 10.4.22 → 10.4.23
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 -2
- package/package.json +3 -4
package/lib/hacks/gradient.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
let range = require('normalize-range')
|
|
2
1
|
let parser = require('postcss-value-parser')
|
|
3
2
|
|
|
4
3
|
let OldValue = require('../old-value')
|
|
@@ -230,7 +229,7 @@ class Gradient extends Value {
|
|
|
230
229
|
nodes[0].value = this.normalizeUnit(nodes[0].value, 1)
|
|
231
230
|
} else if (nodes[0].value.includes('deg')) {
|
|
232
231
|
let num = parseFloat(nodes[0].value)
|
|
233
|
-
num =
|
|
232
|
+
num = (num % 360 + 360) % 360
|
|
234
233
|
nodes[0].value = `${num}deg`
|
|
235
234
|
}
|
|
236
235
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.23",
|
|
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"
|
|
@@ -39,10 +39,9 @@
|
|
|
39
39
|
"postcss": "^8.1.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"browserslist": "^4.
|
|
43
|
-
"caniuse-lite": "^1.0.
|
|
42
|
+
"browserslist": "^4.28.1",
|
|
43
|
+
"caniuse-lite": "^1.0.30001760",
|
|
44
44
|
"fraction.js": "^5.3.4",
|
|
45
|
-
"normalize-range": "^0.1.2",
|
|
46
45
|
"picocolors": "^1.1.1",
|
|
47
46
|
"postcss-value-parser": "^4.2.0"
|
|
48
47
|
}
|