In the ESM transition, this.sources was initialized as an empty array. This fixed a compiler error (class properties must be defined in the constructor) but caused a bug with applications expecting the sources to be null/undefined if setSources was never called. This change represents the original behavior, which will process filters in saveInternal if the sources array is not defined.
In the ESM transition,
this.sources
was initialized as an empty array. This fixed a compiler error (class properties must be defined in the constructor) but caused a bug with applications expecting the sources to be null/undefined ifsetSources
was never called. This change represents the original behavior, which will process filters insaveInternal
if the sources array is not defined.