[fix] client/simple: add missing "swiped-events" devDependencies (import)
In commit 1a3543d4b in PR-4284 [1] the swiped-events [2] were forgotten to be migrated. In this patch, the event library is added to the ``devDependencies`` and imported by:: import "../../../node_modules/swiped-events/src/swiped-events.js [1] https://github.com/searxng/searxng/pull/4284 [2] https://www.npmjs.com/package/swiped-events Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Reported-by: https://github.com/searxng/searxng/pull/4198#issuecomment-2770734321
This commit is contained in:
parent
e6308b8167
commit
bb9728b44c
8
client/simple/package-lock.json
generated
8
client/simple/package-lock.json
generated
@ -30,6 +30,7 @@
|
||||
"stylelint-config-standard-less": "^3.0.1",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
"svgo": "^3.3.2",
|
||||
"swiped-events": "^1.2.0",
|
||||
"vite": "^6.2.3",
|
||||
"vite-plugin-static-copy": "^2.3.0",
|
||||
"vite-plugin-stylelint": "^6.0.0",
|
||||
@ -6486,6 +6487,13 @@
|
||||
"dev": true,
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
"node_modules/swiped-events": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/swiped-events/-/swiped-events-1.2.0.tgz",
|
||||
"integrity": "sha512-KRu67z1hb4sPxMdFIF2kaufYHTcWOb8NVLbIl2g5dPWZkEQ6D3wfSIVJ7iXbicTt9cO3e0vARqgx9fITtTZxQw==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/table": {
|
||||
"version": "6.9.0",
|
||||
"resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz",
|
||||
|
@ -28,6 +28,7 @@
|
||||
"stylelint-config-standard-less": "^3.0.1",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
"svgo": "^3.3.2",
|
||||
"swiped-events": "^1.2.0",
|
||||
"vite": "^6.2.3",
|
||||
"vite-plugin-static-copy": "^2.3.0",
|
||||
"vite-plugin-stylelint": "^6.0.0",
|
||||
|
@ -1,4 +1,7 @@
|
||||
/* SPDX-License-Identifier: AGPL-3.0-or-later */
|
||||
|
||||
import "../../../node_modules/swiped-events/src/swiped-events.js";
|
||||
|
||||
(function (w, d, searxng) {
|
||||
'use strict';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user