autoprefixer 10.5.4 → 10.5.5
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/README.md +9 -6
- package/lib/resolution.js +4 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Autoprefixer
|
|
1
|
+
# Autoprefixer
|
|
2
2
|
|
|
3
3
|
<img align="right" width="94" height="71"
|
|
4
4
|
src="https://postcss.github.io/autoprefixer/logo.svg"
|
|
@@ -41,13 +41,16 @@ of Autoprefixer.
|
|
|
41
41
|
|
|
42
42
|
Twitter account for news and releases: [@autoprefixer].
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</a>
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" /> Autoprefixer is built by <b><a href="https://evilmartians.com/">Evil Martians</a></b>, an American design and engineering consultancy for <b>developer tools, AI, and cybersecurity startups</b>.
|
|
47
|
+
|
|
48
|
+
---
|
|
47
49
|
|
|
48
50
|
[interactive demo]: https://autoprefixer.github.io/
|
|
49
51
|
[@autoprefixer]: https://twitter.com/autoprefixer
|
|
50
52
|
[Can I Use]: https://caniuse.com/
|
|
51
|
-
[cult-img]: https://cultofmartians.com/assets/badges/badge.svg
|
|
52
53
|
[PostCSS]: https://github.com/postcss/postcss
|
|
53
|
-
|
|
54
|
+
|
|
55
|
+
## Docs
|
|
56
|
+
Read full docs **[here](https://github.com/postcss/autoprefixer#readme)**.
|
package/lib/resolution.js
CHANGED
|
@@ -3,8 +3,10 @@ let FractionJs = require('fraction.js')
|
|
|
3
3
|
let Prefixer = require('./prefixer')
|
|
4
4
|
let utils = require('./utils')
|
|
5
5
|
|
|
6
|
-
const REGEXP =
|
|
7
|
-
|
|
6
|
+
const REGEXP =
|
|
7
|
+
/(min|max)-resolution\s*:\s*(?:\d+(?:\.\d+)?|\.\d+)(dppx|dpcm|dpi|x)/gi
|
|
8
|
+
const SPLIT =
|
|
9
|
+
/(min|max)-resolution(\s*:\s*)(\d+(?:\.\d+)?|\.\d+)(dppx|dpcm|dpi|x)/i
|
|
8
10
|
|
|
9
11
|
class Resolution extends Prefixer {
|
|
10
12
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.5",
|
|
4
4
|
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"autoprefixer",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"main": "lib/autoprefixer.js",
|
|
34
34
|
"types": "lib/autoprefixer.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"browserslist": "^4.28.
|
|
37
|
-
"caniuse-lite": "^1.0.
|
|
36
|
+
"browserslist": "^4.28.9",
|
|
37
|
+
"caniuse-lite": "^1.0.30001810",
|
|
38
38
|
"fraction.js": "^5.3.4",
|
|
39
39
|
"picocolors": "^1.1.1",
|
|
40
40
|
"postcss-value-parser": "^4.2.0"
|