🚨 [security] Update thor 1.3.0 → 1.4.0 (minor) #919
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 🚨
🚨 Thor can construct an unsafe shell command from library input.
Release Notes
1.4.0
1.3.2
1.3.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 65 commits:
Prepare for 1.4.0
Update devcontainer configuration
Merge pull request #904 from rails/revert-893-use-secure-thor-link
Revert "Use secure whatisthor.com link"
Merge pull request #890 from Uaitt/update-gh-action-versions
Merge pull request #891 from Uaitt/correct-typo-in-comment
Merge pull request #877 from G-Rath/gsub_file-error-on-no-change
Merge pull request #900 from moguls753/main
Merge pull request #897 from odaysec/patch-1
Merge pull request #898 from Edouard-chin/ec-encoding
Update basic.rb
Merge pull request #892 from deivid-rodriguez/lazily-load-yaml
Merge pull request #893 from hlascelles/use-secure-thor-link
Merge pull request #902 from olleolleolle/patch-1
release.yml: use latest Ruby, and actions/checkout@v4
Use git difftool if no ENV is set
fix: update docblock
feat: don't support erroring as an option on original `gsub_file`
feat: add `gsub_file!` method
feat: add option to have `gsub_file` error if file contents don't change
Fix encoding error when trying to show a diff:
Merge pull request #899 from yahonda/add_ruby34
Ruby 3.5 moves readline as bundled gem
Ruby 3.5 moves rdoc as bundled gem
Use latest bundler if Ruby version is 3 or higher
Add Ruby 3.4 to CI matrix
Use secure thor link
Lazily load YAML
Correct typo in comment
Update GitHub actions versions
Merge pull request #886 from yahonda/chilled_strings
Address `warning: literal string will be frozen in the future`
Merge pull request #887 from yahonda/hash_inspect
Support Ruby 3.4 `Hash#inspect` change
Fix spelling of "cannot" (#885)
Fix release script
Prepare for 1.3.2
Add release workflow
Merge pull request #878 from takmar/fix/find-class-and-command-name
Fix find_class_and_command_by_namespace to correctly identify hyphenated and alias command names
Add command_exists? method to Thor and Thor::Group classes
Merge pull request #880 from duffuniverse/fix-typos-in-readme
Add a missed comma to readme
Fix a few typos in README
Prepare for 1.3.1
Merge pull request #876 from andrewn617/improve-boolean-parse-documentation
Fix test on Ruby head
Merge pull request #873 from viktorianer/fix-uncomment-lines-space-which-existed-before-the-comment-hash
Merge pull request #872 from ancao90/fix-documentation
Improve the code documentation with indentation (#863)
Merge pull request #871 from m-nakamura145/update-checkout-action
Merge pull request #869 from amatsuda/bundler_24_warnings
Update .github/workflows/tests.yml
Merge pull request #867 from p8/refactor/remove-string-encode-conditional
Merge pull request #866 from m-nakamura145/update-ci-matrix
Merge pull request #865 from takmar/fix-typo
Document the '--skip-' option for boolean options.
Fix uncomment_lines method to preserve indentation correctly
fix documentation of action `copy_file`
Bump actions/checkout
Avoid loading bundler 2.4.22 that vendorizes thor 1.3.0
Fix typo
Remove String#encode conditional required by Ruby < 2.6
Add Ruby 3.3 to CI matrix
Simply dump strings to escape
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