Socket
Socket
Sign inDemoInstall

@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.12.0 to 0.12.1

2

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

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

@@ -554,3 +554,3 @@ import antlr4 from 'antlr4'

let kind = null;
let kind = null
if (ctx.identifier()) {

@@ -809,2 +809,9 @@ kind = toText(ctx.identifier())

) {
if (ctx.getChild(2).getText() === ':') {
return {
type: 'IndexRangeAccess',
base: (this as any).visit(ctx.getChild(0)),
}
}
return {

@@ -1029,5 +1036,5 @@ type: 'IndexAccess',

const isUnicode = text.slice(0, 7) === 'unicode';
const isUnicode = text.slice(0, 7) === 'unicode'
if (isUnicode) {
text = text.slice(7);
text = text.slice(7)
}

@@ -1309,3 +1316,3 @@ const singleQuotes = text[0] === "'"

parts: [value],
isUnicode: [false] // assembly doesn't seem to support unicode literals right now
isUnicode: [false], // assembly doesn't seem to support unicode literals right now
}

@@ -1312,0 +1319,0 @@ }

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 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