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.0 to 0.6.1

6

dist/ASTBuilder.js

@@ -856,2 +856,7 @@ 'use strict';

var isImmutable = false;
if (ctx.ImmutableKeyword(0)) {
isImmutable = true;
}
var decl = this.createNode({

@@ -866,2 +871,3 @@ type: 'VariableDeclaration',

isIndexed: false,
isImmutable: isImmutable,
override: override

@@ -868,0 +874,0 @@ }, iden);

5

index.d.ts

@@ -124,3 +124,3 @@ // Type definitions for solidity-parser-antlr 0.2

type: 'StateVariableDeclaration';
variables: VariableDeclarationWithOverride[];
variables: StateVariableDeclarationVariable[];
initialValue?: Expression;

@@ -184,4 +184,5 @@ }

}
export interface VariableDeclarationWithOverride extends VariableDeclaration {
export interface StateVariableDeclarationVariable extends VariableDeclaration {
override: null | UserDefinedTypeName[];
isImmutable: boolean;
}

@@ -188,0 +189,0 @@ export interface UserDefinedTypeName extends BaseASTNode {

2

package.json
{
"name": "@solidity-parser/parser",
"version": "0.6.0",
"version": "0.6.1",
"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