Skip to content

Commit

Permalink
Merge pull request #2813 from talentlessguy/bump-chokidar-v4
Browse files Browse the repository at this point in the history
Bump chokidar v4
  • Loading branch information
bashmish authored Sep 26, 2024
2 parents 12a5d31 + 8b98279 commit 2204e25
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .changeset/giant-games-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@web/test-runner-core': patch
'@web/dev-server-core': patch
---

bump chokidar to v4
60 changes: 58 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/dev-server-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@types/koa": "^2.11.6",
"@types/ws": "^7.4.0",
"@web/parse5-utils": "^2.1.0",
"chokidar": "^3.4.3",
"chokidar": "^4.0.1",
"clone": "^2.1.2",
"es-module-lexer": "^1.0.0",
"get-stream": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/dev-server-core/src/server/DevServerCoreConfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Middleware } from 'koa';
import { Plugin } from '../plugins/Plugin';
import { Server } from 'net';
import chokidar from 'chokidar';
import type { ChokidarOptions } from 'chokidar';

export type MimeTypeMappings = Record<string, string>;

Expand Down Expand Up @@ -72,5 +72,5 @@ export interface DevServerCoreConfig {
/**
* Additional options you want to provide to chokidar file watcher
*/
chokidarOptions?: chokidar.WatchOptions;
chokidarOptions?: ChokidarOptions;
}
2 changes: 1 addition & 1 deletion packages/test-runner-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@types/istanbul-reports": "^3.0.0",
"@web/browser-logs": "^0.4.0",
"@web/dev-server-core": "^0.7.2",
"chokidar": "^3.4.3",
"chokidar": "^4.0.1",
"cli-cursor": "^3.1.0",
"co-body": "^6.1.0",
"convert-source-map": "^2.0.0",
Expand Down

0 comments on commit 2204e25

Please sign in to comment.