mirror of
https://github.com/morluto/rea
synced 2026-10-26 22:28:27 -04:00
fix(javascript): report JSON status for imported package manifests
Use the existing JSON-text status checker for explicit package.json imports while retaining separate package-metadata validity. Preserve malformed/unavailable status and partial facts after cancellation. Co-authored-by: Immanuel Tikhonov <122638311+immanuwell@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4daea941bf
commit
914ba833de
@@ -379,7 +379,9 @@ const relationshipProperties = (
|
||||
resolution_status: target?.status ?? null,
|
||||
target_file_kind: target?.file?.kind ?? null,
|
||||
target_json_status:
|
||||
target?.file?.kind === "json" ? jsonStatus(target.file) : null,
|
||||
target?.file?.kind === "json" || target?.file?.kind === "package-json"
|
||||
? jsonStatus(target.file)
|
||||
: null,
|
||||
});
|
||||
|
||||
const relationshipEvidence = (
|
||||
|
||||
Reference in New Issue
Block a user