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

@lani.ground/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lani.ground/react-hooks - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

dist/cjs/useWindowScroll.js

@@ -43,5 +43,3 @@ "use strict";

window.scrollTo({ left: 0, top: scrollRef.current, behavior: 'instant' });
document.addEventListener('touchmove', cancelScrollEvent, {
passive: false,
});
document.removeEventListener('touchmove', cancelScrollEvent);
};

@@ -48,0 +46,0 @@ return {

@@ -41,5 +41,3 @@ import { useCallback, useRef } from 'react';

window.scrollTo({ left: 0, top: scrollRef.current, behavior: 'instant' });
document.addEventListener('touchmove', cancelScrollEvent, {
passive: false,
});
document.removeEventListener('touchmove', cancelScrollEvent);
};

@@ -46,0 +44,0 @@ return {

{
"name": "@lani.ground/react-hooks",
"description": "react hooks",
"version": "0.3.2",
"version": "0.3.3",
"keywords": [

@@ -73,3 +73,3 @@ "react-hooks",

},
"gitHead": "edbc9ab5d456073ba4154f0e04a35ae71311eda9"
"gitHead": "b00c5f0bed5455963177549f4ec193906edbbc1c"
}
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