New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-virtualized-sticky-tree

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized-sticky-tree - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

40

dist/commonjs/StickyTree.js

@@ -205,2 +205,42 @@ 'use strict';

/**
* Returns the node that appears higher than this node (either a parent, sibling or child of the sibling above).
* @param nodeId The node to get the previous node of.
* @returns {*}
*/
}, {
key: 'getPreviousNodeId',
value: function () {
function getPreviousNodeId(nodeId) {
var index = this.getNodeIndex(nodeId);
if (index !== -1) {
return this.nodes[index - 1];
}
return undefined;
}
return getPreviousNodeId;
}()
/**
* Returns the node that appears lower than this node (sibling or sibling of the node's parent).
* @param nodeId The node to get the next node of.
* @returns {*}
*/
}, {
key: 'getNextNodeId',
value: function () {
function getNextNodeId(nodeId) {
var index = this.getNodeIndex(nodeId);
if (index !== -1) {
return this.nodes[index + 1];
}
return undefined;
}
return getNextNodeId;
}()
/**
* Returns true if the node is completely visible and is not obscured.

@@ -207,0 +247,0 @@ * This will return false when the node is partially obscured.

@@ -205,2 +205,42 @@ 'use strict';

/**
* Returns the node that appears higher than this node (either a parent, sibling or child of the sibling above).
* @param nodeId The node to get the previous node of.
* @returns {*}
*/
}, {
key: 'getPreviousNodeId',
value: function () {
function getPreviousNodeId(nodeId) {
var index = this.getNodeIndex(nodeId);
if (index !== -1) {
return this.nodes[index - 1];
}
return undefined;
}
return getPreviousNodeId;
}()
/**
* Returns the node that appears lower than this node (sibling or sibling of the node's parent).
* @param nodeId The node to get the next node of.
* @returns {*}
*/
}, {
key: 'getNextNodeId',
value: function () {
function getNextNodeId(nodeId) {
var index = this.getNodeIndex(nodeId);
if (index !== -1) {
return this.nodes[index + 1];
}
return undefined;
}
return getNextNodeId;
}()
/**
* Returns true if the node is completely visible and is not obscured.

@@ -207,0 +247,0 @@ * This will return false when the node is partially obscured.

2

package.json
{
"name": "react-virtualized-sticky-tree",
"description": "A React component for efficiently rendering tree like structures with support for position: sticky",
"version": "2.1.8",
"version": "2.1.9",
"author": "Marc McIntyre <marchaos@gmail.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

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