Closed JarLob closed 4 years ago
Just a quick summary of the current state and this issue:
Is this going to increase the overall complexity for just a minor performance gain? What do you think? Any additional benefit?
It should increase complexity only slightly in some checkers as the number of differences in electron versions is still low. Plus an additional scan step is needed to read version first. However it is not about performance gain but about precision of analysis. For example it is planned in the future to change the default values of webpreferences. Settings parsing was fixed https://github.com/electron/electron/issues/15594 although not sure in what version, so technically two settings parsing functions are needed for older and newer electrons.
A design proposal for this issue was submitted in #58 (comment).
Some differences between electron versions were already found like https://github.com/electron/electron/blob/master/docs/api/breaking-changes.md#browserwindow and it is likely more will be found in the future.