Skip to content

Commit

Permalink
chore: update the aes-decrypter (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
forbesjo committed Apr 2, 2018
1 parent 5c6868d commit 27ed914
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 20 deletions.
24 changes: 12 additions & 12 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 @@ -59,7 +59,7 @@
"dist/"
],
"dependencies": {
"aes-decrypter": "1.0.3",
"aes-decrypter": "3.0.0",
"global": "^4.3.0",
"m3u8-parser": "4.2.0",
"mpd-parser": "0.6.0",
Expand Down
4 changes: 1 addition & 3 deletions src/decrypter-worker.js
@@ -1,9 +1,7 @@
import window from 'global/window';
import aesDecrypter from 'aes-decrypter';
import { Decrypter } from 'aes-decrypter';
import { createTransferableMessage } from './bin-utils';

const { Decrypter } = aesDecrypter;

/**
* Our web worker interface so that things can talk to aes-decrypter
* that will be running in a web worker. the scope is passed to this by
Expand Down
4 changes: 1 addition & 3 deletions src/videojs-http-streaming.js
Expand Up @@ -8,7 +8,7 @@ import document from 'global/document';
import PlaylistLoader from './playlist-loader';
import Playlist from './playlist';
import xhrFactory from './xhr';
import aesDecrypter from 'aes-decrypter';
import { Decrypter, AsyncStream, decrypt } from 'aes-decrypter';
import * as utils from './bin-utils';
import { timeRangesToArray } from './ranges';
import { MediaSource, URL } from './mse/index';
Expand All @@ -26,8 +26,6 @@ import {
} from './playlist-selectors.js';
import { version } from '../package.json';

const { Decrypter, AsyncStream, decrypt } = aesDecrypter;

const Hls = {
PlaylistLoader,
Playlist,
Expand Down
2 changes: 1 addition & 1 deletion test/karma.conf.js
Expand Up @@ -16,7 +16,7 @@ module.exports = function(config) {
clearContext: false,
qunit: {
showUI: true,
testTimeout: 5000
testTimeout: 30000
}
},
files: [
Expand Down

0 comments on commit 27ed914

Please sign in to comment.