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

brighterscript-formatter

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brighterscript-formatter - npm Package Versions

1
68

1.2.0

Diff

Changelog

Source

[1.2.0] - 2020-05-20

Added

  • new option insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces which...does what it says. (#16

Changed

  • TypeScript transpile now targets ES2017, so this library now requires a minimum of NodeJS version 8.

Fixed

  • incorrect indent when using class, endclass, namespace, endnamespace as an object property (#18)
twitchbronbron
published 1.1.8 •

Changelog

Source

[1.1.8] - 2020-05-11

Fixed

  • bug that would incorrectly add spacing between a negative sign and a number if it's the first entry in an array (#14)
  • bug that would incorrectly add spacing to the left of a negative sign if preceeded by a left curly bracket or left paren.
  • Prevent indent after lines with indexed getter function call (i.e. someObj[someKey]()) (#15)
twitchbronbron
published 1.1.7 •

Changelog

Source

[1.1.7] - 2020-05-11

Changed

twitchbronbron
published 1.1.6 •

Changelog

Source

[1.1.6] - 2020-05-04

twitchbronbron
published 1.1.5 •

Changelog

Source

[1.1.5] - 2020-05-01

Added

  • new formatting option typeCaseOverride which works just like keywordCaseOverride but only for type tokens.

Fixed

  • conditional compile keywordCaseOverride and typeCaseOverride characters now support using the literal tokens #if, #else, etc...
twitchbronbron
published 1.1.4 •

Changelog

Source

[1.1.4] - 2020-05-01

Fixed

  • incorrect indent of upper-case two-word conditional compile blocks #ELSE IF and #END IF.

Changed

twitchbronbron
published 1.1.3 •

Changelog

Source

[1.1.3] - 2020-05-01

Fixed

  • Unwanted spacing between a negative sign and a number whenever preceeded by a comma (#8)
  • Remove whitespace preceeding a comma within a statement (#5)
  • Remove leading whitespace around ++ and -- (#10)
  • bug when providing null to keywordCaseOverride would case crash
  • Fix bug with titleCase not being properly handled.
  • Only indent once for left square bracket and left square curly brace on the same line (#6)
twitchbronbron
published 0.1.2 •

twitchbronbron
published 1.1.1 •

Changelog

Source

[1.1.1] - 2020-04-27

Fixed

  • bug that was losing an indent level when indenting foreach statements
twitchbronbron
published 1.1.0 •

Changelog

Source

[1.1.0] - 2020-04-23

Added

  • indent support for class and namespace
  • keyword case support for class, namespace, and import keywords

Changed

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