Socket
Socket
Sign inDemoInstall

@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.13.0 to 1.14.0

6

dist/is-ios-webview.js

@@ -11,10 +11,6 @@ "use strict";

}
return (
// Historically, a webview could be identified by the presence of AppleWebKit and _no_ presence of Safari after.
/.+AppleWebKit(?!.*Safari)/i.test(ua) ||
// A webview can now have 'Safari', but if it does, then we want to check the `safari` window prop as webviews won't have it.
(ua.indexOf("Safari") > -1 &&
(!window.safari || !window.safari.pushNotification)));
return /.+AppleWebKit(?!.*Safari)/i.test(ua);
}
return false;
};

2

package.json
{
"name": "@braintree/browser-detection",
"version": "1.13.0",
"version": "1.14.0",
"description": "A small lib to detect browser compatibility for braintree products",

@@ -5,0 +5,0 @@ "main": "dist/browser-detection.js",

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