Socket
Socket
Sign inDemoInstall

react-infinite-tree

Package Overview
Dependencies
31
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.5.0

6

examples/app.jsx

@@ -88,5 +88,9 @@ import React from 'react';

}}
onDoubleClick={(event) => {
const target = event.target || event.srcElement; // IE8
console.log('onDoubleClick', target);
}}
onClick={(event) => {
const target = event.target || event.srcElement; // IE8
console.log('click', target);
console.log('onClick', target);
}}

@@ -93,0 +97,0 @@ onDropNode={(node, e) => {

@@ -56,2 +56,3 @@ 'use strict';

onClick: null,
onDoubleClick: null,
onClusterWillChange: null,

@@ -58,0 +59,0 @@ onClusterDidChange: null,

6

package.json
{
"name": "react-infinite-tree",
"version": "0.4.0",
"version": "0.5.0",
"description": "The infinite-tree library for React.",

@@ -45,3 +45,3 @@ "main": "lib/index.js",

"react-dom": "^0.14.0 || ^15.0.0-0",
"infinite-tree": ">=1.3.0"
"infinite-tree": ">=1.7.0"
},

@@ -65,3 +65,3 @@ "dependencies": {},

"eslint-plugin-react": "^5.1.1",
"infinite-tree": "^1.2.0",
"infinite-tree": "^1.7.0",
"nib": "^1.1.0",

@@ -68,0 +68,0 @@ "react": "^15.1.0",

@@ -1,4 +0,5 @@

# react-infinite-tree [![build status](https://travis-ci.org/cheton/react-infinite-tree.svg?branch=master)](https://travis-ci.org/cheton/react-infinite-tree) [![Coverage Status](https://coveralls.io/repos/cheton/react-infinite-tree/badge.svg)](https://coveralls.io/r/cheton/react-infinite-tree)
[![NPM](https://nodei.co/npm/react-infinite-tree.png?downloads=true&stars=true)](https://nodei.co/npm/react-infinite-tree/)
# react-infinite-tree [![build status](https://travis-ci.org/cheton/react-infinite-tree.svg?branch=master)](https://travis-ci.org/cheton/react-infinite-tree) [![Coverage Status](https://coveralls.io/repos/github/cheton/react-infinite-tree/badge.svg?branch=master)](https://coveralls.io/github/cheton/react-infinite-tree?branch=master)
[![NPM](https://nodei.co/npm/react-infinite-tree.png?downloads=true&stars=true)](https://www.npmjs.com/package/react-infinite-tree)
The [infinite-tree](https://github.com/cheton/infinite-tree) library for React.

@@ -127,2 +128,5 @@

}}
onDoubleClick={(event) => {
console.log('double click:', target);
}}
onOpenNode={(node) => {

@@ -129,0 +133,0 @@ console.log('open node:', node);

@@ -17,2 +17,3 @@ import React from 'react';

onClick: null,
onDoubleClick: null,
onClusterWillChange: null,

@@ -19,0 +20,0 @@ onClusterDidChange: null,

Sorry, the diff of this file is not supported yet

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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc