Comparing version 2.2.0 to 2.2.2
@@ -5,7 +5,10 @@ /// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import debounce from 'debounce'; | ||
import type { Callback, Ignore, ReaddirMap, Stats } from './types'; | ||
declare const Utils: { | ||
lang: { | ||
debounce: typeof debounce; | ||
debounce: <Args extends unknown[]>(fn: import("dettle/dist/types").FN<Args, unknown>, wait?: number | undefined, options?: { | ||
leading?: boolean | undefined; | ||
trailing?: boolean | undefined; | ||
maxWait?: number | undefined; | ||
} | undefined) => import("dettle/dist/types").Debounced<Args>; | ||
attempt: <T>(fn: () => T) => T | Error; | ||
@@ -12,0 +15,0 @@ castArray: <T_1>(x: T_1 | T_1[]) => T_1[]; |
/* IMPORT */ | ||
import debounce from 'debounce'; | ||
import { debounce } from 'dettle'; | ||
import fs from 'node:fs'; | ||
@@ -4,0 +4,0 @@ import path from 'node:path'; |
@@ -5,3 +5,3 @@ { | ||
"description": "The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.", | ||
"version": "2.2.0", | ||
"version": "2.2.2", | ||
"type": "module", | ||
@@ -28,3 +28,3 @@ "main": "dist/watcher.js", | ||
"dependencies": { | ||
"debounce": "^1.2.1", | ||
"dettle": "^1.0.1", | ||
"ripstat": "^2.0.0", | ||
@@ -34,3 +34,2 @@ "tiny-readdir": "^2.2.0" | ||
"devDependencies": { | ||
"@types/debounce": "^1.2.1", | ||
"@types/node": "^18.11.9", | ||
@@ -37,0 +36,0 @@ "fava": "^0.0.7", |
/* IMPORT */ | ||
import debounce from 'debounce'; | ||
import {debounce} from 'dettle'; | ||
import fs from 'node:fs'; | ||
@@ -6,0 +6,0 @@ import path from 'node:path'; |
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
237529
5
4967
+ Addeddettle@^1.0.1
+ Addeddettle@1.0.4(transitive)
- Removeddebounce@^1.2.1
- Removeddebounce@1.2.1(transitive)