react-joyride
Advanced tools
Comparing version 2.0.0-13 to 2.0.0-14
{ | ||
"name": "react-joyride", | ||
"version": "2.0.0-13", | ||
"version": "2.0.0-14", | ||
"description": "Create walkthroughs and guided tours for your apps", | ||
@@ -5,0 +5,0 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", |
@@ -14,4 +14,4 @@ import React from 'react'; | ||
<svg | ||
width={`${width}px`} | ||
height={`${height}px`} | ||
width={typeof width === 'number' ? `${width}px` : width} | ||
height={typeof height === 'number' ? `${height}px` : height} | ||
viewBox="0 0 18 18" | ||
@@ -18,0 +18,0 @@ version="1.1" |
@@ -66,4 +66,4 @@ // @flow | ||
// Safari (and Chrome iOS) | ||
if (/(Version\/([0-9._]+).*Safari|CriOS)/.test(navigator.userAgent)) { | ||
// Safari (and Chrome iOS, Firefox iOS) | ||
if (/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(navigator.userAgent)) { | ||
return 'safari'; | ||
@@ -81,3 +81,3 @@ } | ||
export function isLegacy(): boolean { | ||
return !['chrome', 'safari', 'firefox', 'opera', 'edge'].includes(getBrowser()); | ||
return !['chrome', 'safari', 'firefox', 'opera'].includes(getBrowser()); | ||
} | ||
@@ -84,0 +84,0 @@ |
@@ -71,3 +71,3 @@ const validTabNodes = /input|select|textarea|button|object/; | ||
if (e.keyCode === TAB_KEY) { | ||
interceptTab(modalElement, event); | ||
interceptTab(modalElement, e); | ||
} | ||
@@ -74,0 +74,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
0
223422