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

react-infinite-scroll-up-n-down

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-infinite-scroll-up-n-down - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

12

dist/InfiniteScroll.js

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

if (this.props.useWindow === false) {
scrollEl = this.scrollComponent.parentNode;
scrollEl = this.scrollComponent && this.scrollComponent.parentNode;
}
scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);
if (scrollEl) {
scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);
}
}

@@ -127,4 +129,6 @@ }, {

scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);
scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);
if (scrollEl) {
scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);
scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);
}
}

@@ -131,0 +135,0 @@ }, {

{
"name": "react-infinite-scroll-up-n-down",
"version": "1.3.1",
"version": "1.3.2",
"description": "Infinite scroll component for React in ES6",

@@ -76,2 +76,2 @@ "main": "index.js",

}
}
}
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