New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rocambole-indent

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rocambole-indent - npm Package Versions

2.0.4

Diff

Changelog

Source

v2.0.4 (2015-05-02)

  • align comments surrounded by empty lines with next non-empty line. (#6)
millermedeiros
published 2.0.3 •

Changelog

Source

v2.0.3 (2015-03-26)

  • fix comment alignment if surrounded by empty lines (#5)
millermedeiros
published 2.0.2 •

Changelog

Source

v2.0.2 (2015-03-25)

  • fix edge cases related to comments just after { followed by an empty line.
millermedeiros
published 2.0.1 •

Changelog

Source

v2.0.1 (2015-03-25)

  • safeguard against empty nodes/ast on alignComments()
millermedeiros
published 2.0.0 •

Changelog

Source

v2.0.0 (2015-03-25)

  • change alignComments() rule to add one indent level if comment is inside empty block/array/parenthesis
millermedeiros
published 1.1.1 •

Changelog

Source

v1.1.1 (2015-03-25)

  • fix WhiteSpace conversion into Indent inside alignComments()
millermedeiros
published 1.1.0 •

Changelog

Source

v1.1.0 (2015-03-25)

  • update alignComments() to consider WhiteSpace tokens at the begining of the line as Indent tokens as well
  • add whiteSpaceToIndent()
millermedeiros
published 1.0.0 •

Changelog

Source

v1.0.0 (2015-03-24)

  • add alignComments()
  • expose updateBlockComment()
millermedeiros
published 0.2.0 •

Changelog

Source

v0.2.0 (2015-03-20)

  • rename line() as addLevel()
  • change the way inBetween() loops through the start and end tokens (not inclusive)
  • sanitize() won't call updateBlockComment() since this is already handled by addLevel()
millermedeiros
published 0.1.0 •

Changelog

Source

v0.1.0 (2015-03-20)

  • initial release
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