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

@neonjungle/birdseed

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neonjungle/birdseed - npm Package Compare versions

Comparing version 0.3.10 to 0.3.11

22

browser/OutdatedBrowserNotice.js

@@ -26,5 +26,13 @@ import Bowser from "bowser";

let browserDetails = this.browser.getBrowser();
let versionString =
browserDetails.name + " version " + browserDetails.version;
let versionString = "";
// Unfortunately we dont always get the version (see isValidBrowser notes)
if (browserDetails.version) {
versionString = `${browserDetails.name} version ${
browserDetails.version
}`;
} else {
versionString = `an out of date version of ${browserDetails.name}`;
}
document.body.insertAdjacentHTML(

@@ -53,2 +61,12 @@ "afterbegin",

isValidBrowser() {
const fullBrowserDetails = this.browser.getResult();
// Work around Bowser not giving us a browser version to work with when in WebView on iOS. -JS
// See this issue for more details: https://github.com/lancedikson/bowser/issues/204
if (
fullBrowserDetails.os.name === "iOS" &&
!fullBrowserDetails.browser.version
) {
let majorVersion = parseInt(fullBrowserDetails.os.version.split(".")[0]);
return majorVersion >= 10;
}
return this.browser.satisfies(this.browserVersions);

@@ -55,0 +73,0 @@ }

2

package.json
{
"name": "@neonjungle/birdseed",
"version": "0.3.10",
"version": "0.3.11",
"description": "Collection of handy utility methods for Neon Jungle",

@@ -5,0 +5,0 @@ "main": "",

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