Comparing version 4.0.1 to 4.0.2
@@ -242,2 +242,3 @@ "use strict"; | ||
var import_html_reporter = __toESM(require("@jscpd/html-reporter")); | ||
var import_sarif_reporter = __toESM(require("@jscpd/sarif-reporter")); | ||
var reporters = { | ||
@@ -253,3 +254,4 @@ xml: import_finder2.XmlReporter, | ||
threshold: import_finder2.ThresholdReporter, | ||
xcode: import_finder2.XcodeReporter | ||
xcode: import_finder2.XcodeReporter, | ||
sarif: import_sarif_reporter.default | ||
}; | ||
@@ -256,0 +258,0 @@ function registerReporters(options, detector) { |
{ | ||
"name": "jscpd", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "detector of copy/paste in files", | ||
@@ -34,5 +34,6 @@ "author": "Andrey Kucherenko <kucherenko.andrey@gmail.com>", | ||
"@jscpd/core": "4.0.1", | ||
"@jscpd/finder": "4.0.1", | ||
"@jscpd/html-reporter": "4.0.1", | ||
"@jscpd/tokenizer": "4.0.1", | ||
"@jscpd/finder": "4.0.1" | ||
"@jscpd/sarif-reporter": "4.0.2", | ||
"@jscpd/tokenizer": "4.0.1" | ||
}, | ||
@@ -43,3 +44,3 @@ "devDependencies": { | ||
"@vitest/coverage-v8": "^1.6.0", | ||
"nodemon": "^3.1.0", | ||
"nodemon": "^3.1.1", | ||
"ts-node": "^10.9.2", | ||
@@ -46,0 +47,0 @@ "tsup": "^8.0.2", |
@@ -95,5 +95,5 @@ <p align="center"> | ||
- Default: **50** | ||
*This option is called ``minTokens`` in the config file.* | ||
### Min Lines | ||
@@ -155,2 +155,3 @@ | ||
- **html** - generate html report to `html/` folder; | ||
- **sarif** - generate a report in SARIF format (https://github.com/oasis-tcs/sarif-spec), save it to `jscpd-sarif.json` file; | ||
- **verbose** - output a lot of debug information to console; | ||
@@ -157,0 +158,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
34523
352
561
9
+ Added@jscpd/sarif-reporter@4.0.2