chore(deps): update dependency floki to ~> 0.38.0 #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~> 0.36.2
->~> 0.38.0
Release Notes
philss/floki (floki)
v0.38.0
Compare Source
Added
This version adds initial support for the
:has
pseudo-selector.It is a great addition that enables finding elements containing
matching children.
Examples for selectors:
"div:has(h1)"
"div:has(h1, p, span)"
"div:has(p.foo)"
"div:has(img[src='https://example.com'])"
"tr:has(*:fl-contains('TEST'))"
Note that combinators like
">"
are not allowed yet.Thank you @bvobart for this feature!
Fixed
Add
:style
option documentation toFloki.text/2
.Thanks @s3cur3 for the fix.
Fix deprecation warnings for upcoming Elixir 1.19.
Prevent from crashing when selector is an empty string.
Removed
Remove support for Elixir 1.14 and OTP 23.
Remove deprecated functions and function clauses
that were accepting strings (binaries).
Affected functions:
parse/1
- removed functionmap/2
- removed functionattr/4
- removed clausefind/2
- removed clausetext/3
- removed clausetext/3
- removed clauseattribute/2
- removed clausefilter_out/2
- removed clausev0.37.1
Compare Source
Fixed
This is a fix to be compatible with the upcoming OTP 28.
v0.37.0
Compare Source
Added
Floki.css_escape/1
- thanks @SteffenDE.Fixed
raw_html/2
- thanks @andyleclair.Removed
v0.36.3
Compare Source
This release contains some performance improvements, thanks to @ypconstante.
Fixed
Stop
Floki.get_by_id/2
traversal on first match. Thanks @ypconstante.Remove extra whitespaces from nodes without attributes on
Floki.raw_html/1
.Thank you @ypconstante.
Fix
Floki.raw_html/1
typespecs. Thanks @davydog187.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.