Update JS and PY deps, misc tweaks (#33903)

- Update all updateable dependencies
- Add a few more unupgradable ones to updates blocklist
- Adapt to breaking changes
- Update to typescript 5.8, enable `erasableSyntaxOnly` which
necessitated a change because of forbidden syntax
- Misc cleanups
- Tested htmx, easymde, swagger, chart.js
This commit is contained in:
silverwind
2025-03-16 10:04:18 +01:00
committed by GitHub
parent c88e71c1d2
commit 52663113d4
10 changed files with 1188 additions and 1228 deletions

View File

@ -30,9 +30,11 @@ class IssueSidebarComboList {
elList: HTMLElement;
elComboValue: HTMLInputElement;
initialValues: string[];
container: HTMLElement;
constructor(private container: HTMLElement) {
this.updateUrl = this.container.getAttribute('data-update-url');
constructor(container: HTMLElement) {
this.container = container;
this.updateUrl = container.getAttribute('data-update-url');
this.updateAlgo = container.getAttribute('data-update-algo');
this.selectionMode = container.getAttribute('data-selection-mode');
if (!['single', 'multiple'].includes(this.selectionMode)) throw new Error(`Invalid data-update-on: ${this.selectionMode}`);

View File

@ -1,5 +1,5 @@
import {showErrorToast} from './modules/toast.ts';
import 'idiomorph/dist/idiomorph-ext.js'; // https://github.com/bigskysoftware/idiomorph#htmx
import 'idiomorph/htmx';
import type {HtmxResponseInfo} from 'htmx.org';
type HtmxEvent = Event & {detail: HtmxResponseInfo};