New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chokidar

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chokidar - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

7

esm/index.d.ts

@@ -37,4 +37,5 @@ /*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */

export type ThrottleType = 'readdir' | 'watch' | 'add' | 'remove' | 'change';
export type EmitArgs = [Path | Error, Stats?];
export type EmitArgsWithName = [EventName, ...EmitArgs];
export type EmitArgs = [path: Path, stats?: Stats];
export type EmitErrorArgs = [error: Error, stats?: Stats];
export type EmitArgsWithName = [event: EventName, ...EmitArgs];
export type MatchFunction = (val: string, stats?: Stats) => boolean;

@@ -77,3 +78,3 @@ export interface MatcherObject {

[EV.ERROR]: Parameters<WatchHandlers['errHandler']>;
[EV.ALL]: [EventName, ...EmitArgs];
[EV.ALL]: [event: EventName, ...EmitArgs];
}

@@ -80,0 +81,0 @@ export type FSWatcherEventMap = FSWatcherKnownEventMap & {

@@ -37,4 +37,5 @@ /*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */

export type ThrottleType = 'readdir' | 'watch' | 'add' | 'remove' | 'change';
export type EmitArgs = [Path | Error, Stats?];
export type EmitArgsWithName = [EventName, ...EmitArgs];
export type EmitArgs = [path: Path, stats?: Stats];
export type EmitErrorArgs = [error: Error, stats?: Stats];
export type EmitArgsWithName = [event: EventName, ...EmitArgs];
export type MatchFunction = (val: string, stats?: Stats) => boolean;

@@ -77,3 +78,3 @@ export interface MatcherObject {

[EV.ERROR]: Parameters<WatchHandlers['errHandler']>;
[EV.ALL]: [EventName, ...EmitArgs];
[EV.ALL]: [event: EventName, ...EmitArgs];
}

@@ -80,0 +81,0 @@ export type FSWatcherEventMap = FSWatcherKnownEventMap & {

{
"name": "chokidar",
"description": "Minimal and efficient cross-platform file watching library",
"version": "4.0.2",
"version": "4.0.3",
"homepage": "https://github.com/paulmillr/chokidar",

@@ -6,0 +6,0 @@ "author": "Paul Miller (https://paulmillr.com)",

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