browserama
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -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,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}); | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):e.browserama=o()}(this,function(){"use strict";var e="undefined"==typeof window,o=!1,r=!1,t=!1,n=!1,i=!1,d=!1,w=!1,u=!1,s=!1;return e||(o="undefined"!=typeof InstallTrigger,r=!!window.chrome,t=!!window.chrome&&!!window.chrome.webstore,n=r&&!window.chrome.webstore,i=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")||window.safari&&window.safari.pushNotification,d=!!window.opr&&!!window.opr.addons||!!window.opera,w=!!window.StyleMedia,u=(t||d)&&!!window.CSS,s=!(r||i||o||d||!document.documentMode)),{get isChrome(){return t},get isChromeOrChromium(){return r},get isChromium(){return n},get isFirefox(){return o},get isSafari(){return i},get isOpera(){return d},get isEdge(){return w},get isIE(){return s},get isBlink(){return u}}}); |
{ | ||
"name": "browserama", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "A browser detection package that uses feature detection instead of user agent", | ||
"main": "out/browserama.min.js", | ||
"files": [ | ||
"index.js", | ||
"out" | ||
], | ||
"scripts": { | ||
@@ -30,8 +34,9 @@ "lint": "semistandard", | ||
"devDependencies": { | ||
"babel-preset-es2015": "^6.18.0", | ||
"rollup": "^0.40.2", | ||
"rollup-plugin-babel": "^2.7.1", | ||
"rollup-plugin-uglify": "^1.0.1", | ||
"semistandard": "^9.2.1" | ||
"babel-core": "^6.26.3", | ||
"babel-preset-env": "^1.7.0", | ||
"rollup": "^0.63.4", | ||
"rollup-plugin-babel": "^3.0.7", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"semistandard": "^12.0.0" | ||
} | ||
} |
@@ -1,3 +0,5 @@ | ||
### Browserama | ||
### Browserama [![Build Status](https://travis-ci.org/MyPureCloud/browserama.svg?branch=master)](https://travis-ci.org/MyPureCloud/browserama) | ||
[![Greenkeeper badge](https://badges.greenkeeper.io/MyPureCloud/browserama.svg)](https://greenkeeper.io/) | ||
Browserama is a browser detection module that uses feature detection rather than | ||
@@ -4,0 +6,0 @@ the user agent to determine which browser is being used. |
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
23
5249
6
5
56