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

watcher

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watcher - npm Package Compare versions

Comparing version 2.2.0 to 2.2.2

CHANGELOG.md

7

dist/utils.d.ts

@@ -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';

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