From 494e6bafca13076080aabbb1dcce6b6dd6fceffd Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Mon, 11 Nov 2024 15:13:24 +0000 Subject: [PATCH] First cut for automatic annotations and tagging Signed-off-by: Prabhu Subramanian --- lib/stages/postgen/postgen.js | 1 + types/lib/stages/postgen/postgen.d.ts.map | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stages/postgen/postgen.js b/lib/stages/postgen/postgen.js index ff7192d6a..f479421fd 100644 --- a/lib/stages/postgen/postgen.js +++ b/lib/stages/postgen/postgen.js @@ -325,6 +325,7 @@ export function annotate(bomJson, options) { comp.tags = tags; } if (requiresContextTrimming) { + comp.description = undefined; comp.properties = undefined; } } diff --git a/types/lib/stages/postgen/postgen.d.ts.map b/types/lib/stages/postgen/postgen.d.ts.map index b4db5270b..96bfa024d 100644 --- a/types/lib/stages/postgen/postgen.d.ts.map +++ b/types/lib/stages/postgen/postgen.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"postgen.d.ts","sourceRoot":"","sources":["../../../../lib/stages/postgen/postgen.js"],"names":[],"mappings":"AAaA;;;;;;;GAOG;AACH,+DAkBC;AAED;;;;;;;GAOG;AACH,gEAqCC;AAED;;;;;;;GAOG;AACH,gEA+BC;AAED;;;;;;;GAOG;AACH,2DAyIC;AAED;;GAEG;AACH,gDAIC;AAED;;;;;;;GAOG;AACH,0DAsCC"} \ No newline at end of file +{"version":3,"file":"postgen.d.ts","sourceRoot":"","sources":["../../../../lib/stages/postgen/postgen.js"],"names":[],"mappings":"AAaA;;;;;;;GAOG;AACH,+DAkBC;AAED;;;;;;;GAOG;AACH,gEAqCC;AAED;;;;;;;GAOG;AACH,gEA+BC;AAED;;;;;;;GAOG;AACH,2DAyIC;AAED;;GAEG;AACH,gDAIC;AAED;;;;;;;GAOG;AACH,0DAuCC"} \ No newline at end of file