Skip to content

Commit

Permalink
fix: revert chokidar to v3 (unjs#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 6, 2024
1 parent d62cefe commit 32544b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 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": "^4.0.1",
"chokidar": "^3.6.0",
"citty": "^0.1.6",
"destr": "^2.0.3",
"h3": "^1.13.0",
Expand Down
18 changes: 2 additions & 16 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion 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, ChokidarOptions, watch } from "chokidar";
import { FSWatcher, WatchOptions as ChokidarOptions, watch } from "chokidar";
import { createError, createRequiredError, defineDriver } from "./utils";
import {
readFile,
Expand Down

0 comments on commit 32544b2

Please sign in to comment.