Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@braintree/browser-detection

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braintree/browser-detection - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

4

CHANGELOG.md
# 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 @@

3

dist/is-ios-safari.js
"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": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc