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

java-parser

Package Overview
Dependencies
Maintainers
6
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

java-parser - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

api.d.ts

7

package.json
{
"name": "java-parser",
"version": "0.8.0",
"version": "0.8.1",
"description": "Java Parser in JavaScript",

@@ -8,5 +8,6 @@ "main": "src/index.js",

"license": "Apache-2.0",
"types": "./api.d.ts",
"dependencies": {
"chevrotain": "6.5.0",
"lodash": "4.17.15"
"lodash": "4.17.20"
},

@@ -18,3 +19,3 @@ "scripts": {

},
"gitHead": "9c025b1859bdd065326d253a262e9538462cd380"
"gitHead": "59a70396d425b970bb736114bfcb112658156f8c"
}

@@ -225,11 +225,3 @@ "use strict";

// to avoid backtracking for performance reasons.
{
ALT: () => {
$.SUBRULE($.unannPrimitiveType);
$.OPTION({
GATE: () => this.BACKTRACK_LOOKAHEAD($.isDims),
DEF: () => $.SUBRULE2($.dims)
});
}
},
{ ALT: () => $.SUBRULE($.unannPrimitiveTypeWithOptionalDimsSuffix) },
{ ALT: () => $.SUBRULE($.unannReferenceType) }

@@ -239,2 +231,10 @@ ]);

$.RULE("unannPrimitiveTypeWithOptionalDimsSuffix", () => {
$.SUBRULE($.unannPrimitiveType);
$.OPTION({
GATE: () => this.BACKTRACK_LOOKAHEAD($.isDims),
DEF: () => $.SUBRULE2($.dims)
});
});
// https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-UnannPrimitiveType

@@ -241,0 +241,0 @@ $.RULE("unannPrimitiveType", () => {

@@ -222,5 +222,3 @@ "use strict";

{ ALT: () => $.CONSUME(t.Void) },
// should be extracted to primitive type with optional dims suffix?
{ ALT: () => $.SUBRULE($.numericType) },
{ ALT: () => $.CONSUME(t.Boolean) },
{ ALT: () => $.SUBRULE($.unannPrimitiveTypeWithOptionalDimsSuffix) },
{ ALT: () => $.SUBRULE($.fqnOrRefType) },

@@ -227,0 +225,0 @@ {

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