@vime-js/core
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.6.1](https://github.com/vime-js/vime/tree/master/packages/vime-core/compare/v1.6.0...v1.6.1) (2020-05-02) | ||
### Bug Fixes | ||
* ssr support ([f157485](https://github.com/vime-js/vime/tree/master/packages/vime-core/commit/f157485266a047e738edbc5fb24576bc52fad52a)), closes [#38](https://github.com/vime-js/vime/tree/master/packages/vime-core/issues/38) | ||
# [1.6.0](https://github.com/vime-js/vime/tree/master/packages/vime-core/compare/v1.5.1...v1.6.0) (2020-04-26) | ||
@@ -8,0 +19,0 @@ |
import { | ||
is_instance_of, is_string, can_play_hls_natively, | ||
is_array, is_object, is_number, | ||
is_array, is_object, is_number, IS_CLIENT, | ||
} from '@vime-js/utils'; | ||
@@ -11,3 +11,3 @@ | ||
export const is_media_stream = (src) => is_instance_of(src, window.MediaStream); | ||
export const is_media_stream = (src) => IS_CLIENT && is_instance_of(src, window.MediaStream); | ||
export const is_hls = (src) => is_string(src) && HLS_EXT.test(src); | ||
@@ -14,0 +14,0 @@ export const is_dash = (src) => is_string(src) && DASH_EXT.test(src); |
{ | ||
"name": "@vime-js/core", | ||
"description": "Vime core", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"svelte": "src/index.js", | ||
@@ -24,3 +24,3 @@ "module": "src/index.js", | ||
"dependencies": { | ||
"@vime-js/utils": "^1.6.0" | ||
"@vime-js/utils": "^1.6.1" | ||
}, | ||
@@ -30,3 +30,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "b2581abe01184ff4052f70362e247f40606eeb7e" | ||
"gitHead": "14ba57412eacaa1e00d1533d8c77abe89a3426cb" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11639
Updated@vime-js/utils@^1.6.1