Not a bug, but a question - there are a bunch of places where setValueForPosition is called, including in a loop at the end of the forEachNode function. In the situation that a setValueForPosition necessitates calling _reParseObj - does this have to happen before the (immediately) next call to setValueForPosition executes? E.g., in forEachNode
// Actually update/remove values as instructed
Object.keys(updatedValues).forEach((position) => {
this.setValueForPosition(position, updatedValues[position]);
});
Could the _reParseObj call be made after all these setValueForPosition are complete?