prettier-plugin-java
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143524
4061
+ Addedprettier@2.2.1(transitive)
- Removedprettier@2.2.0(transitive)
Updatedprettier@2.2.1