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

browserama

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserama - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

index.js

@@ -48,2 +48,6 @@ // Use Feature detection instead of user agents -

get isOpera () {
return isOpera;
},
get isEdge () {

@@ -50,0 +54,0 @@ return isEdge;

2

out/browserama.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.browserama=t()}(this,function(){"use strict";var e="undefined"==typeof window,t=!1,o=!1,n=!1,r=!1,i=!1,c=!1,d=!1,u=!1,w=!1;e||(t="undefined"!=typeof InstallTrigger,o=!!window.chrome,n=!!window.chrome&&!!window.chrome.webstore,r=o&&!window.chrome.webstore,i=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||window.safari&&window.safari.pushNotification,c=!!window.opr&&!!window.opr.addons||!!window.opera,d=!!window.StyleMedia,u=(n||c)&&!!window.CSS,w=!(o||i||t||c||!document.documentMode));var f={get isChrome(){return n},get isChromeOrChromium(){return o},get isChromium(){return r},get isFirefox(){return t},get isSafari(){return i},get isEdge(){return d},get isIE(){return w},get isBlink(){return u}};return f});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.browserama=t()}(this,function(){"use strict";var e="undefined"==typeof window,t=!1,n=!1,o=!1,r=!1,c=!1,i=!1,d=!1,u=!1,w=!1;e||(t="undefined"!=typeof InstallTrigger,n=!!window.chrome,o=!!window.chrome&&!!window.chrome.webstore,r=n&&!window.chrome.webstore,c=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||window.safari&&window.safari.pushNotification,i=!!window.opr&&!!window.opr.addons||!!window.opera,d=!!window.StyleMedia,u=(o||i)&&!!window.CSS,w=!(n||c||t||i||!document.documentMode));var f={get isChrome(){return o},get isChromeOrChromium(){return n},get isChromium(){return r},get isFirefox(){return t},get isSafari(){return c},get isOpera(){return i},get isEdge(){return d},get isIE(){return w},get isBlink(){return u}};return f});
{
"name": "browserama",
"version": "1.0.1",
"version": "1.1.0",
"description": "A browser detection package that uses feature detection instead of user agent",

@@ -5,0 +5,0 @@ "main": "out/browserama.min.js",

@@ -5,1 +5,17 @@ ### Browserama

the user agent to determine which browser is being used.
```sh
npm install browserama
```
#### Properties
- `isBlink`
- `isChrome`
- `isChromium`
- `isChromeOrChromium`
- `isEdge`
- `isFirefox`
- `isIE`
- `isOpera`
- `isSafari`

Sorry, the diff of this file is not supported yet

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