Updating dependencies.
This commit is contained in:
parent
c561851bb6
commit
4b5f83c45f
@ -13,6 +13,7 @@
|
||||
* Using Typescript 5.5.4, and Eslint 8.57.0 (with new ruleset).
|
||||
* Fix race condition in bot/ctl.
|
||||
* Various type improvements.
|
||||
* Update dependencies.
|
||||
|
||||
## 11.0.1
|
||||
|
||||
|
@ -174,6 +174,12 @@ $small-view: 800px;
|
||||
|
||||
a {
|
||||
/* See Peertube .video-channel-names */
|
||||
width: fit-content;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
/* stylelint-disable-next-line value-keyword-case */
|
||||
color: var(--mainForegroundColor);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
@ -184,12 +190,6 @@ $small-view: 800px;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
width: fit-content;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
/* stylelint-disable-next-line value-keyword-case */
|
||||
color: var(--mainForegroundColor);
|
||||
|
||||
div:first-child {
|
||||
/* See Peertube .video-channel-display-name */
|
||||
font-weight: variables.$font-semibold;
|
||||
|
@ -9,10 +9,10 @@
|
||||
|
||||
livechat-token-list {
|
||||
table {
|
||||
@include tables.data-table;
|
||||
|
||||
width: 100%;
|
||||
|
||||
@include tables.data-table;
|
||||
|
||||
tr th:first-child,
|
||||
tr th:last-child {
|
||||
width: 50px;
|
||||
|
@ -67,7 +67,7 @@ export function tplAdminFirewall (el: AdminFirewallElement): TemplateResult {
|
||||
.maxLines=${maxFirewallFiles}
|
||||
.validation=${el.validationError?.properties}
|
||||
.validationPrefix=${'files'}
|
||||
.rows=${el.firewallConfiguration?.files}
|
||||
.rows=${el.firewallConfiguration?.files ?? []}
|
||||
@update=${(e: CustomEvent) => {
|
||||
el.resetValidation(e)
|
||||
if (el.firewallConfiguration) {
|
||||
|
@ -90,7 +90,7 @@ export function tplChannelEmojis (el: ChannelEmojisElement): TemplateResult {
|
||||
.maxLines=${maxEmojisPerChannel}
|
||||
.validation=${el.validationError?.properties}
|
||||
.validationPrefix=${'emojis'}
|
||||
.rows=${el.channelEmojisConfiguration?.emojis.customEmojis}
|
||||
.rows=${el.channelEmojisConfiguration?.emojis.customEmojis ?? []}
|
||||
@update=${(e: CustomEvent) => {
|
||||
el.resetValidation(e)
|
||||
if (el.channelEmojisConfiguration) {
|
||||
|
@ -26,7 +26,7 @@ export class LivechatElement extends LitElement {
|
||||
this.logger = this.ptContext.logger.createLogger(this.tagName.toLowerCase())
|
||||
}
|
||||
|
||||
protected override createRenderRoot = (): Element | ShadowRoot => {
|
||||
protected override createRenderRoot = (): HTMLElement | DocumentFragment => {
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
@ -124,10 +124,7 @@ export default tseslint.config(
|
||||
}
|
||||
},
|
||||
{
|
||||
files: [
|
||||
'server/**/*.js', 'server/**/*.ts'
|
||||
// 'shared/**/*.js', 'shared/**/*.ts' // we also inlcude shared files here.
|
||||
],
|
||||
files: ['server/**/*.js', 'server/**/*.ts'],
|
||||
languageOptions: {
|
||||
ecmaVersion: 6,
|
||||
globals: {
|
||||
@ -136,7 +133,8 @@ export default tseslint.config(
|
||||
parser: typescriptParser,
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
project: './server/tsconfig.json'
|
||||
project: './server/tsconfig.json',
|
||||
projectService: true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
4761
package-lock.json
generated
4761
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
40
package.json
40
package.json
@ -27,53 +27,53 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@xmpp/jid": "^0.13.1",
|
||||
"async": "^3.2.2",
|
||||
"decache": "^4.6.0",
|
||||
"async": "^3.2.6",
|
||||
"decache": "^4.6.2",
|
||||
"escape-html": "^1.0.3",
|
||||
"got": "^11.8.2",
|
||||
"http-proxy": "^1.18.1",
|
||||
"log-rotate": "^0.2.8",
|
||||
"openid-client": "^5.6.5",
|
||||
"validate-color": "^2.2.1",
|
||||
"openid-client": "^5.7.0",
|
||||
"validate-color": "^2.2.4",
|
||||
"xmppjs-chat-bot": "^0.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.10.0",
|
||||
"@lit-labs/motion": "^1.0.7",
|
||||
"@lit/context": "^1.1.1",
|
||||
"@lit/task": "^1.0.0",
|
||||
"@peertube/feed": "^5.1.0",
|
||||
"@lit/context": "^1.1.2",
|
||||
"@lit/task": "^1.0.1",
|
||||
"@peertube/feed": "^5.1.3",
|
||||
"@peertube/peertube-types": "^5.2.0",
|
||||
"@stylistic/eslint-plugin": "^2.7.2",
|
||||
"@stylistic/eslint-plugin": "^2.8.0",
|
||||
"@tsconfig/node12": "^1.0.9",
|
||||
"@types/async": "^3.2.9",
|
||||
"@types/async": "^3.2.24",
|
||||
"@types/escape-html": "^1.0.4",
|
||||
"@types/eslint__js": "^8.42.3",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/got": "^9.6.12",
|
||||
"@types/http-proxy": "^1.17.9",
|
||||
"@types/http-proxy": "^1.17.15",
|
||||
"@types/node": "^16.11.6",
|
||||
"@types/winston": "^2.4.4",
|
||||
"@types/xmpp__jid": "^1.3.5",
|
||||
"@typescript-eslint/parser": "^8.4.0",
|
||||
"commander": "^11.0.0",
|
||||
"esbuild": "^0.16.1",
|
||||
"commander": "^12.1.0",
|
||||
"esbuild": "^0.23.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-love": "^64.0.0",
|
||||
"eslint-plugin-lit": "^1.15.0",
|
||||
"globals": "^15.9.0",
|
||||
"lit": "^2.4.0",
|
||||
"lit-analyzer": "^1.2.1",
|
||||
"lit": "^3.2.0",
|
||||
"lit-analyzer": "^2.0.3",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"sass": "^1.43.4",
|
||||
"sharp": "^0.33.2",
|
||||
"sass": "^1.78.0",
|
||||
"sharp": "^0.33.5",
|
||||
"stylelint": "^14.0.1",
|
||||
"stylelint-config-recommended-scss": "^5.0.1",
|
||||
"stylelint-config-standard-scss": "^2.0.1",
|
||||
"svgo": "^2.8.0",
|
||||
"svgo": "^3.3.2",
|
||||
"typescript": "^5.5.4",
|
||||
"typescript-eslint": "^8.4.0",
|
||||
"yaml": "^2.2.1"
|
||||
"typescript-eslint": "^8.5.0",
|
||||
"yaml": "^2.5.1"
|
||||
},
|
||||
"engine": {
|
||||
"peertube": ">=4.2.0"
|
||||
|
@ -324,7 +324,7 @@ async function enableProxyRoute (
|
||||
target: 'http://localhost:' + prosodyProxyInfo.port + '/http-bind',
|
||||
ignorePath: true
|
||||
})
|
||||
currentHttpBindProxy.on('error', (err, req, res) => {
|
||||
currentHttpBindProxy.on('error', (err, req, res: any) => { // FIXME: remove the `any`.
|
||||
// We must handle errors, otherwise Peertube server crashes!
|
||||
logger.error(
|
||||
'The http bind proxy got an error ' +
|
||||
@ -346,7 +346,7 @@ async function enableProxyRoute (
|
||||
ignorePath: true,
|
||||
ws: true
|
||||
})
|
||||
currentWebsocketProxy.on('error', (err, req, res) => {
|
||||
currentWebsocketProxy.on('error', (err, req, res: any) => { // FIXME: remove the `any`.
|
||||
// We must handle errors, otherwise Peertube server crashes!
|
||||
logger.error(
|
||||
'The websocket proxy got an error ' +
|
||||
@ -368,7 +368,7 @@ async function enableProxyRoute (
|
||||
ignorePath: true,
|
||||
ws: true
|
||||
})
|
||||
currentS2SWebsocketProxy.on('error', (err, req, res) => {
|
||||
currentS2SWebsocketProxy.on('error', (err, req, res: any) => { // FIXME: remove the `any`.
|
||||
// We must handle errors, otherwise Peertube server crashes!
|
||||
logger.error(
|
||||
'The s2s websocket proxy got an error ' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user