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

lethargy-ts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lethargy-ts - npm Package Compare versions

Comparing version 0.0.6-beta.1 to 0.0.6-beta.2

3

lib/index.js

@@ -120,3 +120,4 @@ /** Converts default WheelEvent to our custom IWheelEvent */

const isHighVelocity = biggestDeltaModule >= this.highVelocity;
if (isHighVelocity) {
const isPreviousEventHighVelocity = previousBiggestDeltaModule >= this.highVelocity;
if (isHighVelocity && isPreviousEventHighVelocity) {
return {

@@ -123,0 +124,0 @@ isHuman: true,

{
"name": "lethargy-ts",
"version": "0.0.6-beta.1",
"version": "0.0.6-beta.2",
"description": "Distinguish between scroll events initiated by the user, and those by inertial scrolling",

@@ -5,0 +5,0 @@ "repository": "https://github.com/snelsi/lethargy-ts",

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