From b22edb4086436221607d9c75aadab70db294df41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20M=C3=BCller?= Date: Fri, 13 Dec 2024 12:41:59 +0100 Subject: [PATCH] update node requirements and applied audit fixes --- .github/workflows/main.yml | 2 +- README.md | 4 ++-- package-lock.json | 14 ++++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25e2ff5..4ef597e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,7 +71,7 @@ jobs: - name: Node Setup uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: "lts/Jod" cache: "npm" - name: System dependencies (Linux) diff --git a/README.md b/README.md index be7bd3b..235f890 100644 --- a/README.md +++ b/README.md @@ -102,8 +102,8 @@ Restic-Browser [OPTIONS] ### Dependencies -* Follow the [Tauri Prerequisites Docs](https://tauri.app/v1/guides/getting-started/prerequisites/) to install a *C/C++ toolchain* and *Rust* for your platform. -* Make sure [npm](https://nodejs.org/en/download) *Node v18 LTS* is installed. +* Follow the [Tauri Prerequisites Docs](https://tauri.app/v1/guides/getting-started/prerequisites/) to install a *C/C++ toolchain* and *Rust* 1.70 or later for your platform. +* Make sure [npm](https://nodejs.org/en/download) *Node* 18 LTS or later is installed. * Install [restic](https://github.com/restic/restic/releases/) and make sure it is included in your $PATH. Note: installing the tauri CLI via cargo is not necessary. Tauri can be launched through npm (see below). diff --git a/package-lock.json b/package-lock.json index 5375944..eec4d5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1082,9 +1082,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -1092,6 +1092,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -1189,10 +1190,11 @@ "dev": true }, "node_modules/vite": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.3.tgz", - "integrity": "sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==", + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.5.tgz", + "integrity": "sha512-ifW3Lb2sMdX+WU91s3R0FyQlAyLxOzCSCP37ujw0+r5POeHPwe6udWVIElKQq8gk3t7b8rkmvqC6IHBpCff4GQ==", "dev": true, + "license": "MIT", "dependencies": { "esbuild": "^0.18.10", "postcss": "^8.4.27",