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

react-visibility-sensor

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-visibility-sensor - npm Package Compare versions

Comparing version 3.13.1 to 3.14.0

4

CHANGELOG.md
Changelog
====
## 3.14.0
- re-register node in componentDidUpdate if children diffs ([#103](https://github.com/joshwnj/react-visibility-sensor/pull/103))
## 3.13.0

@@ -5,0 +9,0 @@

2

package.json
{
"name": "react-visibility-sensor",
"version": "3.13.1",
"version": "3.14.0",
"description": "Sensor component for React that notifies you when it goes in or out of the window viewport.",

@@ -5,0 +5,0 @@ "main": "visibility-sensor.js",

@@ -140,2 +140,6 @@ 'use strict';

componentDidUpdate: function (prevProps) {
this.node = ReactDOM.findDOMNode(this);
},
getContainer: function () {

@@ -142,0 +146,0 @@ return this.props.containment || window;

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