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

rc-virtual-list

Package Overview
Dependencies
Maintainers
2
Versions
128
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 3.13.0 to 3.14.0

1

es/List.d.ts

@@ -13,2 +13,3 @@ import * as React from 'react';

export type ListRef = {
nativeElement: HTMLDivElement;
scrollTo: ScrollTo;

@@ -15,0 +16,0 @@ getScrollInfo: () => ScrollInfo;

@@ -85,2 +85,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var fillerInnerRef = useRef();
var containerRef = useRef();

@@ -375,2 +376,3 @@ // =============================== Item Key ===============================

return {
nativeElement: containerRef.current,
getScrollInfo: getVirtualScrollInfo,

@@ -437,2 +439,3 @@ scrollTo: function scrollTo(config) {

return /*#__PURE__*/React.createElement("div", _extends({
ref: containerRef,
style: _objectSpread(_objectSpread({}, style), {}, {

@@ -439,0 +442,0 @@ position: 'relative'

@@ -13,2 +13,3 @@ import * as React from 'react';

export type ListRef = {
nativeElement: HTMLDivElement;
scrollTo: ScrollTo;

@@ -15,0 +16,0 @@ getScrollInfo: () => ScrollInfo;

@@ -94,2 +94,3 @@ "use strict";

var fillerInnerRef = (0, _react.useRef)();
var containerRef = (0, _react.useRef)();

@@ -384,2 +385,3 @@ // =============================== Item Key ===============================

return {
nativeElement: containerRef.current,
getScrollInfo: getVirtualScrollInfo,

@@ -446,2 +448,3 @@ scrollTo: function scrollTo(config) {

return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
ref: containerRef,
style: (0, _objectSpread3.default)((0, _objectSpread3.default)({}, style), {}, {

@@ -448,0 +451,0 @@ position: 'relative'

2

package.json
{
"name": "rc-virtual-list",
"version": "3.13.0",
"version": "3.14.0",
"description": "React Virtual List Component",

@@ -5,0 +5,0 @@ "engines": {

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