summaryrefslogtreecommitdiff
path: root/.nvmrc
AgeCommit message (Collapse)Author
2025-12-12[upd] web-client (simple): Bump @types/node in /client/simpledependabot[bot]
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.1 to 25.0.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18[mod] theme/simple: migrate codebase to TypeScriptIvan Gabaldon
TypeScript is a superset of JavaScript, converting the entire theme to TypeScript allows us to receive much more feedback on possible issues made in package updates or our own typos, furthermore, it allows to transpile properly to lower specs. This PR couldn't be done in smaller commits, a lot of work needed to make everything *work properly*: - A browser baseline has been set that requires minimum **Chromium 93, Firefox 92 and Safari 15** (proper visuals/operation on older browser versions is not guaranteed) - LightningCSS now handles minification and prefix creation for CSS. - All hardcoded polyfills and support for previous browser baseline versions have been removed. - Convert codebase to TypeScript. - Convert IIFE to ESM, handling globals with IIFE is cumbersome, ESM is the standard for virtually any use of JS nowadays. - Vite now builds the theme without the need for `vite-plugin-static-copy`. - `searxng.ready` now accepts an array of conditions for the callback to be executed. - Replace `leaflet` with `ol` as there were some issues with proper Vite bundling. - Merged `head` with `main` script, as head was too small now. - Add `assertElement` to properly check the existence of critical DOM elements. - `searxng.on` renamed to `searxng.listen` with some handling improvements.
2025-01-14[upd] update npm dependencies (package.json) and .tool-versionsMarkus Heiser
To avoid issue like [1], versions from now on are pinned in:: searx/static/themes/simple/package-lock.json To test nodejs v23 or newer is needed (will be installed by nvm). To drop a possibly existing installation:: $ make clean Install nodejs in nvm:: $ make nvm.nodejs INFO: install (update) NVM at searxng/.nvm ... Now using node v23.5.0 (npm v10.9.2) Creating default alias: default -> v23.5 (-> v23.5.0) INFO: Node.js is installed at searxng/.nvm/versions/node/v23.5.0/bin/node INFO: Node.js is version v23.5.0 INFO: npm is installed at searxng/.nvm/versions/node/v23.5.0/bin/npm INFO: npm is version 10.9.2 INFO: NVM is installed at searxng/.nvm To test npm checks and builds: $ make static.build.commit Related: [1] https://github.com/searxng/searxng/issues/4143 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-12-23[mod] nodejs v16 reaached EOL / upgrade to v20.10Markus Heiser
[1] https://nodejs.org/en/about/previous-releases Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-01Upgrade dependenciesAlexandre Flament
* geckodriver: 0.33.0 * node 16.20.2 * pyright 1.1.329 * eslint 8.50.0
2022-06-25Node: update to node 16.15.1Alexandre Flament
2021-11-20[mod] NVM: pin Node.js to v16.13.0Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>