From 943c8fb85bf1b3b2374517dd59da1a44046f99ff Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 2 Jan 2025 07:45:46 +0100 Subject: [upd] update npm dependencies (package.json) and .tool-versions 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 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 37283c5e3..f6b6b1ec4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "dependencies": { - "eslint": "^9.0.0", - "pyright": "^1.1.329" + "eslint": "^9.17.0", + "pyright": "^1.1.391" }, "scripts": { "clean": "rm -Rf node_modules package-lock.json" -- cgit v1.2.3