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

react-intersection-observer-hook

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-intersection-observer-hook - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

dist/types.d.ts

5

dist/useIntersectionObserver.d.ts

@@ -1,5 +0,6 @@

export declare type IntersectionObserverHookArgs = IntersectionObserverInit;
import { Omit } from './types';
export declare type IntersectionObserverHookArgs = Omit<IntersectionObserverInit, 'root'>;
export declare type IntersectionObserverHookRefCallbackNode = Element | null;
export declare type IntersectionObserverHookRefCallback = (node: IntersectionObserverHookRefCallbackNode) => void;
export declare type IntersectionObserverHookRootRefCallbackNode = IntersectionObserverHookArgs['root'];
export declare type IntersectionObserverHookRootRefCallbackNode = IntersectionObserverInit['root'];
export declare type IntersectionObserverHookRootRefCallback = (node: IntersectionObserverHookRootRefCallbackNode) => void;

@@ -6,0 +7,0 @@ export declare type IntersectionObserverHookResult = [IntersectionObserverHookRefCallback, {

3

package.json
{
"name": "react-intersection-observer-hook",
"version": "2.0.4",
"version": "2.0.5",
"license": "MIT",

@@ -49,2 +49,3 @@ "author": "onderonur",

"eslint-config-prettier": "^7.2.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-import": "^2.22.1",

@@ -51,0 +52,0 @@ "eslint-plugin-jsx-a11y": "^6.4.1",

@@ -0,0 +0,0 @@ # react-intersection-observer-hook

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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