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 2.6.7 to 2.6.8

7

lib/menuFactory.js

@@ -209,3 +209,4 @@ 'use strict';

if (this.state.isOpen && (e.key === 'Escape' || e.keyCode === 27)) {
// Close on ESC, unless disabled
if (!this.props.disableCloseOnEsc && this.state.isOpen && (e.key === 'Escape' || e.keyCode === 27)) {
this.toggleMenu();

@@ -226,6 +227,6 @@ }

value: function componentDidMount() {
// Bind ESC key handler (unless disabled or custom function supplied).
// Bind ESC key handler (unless custom function supplied).
if (this.props.customOnKeyDown) {
window.onkeydown = this.props.customOnKeyDown;
} else if (!this.props.disableCloseOnEsc) {
} else {
window.onkeydown = this.listenForClose.bind(this);

@@ -232,0 +233,0 @@ }

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

@@ -19,7 +19,8 @@ "main": "lib/BurgerMenu.js",

"eve": "~0.5.1",
"prop-types": "^15.6.2",
"prop-types": "^15.7.2",
"snapsvg-cjs": "0.0.6"
},
"devDependencies": {
"ajv": "^6.6.2",
"acorn": "^6.1.1",
"ajv": "5.0.0",
"babel-core": "^6.26.3",

@@ -34,15 +35,16 @@ "babel-eslint": "^8.2.6",

"eslint": "^4.19.1",
"eslint-plugin-react": "^7.12.3",
"gulp": "^3.8.11",
"gulp-git": "^2.8.0",
"eslint-plugin-react": "^7.12.4",
"gulp": "^3.9.0",
"gulp-git": "^2.9.0",
"jsdom": "^11.12.0",
"jsdom-global": "^3.0.2",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"nyc": "^13.3.0",
"pre-commit": "^1.2.2",
"prettier": "^1.15.3",
"react": "^16.7.0",
"prettier": "^1.16.4",
"react": "^16.8.6",
"react-component-gulp-tasks": "github:negomi/react-component-gulp-tasks",
"react-dom": "^16.7.0",
"react-test-renderer": "^16.7.0",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"request": "^2.88.0",
"sinon": "^4.5.0"

@@ -49,0 +51,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