New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-in-viewport

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-in-viewport - npm Package Compare versions

Comparing version 1.0.0-alpha.27 to 1.0.0-alpha.28

2

dist/types/lib/useInViewport.d.ts
import React from 'react';
import type { Config, Props, Options } from './types';
declare const useInViewport: (target: React.MutableRefObject<HTMLElement>, options?: Options, config?: Config, props?: Props) => {
declare const useInViewport: (target: React.RefObject<HTMLElement>, options?: Options, config?: Config, props?: Props) => {
inViewport: boolean;

@@ -5,0 +5,0 @@ enterCount: number;

{
"name": "react-in-viewport",
"version": "1.0.0-alpha.27",
"version": "1.0.0-alpha.28",
"description": "Track React component in viewport using Intersection Observer API",

@@ -5,0 +5,0 @@ "author": "Roderick Hsiao <roderickhsiao@gmail.com>",

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