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

@solidity-parser/parser

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solidity-parser/parser - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

17

dist/ASTBuilder.js

@@ -568,6 +568,21 @@ 'use strict';

var isVirtual = false;
if (ctx.VirtualKeyword(0)) {
isVirtual = true;
}
var override = void 0;
var overrideSpecifier = ctx.overrideSpecifier();
if (overrideSpecifier.length === 0) {
override = null;
} else {
override = this.visit(overrideSpecifier[0].userDefinedTypeName());
}
return {
name: toText(ctx.identifier()),
parameters: parameters,
body: this.visit(ctx.block())
body: this.visit(ctx.block()),
isVirtual: isVirtual,
override: override
};

@@ -574,0 +589,0 @@ },

@@ -140,2 +140,6 @@ // Type definitions for solidity-parser-antlr 0.2

name: string;
parameters: null | VariableDeclaration[];
isVirtual: boolean;
override: null | UserDefinedTypeName[];
body: Block;
}

@@ -142,0 +146,0 @@ export interface ModifierInvocation extends BaseASTNode {

2

package.json
{
"name": "@solidity-parser/parser",
"version": "0.6.1",
"version": "0.6.2",
"description": "A Solidity parser built from a robust ANTLR 4 grammar",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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