Skip to content

Bump syntax_tree from 5.2.0 to 5.3.0 #32

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

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2023

Bumps syntax_tree from 5.2.0 to 5.3.0.

Changelog

Sourced from syntax_tree's changelog.

[5.3.0] - 2023-01-26

Added

  • #arity has been added to DefNode, BlockNode, and Params. The method returns a range where the lower bound is the minimum and the upper bound is the maximum number of arguments that can be used to invoke that block/method definition.
  • #arity has been added to CallNode, Command, CommandCall, and VCall nodes. The method returns the number of arguments included in the invocation. For splats, double splats, or argument forwards, this method returns Float::INFINITY.
  • SyntaxTree::index and SyntaxTree::index_file APIs have been added to collect a list of classes, modules, and methods defined in a given source string or file, respectively. These APIs are experimental and subject to change.
  • A plugin/disable_auto_ternary plugin has been added the disables the formatted that automatically changes permissable if/else clauses into ternaries.

Changed

  • Files are now only written from the CLI if the content of them changes, which should match watching files less chaotic.
  • In the case that rb_iseq_load cannot be found, Fiddle::DLError is now rescued.
  • Previously if there were invalid UTF-8 byte sequences after the __END__ keyword the parser could potentially have crashed when parsing comments. This has been fixed.
  • Previously there was special formatting for array literals that contained only variable references (either locals, method calls, or constants). For consistency, this has been removed and all array literals are now formatted the same way.
Commits
  • c497724 Bump to version 5.3.0
  • ee84d7c Rename plugin/disable_ternary to plugin/disable_auto_ternary
  • 475e0c5 Merge pull request #250 from davidtaylorhq/disable-ternary-plugin
  • 82dc9b7 Introduce plugin/disable_ternary
  • f3fe657 Merge pull request #267 from ruby-syntax-tree/remove-var-ref-array-formatting
  • a8ae2af Remove VarRef array formatting
  • 5a9bf11 Small arity refactor
  • 51056cd Merge pull request #257 from vinistock/vs/add_arity_to_invocations
  • 98a6b73 Bump deps
  • 3409a09 Merge pull request #266 from ruby-syntax-tree/test-coverage
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [syntax_tree](https://github.com/kddnewton/syntax_tree) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/kddnewton/syntax_tree/releases)
- [Changelog](https://github.com/ruby-syntax-tree/syntax_tree/blob/main/CHANGELOG.md)
- [Commits](ruby-syntax-tree/syntax_tree@v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: syntax_tree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 26, 2023
@github-actions github-actions bot merged commit 0dded3e into main Jan 26, 2023
@dependabot dependabot bot deleted the dependabot/bundler/syntax_tree-5.3.0 branch January 26, 2023 19:06
@davidwessman davidwessman mentioned this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants