Update dependency htmx.org to v2 (forgejo) (#8342)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8342
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
This commit is contained in:
Renovate Bot 2025-06-29 13:52:24 +02:00 committed by Gusted
parent 447c5789bd
commit 878ce241a4
4 changed files with 7 additions and 7 deletions

8
package-lock.json generated
View file

@ -28,7 +28,7 @@
"esbuild-loader": "4.3.0",
"escape-goat": "4.0.0",
"fast-glob": "3.3.3",
"htmx.org": "1.9.12",
"htmx.org": "2.0.6",
"idiomorph": "0.3.0",
"jquery": "3.7.1",
"katex": "0.16.22",
@ -8745,9 +8745,9 @@
}
},
"node_modules/htmx.org": {
"version": "1.9.12",
"resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-1.9.12.tgz",
"integrity": "sha512-VZAohXyF7xPGS52IM8d1T1283y+X4D+Owf3qY1NZ9RuBypyu9l8cGsxUMAG5fEAb/DhT7rDoJ9Hpu5/HxFD3cw==",
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-2.0.6.tgz",
"integrity": "sha512-7ythjYneGSk3yCHgtCnQeaoF+D+o7U2LF37WU3O0JYv3gTZSicdEFiI/Ai/NJyC5ZpYJWMpUb11OC5Lr6AfAqA==",
"license": "0BSD"
},
"node_modules/iconv-lite": {

View file

@ -27,7 +27,7 @@
"esbuild-loader": "4.3.0",
"escape-goat": "4.0.0",
"fast-glob": "3.3.3",
"htmx.org": "1.9.12",
"htmx.org": "2.0.6",
"idiomorph": "0.3.0",
"jquery": "3.7.1",
"katex": "0.16.22",

View file

@ -1,4 +1,4 @@
import * as htmx from 'htmx.org';
import htmx from 'htmx.org';
import {showErrorToast} from './modules/toast.js';
// https://github.com/bigskysoftware/idiomorph#htmx

View file

@ -238,7 +238,7 @@ export default {
activeModules: true,
}),
new webpack.ProvidePlugin({ // for htmx extensions
htmx: 'htmx.org',
htmx: ['htmx.org', 'default'],
}),
new DefinePlugin({
__VUE_OPTIONS_API__: true, // at the moment, many Vue components still use the Vue Options API