lethargy-ts
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -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>; |
export {}; |
export {}; |
@@ -0,0 +0,0 @@ /** [deltaX, deltaY, deltaZ] */ |
@@ -0,0 +0,0 @@ import type { Deltas, IWheelEvent } from "./types"; |
{ | ||
"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`: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48339