Skip to content

Commit

Permalink
fix(FEC-13212): upgrade hls.js to 1.4.11 (#208)
Browse files Browse the repository at this point in the history
* upgrade hls.js to 1.4.10

* FEC-13212: upgrade hls.js to 1.4.11

---------

Co-authored-by: Sergey Marchenko <sergey.dnepro@gmail.com>
  • Loading branch information
SivanA-Kaltura and semarche authored Sep 6, 2023
1 parent 8795884 commit 671f986
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"bugfixes": true,
"include": ["@babel/plugin-proposal-optional-chaining"],
"targets": {
"browsers": ["chrome >= 47", "firefox >= 51", "ie >= 11", "safari >= 8", "ios >= 8", "android >= 4"]
"browsers": ["defaults"]
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"eslint-plugin-mocha-no-only": "^1.1.0",
"eslint-plugin-prettier": "^3.1.4",
"flow-bin": "^0.129.0",
"hls.js": "1.3.5",
"hls.js": "1.4.11",
"husky": "^4.2.5",
"istanbul": "^0.4.5",
"karma": "^5.1.0",
Expand Down
6 changes: 3 additions & 3 deletions test/src/hls-adapter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -970,10 +970,10 @@ describe('HlsAdapter Instance: response filter', () => {
}
})
);
sandbox.spy(hlsAdapterInstance._hls.networkControllers[0], 'loadsuccess');
sandbox.spy(hlsAdapterInstance._hls.networkControllers[0], 'handleMasterPlaylist');
hlsAdapterInstance._hls.on(hlsAdapterInstance._hlsjsLib.Events.MANIFEST_LOADED, () => {
try {
hlsAdapterInstance._hls.networkControllers[0].loadsuccess.getCall(0).firstArg.data.indexOf('&test').should.be.gt(-1);
hlsAdapterInstance._hls.networkControllers[0].handleMasterPlaylist.getCall(0).firstArg.data.indexOf('&test').should.be.gt(-1);
done();
} catch (e) {
done(e);
Expand All @@ -997,7 +997,7 @@ describe('HlsAdapter Instance: response filter', () => {
}
})
);
sandbox.stub(hlsAdapterInstance._hls.networkControllers[0], 'loadsuccess').callsFake(value => {
sandbox.stub(hlsAdapterInstance._hls.networkControllers[0], 'handleMasterPlaylist').callsFake(value => {
try {
value.data.indexOf('&test').should.be.gt(-1);
done();
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4578,10 +4578,10 @@ he@1.2.0:
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==

hls.js@1.3.5:
version "1.3.5"
resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-1.3.5.tgz#0e8b0799ecf2feb7ba199f5e95f35ba9552e04f4"
integrity sha512-uybAvKS6uDe0MnWNEPnO0krWVr+8m2R0hJ/viql8H3MVK+itq8gGQuIYoFHL3rECkIpNH98Lw8YuuWMKZxp3Ew==
hls.js@1.4.11:
version "1.4.11"
resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-1.4.11.tgz#6ca2d7ab56f2725f27bb5f2e3c7982c6ec287118"
integrity sha512-rhPSUMACcIBbcUnwWnIcRgGXqJJt0xBRxvhzl99XpGHtnnLKjbczmmBmUuQueAQcbL3SdN7D5peAObR18VrhvQ==

hmac-drbg@^1.0.0:
version "1.0.1"
Expand Down

0 comments on commit 671f986

Please sign in to comment.