Socket
Socket
Sign inDemoInstall

rc-virtual-list

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-virtual-list - npm Package Compare versions

Comparing version 0.0.0-rc.0 to 0.0.0-rc.1

3

es/utils/itemUtil.js

@@ -74,3 +74,4 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

export function getNodeHeight(node) {
return findDOMNode(node).offsetHeight;
var element = findDOMNode(node);
return element ? element.offsetHeight : 0;
}

@@ -77,0 +78,0 @@ /**

@@ -97,3 +97,4 @@ "use strict";

function getNodeHeight(node) {
return (0, _findDOMNode.default)(node).offsetHeight;
var element = (0, _findDOMNode.default)(node);
return element ? element.offsetHeight : 0;
}

@@ -100,0 +101,0 @@ /**

{
"name": "rc-virtual-list",
"version": "0.0.0-rc.0",
"version": "0.0.0-rc.1",
"description": "React Virtual List Component",
"engines": {
"node": ">=8.x"
},
"keywords": [

@@ -6,0 +9,0 @@ "react",

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