-
Notifications
You must be signed in to change notification settings - Fork 73
Bump css_parser to 3.0.0 (CVE-2026-53727) #4353
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -180,6 +180,8 @@ def traffic_graph | |
|
|
||
| def traffic_graph_style(svg) | ||
| xml = Nokogiri::XML(svg) | ||
| # cleaning up `a` elements can be removed with prawn-svg 0.40.4+ | ||
| xml.css('a').each { |a| a.replace(a.children) } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. svg-graph wraps data points in elements (empty |
||
| style = xml.at_css("style") | ||
| css = CssParser::Parser.new | ||
| css.load_string!(style.text.gsub(/ff0000/i, "9273ED")) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -250,3 +250,9 @@ | |
| :why: Approved by OSI and Fedora | ||
| :versions: [] | ||
| :when: 2026-04-29 07:57:00.547859043 Z | ||
| - - :permit | ||
| - GPL-2.0-only | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also see prawnpdf/prawn#1397 |
||
| - :who: Aleksandar Kostadinov | ||
| :why: this is the preferred SPDX name of the already approved but deprecated GPL-2 and GPL-2.0 identifiers | ||
| :versions: [] | ||
| :when: 2026-07-24 18:16:05.649037719 Z | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jlledom there was something with addressable but I forgot what it was 🤔