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

react-virtualized

Package Overview
Dependencies
Maintainers
3
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized - npm Package Compare versions

Comparing version 9.20.0 to 9.20.1

10

dist/commonjs/utils/requestAnimationTimeout.js

@@ -8,2 +8,6 @@ 'use strict';

var _promise = require('babel-runtime/core-js/promise');
var _promise2 = _interopRequireDefault(_promise);
var _animationFrame = require('./animationFrame');

@@ -31,3 +35,7 @@

var requestAnimationTimeout = exports.requestAnimationTimeout = function requestAnimationTimeout(callback, delay) {
var start = Date.now();
var start = void 0;
// wait for end of processing current event handler, because event handler may be long
_promise2.default.resolve().then(function () {
start = Date.now();
});

@@ -34,0 +42,0 @@ var timeout = function timeout() {

4

dist/es/Grid/Grid.js

@@ -347,4 +347,4 @@ import _Object$assign from 'babel-runtime/core-js/object/assign';

// Store this flag to let the next cDU pass know it needs to recompute the scroll offset.
this._recomputeScrollLeftFlag = scrollToColumn >= 0 && columnIndex <= scrollToColumn;
this._recomputeScrollTopFlag = scrollToRow >= 0 && rowIndex <= scrollToRow;
this._recomputeScrollLeftFlag = scrollToColumn >= 0 && (this.state.scrollDirectionHorizontal === SCROLL_DIRECTION_FORWARD ? columnIndex <= scrollToColumn : columnIndex >= scrollToColumn);
this._recomputeScrollTopFlag = scrollToRow >= 0 && (this.state.scrollDirectionVertical === SCROLL_DIRECTION_FORWARD ? rowIndex <= scrollToRow : rowIndex >= scrollToRow);

@@ -351,0 +351,0 @@ // Clear cell cache in case we are scrolling;

@@ -0,1 +1,2 @@

import _Promise from 'babel-runtime/core-js/promise';
import { caf, raf } from './animationFrame';

@@ -19,3 +20,7 @@

export var requestAnimationTimeout = function requestAnimationTimeout(callback, delay) {
var start = Date.now();
var start = void 0;
// wait for end of processing current event handler, because event handler may be long
_Promise.resolve().then(function () {
start = Date.now();
});

@@ -22,0 +27,0 @@ var timeout = function timeout() {

@@ -6,3 +6,3 @@ {

"user": "bvaughn",
"version": "9.20.0",
"version": "9.20.1",
"homepage": "https://github.com/bvaughn/react-virtualized",

@@ -12,3 +12,2 @@ "main": "dist/commonjs/index.js",

"jsnext:main": "dist/es/index.js",
"sideEffects": false,
"license": "MIT",

@@ -15,0 +14,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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