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

react-burger-menu

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-burger-menu - npm Package Compare versions

Comparing version 3.0.8 to 3.0.9

7

lib/components/CrossIcon.js

@@ -102,9 +102,8 @@ 'use strict';

'button',
{
_extends({
type: 'button',
id: 'react-burger-cross-btn',
onClick: this.props.onClick,
style: buttonStyle,
tabIndex: this.props.isOpen ? 0 : -1
},
style: buttonStyle
}, !this.props.isOpen && { tabIndex: -1 }),
'Close Menu'

@@ -111,0 +110,0 @@ ),

@@ -408,8 +408,7 @@ 'use strict';

}).join(' ');
var extraProps = {
var extraProps = _extends({
key: index,
className: classList,
style: getStyles('item', index, item.props.style),
tabIndex: isOpen ? 0 : -1
};
style: getStyles('item', index, item.props.style)
}, !isOpen && { tabIndex: -1 });
return _react2['default'].cloneElement(item, extraProps);

@@ -416,0 +415,0 @@ }

{
"name": "react-burger-menu",
"version": "3.0.8",
"version": "3.0.9",
"description": "An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations",

@@ -38,3 +38,3 @@ "main": "lib/BurgerMenu.js",

"gulp-git": "^2.9.0",
"jsdom": "^11.12.0",
"jsdom": "^16.5.0",
"jsdom-global": "^3.0.2",

@@ -41,0 +41,0 @@ "mocha": "^5.2.0",

Sorry, the diff of this file is too big to display

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