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

@nextui-org/use-scroll-position

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/use-scroll-position - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

5

dist/index.js

@@ -55,5 +55,6 @@ "use strict";

if (delay) {
if (throttleTimeout.current === null) {
throttleTimeout.current = setTimeout(handler, delay);
if (throttleTimeout.current) {
clearTimeout(throttleTimeout.current);
}
throttleTimeout.current = setTimeout(handler, delay);
} else {

@@ -60,0 +61,0 @@ handler();

2

package.json
{
"name": "@nextui-org/use-scroll-position",
"version": "2.0.6",
"version": "2.0.7",
"description": "Provides the logic to control the scroll over an element",

@@ -5,0 +5,0 @@ "keywords": [

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