Update JS dependencies (#37001)

- Update all JS dependencies via `make update-js`
- `webpack-cli` 6 to 7: remove `--disable-interpret` from Makefile
- Fix lint: remove unnecessary type args, `toThrowError` to `toThrow`
- Fix duplicate CSS selector detected by `stylelint` 17.6.0
- Change `updates.config.ts` to use `pin`, needed for `tailwindcss`
- Pin `typescript` pending typescript-eslint/typescript-eslint#12123

---------

Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
silverwind
2026-03-27 04:39:24 +01:00
committed by GitHub
parent 12737883ba
commit b3c6917463
11 changed files with 1147 additions and 1257 deletions
+2 -5
View File
@@ -274,6 +274,8 @@ select.ui.dropdown {
.ui.selection.active.dropdown {
border-color: var(--color-primary);
box-shadow: 0 6px 18px var(--color-shadow);
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.ui.selection.active.dropdown .menu {
@@ -311,11 +313,6 @@ select.ui.dropdown {
z-index: 3;
}
.ui.active.selection.dropdown {
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.ui.active.empty.selection.dropdown {
border-radius: 0.28571429rem !important;
box-shadow: none !important;
+2 -2
View File
@@ -129,11 +129,11 @@ function initRepoProjectColumnEdit(writableProjectBoard: Element): void {
const textColor = contrastColor(elColumnColor.value);
elBoardColumn.style.setProperty('background', elColumnColor.value, 'important');
elBoardColumn.style.setProperty('color', textColor, 'important');
queryElemChildren<HTMLElement>(elBoardColumn, '.divider', (divider) => divider.style.color = textColor);
queryElemChildren(elBoardColumn, '.divider', (divider: HTMLElement) => divider.style.color = textColor);
} else {
elBoardColumn.style.removeProperty('background');
elBoardColumn.style.removeProperty('color');
queryElemChildren<HTMLElement>(elBoardColumn, '.divider', (divider) => divider.style.removeProperty('color'));
queryElemChildren(elBoardColumn, '.divider', (divider: HTMLElement) => divider.style.removeProperty('color'));
}
fomanticQuery(elModal).modal('hide');
+1 -1
View File
@@ -114,7 +114,7 @@ test('toAbsoluteUrl', () => {
expect(toAbsoluteUrl('')).toEqual('http://localhost:3000');
expect(toAbsoluteUrl('/user/repo')).toEqual('http://localhost:3000/user/repo');
expect(() => toAbsoluteUrl('path')).toThrowError('unsupported');
expect(() => toAbsoluteUrl('path')).toThrow('unsupported');
});
test('encodeURLEncodedBase64, decodeURLEncodedBase64', () => {
+1 -1
View File
@@ -34,7 +34,7 @@ test('querySingleVisibleElem', () => {
el = createElementFromHTML('<div><span class="some-class tw-hidden">foo</span><span>bar</span></div>');
expect(querySingleVisibleElem(el, 'span')!.textContent).toEqual('bar');
el = createElementFromHTML('<div><span>foo</span><span>bar</span></div>');
expect(() => querySingleVisibleElem(el, 'span')).toThrowError('Expected exactly one visible element');
expect(() => querySingleVisibleElem(el, 'span')).toThrow('Expected exactly one visible element');
});
test('queryElemChildren', () => {