3.0.0 - Released on November 9, 2020
-
Now it uses getter functions for window and document to not to polute existing scope:
import { getWindow, getDocument } from 'ssr-window'; const window = getWindow(); const document = getDocument();
2.0.0 - Released on May 12, 2020
- Now it uses patching instead of creating window and document if they are already available
- Added
extend
method
1.0.1 - Released on July 18, 2018
- Simplified code structure to bypass rollup bugs