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:
1 parent
4daea941bf
commit
914ba833de
3 files changed
+178
-2
No files matched your search
@@ -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