From a37665ffe56983d4b63c88aac84325911f163039 Mon Sep 17 00:00:00 2001 From: Garrett Singer Date: Fri, 28 May 2021 09:56:21 -0400 Subject: [PATCH 1/3] chore(package): update to vhs-utils@3.0.2 --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 532c1402..dfe4d436 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1340,9 +1340,9 @@ } }, "@videojs/vhs-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@videojs/vhs-utils/-/vhs-utils-3.0.0.tgz", - "integrity": "sha512-HPgiaVB8/g7DooYFQ20uTinq4eNRHmIXGHHttK/Xwyvn19MfIpg9BfMNr9ywCvgHh0IUGrxt6P8AcmMO4xvxIA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@videojs/vhs-utils/-/vhs-utils-3.0.2.tgz", + "integrity": "sha512-r8Yas1/tNGsGRNoIaDJuiWiQgM0P2yaEnobgzw5JcBiEqxnS8EXoUm4QtKH7nJtnppZ1yqBx1agBZCvBMKXA2w==", "requires": { "@babel/runtime": "^7.12.5", "global": "^4.4.0", @@ -9306,9 +9306,9 @@ } }, "url-toolkit": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/url-toolkit/-/url-toolkit-2.2.1.tgz", - "integrity": "sha512-8+DzgrtDZYZGhHaAop5WGVghMdCfOLGbhcArsJD0qDll71FXa7EeKxi2hilPIscn2nwMz4PRjML32Sz4JTN0Xw==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/url-toolkit/-/url-toolkit-2.2.2.tgz", + "integrity": "sha512-l25w6Sy+Iy3/IbogunxhWwljPaDnqpiKvrQRoLBm6DfISco7NyRIS7Zf6+Oxhy1T8kHxWdwLND7ZZba6NjXMug==" }, "util-deprecate": { "version": "1.0.2", diff --git a/package.json b/package.json index 8044b722..d5cc845e 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ ], "dependencies": { "@babel/runtime": "^7.12.5", - "@videojs/vhs-utils": "^3.0.0", + "@videojs/vhs-utils": "^3.0.2", "global": "^4.4.0", "xmldom": "^0.5.0" }, From 2d3fbe6ad60b5c18ecfe971965625f2e6968d6e1 Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Fri, 28 May 2021 12:22:53 -0400 Subject: [PATCH 2/3] add slashes because vhs-utils --- test/segment/urlType.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/segment/urlType.test.js b/test/segment/urlType.test.js index c981cc6d..27bdfbe4 100644 --- a/test/segment/urlType.test.js +++ b/test/segment/urlType.test.js @@ -8,7 +8,7 @@ QUnit.module('urlType - urlTypeConverter'); QUnit.test('returns correct object if given baseUrl only', function(assert) { assert.deepEqual(urlTypeConverter({ baseUrl: 'http://example.com' }), { - resolvedUri: 'http://example.com', + resolvedUri: 'http://example.com/', uri: '' }); }); @@ -58,7 +58,7 @@ QUnit.test('returns correct object if given baseUrl and range', function(assert) baseUrl: 'http://example.com', range: '101-105' }), { - resolvedUri: 'http://example.com', + resolvedUri: 'http://example.com/', uri: '', byterange: { offset: 101, @@ -72,7 +72,7 @@ QUnit.test('returns correct object if given baseUrl and indexRange', function(as baseUrl: 'http://example.com', indexRange: '101-105' }), { - resolvedUri: 'http://example.com', + resolvedUri: 'http://example.com/', uri: '', byterange: { offset: 101, From 3a8ab171a5ef9921326d0598734979af40cdd3a4 Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Fri, 28 May 2021 12:35:43 -0400 Subject: [PATCH 3/3] another slash --- test/segment/urlType.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/segment/urlType.test.js b/test/segment/urlType.test.js index 27bdfbe4..8469562f 100644 --- a/test/segment/urlType.test.js +++ b/test/segment/urlType.test.js @@ -7,7 +7,7 @@ import { QUnit.module('urlType - urlTypeConverter'); QUnit.test('returns correct object if given baseUrl only', function(assert) { - assert.deepEqual(urlTypeConverter({ baseUrl: 'http://example.com' }), { + assert.deepEqual(urlTypeConverter({ baseUrl: 'http://example.com/' }), { resolvedUri: 'http://example.com/', uri: '' }); @@ -55,7 +55,7 @@ QUnit.test('returns correct object if given baseUrl, source and indexRange', fun QUnit.test('returns correct object if given baseUrl and range', function(assert) { assert.deepEqual(urlTypeConverter({ - baseUrl: 'http://example.com', + baseUrl: 'http://example.com/', range: '101-105' }), { resolvedUri: 'http://example.com/', @@ -69,7 +69,7 @@ QUnit.test('returns correct object if given baseUrl and range', function(assert) QUnit.test('returns correct object if given baseUrl and indexRange', function(assert) { assert.deepEqual(urlTypeConverter({ - baseUrl: 'http://example.com', + baseUrl: 'http://example.com/', indexRange: '101-105' }), { resolvedUri: 'http://example.com/',