Comparing version 6.1.0 to 6.1.1
@@ -153,2 +153,3 @@ "use strict"; | ||
} | ||
this.advisoryPathsFound = [...new Set(this.advisoryPathsFound)]; | ||
return this.getSummary(); | ||
@@ -155,0 +156,0 @@ } |
{ | ||
"name": "audit-ci", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Audits NPM, Yarn, and PNPM projects in CI environments", | ||
@@ -37,3 +37,4 @@ "license": "Apache-2.0", | ||
"format": "prettier --write lib test", | ||
"test": "mocha --exit --timeout 40000 --recursive --reporter spec test/*.spec.js" | ||
"test": "mocha --exit --timeout 40000 --recursive --reporter spec test/*.spec.js", | ||
"schema": "ts-json-schema-generator -p ./docs/schema.d.ts -o ./docs/schema.json -t Schema" | ||
}, | ||
@@ -59,3 +60,3 @@ "engines": { | ||
"@types/jsonstream": "^0.8.30", | ||
"@types/node": "^16.11.26", | ||
"@types/node": "^12.20.47", | ||
"@types/readline-transform": "^1.0.1", | ||
@@ -75,2 +76,3 @@ "@types/semver": "^7.3.9", | ||
"pretty-quick": "^3.1.3", | ||
"ts-json-schema-generator": "^0.98.0", | ||
"typescript": "^4.6.2" | ||
@@ -77,0 +79,0 @@ }, |
@@ -42,2 +42,3 @@ [![Build Status](https://app.travis-ci.com/IBM/audit-ci.svg?branch=main)](https://app.travis-ci.com/github/IBM/audit-ci) | ||
{ | ||
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json", | ||
"moderate": true, | ||
@@ -125,6 +126,6 @@ "allowlist": [ | ||
| | --show-not-found | Show allowlisted advisories that are not found (default `true`) | | ||
| | --registry | The registry to resolve packages by name and version (default to unspecified) | | ||
| | --registry | The registry to resolve packages by name and version for auditing (default to unspecified) | | ||
| | --report-type | Format for the audit report results [_choices_: `important`, `summary`, `full`] (default `important`) | | ||
| | --retry-count | The number of attempts audit-ci calls an unavailable registry before failing (default `5`) | | ||
| | --config | Path to JSON config file | | ||
| | --config | Path to the audit-ci configuration file | | ||
| | --skip-dev | Skip auditing devDependencies (default `false`) | | ||
@@ -138,2 +139,3 @@ | ||
{ | ||
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json", | ||
// Only use one of ["low": true, "moderate": true, "high": true, "critical": true] | ||
@@ -192,4 +194,5 @@ "low": <boolean>, // [Optional] defaults `false` | ||
```json | ||
```jsonc | ||
{ | ||
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json", | ||
"low": true, | ||
@@ -196,0 +199,0 @@ "package-manager": "auto", |
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
70199
1128
246
22