Skip to content

Commit

Permalink
Merge pull request #1491 from canalplus/misc/dependency-update
Browse files Browse the repository at this point in the history
Dependency updates
  • Loading branch information
peaBerberian authored Aug 5, 2024
2 parents c83a5e6 + e2e1257 commit 774610e
Show file tree
Hide file tree
Showing 21 changed files with 4,588 additions and 4,332 deletions.
14 changes: 6 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
},
],
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/ban-types": [
"@typescript-eslint/no-restricted-types": [
"error",
{
types: {
Expand Down Expand Up @@ -81,6 +81,8 @@ module.exports = {
objectLiteralTypeAssertions: "allow",
},
],
"@typescript-eslint/prefer-promise-reject-errors": "off",
"@typescript-eslint/only-throw-error": "off",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "error",
"@typescript-eslint/explicit-member-accessibility": [
Expand Down Expand Up @@ -171,18 +173,14 @@ module.exports = {
"@typescript-eslint/no-unused-vars": [
"error",
{
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "none",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/quotes": [
"error",
"double",
{
avoidEscape: true,
},
],
"@typescript-eslint/restrict-plus-operands": "error",
"@typescript-eslint/strict-boolean-expressions": "error",
"@typescript-eslint/triple-slash-reference": [
Expand Down
15 changes: 5 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

### Bug fixes

- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443,
#1440]
- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443, #1440]
- DASH: fix cases of blinking subtitles [#1416, #1424]
- Fix precision issues of the `maxVideoBufferSize` API [#1421]
- DASH: Prevent multiple loading of the same segment for some DASH low-latency contents
Expand All @@ -23,8 +22,7 @@
- MULTI_THREAD: Perform several actions so that our `MULTI_THREAD` experimental feature
now works on older browser and on the Playstation 4 [#1401, #1402]
- Directfile/Compat: On safari on iOS no longer stay stuck in buffering when `autoPlay` is
set to `false` or not set and the video element has the attribute "playsinline" [#1408,
#1390]
set to `false` or not set and the video element has the attribute "playsinline" [#1408, #1390]
- Directfile/compat: On safari mobile in directfile mode, do not stay in an infinite
`LOADING` state if the `duration` is set to `NaN` (rare issue in a normally-unsupported
multiple RxPlayer-per-media-element scenario) [#1393]
Expand Down Expand Up @@ -663,8 +661,7 @@
- TypeScript: Add IBitrateEstimate, IPositionUpdate and IPlayerState types to the exported
types [#1084]
- Remove dependency on pinkie's promise ponyfill [#1058, #1090]
- tests: add performance tests, to better catch and avoid performance regressions [#1053,
#1062]
- tests: add performance tests, to better catch and avoid performance regressions [#1053, #1062]
- DRM: Refactor DRM logic for better maintainability. DRM-linked logs are now prefixed by
`DRM:` instead of `EME:` like previously [#1042]

Expand Down Expand Up @@ -808,17 +805,15 @@
- Update used RxJS version to 7.0.0, which might bring with it a smaller size and better
performances [#954]
- demo: remove Chart.js dependency (we found that its new API documentation and errors
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955,
#957]
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955, #957]

## v3.24.0 (2021-04-01)

### Features

- Add `inbandEvent` event for when an event is encountered in a media segment [#892]
- DRM: Add `singleLicensePer` `keySystems` option to be able to signal in advance that the
current content has a single license, even if it has multiple encryption keys [#863,
#904]
current content has a single license, even if it has multiple encryption keys [#863, #904]
- DRM: Add `keySystems[].licenseStorage.disableRetroCompatibility` boolean to unlock
optimizations when compatibility with EME sessions persisted in older RxPlayer versions
is not important [#919]
Expand Down
4 changes: 2 additions & 2 deletions demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"types": [],
"moduleResolution": "node",
"jsx": "react",
"typeRoots": ["../node_modules/@types"],
"typeRoots": ["../node_modules/@types"]
},
"include": ["../src/globals.prod.d.ts", "./scripts/**/*"],
"include": ["../src/globals.prod.d.ts", "./scripts/**/*"]
}
Loading

0 comments on commit 774610e

Please sign in to comment.