This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
🚨 [security] [ruby] Update rexml 3.2.5 → 3.2.8 (patch) #2220
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
Security Advisories 🚨
🚨 REXML contains a denial of service vulnerability
Release Notes
3.2.7
3.2.6
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 58 commits:
Add 3.2.8 entry
Remove an unused variable (#128)
Suppress a warning
ci: install only gems required for running tests (#129)
Add missing Thanks section
Bump version
Add 3.2.7 entry
Read quoted attributes in chunks (#126)
Exclude older than 2.6 on macos-14
Move development dependencies to Gemfile (#124)
Fix a problem that parse exception message can't be generated for invalid encoding XML (#123)
xpath: Fix wrong position with nested path (#122)
Change `attribute.has_key?(name)` to ` attributes[name]`. (#121)
Optimize the parse_attributes method to use `Source#match` to parse XML. (#119)
Make the test suite compatible with `--enable-frozen-string-literal` (#120)
Separate `IOSource#ensure_buffer` from `IOSource#match`. (#118)
Remove `Source#string=` method (#117)
source: Remove unnecessary string length comparisons in the case of string comparisons (#116)
Use more StringScanner based API to parse XML (#114)
test: Fix invalid XML with spaces before the XML declaration (#115)
Stop specifying the gem version of strscan in benchmarks. (#113)
Remove unnecessary checks in baseparser (#112)
xpath: Fix normalize_space(array) case (#111)
Change loop in parse_attributes to `while true`. (#109)
Reduce calls to StringScanner.new() (#108)
Use `@scanner << readline` instead of `@scanner.string = @scanner.rest + readline` (#107)
Reduce calls to `Source#buffer`(`StringScanner#rest`) (#106)
Use string scanner with baseparser (#105)
Add parse benchmark (#104)
Use reusing workflow for Ruby versions (#103)
CI: Add ruby-3.3 (#102)
build(deps): bump actions/checkout from 3 to 4 (#101)
Bump version
Add 3.2.6 entry
ci: add support for creating release automatically
doc: Fix some method links in tutorial (#99)
xpath abbreviate: add a special case for only "//"
xpath abbreviate: rewrite to support complex cases
xpath: add a test for XPathParser#abbreviate
xpath: rename "string" to "path"
xpah abbreviate: add missing "/" to :descendant_or_self/:self/:parent
xpath abbreviate: add support for string literal that contains double-quote (#96)
xpath: fix a bug that #abbreviate can't handle function arguments
Performance and memory optimizations (#94)
CI against Ruby 3.0, 3.1, and 3.2 (#93)
attribute: don't convert ' and ' with {attribute_quote: :quote}
Bump actions/checkout from 2 to 3 (#90)
Added dependabot for GitHub Actions (#89)
Fix RDoc for Element (#87)
gemspec: Drop unused directives (#83)
Fix typos
doc: link to tutorial (#78)
Tutorial (#77)
Fix typo in NEWS.md (#75)
Fix typo in NEWS.md (#72)
Document that REXML follows the Ruby maintenance cycle (#71)
Set 2.5 as minimum required ruby version for gem (#70)
Bump version
🆕 strscan (added, 3.1.0)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands