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 1.0.0 to 1.0.1

6

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

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

"lodash": "4.17.20",
"prettier": "2.2.0"
"prettier": "2.2.1"
},

@@ -24,3 +24,3 @@ "scripts": {

},
"gitHead": "0980a79ea2f0efbd41f435f6911191ed5860c867"
"gitHead": "f25534b7ad3720f5fb22d48b1edf5e601c794837"
}

@@ -232,6 +232,17 @@ "use strict";

const caseConstants = this.mapVisit(ctx.caseConstant);
return rejectAndConcat([
concat([ctx.Case[0], " "]),
rejectAndJoin(" ,", caseConstants)
]);
const commas = ctx.Comma
? ctx.Comma.map(elt => {
return concat([elt, line]);
})
: [];
return group(
indent(
rejectAndConcat([
concat([ctx.Case[0], " "]),
rejectAndJoinSeps(commas, caseConstants)
])
)
);
}

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