npm-groovy-lint 15.0.3-beta202502221045.0 → 15.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/codenarc-factory.js +7 -7
- package/lib/java/{CodeNarc-3.5.0-groovy-4.0.jar → CodeNarc-3.6.0-groovy-4.0.jar} +0 -0
- package/lib/java/CodeNarcServer.jar +0 -0
- package/lib/java/groovy/lib/{groovy-4.0.24.jar → groovy-4.0.25.jar} +0 -0
- package/lib/java/groovy/lib/groovy-ant-4.0.25.jar +0 -0
- package/lib/java/groovy/lib/groovy-cli-commons-4.0.25.jar +0 -0
- package/lib/java/groovy/lib/groovy-dateutil-4.0.25.jar +0 -0
- package/lib/java/groovy/lib/groovy-json-4.0.25.jar +0 -0
- package/lib/java/groovy/lib/groovy-templates-4.0.25.jar +0 -0
- package/lib/java/groovy/lib/groovy-xml-4.0.25.jar +0 -0
- package/package.json +2 -2
- package/lib/java/groovy/lib/groovy-ant-4.0.24.jar +0 -0
- package/lib/java/groovy/lib/groovy-cli-commons-4.0.24.jar +0 -0
- package/lib/java/groovy/lib/groovy-dateutil-4.0.24.jar +0 -0
- package/lib/java/groovy/lib/groovy-json-4.0.24.jar +0 -0
- package/lib/java/groovy/lib/groovy-templates-4.0.24.jar +0 -0
- package/lib/java/groovy/lib/groovy-xml-4.0.24.jar +0 -0
package/lib/codenarc-factory.js
CHANGED
|
@@ -246,21 +246,21 @@ async function parseCodeNarcResult(options, codeNarcBaseDir, codeNarcJsonResult,
|
|
|
246
246
|
|
|
247
247
|
let parseError = {
|
|
248
248
|
cause: {
|
|
249
|
-
message: null
|
|
250
|
-
}
|
|
251
|
-
}
|
|
249
|
+
message: null,
|
|
250
|
+
},
|
|
251
|
+
};
|
|
252
252
|
/* NOTE parsing messages like this
|
|
253
253
|
'/path/to/Pipeline.groovy: 2: unable to resolve class org.sm.Something\n' +
|
|
254
254
|
' @ line 2, column 1.\n' +
|
|
255
255
|
' import org.sm.Something\n' +
|
|
256
256
|
' ^\n',
|
|
257
257
|
*/
|
|
258
|
-
const parts = /(.*):\s(\d+):\s(.*)/s.exec(parseMessage)
|
|
259
|
-
if(!parts || parts.length < 4) {
|
|
258
|
+
const parts = /(.*):\s(\d+):\s(.*)/s.exec(parseMessage);
|
|
259
|
+
if (!parts || parts.length < 4) {
|
|
260
260
|
parseError.cause.message = `Unknown parsing error: ${JSON.stringify(parseMessage)}`;
|
|
261
261
|
} else {
|
|
262
|
-
parseError.cause.line = parts[2]
|
|
263
|
-
parseError.cause.message = parts[3]
|
|
262
|
+
parseError.cause.line = parts[2];
|
|
263
|
+
parseError.cause.message = parts[3];
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
// Remove 'unable to resolve class' error as GroovyShell.parse is called without ClassPath
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-groovy-lint",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.1.0",
|
|
4
4
|
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",
|
|
5
5
|
"exports": "./lib/groovy-lint.js",
|
|
6
6
|
"type": "module",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"fs-extra": "^11.0.0",
|
|
60
60
|
"glob": "^11.0.0",
|
|
61
61
|
"import-fresh": "^3.2.1",
|
|
62
|
-
"java-caller": "^4.
|
|
62
|
+
"java-caller": "^4.2.0",
|
|
63
63
|
"js-yaml": "^4.1.0",
|
|
64
64
|
"node-sarif-builder": "^3.0.0",
|
|
65
65
|
"optionator": "^0.9.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|