@realeyes/environment-checker
Advanced tools
Comparing version
@@ -135,5 +135,7 @@ /*! | ||
(/firefox/i.test(navigator.userAgent) && | ||
compareVersions(getFirstMatch(ua, /(?:firefox)[ /](\d+(\.\d+)?)/i), '48') >= 0) || | ||
compareVersions(getFirstMatch(ua, /(?:firefox)[ /](\d+(\.\d+)?)/i), '31') >= 0) || | ||
(/chrome/i.test(navigator.userAgent) && !/edge/i.test(ua) && | ||
compareVersions(getFirstMatch(ua, /(?:chrome)\/(\d+(\.\d+)?)/i), '50') >= 0) | ||
compareVersions(getFirstMatch(ua, /(?:chrome)\/(\d+(\.\d+)?)/i), '38') >= 0) || | ||
(/opera|opr|opios/i.test(navigator.userAgent) && | ||
compareVersions(getFirstMatch(ua, /(?:opera|opr|opios)[\s/](\d+(\.\d+)?)/i), '38') >= 0) | ||
) { | ||
@@ -140,0 +142,0 @@ skip.push('flash'); |
{ | ||
"name": "@realeyes/environment-checker", | ||
"version": "2.1.0", | ||
"version": "2.2.1", | ||
"scripts": { | ||
@@ -9,3 +9,3 @@ "lint": "eslint .", | ||
"copy:example": "copyfiles -f example/* dist", | ||
"minify": "uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js", | ||
"minify": "uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js", | ||
"cleanup": "rimraf dist/*", | ||
@@ -55,3 +55,3 @@ "all": "npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify", | ||
"dependencies": { | ||
"@realeyes/environment-detector": "1.6.0", | ||
"@realeyes/environment-detector": "1.7.3", | ||
"swfobject": "DavidKlassen/swfobject#e057ecd34207a" | ||
@@ -58,0 +58,0 @@ }, |
16208
1.12%237
0.85%+ Added
- Removed