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

react-infinity-menu

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-infinity-menu - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

3

dist/infinity-menu.js

@@ -73,3 +73,3 @@ "use strict";

var currLevel = Math.floor(keyPath.split(".").length / 2);
this.props.onNodeMouseClick(event, tree, node, currLevel);
this.props.onNodeMouseClick(event, tree, node, currLevel, keyPath);
}

@@ -191,2 +191,3 @@ }

var itemKey = "infinity-menu-leaf-" + curr.id;
curr.keyPath = keyPath;
if (curr.customComponent) {

@@ -193,0 +194,0 @@ var componentProps = {

{
"name": "react-infinity-menu",
"version": "2.1.1",
"version": "2.1.2",
"description": "[![Circle CI](https://circleci.com/gh/socialtables/react-infinity-menu.svg?style=svg&circle-token=230aaa396d006f1dc8d875b340834234c4937bbc)](https://circleci.com/gh/socialtables/react-infinity-menu)",

@@ -5,0 +5,0 @@ "main": "./dist/infinity-menu.js",

@@ -36,3 +36,3 @@ import React from "react";

const currLevel = Math.floor(keyPath.split(".").length / 2);
this.props.onNodeMouseClick(event, tree, node, currLevel);
this.props.onNodeMouseClick(event, tree, node, currLevel, keyPath);
}

@@ -140,2 +140,3 @@ }

const itemKey = "infinity-menu-leaf-" + curr.id;
curr.keyPath = keyPath;
if (curr.customComponent) {

@@ -142,0 +143,0 @@ const componentProps = {

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