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

react-sticky

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sticky - npm Package Compare versions

Comparing version 4.0.0-rc8 to 4.0.0-rc9

16

lib/watcher.js

@@ -28,9 +28,11 @@ 'use strict';

*/
events.forEach(function (evt) {
if (window.addEventListener) {
window.addEventListener(evt, handleEvent);
} else {
window.attachEvent('on' + evt, handleEvent);
}
});
if (typeof window !== "undefined") {
events.forEach(function (evt) {
if (window.addEventListener) {
window.addEventListener(evt, handleEvent);
} else {
window.attachEvent('on' + evt, handleEvent);
}
});
}

@@ -37,0 +39,0 @@ return signal;

{
"name": "react-sticky",
"version": "4.0.0-rc8",
"version": "4.0.0-rc9",
"description": "Sticky component for React",

@@ -5,0 +5,0 @@ "main": "lib/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