New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@realeyes/environment-checker

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@realeyes/environment-checker - npm Package Compare versions

Comparing version

to
2.2.1

6

index.js

@@ -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 @@ },