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-alpha.12 to 0.0.0-alpha.13

es/mock.d.ts

2

es/List.d.ts
import * as React from 'react';
declare type RenderFunc<T> = (item: T, index: number, props: {
export declare type RenderFunc<T> = (item: T, index: number, props: {
style: React.CSSProperties;

@@ -4,0 +4,0 @@ }) => React.ReactNode;

@@ -74,6 +74,2 @@ 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) {
if (!node) {
return 0;
}
return findDOMNode(node).offsetHeight;

@@ -80,0 +76,0 @@ }

import * as React from 'react';
declare type RenderFunc<T> = (item: T, index: number, props: {
export declare type RenderFunc<T> = (item: T, index: number, props: {
style: React.CSSProperties;

@@ -4,0 +4,0 @@ }) => React.ReactNode;

@@ -97,6 +97,2 @@ "use strict";

function getNodeHeight(node) {
if (!node) {
return 0;
}
return (0, _findDOMNode.default)(node).offsetHeight;

@@ -103,0 +99,0 @@ }

{
"name": "rc-virtual-list",
"version": "0.0.0-alpha.12",
"version": "0.0.0-alpha.13",
"description": "React Virtual List Component",

@@ -5,0 +5,0 @@ "keywords": [

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