Skip to content

Commit

Permalink
Update TypeScript and run npm audit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Walch committed Jan 5, 2020
1 parent 45c8e62 commit 2c4f7e6
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 74 deletions.
157 changes: 85 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -80,7 +80,7 @@
"selenium-webdriver": "^3.1.0",
"sinon": "7.1.1",
"sinon-chai": "3.3.0",
"typescript": "^3.3.1",
"typescript": "^3.7.4",
"typescript-eslint-parser": "^21.0.2",
"webpack": "^4.27.1",
"webpack-cli": "^3.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/is-supported.ts
Expand Up @@ -5,7 +5,7 @@ export function isSupported (): boolean {
if (!mediaSource) {
return false;
}
const sourceBuffer = (self as any).SourceBuffer || (self as any).WebKitSourceBuffer as SourceBuffer;
const sourceBuffer = self.SourceBuffer || (self as any).WebKitSourceBuffer as SourceBuffer;
const isTypeSupported = mediaSource &&
typeof mediaSource.isTypeSupported === 'function' &&
mediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"');
Expand Down

0 comments on commit 2c4f7e6

Please sign in to comment.