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

0

lib/index.esm.js

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

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ export declare enum CHECK_RESULT_CODES {

@@ -0,0 +0,0 @@ export * from "./lethargy";

@@ -0,0 +0,0 @@ import type { LethargyConfig } from "./types";

/** Shorthand for `new WheelEvent("wheel", ...)` */
export declare const newWheelEvent: (params: number | WheelEventInit) => WheelEvent;
export declare const sleep: (time: number) => Promise<unknown>;

@@ -0,0 +0,0 @@ /** [deltaX, deltaY, deltaZ] */

@@ -0,0 +0,0 @@ import type { Deltas, IWheelEvent } from "./types";

22

package.json
{
"name": "lethargy-ts",
"version": "0.0.4",
"version": "0.0.5",
"description": "Distinguish between scroll events initiated by the user, and those by inertial scrolling",

@@ -36,16 +36,16 @@ "repository": "https://github.com/snelsi/lethargy-ts",

"@rollup/plugin-typescript": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@vitest/coverage-c8": "^0.29.2",
"eslint": "^8.35.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@vitest/coverage-c8": "^0.29.3",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"happy-dom": "^8.9.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"lint-staged": "^13.2.0",
"prettier": "^2.8.5",
"pretty-quick": "^3.1.3",
"rollup": "^3.18.0",
"typescript": "^4.9.5",
"vite": "^4.1.4",
"vitest": "^0.29.2"
"rollup": "^3.20.0",
"typescript": "^5.0.2",
"vite": "^4.2.0",
"vitest": "^0.29.3"
},

@@ -52,0 +52,0 @@ "lint-staged": {

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

> 😉 If you find optimizations for the defaults, please share them in this [ticket](https://github.com/snelsi/lethargy-ts/issues/1)!
> 😉 If you find optimizations for the defaults, please share them in this [discussion](https://github.com/snelsi/lethargy-ts/discussions/2)!

@@ -55,0 +55,0 @@ Bind the wheel event and pass the event to `Lethargy`:

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