Skip to content

Build your personal knowledge base with Trilium Notes

node update

zadam4558e349b532
diff --git a/.gitpod.yml b/.gitpod.yml
index 914a89919d..d6e69af898 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -2,7 +2,7 @@ image:
file: .gitpod.dockerfile
tasks:
- - before: nvm install 16.19.0 && nvm use 16.19.0
+ - before: nvm install 16.19.1 && nvm use 16.19.1
init: npm install
command: npm run start-server
diff --git a/Dockerfile b/Dockerfile
index c1a425e3f7..745881e659 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
# !!! Don't try to build this Dockerfile directly, run it through bin/build-docker.sh script !!!
-FROM node:16.19.0-alpine
+FROM node:16.19.1-alpine
# Create app directory
WORKDIR /usr/src/app
diff --git a/bin/build-server.sh b/bin/build-server.sh
index 2c42c91053..a3cd980ba3 100755
--- a/bin/build-server.sh
+++ b/bin/build-server.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
PKG_DIR=dist/trilium-linux-x64-server
-NODE_VERSION=16.19.0
+NODE_VERSION=16.19.1
if [ "$1" != "DONTCOPY" ]
then
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index fdcb99a40e..ae460ff92a 100755
--- a/bin/copy-trilium.sh
+++ b/bin/copy-trilium.sh
@@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi
-n exec 16.19.0 npm run webpack
+n exec 16.19.1 npm run webpack
DIR=$1
@@ -27,7 +27,7 @@ cp -r electron.js $DIR/
cp webpack-* $DIR/
# run in subshell (so we return to original dir)
-(cd $DIR && n exec 16.19.0 npm install --only=prod)
+(cd $DIR && n exec 16.19.1 npm install --only=prod)
# cleanup of useless files in dependencies
rm -r $DIR/node_modules/image-q/demo
diff --git a/package.json b/package.json
index 599c24dd13..21ff38607f 100644
--- a/package.json
+++ b/package.json
@@ -101,7 +101,7 @@
"electron-rebuild": "3.2.9",
"esm": "3.2.25",
"jasmine": "4.5.0",
- "jsdoc": "4.0.0",
+ "jsdoc": "4.0.1",
"lorem-ipsum": "2.0.8",
"rcedit": "3.0.1",
"webpack": "5.75.0",