Tags: cdxgen/cdx-proto
Tags
feat: rich support for json canonicalisation (#5) * Enhance CycloneDX helpers for robust JSON/protobuf round-trip and enum handling - Add comprehensive normalization and denormalization for enums and field names in helpers.ts - Implement parseBomBinary for auto-detecting CycloneDX spec version from protobuf - Improve lifecycle, component, hash, evidence, and external reference handling for all supported spec versions - Update helpers.test.js with extensive tests for round-trip, enum leakage, and binary parsing - Minor formatting and import order fixes across codebase Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * Refactor exports for bom-1.7, update formatting and bump version to 2.0.1 Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * Refactor enum and field normalization for robust CycloneDX JSON/protobuf round-trip - Replace manual enum and field normalization with schema-driven, descriptor-based approach - Add generic transformation logic for enums, lists, maps, and messages - Support canonical enum styles and field aliases for 1.6 and 1.7 - Update tests to cover advanced enum and field round-trip scenarios Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * Support canonical definitions and declarations object round-trip in helpers Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> * docs Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com> --------- Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
PreviousNext