Socket
Socket
Sign inDemoInstall

browserslist-ga

Package Overview
Dependencies
99
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

browserslist-stats-CURRENT.json

227

browserslist-stats.json
{
"ie": {
"6": 0,
"7": 0.0017564197140548705,
"8": 0.05269259142164611,
"9": 0.021077036568658447,
"7": 0,
"8": 0,
"9": 0,
"10": 0,
"11": 0.05620543084975586,
"11": 3.9975772259236826,
"5.5": 0

@@ -16,6 +16,7 @@ },

"15": 0,
"16": 0.008782098570274352,
"17": 0.042154073137316894,
"18": 0.4531562862261566,
"76": 0
"16": 0,
"17": 0.06056935190793458,
"18": 3.0284675953967293,
"79": 0.06056935190793458,
"80": 0
},

@@ -68,28 +69,30 @@ "firefox": {

"46": 0,
"47": 0.003512839428109741,
"48": 0,
"47": 0,
"48": 0.06056935190793458,
"49": 0,
"50": 0,
"51": 0.005269259142164612,
"52": 0.003512839428109741,
"51": 0,
"52": 0.12113870381586916,
"53": 0,
"54": 0.059718270277865595,
"55": 0.008782098570274352,
"56": 0.003512839428109741,
"57": 0.005269259142164612,
"54": 0,
"55": 0,
"56": 0,
"57": 0,
"58": 0,
"59": 0.0017564197140548705,
"60": 0.06147468999192047,
"61": 0.0017564197140548705,
"62": 0.08606456598868867,
"63": 0.008782098570274352,
"64": 0.008782098570274352,
"65": 0.003512839428109741,
"66": 0.010538518284329224,
"67": 0.05796185056381073,
"68": 0.16334703340710297,
"69": 1.2488144166930129,
"70": 1.6914321846348404,
"71": 0.5813749253521622,
"72": 0.18969332911792602,
"59": 0,
"60": 0,
"61": 0,
"62": 0,
"63": 0,
"64": 0,
"65": 0,
"66": 0,
"67": 0,
"68": 0.18170805572380377,
"69": 0.12113870381586916,
"70": 0.6056935190793459,
"71": 1.4536644457904302,
"72": 2.1199273167777104,
"73": 0,
"74": 0,
"3.5": 0,

@@ -127,56 +130,58 @@ "3.6": 0

"31": 0,
"32": 0.003512839428109741,
"32": 0,
"33": 0,
"34": 0.0017564197140548705,
"34": 0,
"35": 0,
"36": 0.21955246425685881,
"37": 0.0017564197140548705,
"36": 0,
"37": 0,
"38": 0,
"39": 0.007025678856219482,
"39": 0,
"40": 0,
"41": 0,
"42": 0.0017564197140548705,
"43": 0.0017564197140548705,
"42": 0,
"43": 0,
"44": 0,
"45": 0,
"46": 0,
"47": 0.0017564197140548705,
"48": 0.0017564197140548705,
"49": 0.017564197140548705,
"50": 0.0017564197140548705,
"47": 0,
"48": 0,
"49": 0.30284675953967294,
"50": 0,
"51": 0,
"52": 0.003512839428109741,
"53": 0.017564197140548705,
"54": 0.026346295710823055,
"55": 0.03161555485298767,
"52": 0,
"53": 0.12113870381586916,
"54": 0,
"55": 0,
"56": 0,
"57": 0.18091123054765165,
"58": 0.06323110970597534,
"57": 0,
"58": 0,
"59": 0,
"60": 0.019320616854603578,
"61": 0.04917975199353637,
"62": 0.07552604770435943,
"63": 0.24941159939579163,
"64": 0.008782098570274352,
"65": 0.30912986967365724,
"66": 0.02810271542487793,
"67": 0.06674394913408509,
"68": 0.22833456282713316,
"69": 0.3021041908174377,
"70": 0.908068992166368,
"71": 0.23184740225524292,
"72": 0.23009098254118807,
"73": 0.7376962799030456,
"74": 0.841325043032283,
"75": 1.5210594723715178,
"76": 4.726525450521657,
"77": 28.58924368567113,
"78": 36.02592475497945,
"79": 4.633435205676748,
"80": 0.36533530052341306,
"81": 0.019320616854603578
"60": 0.12113870381586916,
"61": 0,
"62": 0,
"63": 0,
"64": 0,
"65": 0.12113870381586916,
"66": 0,
"67": 0.06056935190793458,
"68": 0.12113870381586916,
"69": 0,
"70": 0,
"71": 0,
"72": 0,
"73": 0,
"74": 0,
"75": 0,
"76": 0,
"77": 0.24227740763173833,
"78": 15.99030890369473,
"79": 26.105390672319807,
"80": 0.9085402786190186,
"81": 0,
"82": 0,
"83": 0
},
"safari": {
"4": 0,
"5": 0.007025678856219482,
"5": 0,
"6": 0,

@@ -186,6 +191,6 @@ "7": 0,

"9": 0,
"10": 0.0017564197140548705,
"11": 0.003512839428109741,
"12": 0.15105209540871886,
"13": 4.333087434573366,
"10": 0,
"11": 0.06056935190793458,
"12": 0.30284675953967294,
"13": 3.0890369473046637,
"3.1": 0,

@@ -196,6 +201,6 @@ "3.2": 0,

"7.1": 0,
"9.1": 0.005269259142164612,
"10.1": 0.005269259142164612,
"11.1": 0.07728246741841431,
"12.1": 1.3858151543892927,
"9.1": 0,
"10.1": 0.18170805572380377,
"11.1": 0.12113870381586916,
"12.1": 0.4239854633555421,
"TP": 0

@@ -249,8 +254,10 @@ },

