@braintree/browser-detection
Advanced tools
Comparing version 1.11.0 to 1.11.1
# Browser Detection - Release Notes | ||
# 1.11.1 (2021-04-07) | ||
- Fix issue where `is-ios-safari` was returning `true` for iOS Firefox browsers | ||
# 1.11.0 (2020-10-27) | ||
@@ -4,0 +8,0 @@ |
"use strict"; | ||
var isIos = require("./is-ios"); | ||
var isIosFirefox = require("./is-ios-firefox"); | ||
var webkitRegexp = /webkit/i; | ||
@@ -9,3 +10,3 @@ function isWebkit(ua) { | ||
ua = ua || window.navigator.userAgent; | ||
return isIos(ua) && isWebkit(ua) && ua.indexOf("CriOS") === -1; | ||
return (isIos(ua) && isWebkit(ua) && ua.indexOf("CriOS") === -1 && !isIosFirefox(ua)); | ||
}; |
{ | ||
"name": "@braintree/browser-detection", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "A small lib to detect browser compatibility for braintree products", | ||
@@ -13,10 +13,10 @@ "main": "dist/browser-detection.js", | ||
"devDependencies": { | ||
"@types/jest": "^26.0.13", | ||
"@types/node": "^14.10.1", | ||
"eslint": "^7.8.1", | ||
"@types/jest": "^26.0.19", | ||
"@types/node": "^14.14.20", | ||
"eslint": "^7.17.0", | ||
"eslint-config-braintree": "^5.0.0-typescript-prep-rc.18", | ||
"jest": "^26.4.2", | ||
"prettier": "^2.1.1", | ||
"ts-jest": "^26.3.0", | ||
"typescript": "^3.9.7" | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.3" | ||
}, | ||
@@ -23,0 +23,0 @@ "scripts": { |
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
18008
316