polyfills-db
Advanced tools
Comparing version 1.13.1 to 1.13.2
@@ -38,11 +38,15 @@ | ||
var families = { | ||
// mobile | ||
ios: /\b(ios|mobile safari)\b/i, | ||
ffm: /\b(ff mobile|ffm|firefox mobile)\b/i, | ||
iep: /\b(ie phone|iep|internet explorer phone)\b/i, | ||
iep: /\b(ie phone|iep|internet explorer phone|windows phone)\b/i, | ||
chm: /\b(chrome mobile)\b/i, | ||
opm: /\b(opera mini)\b/i, | ||
android: /\bandroid\b/i, | ||
// desktop, etc. | ||
ie: /\b(ie|internet explorer)\b/i, | ||
ff: /\b(ff|firefox)\b/i, | ||
chrome: /\bchrome\b/i, | ||
chrome: /\b(chrome|chromium)\b/i, | ||
safari: /\bsafari\b/i, | ||
android: /\bandroid\b/i, | ||
opera: /\b(op|opera)\b/i, | ||
@@ -60,2 +64,3 @@ } | ||
if (version === true) return str += 'if (families.' + name + '.test(family)) return true\n' | ||
if (version === false) return str += 'if (families.' + name + '.test(family)) return false\n' | ||
str += 'if (families.' + name + '.test(family)) ' | ||
@@ -62,0 +67,0 @@ + 'return satisfies(version, ' + JSON.stringify('<' + version) + ')\n' |
@@ -78,2 +78,4 @@ | ||
iep: 'ie_mob', | ||
chm: 'and_chr', | ||
ffm: 'and_ff', | ||
} | ||
@@ -80,0 +82,0 @@ |
@@ -48,7 +48,5 @@ [ | ||
"inclusive": true, | ||
"features": [], | ||
"sources": [ | ||
"http://kangax.github.io/compat-table/es6/" | ||
], | ||
"browsers": {} | ||
] | ||
}, | ||
@@ -60,7 +58,5 @@ { | ||
"inclusive": true, | ||
"features": [], | ||
"sources": [ | ||
"http://kangax.github.io/compat-table/es6/" | ||
], | ||
"browsers": {} | ||
] | ||
}, | ||
@@ -89,2 +85,3 @@ { | ||
"repo": "jakearchibald/es6-promise", | ||
"caniuse": "promises", | ||
"features": [ | ||
@@ -95,4 +92,3 @@ "new Promise()" | ||
"http://caniuse.com/promises" | ||
], | ||
"caniuse": "promises" | ||
] | ||
}, | ||
@@ -114,2 +110,3 @@ { | ||
"repo": "eligrey/classList.js", | ||
"caniuse": "classlist", | ||
"features": [ | ||
@@ -122,4 +119,3 @@ "Element.prototype.classList" | ||
"http://caniuse.com/#feat=classlist," | ||
], | ||
"caniuse": "classlist" | ||
] | ||
}, | ||
@@ -131,2 +127,3 @@ { | ||
"repo": "https://gist.github.com/jonathantneal/3062955", | ||
"caniuse": "matchesselector", | ||
"features": [ | ||
@@ -138,4 +135,3 @@ "Element.prototype.matches()" | ||
"https://developer.mozilla.org/en-US/docs/Web/API/Element.matches" | ||
], | ||
"caniuse": "matchesselector" | ||
] | ||
}, | ||
@@ -175,2 +171,3 @@ { | ||
"inclusive": true, | ||
"caniuse": "requestanimationframe", | ||
"features": [ | ||
@@ -182,4 +179,3 @@ "requestAnimationFrame()", | ||
"http://caniuse.com/requestanimationframe" | ||
], | ||
"caniuse": "requestanimationframe" | ||
] | ||
}, | ||
@@ -205,2 +201,3 @@ { | ||
"inclusive": true, | ||
"caniuse": "eventsource", | ||
"features": [ | ||
@@ -211,4 +208,3 @@ "new EventSource()" | ||
"http://caniuse.com/eventsource" | ||
], | ||
"caniuse": "eventsource" | ||
] | ||
}, | ||
@@ -221,2 +217,3 @@ { | ||
"inclusive": true, | ||
"caniuse": "atob-btoa", | ||
"features": [ | ||
@@ -228,4 +225,3 @@ "atob()", | ||
"https://developer.mozilla.org/en-US/docs/Web/API/Window.btoa" | ||
], | ||
"caniuse": "atob-btoa" | ||
] | ||
}, | ||
@@ -238,2 +234,3 @@ { | ||
"inclusive": true, | ||
"caniuse": "high-resolution-time", | ||
"features": [ | ||
@@ -245,4 +242,3 @@ "performance.now()" | ||
"http://caniuse.com/#feat=high-resolution-time" | ||
], | ||
"caniuse": "high-resolution-time" | ||
] | ||
}, | ||
@@ -255,2 +251,3 @@ { | ||
"inclusive": true, | ||
"caniuse": "matchmedia", | ||
"features": [ | ||
@@ -261,4 +258,3 @@ "matchMedia()" | ||
"https://developer.mozilla.org/en-US/docs/Web/API/Window.matchMedia" | ||
], | ||
"caniuse": "matchmedia" | ||
] | ||
}, | ||
@@ -467,2 +463,3 @@ { | ||
"inclusive": true, | ||
"caniuse": "picture", | ||
"features": [ | ||
@@ -473,4 +470,3 @@ "<picture>" | ||
"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture" | ||
], | ||
"caniuse": "picture" | ||
] | ||
}, | ||
@@ -477,0 +473,0 @@ { |
{ | ||
"name": "polyfills-db", | ||
"description": "browser feature database", | ||
"version": "1.13.1", | ||
"version": "1.13.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jonathan Ong", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28182
861