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 9.10.2 to 9.10.3

4

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

@@ -23,2 +23,3 @@ "type": "commonjs",

"author": "Daniel Schmidt",
"license": "MIT",
"sideEffects": false,

@@ -29,3 +30,2 @@ "repository": {

},
"license": "MIT",
"keywords": [

@@ -32,0 +32,0 @@ "react",

@@ -105,4 +105,5 @@ "use strict";

function resetIntersectionMocking() {
if (global.IntersectionObserver)
if (global.IntersectionObserver && "mockClear" in global.IntersectionObserver && typeof global.IntersectionObserver.mockClear === "function") {
global.IntersectionObserver.mockClear();
}
observers.clear();

@@ -109,0 +110,0 @@ }

Sorry, the diff of this file is not supported yet

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