cyclonedx-node-module icon indicating copy to clipboard operation
cyclonedx-node-module copied to clipboard

use private properties with `#`

Open jkowalleck opened this issue 3 years ago • 0 comments

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.

jkowalleck avatar Dec 22 '21 08:12 jkowalleck