Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Upgrades htmlparser2 to new major version ^8.0.0. (#1) - #567

Closed
kedarchandrayan wants to merge 1 commit into
apostrophecms:mainfrom
kedarchandrayan:main
Closed

kedarchandrayan wants to merge 1 commit into
apostrophecms:mainfrom
kedarchandrayan:main

Conversation

@kedarchandrayan

Copy link
Copy Markdown
Contributor

Summary

Closes #565

What are the specific steps to test this change?

All existing behavior should remain same.

What kind of change does this PR introduce?

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Build-related changes
  • Other - Upgrading htmlparser2 version

Make sure the PR fulfills these requirements:

  • It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
  • The changelog is updated
  • Related documentation has been updated
  • Related tests have been updated

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

@boutell boutell left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for contributing. Some concerns:

  • Did htmlparser2 change their nodejs version requirements? Did they change their options in a backwards-incompatible way? Either would require a major version bump for sanitize-html.
  • This PR changes many unrelated things. Please submit a clean PR just for this change and any required changes to support it.
  • This PR removes a unit test without explanation. Please provide an explanation for the removal and why it is safe to skip that test.

@kedarchandrayan

Copy link
Copy Markdown
Contributor Author

Closing this PR in favour of the clean new PR #573

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use latest htmlparser2

2 participants