"56": 0,
"57": 0.0017564197140548705,
"57": 0,
"58": 0,
"60": 0,
"62": 0.005269259142164612,
"63": 0.21779604454280396,
"64": 0.4812590016510345,
"62": 0,
"63": 0,
"64": 0.06056935190793458,
"65": 0.5451241671714113,
"66": 0.06056935190793458,
"9.5-9.6": 0,

@@ -263,3 +270,3 @@ "10.0-10.1": 0,

"11.6": 0,
"12.1": 0.021077036568658447
"12.1": 0
},

@@ -273,15 +280,15 @@ "ios_saf": {

"6.0-6.1": 0,
"7.0-7.1": 0.022833456282713317,
"8.1-8.4": 0.0017564197140548705,
"7.0-7.1": 0,
"8.1-8.4": 0,
"9.0-9.2": 0,
"9.3": 0.008782098570274352,
"10.0-10.2": 0.012294937998384093,
"10.3": 0.015807777426493835,
"11.0-11.2": 0.042154073137316894,
"11.3-11.4": 0.033371974567042544,
"12.0-12.1": 0.07728246741841431,
"12.2-12.4": 0.5321951733586258,
"13.0-13.1": 1.1434292338497207,
"13.2": 0.24765517968173673,
"13.3": 0.11943654055573119
"9.3": 0.24227740763173833,
"10.0-10.2": 0,
"10.3": 0.30284675953967294,
"11.0-11.2": 0.18170805572380377,
"11.3-11.4": 0.18170805572380377,
"12.0-12.1": 0.4239854633555421,
"12.2-12.4": 3.0890369473046637,
"13.0-13.1": 3.2707450030284675,
"13.2": 0.7268322228952151,
"13.3": 8.237431859479104
},

@@ -294,8 +301,8 @@ "op_mini": {

"4": 0,
"76": 0.11768012084167634,
"76": 0.5451241671714113,
"2.1": 0,
"2.2": 0.0017564197140548705,
"2.2": 0,
"2.3": 0,
"4.1": 0,
"4.2-4.3": 0,
"4.2-4.3": 0.06056935190793458,
"4.4": 0,

@@ -309,15 +316,15 @@ "4.4.3-4.4.4": 0

"op_mob": {
"10": 0.008782098570274352,
"11": 0.008782098570274352,
"12": 0.008782098570274352,
"46": 0.008782098570274352,
"11.1": 0.008782098570274352,
"11.5": 0.008782098570274352,
"12.1": 0.008782098570274352
"10": 0,
"11": 0,
"12": 0,
"46": 0,
"11.1": 0,
"11.5": 0,
"12.1": 0
},
"and_chr": {
"78": 3.345979555274528
"79": 19.13991520290733
},
"and_ff": {
"68": 0.07903888713246918
"68": 0
},

@@ -329,3 +336,3 @@ "ie_mob": {

"and_uc": {
"12.12": 1.2839428109741102
"12.12": 0
},

@@ -338,4 +345,4 @@ "samsung": {

"8.2": 0,
"9.2": 0.0017564197140548705,
"10.1": 0.02810271542487793
"9.2": 0,
"10.1": 0.6662628709872804
},

@@ -342,0 +349,0 @@ "and_qq": {

{
"name": "browserslist-ga",
"version": "0.0.11",
"version": "0.0.12",
"description": "Target browsers tailored to your audience",

@@ -19,3 +19,3 @@ "repository": "github:browserslist/browserslist-ga",

"caniuse-lite": "^1.0.30001016",
"googleapis": "^38.0.0",
"googleapis": "^39.1.0",
"inquirer": "^5.2.0",

@@ -54,2 +54,5 @@ "inquirer-datepicker-prompt": "^0.4.2",

},
"jest": {
"testURL": "http://localhost/"
},
"devDependencies": {

@@ -56,0 +59,0 @@ "husky": "^0.14.3",

@@ -205,3 +205,3 @@ /* Code adapted from caniuse.com with permission */

amount = browserGAStats[versionNumber];
var percentage = amount / full_total * 100;
var percentage = (amount / full_total) * 100;
usageByVersion[versionNumber] = percentage;

@@ -234,3 +234,3 @@ matched += amount;

var version = entry[3];
var isMobile = entry[4] == "Yes";
var isMobile = entry[4] === "mobile" || entry[4] === "tablet";
var pageviews = +entry[5];

@@ -237,0 +237,0 @@

@@ -51,3 +51,3 @@ const { google } = require("googleapis");

"ga:browserVersion",
"ga:isMobile",
"ga:deviceCategory",
].join(","),

@@ -54,0 +54,0 @@ sort: "ga:browser",

var agentData = require("../src/caniuse-agent-data");
test("browsers tracked are the same 18 as caniuse", () => {
test("browsers tracked are the same 19 as caniuse", () => {
const browsers = Object.keys(agentData);
expect(browsers.length).toBe(18);
expect(browsers.length).toBe(19);
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc