rc-new-window
Advanced tools
Comparing version 0.1.11 to 0.1.12
import Bowser from 'bowser'; | ||
const browser = window && Bowser.getParser(window.navigator.userAgent); | ||
const browser = typeof window === 'object' && Bowser.getParser(window.navigator.userAgent); | ||
export function gerWindowBorder() { | ||
@@ -4,0 +4,0 @@ switch (browser === null || browser === void 0 ? void 0 : browser.getOSName(true)) { |
@@ -8,3 +8,3 @@ "use strict"; | ||
const bowser_1 = __importDefault(require("bowser")); | ||
const browser = window && bowser_1.default.getParser(window.navigator.userAgent); | ||
const browser = typeof window === 'object' && bowser_1.default.getParser(window.navigator.userAgent); | ||
function gerWindowBorder() { | ||
@@ -11,0 +11,0 @@ switch (browser === null || browser === void 0 ? void 0 : browser.getOSName(true)) { |
{ | ||
"name": "rc-new-window", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "popup new browser window with react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
39825