Skip to content

Commit

Permalink
feat(FEC-12492): upgrade hls.js v1.2.3 (#178)
Browse files Browse the repository at this point in the history
Upgrade hls.js to v1.2.3

related pr: kaltura/kaltura-player-js#568

solves: FEC-12492
  • Loading branch information
giladna authored Sep 19, 2022
1 parent 78793b4 commit cf47bb0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
]
},
"devDependencies": {
"hls.js": "^1.2.0",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
Expand All @@ -76,6 +75,7 @@
"eslint-plugin-mocha-no-only": "^1.1.0",
"eslint-plugin-prettier": "^3.1.4",
"flow-bin": "^0.129.0",
"hls.js": "1.2.3",
"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.coreComponents[0], 'loadsuccess');
sandbox.spy(hlsAdapterInstance._hls.networkControllers[0], 'loadsuccess');
hlsAdapterInstance._hls.on(hlsAdapterInstance._hlsjsLib.Events.MANIFEST_LOADED, () => {
try {
hlsAdapterInstance._hls.coreComponents[0].loadsuccess.getCall(0).firstArg.data.indexOf('&test').should.be.gt(-1);
hlsAdapterInstance._hls.networkControllers[0].loadsuccess.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.coreComponents[0], 'loadsuccess').callsFake(value => {
sandbox.stub(hlsAdapterInstance._hls.networkControllers[0], 'loadsuccess').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 @@ -4140,10 +4140,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.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-1.2.0.tgz#e213773be09d6f99f08cefbf608c4a1fe226f998"
integrity sha512-QIEQIUpBRhcpBMq3NA+/qozG8lbNfVekuX7kCMUlhiVu4382xFWsnwcuBe/CA4Gp/wB/pf2aRBaGRFlxh/FN8g==
hls.js@1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-1.2.3.tgz#9b9e5d5b05c4912dacec173962694b710eea33ac"
integrity sha512-CC/vHi82ldiiydIhliNI3whlcepRXxI2jdpd/KKb6lyEv+74e7lXs4cGk5PHfTLxZMKOj6+m5LX9VAbvV/r7AQ==

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

0 comments on commit cf47bb0

Please sign in to comment.