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
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brighterscript - npm Package Compare versions

Comparing version 0.34.0 to 0.34.1

7

CHANGELOG.md

@@ -9,2 +9,8 @@ # Changelog

## [0.34.1] - 2021-03-02
### Fixed
- syntax parsing bugs within single-line if statements
## [0.34.0] - 2021-02-28

@@ -1010,1 +1016,2 @@ ### Added

[0.34.0]: https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0
[0.34.1]: https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1

@@ -205,2 +205,15 @@ "use strict";

});
it('parses special statements in inline block', () => {
const { statements, diagnostics } = Parser_1.Parser.parse(`
if true print 1 else print 1
if true then print 1 else print 1
if true print "x=" ; 1 else print 1
if true then print "x=", 1 else print 1
if true print "x=" 1 else print 1
if true return else print 1
if true then return else print 1
`);
chai_1.expect(diagnostics).to.be.lengthOf(0);
chai_1.expect(statements).to.be.length.greaterThan(0);
});
});

@@ -207,0 +220,0 @@ describe('block if', () => {

2

package.json
{
"name": "brighterscript",
"version": "0.34.0",
"version": "0.34.1",
"description": "A superset of Roku's BrightScript language.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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