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

vf-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vf-parser - npm Package Compare versions

Comparing version

to
1.0.1

lib/__tests__/PageParserTest.d.ts

14

lib/__tests__/PageParserTest.js

@@ -12,6 +12,6 @@ "use strict";

test("Single element page", () => {
let lexer = new VFLexer_1.VFLexer(antlr4ts_1.CharStreams.fromString("<apex:page/>"));
let tokens = new antlr4ts_1.CommonTokenStream(lexer);
let parser = new VFParser_1.VFParser(tokens);
let context = parser.vfUnit();
const lexer = new VFLexer_1.VFLexer(antlr4ts_1.CharStreams.fromString("<apex:page/>"));
const tokens = new antlr4ts_1.CommonTokenStream(lexer);
const parser = new VFParser_1.VFParser(tokens);
const context = parser.vfUnit();
expect(context).toBeInstanceOf(VFParser_1.VfUnitContext);

@@ -21,5 +21,5 @@ expect(context.element()).toBeInstanceOf(VFParser_1.ElementContext);

test("Broken page", () => {
let lexer = new VFLexer_1.VFLexer(antlr4ts_1.CharStreams.fromString("<apex:page"));
let tokens = new antlr4ts_1.CommonTokenStream(lexer);
let parser = new VFParser_1.VFParser(tokens);
const lexer = new VFLexer_1.VFLexer(antlr4ts_1.CharStreams.fromString("<apex:page"));
const tokens = new antlr4ts_1.CommonTokenStream(lexer);
const parser = new VFParser_1.VFParser(tokens);
parser.removeErrorListeners();

@@ -26,0 +26,0 @@ parser.addErrorListener(new ThrowingErrorListener_1.ThrowingErrorListener());

{
"name": "vf-parser",
"version": "1.0.0",
"version": "1.0.1",
"author": "Kevin Jones <nawforce@gmail.com> (https://github.com/nawforce)",

@@ -5,0 +5,0 @@ "bugs": "https://github.com/nawforce/vf-parser/issues",

@@ -31,2 +31,3 @@ vf-parser

### History
1.0.1 - Added TS declarations
1.0.0 - Initial version

@@ -33,0 +34,0 @@

Sorry, the diff of this file is not supported yet