From 7f1618d4f54322d5d42ac8f4fa60aa033bb75cd8 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Tue, 25 Apr 2023 10:21:42 +0200 Subject: [PATCH] [mirotalksfu] - update nodeJS and dep --- Dockerfile | 2 +- README.md | 2 +- app/src/Server.js | 2 +- docs/self-hosting.md | 4 ++-- package.json | 10 +++++----- public/js/Room.js | 2 +- public/js/RoomClient.js | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6ee75cf8..b3f31c32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-slim +FROM node:18-slim WORKDIR /src diff --git a/README.md b/README.md index 85fdb0ab..0b0558ad 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Embedding a meeting into a service or app using an iframe.
-- You will need to have `NodeJS` and all [requirements](https://mediasoup.org/documentation/v3/mediasoup/installation/#requirements) installed, this project has been tested with Node version [16.X](https://nodejs.org/en/blog/release/v16.15.0/). +- You will need to have `NodeJS` and all [requirements](https://mediasoup.org/documentation/v3/mediasoup/installation/#requirements) installed, this project has been tested with Node version [16.X](https://nodejs.org/en/blog/release/v16.15.1/) and [18.X](https://nodejs.org/en/blog/release/v18.16.0). - Requirements install example for `Ubuntu 20.04` diff --git a/app/src/Server.js b/app/src/Server.js index 614a2456..f1e999be 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -40,7 +40,7 @@ dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.0.4 + * @version 1.0.5 * */ diff --git a/docs/self-hosting.md b/docs/self-hosting.md index 872d681c..e7ffdf8c 100644 --- a/docs/self-hosting.md +++ b/docs/self-hosting.md @@ -25,9 +25,9 @@ $ add-apt-repository ppa:deadsnakes/ppa $ apt update $ apt install -y python3.8 python3-pip -# NodeJS 16.X and npm +# NodeJS 18.X and npm $ apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates -$ curl -sL https://deb.nodesource.com/setup_16.x | bash - +$ curl -sL https://deb.nodesource.com/setup_18.x | bash - $ apt-get install -y nodejs $ npm install -g npm@latest ``` diff --git a/package.json b/package.json index 47e73f35..f622e9ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.0.4", + "version": "1.0.5", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { @@ -33,9 +33,9 @@ "author": "Miroslav Pejic", "license": "AGPL-3.0", "dependencies": { - "@sentry/integrations": "7.48.0", - "@sentry/node": "7.48.0", - "axios": "^1.3.5", + "@sentry/integrations": "7.49.0", + "@sentry/node": "7.49.0", + "axios": "^1.3.6", "body-parser": "1.20.2", "colors": "1.4.0", "compression": "1.7.4", @@ -56,6 +56,6 @@ }, "devDependencies": { "node-fetch": "^2.6.7", - "prettier": "2.8.7" + "prettier": "2.8.8" } } diff --git a/public/js/Room.js b/public/js/Room.js index fe19e888..05ad339f 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.0.4 + * @version 1.0.5 * */ diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index f29262b4..58a32312 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -9,7 +9,7 @@ * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.0.4 + * @version 1.0.5 * */