Skip to content

Commit

Permalink
fix(FEC-13699): remove preact, upd dependencies (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
semarche-kaltura authored Feb 29, 2024
1 parent 3c39eed commit 89d5f98
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 469 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"access": "public"
},
"devDependencies": {
"@playkit-js/kaltura-player-js": "canary",
"@playkit-js/kaltura-player-js": "^3.17.9",
"@types/sanitize-html": "^2.8.0",
"conventional-github-releaser": "3.1.3",
"cross-env": "^7.0.3",
Expand All @@ -29,13 +29,12 @@
"style-loader": "1.3.0",
"ts-loader": "^9.3.0",
"typescript": "^4.9.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0"
},
"peerDependencies": {
"@playkit-js/kaltura-player-js": "canary"
"@playkit-js/kaltura-player-js": "^3.17.9"
},
"scripts": {
"clean": "rm -rf ./dist",
Expand Down Expand Up @@ -65,8 +64,8 @@
"html5 player"
],
"dependencies": {
"@playkit-js/common": "^1.2.10",
"@playkit-js/ui-managers": "^1.3.11",
"@playkit-js/common": "1.5.9",
"@playkit-js/ui-managers": "^1.5.2",
"sanitize-html": "^2.8.0"
},
"kaltura": {
Expand Down
4 changes: 1 addition & 3 deletions src/info-plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,13 @@ export class PlaykitJsInfoPlugin extends KalturaPlayer.core.BasePlugin {
return;
}
this.player.ready().then(() => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
this._iconId = this.upperBarManager!.add({
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
ariaLabel: <Text id="info.info">Info</Text>,
displayName: 'Info',
order: 80,
component: () => <PluginButton label="Video info" setRef={this._setPluginButtonRef}/>,
component: () => <PluginButton label="Video info" setRef={this._setPluginButtonRef}/> as any,
svgIcon: {path: icons.PLUGIN_ICON, viewBox: `0 0 ${icons.BigSize} ${icons.BigSize}`},
onClick: this._openInfo
}) as number;
Expand Down
Loading

0 comments on commit 89d5f98

Please sign in to comment.