I was using "is-dom" indirectly via the "console-redirect" module from my electron-main.js. This was working forever until this last week when electron got an error about "window" not being defined during startup.
I had to change my package.json to explicitly require version 1.0.9 to avoid the problem.