update `html-encoding-sniffer` to v5+

Open Beginner friendly
#977 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript, node.js
Domain
cli

Research direction

Start by locating the dependency manifest and lockfile entries for html-encoding-sniffer and whatwg-encoding. Update html-encoding-sniffer to v5 or later, account for the stated Node.js version requirement, and run the repository's existing checks to confirm the dependency update works.

Written by the indexing model from the issue text.

Description

What's the problem this feature will solve?

html-encoding-sniffer v3 uses a now deprecated package whatwg-encoding.
v5+ uses the replacement @exodus/bytes

Describe the solution you'd like

update html-encoding-sniffer to v5 or later

Alternative Solutions

use a package manager override

Additional context

Upgrade whatwg-encoding to v5+ requires a minimal node bump to ^20.19.0 || ^22.12.0 || >=24.0.0

Dominant language
JavaScript
Stars
14.2k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from http-party/http-server

All issues in http-party/http-server

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.