markdownlint-cli2-formatter-junit
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -5,4 +5,4 @@ // @ts-check | ||
const fs = require("fs").promises; | ||
const path = require("path"); | ||
const fs = require("node:fs").promises; | ||
const path = require("node:path"); | ||
const junitReportBuilder = require("junit-report-builder"); | ||
@@ -16,6 +16,7 @@ | ||
const builder = junitReportBuilder.newBuilder(); | ||
const outputFormatterName = path.basename(__filename).replace(/\.js$/u, ""); | ||
const suite = | ||
builder. | ||
testSuite(). | ||
name(path.basename(__filename).replace(/\.js$/u, "")). | ||
name(outputFormatterName). | ||
time(0); | ||
@@ -43,2 +44,3 @@ for (const errorInfo of results) { | ||
testCase(). | ||
name(outputFormatterName). | ||
time(0); | ||
@@ -45,0 +47,0 @@ } |
{ | ||
"name": "markdownlint-cli2-formatter-junit", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "An output formatter for markdownlint-cli2 that writes results to a file in JUnit XML format", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -11,3 +11,3 @@ # markdownlint-cli2-formatter-junit | ||
```shell | ||
```bash | ||
npm install markdownlint-cli2-formatter-junit --save-dev | ||
@@ -14,0 +14,0 @@ ``` |
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
6238
53
0