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

brighterscript

Package Overview
Dependencies
Maintainers
2
Versions
294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brighterscript - npm Package Versions

1
30

0.16.4

Diff

Changelog

Source

0.16.4 - 2020-10-12

Changed

  • LanguageServer now sends a diff of diagnostics for files, instead of the entire project's diagnostics every time. (#204)

Fixed

  • transpile bug for namespaced class constructors that wouldn't properly prepend the namespace in some situations. (#208)
  • bug in class validation that was causing bogus diagnostics during class construction in namespaces.(#203)
twitchbronbron
published 0.16.3 •

Changelog

Source

0.16.3 - 2020-10-11

Changed

  • Add generic type parameter for Program add functions.
  • Export BscType type to simplify BrsFile | XmlFile usage everywhere.

Fixed

  • Prevent bogus diagnostic on all callfunc operations (#205)
twitchbronbron
published 0.16.2 •

Changelog

Source

0.16.2 - 2020-10-09

Fixed

  • critical bug in diagnostic printing that would crash the program if a diagnostic was missing a valid range.
twitchbronbron
published 0.16.1 •

Changelog

Source

0.16.1 - 2020-10-03

Changed

  • rename isEscapedCharCodeLiteral to isEscapedCharCodeLiteralExpression to match other expression class names
  • rename FunctionParameter to FunctionParameterExpression to match other expression class names
  • convert AAMemberExpression interface into an expression class.
  • convert isBrsFile and isXmlFile to check for constructor file name rather than file extension.

Fixed

  • bugs with plugin interoperability with BrighterScript when using instanceof. All internal BrighterScript logic now uses the is functions from astutils/reflection, and plugin authors should do the same.
twitchbronbron
published 0.16.0 •

Changelog

Source

0.16.0 - 2020-10-02

Added

  • Expression.walk and Statement.walk functions which provide shallow or deep walking of the AST
  • Many ast reflection methods to be used instead of instanceof.
  • plugin system (still in alpha) support for re-scanning the AST after modifing the AST by calling invalidateReferences()
  • every token has a leadingWhitespace property now that contains leading whitespace. Retrieving whitespace tokens from the Lexer will be removed in a future update in favor of this appraoch

Changed

  • all AST nodes now extend either Statement or Expression instead of simply implementing their interfaces.

Removed

  • several AST walking functions from astUtils/ in favor of direct node walking
twitchbronbron
published 0.15.2 •

Changelog

Source

0.15.2 - 2020-10-01

Fixed

  • Bug in component validation that would throw errors if component name was undefined (generally due to an XML parse error). (#194)
twitchbronbron
published 0.15.1 •

Changelog

Source

0.15.1 - 2020-09-30

Fixed

  • improved performance in the lexer and parser
  • potential for accidentally changing cwd during bsconfig resolving
twitchbronbron
published 0.15.0 •

Changelog

Source

0.15.0 - 2020-09-18

Added

  • plugin API to allow visibility into the various compiler phases. This is currently in alpha. (#170)
twitchbronbron
published 0.14.0 •

Changelog

Source

0.14.0 - 2020-09-04

Changed

  • Add error diagnostic BS1115 which flags duplicate component names #186
twitchbronbron
published 0.13.2 •

Changelog

Source

0.13.2 - 2020-08-31

Changed

  • Upgraded BS1104 to error (previously a warning) and refined the messaging.
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