Skip to content
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

Remove Nokogumbo dependency #220

Merged
merged 2 commits into from Sep 30, 2021
Merged

Remove Nokogumbo dependency #220

merged 2 commits into from Sep 30, 2021

Conversation

kevindew
Copy link
Member

@kevindew kevindew commented Sep 30, 2021

What

This removes the Nokogumbo dependency both directly from this gem, and indirectly by updating Sanitize

Why

Nokogumbo is no longer needed as an additional dependency see: sparklemotion/nokogiri#2205. It's presence leaves a warning message each time it is required of NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See https://github.com/sparklemotion/nokogiri/issues/2205 for more information.

Visual Changes

None

By removing Nokogumbo we can resolve a warning that downstream apps are
emitting of "NOTE: nokogumbo: Using Nokogiri::HTML5 provided by
Nokogiri. See sparklemotion/nokogiri#2205 for
more information."
This version of Sanitize no longer has a dependency on Nokogumbo and
will stop our apps emitting a Nokogumbo warning.

Although Sanitize 5.2.3 -> 6 is a major version upgrade, the changes are
very benign. With the bump given a major status due to the dropping of
old Ruby versions (that this gem had already dropped) [1]

[1]: https://github.com/rgrove/sanitize/blob/main/HISTORY.md#600-2021-08-03
Copy link
Contributor

@leenagupte leenagupte left a comment

Choose a reason for hiding this comment

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

👍

@kevindew kevindew merged commit 8b675e8 into main Sep 30, 2021
@kevindew kevindew deleted the remove-nokogumbo branch September 30, 2021 09:36
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.

None yet

2 participants