Skip to content

Commit

Permalink
feat: bump chokidar v4 (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy authored Oct 13, 2024
1 parent bec8788 commit f60e485
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"anymatch": "^3.1.3",
"chokidar": "^3.6.0",
"chokidar": "^4.0.1",
"destr": "^2.0.3",
"h3": "^1.13.0",
"listhen": "^1.9.0",
Expand Down
18 changes: 16 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/drivers/fs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { existsSync, promises as fsp, Stats } from "node:fs";
import { resolve, relative, join } from "node:path";
import { FSWatcher, WatchOptions, watch } from "chokidar";
import { FSWatcher, ChokidarOptions, watch } from "chokidar";
import { createError, createRequiredError, defineDriver } from "./utils";
import {
readFile,
Expand All @@ -16,7 +16,7 @@ export interface FSStorageOptions {
ignore?: string[];
readOnly?: boolean;
noClear?: boolean;
watchOptions?: WatchOptions;
watchOptions?: ChokidarOptions;
}

const PATH_TRAVERSE_RE = /\.\.:|\.\.$/;
Expand Down

0 comments on commit f60e485

Please sign in to comment.