style(16): apply prettier formatting to satisfy CI format:check
CI / changes (pull_request) Successful in 2s
CI / fast-checks (pull_request) Successful in 1m23s
CI / api (pull_request) Successful in 1m0s
CI / harness (pull_request) Successful in 3m54s
CI / security (pull_request) Successful in 40s
CI / gate (pull_request) Successful in 1s
CI / changes (pull_request) Successful in 2s
CI / fast-checks (pull_request) Successful in 1m23s
CI / api (pull_request) Successful in 1m0s
CI / harness (pull_request) Successful in 3m54s
CI / security (pull_request) Successful in 40s
CI / gate (pull_request) Successful in 1s
This commit is contained in:
@@ -14,7 +14,7 @@ import { selectBlocking, partitionAdvisories, isWaived } from '../check-audit.mj
|
||||
|
||||
// Fixture: a High advisory not in the allowlist
|
||||
const highUnwaived = {
|
||||
'1': {
|
||||
1: {
|
||||
severity: 'high',
|
||||
github_advisory_id: 'GHSA-test-unwaived-high',
|
||||
module_name: 'some-package',
|
||||
@@ -24,7 +24,7 @@ const highUnwaived = {
|
||||
|
||||
// Fixture: a High advisory that IS in the allowlist
|
||||
const highWaived = {
|
||||
'2': {
|
||||
2: {
|
||||
severity: 'high',
|
||||
github_advisory_id: 'GHSA-gv7w-rqvm-qjhr',
|
||||
module_name: 'esbuild',
|
||||
@@ -34,13 +34,13 @@ const highWaived = {
|
||||
|
||||
// Fixture: only moderate/low advisories
|
||||
const moderateLow = {
|
||||
'3': {
|
||||
3: {
|
||||
severity: 'moderate',
|
||||
github_advisory_id: 'GHSA-mod-erate-test',
|
||||
module_name: 'another-package',
|
||||
title: 'Moderate vulnerability',
|
||||
},
|
||||
'4': {
|
||||
4: {
|
||||
severity: 'low',
|
||||
github_advisory_id: 'GHSA-low-test-only',
|
||||
module_name: 'yet-another',
|
||||
|
||||
Reference in New Issue
Block a user