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.22.1 to 9.22.2

6

dist/commonjs/Collection/Collection.jest.js

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

var indices;
(0, _TestUtils.render)(getMarkup({
var collection = (0, _TestUtils.render)(getMarkup({
onSectionRendered: function onSectionRendered(params) {

@@ -440,2 +440,3 @@ indices = params.indices;

compareArrays(indices, [3, 4, 5, 7, 8, 9]);
expect(collection._collectionView.state.scrollPositionChangeReason).toEqual('requested');
});

@@ -450,3 +451,3 @@ it('should render correctly when :scrollLeft and :scrollTop properties are updated', function () {

compareArrays(indices, [0, 1, 2, 3]);
(0, _TestUtils.render)(getMarkup({
var collection = (0, _TestUtils.render)(getMarkup({
onSectionRendered: function onSectionRendered(params) {

@@ -459,2 +460,3 @@ indices = params.indices;

compareArrays(indices, [3, 4, 5, 7, 8, 9]);
expect(collection._collectionView.state.scrollPositionChangeReason).toEqual('requested');
});

@@ -461,0 +463,0 @@ });

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

scrollLeft: 0,
scrollTop: 0
scrollTop: 0,
scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED
};

@@ -484,3 +485,4 @@ } else if (nextProps.scrollLeft !== prevState.scrollLeft || nextProps.scrollTop !== prevState.scrollTop) {

scrollLeft: nextProps.scrollLeft != null ? nextProps.scrollLeft : prevState.scrollLeft,
scrollTop: nextProps.scrollTop != null ? nextProps.scrollTop : prevState.scrollTop
scrollTop: nextProps.scrollTop != null ? nextProps.scrollTop : prevState.scrollTop,
scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED
};

@@ -487,0 +489,0 @@ }

@@ -419,3 +419,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

var indices;
render(getMarkup({
var collection = render(getMarkup({
onSectionRendered: function onSectionRendered(params) {

@@ -428,2 +428,3 @@ indices = params.indices;

compareArrays(indices, [3, 4, 5, 7, 8, 9]);
expect(collection._collectionView.state.scrollPositionChangeReason).toEqual('requested');
});

@@ -438,3 +439,3 @@ it('should render correctly when :scrollLeft and :scrollTop properties are updated', function () {

compareArrays(indices, [0, 1, 2, 3]);
render(getMarkup({
var collection = render(getMarkup({
onSectionRendered: function onSectionRendered(params) {

@@ -447,2 +448,3 @@ indices = params.indices;

compareArrays(indices, [3, 4, 5, 7, 8, 9]);
expect(collection._collectionView.state.scrollPositionChangeReason).toEqual('requested');
});

@@ -449,0 +451,0 @@ });

@@ -463,3 +463,4 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

scrollLeft: 0,
scrollTop: 0
scrollTop: 0,
scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED
};

@@ -469,3 +470,4 @@ } else if (nextProps.scrollLeft !== prevState.scrollLeft || nextProps.scrollTop !== prevState.scrollTop) {

scrollLeft: nextProps.scrollLeft != null ? nextProps.scrollLeft : prevState.scrollLeft,
scrollTop: nextProps.scrollTop != null ? nextProps.scrollTop : prevState.scrollTop
scrollTop: nextProps.scrollTop != null ? nextProps.scrollTop : prevState.scrollTop,
scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED
};

@@ -472,0 +474,0 @@ }

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

"user": "bvaughn",
"version": "9.22.1",
"version": "9.22.2",
"homepage": "https://github.com/bvaughn/react-virtualized",

@@ -9,0 +9,0 @@ "main": "dist/commonjs/index.js",

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