@vime-js/utils
Advanced tools
Comparing version 1.6.1 to 1.6.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.6.4](https://github.com/vime-js/vime/tree/master/packages/vime-utils/compare/v1.6.3...v1.6.4) (2020-07-10) | ||
### Bug Fixes | ||
* window leakage breaking SSR ([6373b0a](https://github.com/vime-js/vime/tree/master/packages/vime-utils/commit/6373b0af64fc55748888806e9002711e2ea9f102)), closes [#55](https://github.com/vime-js/vime/tree/master/packages/vime-utils/issues/55) | ||
## [1.6.1](https://github.com/vime-js/vime/tree/master/packages/vime-utils/compare/v1.6.0...v1.6.1) (2020-05-02) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@vime-js/utils", | ||
"description": "Vime utilities", | ||
"version": "1.6.1", | ||
"version": "1.6.4", | ||
"module": "src/index.js", | ||
@@ -28,3 +28,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "14ba57412eacaa1e00d1533d8c77abe89a3426cb" | ||
"gitHead": "e576e9e439cad1b95642f40cab22ac4e74d456e4" | ||
} |
@@ -17,3 +17,3 @@ /* eslint-disable max-len */ | ||
export const ORIGIN = (window.location.protocol !== 'file:') | ||
export const ORIGIN = (IS_CLIENT && window.location.protocol !== 'file:') | ||
? `${window.location.protocol}//${window.location.hostname}` | ||
@@ -20,0 +20,0 @@ : null; |
42571