From 58d5d0dcfb6e3579c1991535eb63f1ec1e1d21d0 Mon Sep 17 00:00:00 2001 From: brandonocasey Date: Fri, 18 Dec 2020 13:05:55 -0500 Subject: [PATCH] chore: vhs-utils@3 --- package-lock.json | 27 +++++++++++++++++++++------ package.json | 2 +- src/line-stream.js | 2 +- src/parse-stream.js | 2 +- src/parser.js | 4 ++-- 5 files changed, 26 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4f4c7c9..85b6394 100644 --- a/package-lock.json +++ b/package-lock.json @@ -991,13 +991,28 @@ } }, "@videojs/vhs-utils": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@videojs/vhs-utils/-/vhs-utils-2.2.1.tgz", - "integrity": "sha512-9Qbwx3LAdkG1jh2HKfninjXDxVZCeaoPcmct/bUcDRmLej68Z9XhLe5d2a9fy1qB+UuQwWg7YySASesWavYNjQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@videojs/vhs-utils/-/vhs-utils-3.0.0.tgz", + "integrity": "sha512-HPgiaVB8/g7DooYFQ20uTinq4eNRHmIXGHHttK/Xwyvn19MfIpg9BfMNr9ywCvgHh0IUGrxt6P8AcmMO4xvxIA==", "requires": { - "@babel/runtime": "^7.5.5", - "global": "^4.3.2", - "url-toolkit": "^2.1.6" + "@babel/runtime": "^7.12.5", + "global": "^4.4.0", + "url-toolkit": "^2.2.1" + }, + "dependencies": { + "@babel/runtime": { + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz", + "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + } } }, "JSONStream": { diff --git a/package.json b/package.json index 2149e24..fdf72b3 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ ], "dependencies": { "@babel/runtime": "^7.5.5", - "@videojs/vhs-utils": "^2.2.1", + "@videojs/vhs-utils": "^3.0.0", "global": "^4.3.2" }, "devDependencies": { diff --git a/src/line-stream.js b/src/line-stream.js index b612da1..23ac4a1 100644 --- a/src/line-stream.js +++ b/src/line-stream.js @@ -1,7 +1,7 @@ /** * @file m3u8/line-stream.js */ -import Stream from '@videojs/vhs-utils/dist/stream.js'; +import Stream from '@videojs/vhs-utils/es/stream.js'; /** * A stream that buffers string input and generates a `data` event for each diff --git a/src/parse-stream.js b/src/parse-stream.js index f58b1bd..8890680 100644 --- a/src/parse-stream.js +++ b/src/parse-stream.js @@ -1,7 +1,7 @@ /** * @file m3u8/parse-stream.js */ -import Stream from '@videojs/vhs-utils/dist/stream.js'; +import Stream from '@videojs/vhs-utils/es/stream.js'; /** * "forgiving" attribute list psuedo-grammar: diff --git a/src/parser.js b/src/parser.js index 417e8d8..de67f5f 100644 --- a/src/parser.js +++ b/src/parser.js @@ -1,8 +1,8 @@ /** * @file m3u8/parser.js */ -import Stream from '@videojs/vhs-utils/dist/stream.js'; -import decodeB64ToUint8Array from '@videojs/vhs-utils/dist/decode-b64-to-uint8-array.js'; +import Stream from '@videojs/vhs-utils/es/stream.js'; +import decodeB64ToUint8Array from '@videojs/vhs-utils/es/decode-b64-to-uint8-array.js'; import LineStream from './line-stream'; import ParseStream from './parse-stream';