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

prettier-plugin-java

Package Overview
Dependencies
Maintainers
6
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-java - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

7

package.json
{
"name": "prettier-plugin-java",
"version": "0.8.1",
"version": "0.8.2",
"description": "Prettier Java Plugin",

@@ -9,3 +9,3 @@ "main": "src/index.js",

"dependencies": {
"java-parser": "^0.8.1",
"java-parser": "0.8.2",
"lodash": "4.17.20",

@@ -23,4 +23,3 @@ "prettier": "2.1.1"

"clone-samples": "node scripts/clone-samples.js"
},
"gitHead": "59a70396d425b970bb736114bfcb112658156f8c"
}
}

@@ -77,3 +77,2 @@ "use strict";

{ value: "unannPrimitiveType" },
{ value: "unannPrimitiveTypeWithOptionalDimsSuffix" },
{ value: "unannReferenceType" },

@@ -80,0 +79,0 @@ { value: "unannClassOrInterfaceType" },

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

unannType(ctx) {
return this.visitSingle(ctx);
}
if (ctx.unannReferenceType !== undefined) {
return this.visit(ctx.unannReferenceType);
}
unannPrimitiveTypeWithOptionalDimsSuffix(ctx) {
const unannPrimitiveType = this.visit(ctx.unannPrimitiveType);

@@ -309,0 +309,0 @@ const dims = this.visit(ctx.dims);

@@ -365,3 +365,3 @@ "use strict";

primaryPrefix(ctx, params) {
if (ctx.This || ctx.Void) {
if (ctx.This || ctx.Void || ctx.Boolean) {
return printTokenWithComments(this.getSingle(ctx));

@@ -368,0 +368,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