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.4 to 0.1.0

2

lib/index.js

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

previousEvents;
constructor({ sensitivity = 2, delay = 100, increasingDeltasThreshold = 4, } = {}) {
constructor({ sensitivity = 2, delay = 100, increasingDeltasThreshold = 3, } = {}) {
this.sensitivity = Math.max(1, sensitivity);

@@ -48,0 +48,0 @@ this.delay = Math.max(1, delay);

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

@@ -35,8 +35,8 @@ "repository": "https://github.com/snelsi/lethargy-ts",

"@rollup/plugin-typescript": "^11.1.6",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"happy-dom": "^14.7.1",
"happy-dom": "^14.11.0",
"husky": "^9.0.11",

@@ -43,0 +43,0 @@ "lint-staged": "^15.2.2",

@@ -48,3 +48,3 @@ # ⭐ Lethargy-TS

delay: 100,
increasingDeltasThreshold: 4,
increasingDeltasThreshold: 3,
});

@@ -51,0 +51,0 @@ ```

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