Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prettier/plugin-ruby

Package Overview
Dependencies
Maintainers
9
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prettier/plugin-ruby - npm Package Versions

1
67

0.4.1

Diff

Changelog

Source

[0.4.1] - 2019-02-12

Changed

  • kddnewton - Provide the makeList utility for the nodes that are lists from within ripper.
  • awinograd, kddnewton - Again, this time for real, properly escape strings.
  • kddnewton - Fix up trailing commas on command calls.
kddeisz
published 0.4.0 •

Changelog

Source

[0.4.0] - 2019-02-12

Added

  • Overload119, kddnewton - Support the trailingComma configuration option (defaults to false).

Changed

  • NoahTheDuke, kddnewton - Pass the code to be formatted over stdin.
kddeisz
published 0.3.7 •

Changelog

Source

[0.3.7] - 2019-02-11

Changed

  • kddnewton - Split up statements even if they started on the same line with ;s unless they are within an embedded expression.
  • kddnewton - Properly handle escaped quotes within strings.
kddeisz
published 0.3.6 •

Changelog

Source

[0.3.6] - 2019-02-10

Changed

  • AlanFoster, kddnewton - Support the not operator properly.
  • AlanFoster, kddnewton - Handle comments properly inside if, unless, and when nodes.
kddeisz
published 0.3.5 •

Changelog

Source

[0.3.5] - 2019-02-09

Changed

  • kddnewton - Handle lonely operators in Ruby 2.5.
kddeisz
published 0.3.4 •

Changelog

Source

[0.3.4] - 2019-02-09

Changed

  • kddnewton - Comments are now properly attached inside defs nodes.
  • kddnewton - Support multiple inline comments on nodes.
  • kddnewton - Support inline comments from within the EXPR_END|EXPR_LABEL lexer state.
  • cbothner - Stop transforming multistatement blocks with to_proc.
  • kddnewton - do blocks necessarily need to break their parent nodes.
  • eins78, kddnewton - Handle next node edge case with args_add as the body.
kddeisz
published 0.3.3 •

Changelog

Source

[0.3.3] - 2019-02-09

Changed

  • bugthing, kddnewton - Command nodes within conditionals now break parents to disallow them from being turned into ternary expressions.
  • awinograd, kddnewton - Properly escape double quotes when using preferSingleQuotes: false.
kddeisz
published 0.3.2 •

Changelog

Source

[0.3.2] - 2019-02-09

Changed

  • kddnewton - Don't define duplicated methods in the parser.
  • kddnewton - Let prettier know about .rb and .rake files so you don't have to specify the parser when running.
  • kddnewton - Renamed the package to @prettier/plugin-ruby.
1
67
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc