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

brighterscript

Package Overview
Dependencies
Maintainers
0
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brighterscript - npm Package Versions

1
2729
31

0.9.7

Diff
twitchbronbron
published 0.9.7 •

Changelog

Source

0.9.7 - 2020-05-14

Changed

  • TypeScript target to "ES2017" which provides a significant performance boost in lexer (~30%) and parser (~175%)

Fixed

  • the binary name got accidentally renamed to bsc2 in release 0.9.6. This release fixes that issue.
  • removed some debug logs that were showing up when not using logLevel=debug
  • false negative diagnostic when using the new keyword as a local variable #79
twitchbronbron
published 0.9.6 •

Changelog

Source

0.9.6 - 2020-05-11

Added

  • logLevel option from the bsconfig.json and command prompt that allows specifying how much detain the logging should contain.
  • additional messages during cli run

Changed

  • don't terminate bsc on warning diagnostics
  • removed extraneous log statements from the util module

Fixed

  • fixed bugs when printing diagnostics to the console that wouldn't show the proper squiggly line location.
twitchbronbron
published 0.9.5 •

Changelog

Source

0.9.5 - 2020-05-06

Added

  • new config option called showDiagnosticsInConsole which disables printing diagnostics to the console

Fixed

  • bug in lexer that was capturing the carriage return character (\n) at the end of comment statements
  • bug in transpiler that wouldn't include a newline after the final comment statement
  • bug in LanguageServer that was printing diagnostics to the console when it shouldn't be.
twitchbronbron
published 0.9.4 •

Changelog

Source

0.9.4 - 2020-05-05

Added

  • diagnostic for detecting unnecessary script imports when autoImportComponentScript is enabled

Changed

  • filter duplicate dignostics from multiple projects. (#75)

Fixed

  • bug that was flagging namespaced functions with the same name as a stdlib function.
  • bug that was not properly transpiling brighterscript script tags in xml components.
  • several performance issues introduced in v0.8.2.
  • Replace type="text/brighterscript" with type="text/brightscript" in xml script imports during transpile. (#73)
twitchbronbron
published 0.9.3 •

Changelog

Source

0.9.3 - 2020-05-04

Changed

  • do not show BRS1013 for standalone files (#72)
  • BS1011 (same name as global function) is no longer shown for local variables that are not of type function (#70)

Fixed

  • issue that prevented certain keywords from being used as function parameter names (#69)
twitchbronbron
published 0.9.2 •

Changelog

Source

0.9.2 - 2020-05-02

Changed

  • intellisense anywhere other than next to a dot now includes keywords (#67)

Fixed

  • bug in the lexer that was not treating constructor as an identifier (#66)
  • bug when printing diagnostics that would sometimes fail to find the line in question (#68)
  • bug in scopes that were setting isValidated=false at the end of the validate() call instead of true
twitchbronbron
published 0.9.1 •

Changelog

Source

0.9.1 - 2020-05-01

Fixed

  • bug with upper-case two-word conditional compile tokens (#ELSE IF and #END IF) (#63)
twitchbronbron
published 0.9.0 •

Changelog

Source

0.9.0 - 2020-05-01

Added

  • new compile flag autoImportComponentScript which will automatically import a script for a component with the same name if it exists.
twitchbronbron
published 0.8.2 •

Changelog

Source

0.8.2 - 2020-04-29

Fixed

  • bugs in namespace transpilation
  • bugs in class transpilation
  • transpiled examples for namespace and class docs
  • bugs in class property initialization
twitchbronbron
published 0.8.1 •

Changelog

Source

0.8.1 - 2020-04-27

Fixed

  • Bug where class property initializers would cause parse error
  • better parse recovery for incomplete class members