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

brighterscript

Package Overview
Dependencies
Maintainers
1
Versions
303
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brighterscript - npm Package Versions

1
2224
31

0.23.0

Diff
twitchbronbron
published 0.23.0 •

Changelog

Source

0.23.0 - 2020-12-18

Changed

  • AST parser refactoring (#244)
    • Make ElseIf into an ElseIfStatement
    • Removed ElseIf token in favor of separate else and if tokens
    • Refactored statement separators processing and cleaned error messages
    • Improved try-catch parsing
    • Improved label error handling

Fixed

  • bug causing invalid diagnostics to be thrown on files with multiple dots in their names (#257)
  • syntax error for integer type declaration character (#254)
  • syntax error for floats with more than 5 decimal places that also have a trailing exponent (#255)
twitchbronbron
published 0.22.1 •

Changelog

Source

0.22.1 - 2020-12-14

Fixed

  • small bug introduced by vscode-languageserver causing crashes anytime negative range values are provided.
twitchbronbron
published 0.22.0 •

Changelog

Source

0.22.0 - 2020-11-23

Added

  • try/catch and throw syntax support #218
twitchbronbron
published 0.21.0 •

Changelog

Source

0.21.0 - 2020-11-19

Added

  • Catch when local variables and scope functions have the same name as a class. (#246)
  • Catch when functions use keyword names (#247)

Changed

  • many internal changes:
    • remove all the BrsType objects leftover from the upstream brs project. Things like ValueKind, BrsType, the Token.literal property.
    • rename the brighterscript BrsType class to BscType for more distinction from the now deleted from-upstream BrsType.
    • Modify the createToken function in astUtils/creators.ts to accept a range, or use a default negative range.
    • Use the BscType objects for basic parser type tracking (this replaces ValueKind and BrsType from upstream brs project).
    • minor AST property changes for ForStatement and FunctionStatement,
    • any ValueKind references in code have been replaced with an instance of a BscType (which will be the backbone of future type tracking)
    • Updated ForStatement to no longer include synthetic step 1 tokens when those were not included in the source file.
    • remove eliminated BrsType items from reflection.ts.
twitchbronbron
published 0.20.1 •

Changelog

Source

0.20.1 - 2020-11-16

Changed

  • load plugins relatively to the project (#242)
  • modified reflection utilities so they are compatible with TS strict null checks (#243)
twitchbronbron
published 0.20.0 •

Changelog

Source

0.20.0 - 2020-11-13

Added

  • more language server features: onWorkspaceSymbol, onSignatureHelp, onDocumentSymbol, onReferences, improve onDefinition (#191)
twitchbronbron
published 0.19.0 •

Changelog

Source

0.19.0 - 2020-11-04

Changed

  • emitDefinitions now defaults to false (it previously defaulted to true)

Fixed

  • don't transpile d.bs files (which would produce d.brs files with duplicate information in them)
twitchbronbron
published 0.18.2 •

Changelog

Source

0.18.2 - 2020-11-2

Fixed

  • support on-demand parse for typedef-shadowed files (#237)
twitchbronbron
published 0.18.1 •

Changelog

Source

0.18.1 - 2020-10-30

Fixed

  • exclude bs1100 for typedef files (Missing "super()" call in class constructor method.)
  • fix some invalid class field types in typedef files
  • include override keyword in class methods in typedef files
twitchbronbron
published 0.18.0 •

Changelog

Source

0.18.0 - 2020-10-30

Added

  • support for consuming and producing type definitions. (188)