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

rc-virtual-list

Package Overview
Dependencies
Maintainers
1
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.2.4 to 3.2.5

6

es/List.js

@@ -209,3 +209,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function keepInRange(newScrollTop) {
var newTop = Math.max(newScrollTop, 0);
var newTop = newScrollTop;

@@ -216,2 +216,3 @@ if (!Number.isNaN(maxScrollHeightRef.current)) {

newTop = Math.max(newScrollTop, 0);
return newTop;

@@ -227,4 +228,3 @@ }

syncScrollTop(newTop);
} // This code may only trigger in test case.
// But we still need a sync if some special escape
} // When data size reduce. It may trigger native scroll event back to fit scroll position

@@ -231,0 +231,0 @@

@@ -236,3 +236,3 @@ "use strict";

function keepInRange(newScrollTop) {
var newTop = Math.max(newScrollTop, 0);
var newTop = newScrollTop;

@@ -243,2 +243,3 @@ if (!Number.isNaN(maxScrollHeightRef.current)) {

newTop = Math.max(newScrollTop, 0);
return newTop;

@@ -254,4 +255,3 @@ }

syncScrollTop(newTop);
} // This code may only trigger in test case.
// But we still need a sync if some special escape
} // When data size reduce. It may trigger native scroll event back to fit scroll position

@@ -258,0 +258,0 @@

{
"name": "rc-virtual-list",
"version": "3.2.4",
"version": "3.2.5",
"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