Skip to content

chore: update deps and types #4209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 22, 2022
Merged

chore: update deps and types #4209

merged 3 commits into from
Jan 22, 2022

Conversation

snitin315
Copy link
Member

@snitin315 snitin315 commented Jan 20, 2022

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

No

Motivation / Use-Case

update deps and types

Breaking Changes

None

Additional Info

No

lib/Server.js Outdated
@@ -754,7 +755,7 @@ class Server {
// TODO remove `{}` after drop webpack v4 support
const compilerWatchOptions = compilerOptions.watchOptions || {};
/**
* @param {WatchOptions & WebpackConfiguration["watchOptions"]} watchOptions
* @param {WatchOptions & { aggregateTimeout?: number, ignored?: AnymatchMatcher | string | RegExp | string[], poll?: number | boolean }} watchOptions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we should extend type here, i.e. WebpackConfiguration["watchOptions"] & { ignored?: AnymatchMatcher | string | RegExp | string[] }

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did that at first, but it was throwing lint errors with this.

@codecov
Copy link

codecov bot commented Jan 22, 2022

Codecov Report

Merging #4209 (13ede7e) into master (b8ddf9f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4209   +/-   ##
=======================================
  Coverage   92.47%   92.47%           
=======================================
  Files          14       14           
  Lines        1541     1541           
  Branches      590      590           
=======================================
  Hits         1425     1425           
  Misses        107      107           
  Partials        9        9           
Impacted Files Coverage Δ
lib/Server.js 93.81% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8ddf9f...13ede7e. Read the comment docs.

@snitin315 snitin315 marked this pull request as ready for review January 22, 2022 09:39
@alexander-akait alexander-akait merged commit 617f2d0 into master Jan 22, 2022
@alexander-akait alexander-akait deleted the update-chokidar branch January 22, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants