diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2025-08-18 23:17:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-18 23:17:50 +0200 |
| commit | 9bb04e288ddda7d91fd6e2d87adc3bdaf01bd7c8 (patch) | |
| tree | 685890dd1c902ae2a4bff1204cc7cb084e42a9be /searx/static/themes/simple/js/search.min.js.map | |
| parent | 5f364ad99973341c565ed439b12218051923cbb2 (diff) | |
[upd] web-client (simple): Bump the minor group across 1 directory with 6 updates (#5128)
* [upd] web-client (simple): Bump the minor group across 1 directory with 6 updates
Bumps the minor group with 6 updates in the /client/simple directory:
| Package | From | To |
| --- | --- | --- |
| [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) | `2.1.3` | `2.2.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `24.2.0` | `24.3.0` |
| [browserslist](https://github.com/browserslist/browserslist) | `4.25.1` | `4.25.2` |
| [edge.js](https://github.com/edge-js/edge) | `6.2.1` | `6.3.0` |
| [stylelint](https://github.com/stylelint/stylelint) | `16.23.0` | `16.23.1` |
| [vite-bundle-analyzer](https://github.com/nonzzz/vite-bundle-analyzer) | `1.1.0` | `1.2.1` |
Updates `@biomejs/biome` from 2.1.3 to 2.2.0
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.0/packages/@biomejs/biome)
Updates `@types/node` from 24.2.0 to 24.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
Updates `browserslist` from 4.25.1 to 4.25.2
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.25.1...4.25.2)
Updates `edge.js` from 6.2.1 to 6.3.0
- [Release notes](https://github.com/edge-js/edge/releases)
- [Changelog](https://github.com/edge-js/edge/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/edge-js/edge/compare/v6.2.1...v6.3.0)
Updates `stylelint` from 16.23.0 to 16.23.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.23.0...16.23.1)
Updates `vite-bundle-analyzer` from 1.1.0 to 1.2.1
- [Release notes](https://github.com/nonzzz/vite-bundle-analyzer/releases)
- [Changelog](https://github.com/nonzzz/vite-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nonzzz/vite-bundle-analyzer/compare/v1.1.0...v1.2.1)
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.2.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
- dependency-name: "@types/node"
dependency-version: 24.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
- dependency-name: browserslist
dependency-version: 4.25.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: edge.js
dependency-version: 6.3.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
- dependency-name: stylelint
dependency-version: 16.23.1
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: minor
- dependency-name: vite-bundle-analyzer
dependency-version: 1.2.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [fix] themes/simple: recreate lock
* [fix] themes/simple: promote from nursery
- noAwaitInLoop
- noBitwiseOperators
- noConstantBinaryExpression
- noGlobalDirnameFilename
- noImplicitCoercion
- noUnassignedVariables
- noUselessBackrefInRegex
- noUselessEscapeInString
- useAdjacentGetterSetter
- useConsistentObjectDefinition
- useConsistentResponse
- useIndexOf
- useIterableCallbackReturn
- useJsonImportAttribute
- useNumericSeparators
- useObjectSpread
- useParseIntRadix
- useReadonlyClassProperties
- useSingleJsDocAsterisk
- useUnifiedTypeSignature
* [fix] themes/simple: build static
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Gabaldon <igabaldon@inetol.net>
Diffstat (limited to 'searx/static/themes/simple/js/search.min.js.map')
| -rw-r--r-- | searx/static/themes/simple/js/search.min.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/static/themes/simple/js/search.min.js.map b/searx/static/themes/simple/js/search.min.js.map index 676cf55c7..8b002ee29 100644 --- a/searx/static/themes/simple/js/search.min.js.map +++ b/searx/static/themes/simple/js/search.min.js.map @@ -1 +1 @@ -{"version":3,"file":"search.min.js","names":["qInput: HTMLInputElement","cs: HTMLElement","event: MouseEvent","isMobile: boolean","isResultsPage: boolean","categoryButtons: HTMLButtonElement[]","form: HTMLFormElement | null","event: Event"],"sources":["../../../../../client/simple/src/js/main/search.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { assertElement, listen, settings } from \"../core/toolkit.ts\";\n\nconst submitIfQuery = (qInput: HTMLInputElement): void => {\n if (qInput.value.length > 0) {\n const search = document.getElementById(\"search\") as HTMLFormElement | null;\n search?.submit();\n }\n};\n\nconst updateClearButton = (qInput: HTMLInputElement, cs: HTMLElement): void => {\n cs.classList.toggle(\"empty\", qInput.value.length === 0);\n};\n\nconst createClearButton = (qInput: HTMLInputElement): void => {\n const cs = document.getElementById(\"clear_search\");\n assertElement(cs);\n\n updateClearButton(qInput, cs);\n\n listen(\"click\", cs, (event: MouseEvent) => {\n event.preventDefault();\n qInput.value = \"\";\n qInput.focus();\n updateClearButton(qInput, cs);\n });\n\n listen(\"input\", qInput, () => updateClearButton(qInput, cs), { passive: true });\n};\n\nconst qInput = document.getElementById(\"q\") as HTMLInputElement | null;\nassertElement(qInput);\n\nconst isMobile: boolean = window.matchMedia(\"(max-width: 50em)\").matches;\nconst isResultsPage: boolean = document.querySelector(\"main\")?.id === \"main_results\";\n\n// focus search input on large screens\nif (!(isMobile || isResultsPage)) {\n qInput.focus();\n}\n\ncreateClearButton(qInput);\n\n// Additionally to searching when selecting a new category, we also\n// automatically start a new search request when the user changes a search\n// filter (safesearch, time range or language) (this requires JavaScript\n// though)\nif (\n settings.search_on_category_select &&\n // If .search_filters is undefined (invisible) we are on the homepage and\n // hence don't have to set any listeners\n document.querySelector(\".search_filters\")\n) {\n const safesearchElement = document.getElementById(\"safesearch\");\n if (safesearchElement) {\n listen(\"change\", safesearchElement, () => submitIfQuery(qInput));\n }\n\n const timeRangeElement = document.getElementById(\"time_range\");\n if (timeRangeElement) {\n listen(\"change\", timeRangeElement, () => submitIfQuery(qInput));\n }\n\n const languageElement = document.getElementById(\"language\");\n if (languageElement) {\n listen(\"change\", languageElement, () => submitIfQuery(qInput));\n }\n}\n\nconst categoryButtons: HTMLButtonElement[] = [\n ...document.querySelectorAll<HTMLButtonElement>(\"button.category_button\")\n];\nfor (const button of categoryButtons) {\n listen(\"click\", button, (event: MouseEvent) => {\n if (event.shiftKey) {\n event.preventDefault();\n button.classList.toggle(\"selected\");\n return;\n }\n\n // deselect all other categories\n for (const categoryButton of categoryButtons) {\n categoryButton.classList.toggle(\"selected\", categoryButton === button);\n }\n });\n}\n\nconst form: HTMLFormElement | null = document.querySelector<HTMLFormElement>(\"#search\");\nassertElement(form);\n\n// override form submit action to update the actually selected categories\nlisten(\"submit\", form, (event: Event) => {\n event.preventDefault();\n\n const categoryValuesInput = document.querySelector<HTMLInputElement>(\"#selected-categories\");\n if (categoryValuesInput) {\n const categoryValues = categoryButtons\n .filter((button) => button.classList.contains(\"selected\"))\n .map((button) => button.name.replace(\"category_\", \"\"));\n\n categoryValuesInput.value = categoryValues.join(\",\");\n }\n\n form.submit();\n});\n"],"mappings":"wDAIA,MAAM,EAAgB,A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AM,gBAAgB,CACtB,EAAO,UAAU,OAAO,WAAW,CACnC,MACD,CAGD,IAAK,IAAM,KAAkB,EAC3B,EAAe,UAAU,OAAO,WAAY,IAAmB,EAAO,AAEzE,EAAC,CAGJ,MAAMI,EAA+B,SAAS,cAA+B,UAAU,CACvF,EAAc,EAAK,CAGnB,EAAO,SAAU,EAAM,AAACC,GAAiB,CACvC,EAAM,gBAAgB,CAEtB,IAAM,EAAsB,SAAS,cAAgC,uBAAuB,CAC5F,GAAI,EAAqB,CACvB,IAAM,EAAiB,EACpB,OAAO,AAAC,GAAW,EAAO,UAAU,SAAS,WAAW,CAAC,CACzD,IAAI,AAAC,GAAW,EAAO,KAAK,QAAQ,YAAa,GAAG,CAAC,CAExD,EAAoB,MAAQ,EAAe,KAAK,IAAI,AACrD,CAED,EAAK,QAAQ,AACd,EAAC"}
\ No newline at end of file +{"version":3,"file":"search.min.js","names":["isMobile: boolean","isResultsPage: boolean","categoryButtons: HTMLButtonElement[]","form: HTMLFormElement | null"],"sources":["../../../../../client/simple/src/js/main/search.ts"],"sourcesContent":["// SPDX-License-Identifier: AGPL-3.0-or-later\n\nimport { assertElement, listen, settings } from \"../core/toolkit.ts\";\n\nconst submitIfQuery = (qInput: HTMLInputElement): void => {\n if (qInput.value.length > 0) {\n const search = document.getElementById(\"search\") as HTMLFormElement | null;\n search?.submit();\n }\n};\n\nconst updateClearButton = (qInput: HTMLInputElement, cs: HTMLElement): void => {\n cs.classList.toggle(\"empty\", qInput.value.length === 0);\n};\n\nconst createClearButton = (qInput: HTMLInputElement): void => {\n const cs = document.getElementById(\"clear_search\");\n assertElement(cs);\n\n updateClearButton(qInput, cs);\n\n listen(\"click\", cs, (event: MouseEvent) => {\n event.preventDefault();\n qInput.value = \"\";\n qInput.focus();\n updateClearButton(qInput, cs);\n });\n\n listen(\"input\", qInput, () => updateClearButton(qInput, cs), { passive: true });\n};\n\nconst qInput = document.getElementById(\"q\") as HTMLInputElement | null;\nassertElement(qInput);\n\nconst isMobile: boolean = window.matchMedia(\"(max-width: 50em)\").matches;\nconst isResultsPage: boolean = document.querySelector(\"main\")?.id === \"main_results\";\n\n// focus search input on large screens\nif (!(isMobile || isResultsPage)) {\n qInput.focus();\n}\n\ncreateClearButton(qInput);\n\n// Additionally to searching when selecting a new category, we also\n// automatically start a new search request when the user changes a search\n// filter (safesearch, time range or language) (this requires JavaScript\n// though)\nif (\n settings.search_on_category_select &&\n // If .search_filters is undefined (invisible) we are on the homepage and\n // hence don't have to set any listeners\n document.querySelector(\".search_filters\")\n) {\n const safesearchElement = document.getElementById(\"safesearch\");\n if (safesearchElement) {\n listen(\"change\", safesearchElement, () => submitIfQuery(qInput));\n }\n\n const timeRangeElement = document.getElementById(\"time_range\");\n if (timeRangeElement) {\n listen(\"change\", timeRangeElement, () => submitIfQuery(qInput));\n }\n\n const languageElement = document.getElementById(\"language\");\n if (languageElement) {\n listen(\"change\", languageElement, () => submitIfQuery(qInput));\n }\n}\n\nconst categoryButtons: HTMLButtonElement[] = [\n ...document.querySelectorAll<HTMLButtonElement>(\"button.category_button\")\n];\nfor (const button of categoryButtons) {\n listen(\"click\", button, (event: MouseEvent) => {\n if (event.shiftKey) {\n event.preventDefault();\n button.classList.toggle(\"selected\");\n return;\n }\n\n // deselect all other categories\n for (const categoryButton of categoryButtons) {\n categoryButton.classList.toggle(\"selected\", categoryButton === button);\n }\n });\n}\n\nconst form: HTMLFormElement | null = document.querySelector<HTMLFormElement>(\"#search\");\nassertElement(form);\n\n// override form submit action to update the actually selected categories\nlisten(\"submit\", form, (event: Event) => {\n event.preventDefault();\n\n const categoryValuesInput = document.querySelector<HTMLInputElement>(\"#selected-categories\");\n if (categoryValuesInput) {\n const categoryValues = categoryButtons\n .filter((button) => button.classList.contains(\"selected\"))\n .map((button) => button.name.replace(\"category_\", \"\"));\n\n categoryValuesInput.value = categoryValues.join(\",\");\n }\n\n form.submit();\n});\n"],"mappings":"wDAIA,MAAM,EAAiB,GAAmC,CACxD,GAAI,EAAO,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