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

react-intersection-observer

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-intersection-observer - npm Package Compare versions

Comparing version 0.2.11 to 0.2.12

1

lib/intersection.js

@@ -75,3 +75,2 @@ 'use strict';

changes.forEach(function (intersection) {
console.log(intersection);
if (INSTANCE_MAP.has(intersection.target)) {

@@ -78,0 +77,0 @@ var _INSTANCE_MAP$get = INSTANCE_MAP.get(intersection.target),

2

package.json
{
"name": "react-intersection-observer",
"version": "0.2.11",
"version": "0.2.12",
"description": "Monitor if a component is inside the viewport, using IntersectionObserver API",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -66,3 +66,2 @@ if (global.window && !process.env.SERVER) {

changes.forEach(intersection => {
console.log(intersection)
if (INSTANCE_MAP.has(intersection.target)) {

@@ -69,0 +68,0 @@ const { callback, visible, threshold } = INSTANCE_MAP.get(

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