browserslist 4.16.4 → 4.16.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/index.js +7 -7
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -799,7 +799,7 @@ var QUERIES = [
|
|
|
799
799
|
select: sinceQuery
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
|
-
regexp: /^(>=?|<=?)\s*(\d
|
|
802
|
+
regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,
|
|
803
803
|
select: function (context, sign, popularity) {
|
|
804
804
|
popularity = parseFloat(popularity)
|
|
805
805
|
var usage = browserslist.usage.global
|
|
@@ -824,7 +824,7 @@ var QUERIES = [
|
|
|
824
824
|
}
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
|
-
regexp: /^(>=?|<=?)\s*(\d
|
|
827
|
+
regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,
|
|
828
828
|
select: function (context, sign, popularity) {
|
|
829
829
|
popularity = parseFloat(popularity)
|
|
830
830
|
if (!context.customUsage) {
|
|
@@ -852,12 +852,12 @@ var QUERIES = [
|
|
|
852
852
|
}
|
|
853
853
|
},
|
|
854
854
|
{
|
|
855
|
-
regexp: /^(>=?|<=?)\s*(\d
|
|
855
|
+
regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,
|
|
856
856
|
select: function (context, sign, popularity, name) {
|
|
857
857
|
popularity = parseFloat(popularity)
|
|
858
858
|
var stats = env.loadStat(context, name, browserslist.data)
|
|
859
859
|
if (stats) {
|
|
860
|
-
context.customUsage = {
|
|
860
|
+
context.customUsage = {}
|
|
861
861
|
for (var browser in stats) {
|
|
862
862
|
fillUsage(context.customUsage, browser, stats[browser])
|
|
863
863
|
}
|
|
@@ -887,7 +887,7 @@ var QUERIES = [
|
|
|
887
887
|
}
|
|
888
888
|
},
|
|
889
889
|
{
|
|
890
|
-
regexp: /^(>=?|<=?)\s*(\d
|
|
890
|
+
regexp: /^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,
|
|
891
891
|
select: function (context, sign, popularity, place) {
|
|
892
892
|
popularity = parseFloat(popularity)
|
|
893
893
|
if (place.length === 2) {
|
|
@@ -918,11 +918,11 @@ var QUERIES = [
|
|
|
918
918
|
}
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
|
-
regexp: /^cover\s+(\d
|
|
921
|
+
regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,
|
|
922
922
|
select: coverQuery
|
|
923
923
|
},
|
|
924
924
|
{
|
|
925
|
-
regexp: /^cover\s+(\d
|
|
925
|
+
regexp: /^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,
|
|
926
926
|
select: coverQuery
|
|
927
927
|
},
|
|
928
928
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browserslist",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.5",
|
|
4
4
|
"description": "Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"caniuse",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"repository": "browserslist/browserslist",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"caniuse-lite": "^1.0.
|
|
18
|
+
"caniuse-lite": "^1.0.30001214",
|
|
19
19
|
"colorette": "^1.2.2",
|
|
20
|
-
"electron-to-chromium": "^1.3.
|
|
20
|
+
"electron-to-chromium": "^1.3.719",
|
|
21
21
|
"escalade": "^3.1.1",
|
|
22
22
|
"node-releases": "^1.1.71"
|
|
23
23
|
},
|