Skip to content
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

Bump prettier_print from 0.1.0 to 1.2.1 #530

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2023

Bumps prettier_print from 0.1.0 to 1.2.1.

Changelog

Sourced from prettier_print's changelog.

[1.2.1] - 2023-03-09

Changed

  • Fixed a bug where having line suffixes on the final line without a breakable could cause an infinite loop.

[1.2.0] - 2022-12-23

Added

  • You can now supply the base indentation level for the output buffer.

[1.1.0] - 2022-11-08

Added

  • prettier_print now works with Ractors.

[1.0.2] - 2022-10-19

Changed

  • Fix trailing whitespace stripping to not including newlines.

[1.0.1] - 2022-10-18

Changed

  • breakable_return - should also break parent

[1.0.0] - 2022-10-17

Added

  • breakable_space - a shortcut for breakable
  • breakable_empty - a shortcut for breakable("")
  • breakable_force - a shortcut for breakable("", force: true)
  • breakable_return - a shortcut for breakable(" ", indent: false, force: true)
  • Strings can now be added directly to the output buffer, which means they don't have to be placed into the Text node. This cuts down on quite a bit of allocations.

Changed

  • trim now strips its whitespace using rstrip! instead of a custom gsub!. This means that other forms of whitespace beyond tabs and spaces are included. This shouldn't really impact anyone unless they're using vertical tab or something in combination with trim and wanted them to stay in.

Removed

  • There is no longer a PrettierPrint::DefaultBuffer class. Since there were only ever two implementations, those implementations now no longer share a parent.
  • PrettierPrint::IndentLevel is now entirely gone. This was mostly an implementation detail, and no one should have been relying on it anyway. However, it means that the ability to use nest with a string literal is now gone as well. It can be created again by using seplist though, so the functionality just isn't there in the shortcut version. This means we're able to keep track of indentation as a single integer again, which drastically simplifies the code.
Commits
  • 477cf9a Fix infinite loop, bump to version 1.2.1
  • 8070f7c Merge pull request #8 from ruby-syntax-tree/dependabot/github_actions/dependa...
  • 2459d7c Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6
  • d9f88a7 Merge pull request #7 from ruby-syntax-tree/dependabot/github_actions/dependa...
  • 144e340 Bump dependabot/fetch-metadata from 1.3.3 to 1.3.5
  • e13ace4 Fix up links for badges
  • f39b8a6 A couple of doc changes
  • 5b6a36b Merge pull request #6 from ruby-syntax-tree/dependabot/bundler/simplecov-0.22.0
  • 23f2355 Bump simplecov from 0.21.2 to 0.22.0
  • 4750abd Bump to v1.2.0
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 10, 2023

The following labels could not be found: dependencies, ruby.

@dependabot dependabot bot temporarily deployed to dependabot-automerge March 10, 2023 01:09 Inactive
@github-actions
Copy link

github-actions bot commented Mar 10, 2023

size-limit report 📦

Path Size
public/vite/assets/application.ea082db7.js, public/vite/assets/index.78c8fc7f.js, public/vite/assets/vendor.ea391c4b.js 48.02 KB (0%)

@dependabot dependabot bot force-pushed the dependabot/bundler/prettier_print-1.2.1 branch from 546ec2f to 2d3f49b Compare March 17, 2023 01:18
@dependabot dependabot bot temporarily deployed to dependabot-automerge March 17, 2023 01:18 Inactive
Bumps [prettier_print](https://github.com/ruby-syntax-tree/prettier_print) from 0.1.0 to 1.2.1.
- [Release notes](https://github.com/ruby-syntax-tree/prettier_print/releases)
- [Changelog](https://github.com/ruby-syntax-tree/prettier_print/blob/main/CHANGELOG.md)
- [Commits](ruby-syntax-tree/prettier_print@v0.1.0...v1.2.1)

---
updated-dependencies:
- dependency-name: prettier_print
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/prettier_print-1.2.1 branch from 2d3f49b to 2b99811 Compare March 17, 2023 01:18
@dependabot dependabot bot temporarily deployed to dependabot-automerge March 17, 2023 01:18 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants