react-window
Advanced tools
Comparing version 1.7.0 to 1.7.1
Changelog | ||
------------ | ||
### 1.7.1 | ||
* 🐛 Fix SSR regression introduced in 1.7.0 - ([Betree](https://github.com/Betree) - [#185](https://github.com/bvaughn/react-window/pull/185)) | ||
### 1.7.0 | ||
* 🎉 Grid `scrollToItem` supports optional `rowIndex` and `columnIndex` params ([jgoz](https://github.com/jgoz) - [#174](https://github.com/bvaughn/react-window/pull/174)) | ||
* DEV mode checks for `WeakSet` support before using it to avoid requiring a polyfill for IE11 - ([jgoz](https://github.com/jgoz) - [#167](https://github.com/bvaughn/react-window/pull/167)) | ||
@@ -7,0 +11,0 @@ ### 1.6.2 |
{ | ||
"name": "react-window", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": | ||
@@ -5,0 +5,0 @@ "React components for efficiently rendering large, scrollable lists and tabular data", |
@@ -135,3 +135,3 @@ // @flow | ||
if (process.env.NODE_ENV !== 'production') { | ||
if (typeof window.WeakSet !== 'undefined') { | ||
if (typeof window !== 'undefined' && typeof window.WeakSet !== 'undefined') { | ||
devWarningsOverscanCount = new WeakSet(); | ||
@@ -138,0 +138,0 @@ devWarningsTagName = new WeakSet(); |
@@ -115,3 +115,3 @@ // @flow | ||
if (process.env.NODE_ENV !== 'production') { | ||
if (typeof window.WeakSet !== 'undefined') { | ||
if (typeof window !== 'undefined' && typeof window.WeakSet !== 'undefined') { | ||
devWarningsDirection = new WeakSet(); | ||
@@ -118,0 +118,0 @@ devWarningsTagName = new WeakSet(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
236504