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

react-virtualized

Package Overview
Dependencies
Maintainers
2
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.15.0 to 9.16.0

10

CHANGELOG.md
Changelog
------------
##### 9.16.0
* 🐛 Fixed window check for SSR in `detectElementResize` ([eqyiel](https://github.com/eqyiel) - [#945](https://github.com/bvaughn/react-virtualized/pull/945))
* 🎉 Allowed custom `WindowScroller` child with `registerChild` in children function ([TrySound](https://github.com/TrySound) - [#940](https://github.com/bvaughn/react-virtualized/pull/940) and [#947](https://github.com/bvaughn/react-virtualized/pull/947))
* 🐛 Fixed `WindowScroller` scrollElement prop type ([TrySound](https://github.com/TrySound) - [#939](https://github.com/bvaughn/react-virtualized/pull/939))
##### 9.15.0
* 🎉 Detect `WindowScroller` container (not only window) resize similar to `AutoSizer` ([TrySound](https://github.com/TrySound) - [#918](https://github.com/bvaughn/react-virtualized/pull/918))
* 🐛 Prevent position breaking on `WindowScroller` container resize ([TrySound](https://github.com/TrySound) - [#920](https://github.com/bvaughn/react-virtualized/pull/920))
* 🎉 Detected `WindowScroller` container (not only window) resize similar to `AutoSizer` ([TrySound](https://github.com/TrySound) - [#918](https://github.com/bvaughn/react-virtualized/pull/918))
* 🐛 Prevented position breaking on `WindowScroller` container resize ([TrySound](https://github.com/TrySound) - [#920](https://github.com/bvaughn/react-virtualized/pull/920))
* 🎉 Published `AutoSizer` Flow types ([TrySound](https://github.com/TrySound) - [#934](https://github.com/bvaughn/react-virtualized/pull/934))

@@ -9,0 +15,0 @@ * 🎉 Published `WindowScroller` Flow types ([TrySound](https://github.com/TrySound) - [#915](https://github.com/bvaughn/react-virtualized/pull/915))

2

dist/commonjs/vendor/detectElementResize.js

@@ -27,3 +27,3 @@ 'use strict';

} else {
_window = this;
_window = global;
}

@@ -30,0 +30,0 @@

@@ -84,3 +84,6 @@ 'use strict';

scrollTop: 0
}), _this._onChildScroll = function (_ref2) {
}), _this._registerChild = function (element) {
_this._child = element;
_this.updatePosition();
}, _this._onChildScroll = function (_ref2) {
var scrollTop = _ref2.scrollTop;

@@ -157,3 +160,3 @@

var thisNode = _reactDom2.default.findDOMNode(this);
var thisNode = this._child || _reactDom2.default.findDOMNode(this);
if (thisNode instanceof Element && scrollElement) {

@@ -232,2 +235,3 @@ var offset = (0, _dimensions.getPositionOffset)(thisNode, scrollElement);

onChildScroll: this._onChildScroll,
registerChild: this._registerChild,
height: height,

@@ -234,0 +238,0 @@ isScrolling: isScrolling,

@@ -21,3 +21,3 @@ /**

} else {
_window = this;
_window = global;
}

@@ -24,0 +24,0 @@

@@ -42,3 +42,6 @@ import _extends from 'babel-runtime/helpers/extends';

scrollTop: 0
}), _this._onChildScroll = function (_ref2) {
}), _this._registerChild = function (element) {
_this._child = element;
_this.updatePosition();
}, _this._onChildScroll = function (_ref2) {
var scrollTop = _ref2.scrollTop;

@@ -115,3 +118,3 @@

var thisNode = ReactDOM.findDOMNode(this);
var thisNode = this._child || ReactDOM.findDOMNode(this);
if (thisNode instanceof Element && scrollElement) {

@@ -190,2 +193,3 @@ var offset = getPositionOffset(thisNode, scrollElement);

onChildScroll: this._onChildScroll,
registerChild: this._registerChild,
height: height,

@@ -192,0 +196,0 @@ isScrolling: isScrolling,

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

"user": "bvaughn",
"version": "9.15.0",
"version": "9.16.0",
"homepage": "https://github.com/bvaughn/react-virtualized",

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

Sorry, the diff of this file is not supported yet

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