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

@apexdevtools/apex-parser

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apexdevtools/apex-parser - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

4

CHANGELOG.md
# apex-parser - Changelog
## 3.5.0 - 2023-10-15
- Correct do-while to require block rather than statement
## 3.4.0 - 2023-08-22

@@ -4,0 +8,0 @@

@@ -144,2 +144,14 @@ "use strict";

});
test('testDoWhileBlock', () => {
const [parser, errorCounter] = (0, SyntaxErrorCounter_1.createParser)("public class Hello {{ do { System.debug(''); } while (true); }}");
const context = parser.compilationUnit();
expect(context).toBeInstanceOf(ApexParser_1.CompilationUnitContext);
expect(errorCounter.getNumErrors()).toEqual(0);
});
test('testDoWhileWithoutBlockFails', () => {
const [parser, errorCounter] = (0, SyntaxErrorCounter_1.createParser)("public class Hello {{ do System.debug(''); while (true); }}");
const context = parser.compilationUnit();
expect(context).toBeInstanceOf(ApexParser_1.CompilationUnitContext);
expect(errorCounter.getNumErrors()).toEqual(3);
});
//# sourceMappingURL=ApexParserTest.js.map

2

package.json
{
"name": "@apexdevtools/apex-parser",
"version": "3.4.0",
"version": "3.5.0",
"author": "Apex Dev Tools Team <apexdevtools@gmail.com> (https://github.com/apex-dev-tools)",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/apex-dev-tools/apex-parser/issues",

@@ -51,3 +51,3 @@ # apex-parser

<artifactId>apex-parser</artifactId>
<version>3.4.0</version>
<version>3.5.0</version>
</dependency>

@@ -57,3 +57,3 @@

"@apexdevtools/apex-parser": "^3.4.0"
"@apexdevtools/apex-parser": "^3.5.0"

@@ -60,0 +60,0 @@ ## Building

Sorry, the diff of this file is not supported yet

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

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

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