cyclonedx-node-module
cyclonedx-node-module copied to clipboard
use private properties with `#`
since node12/es6 classes may have private properties - starting with #
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields
currently _
is used to mark properties as internal.
goal: use #
this is considered a non-breaking "style" change, because the current privates were never intended to be used downstream. If this breaks something for a user downstream, then they ran the code on their own risks already.