diff --git a/README.md b/README.md index 442c71f..24eba1a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,36 @@ It uses Puppeteer to run a real instance of Whatsapp Web to avoid getting blocke The module is now available on npm! `npm i whatsapp-web.js` -Please note that Node v12+ is required. +Please note that Node v18+ is required. + +## QUICK STEPS TO UPGRADE NODE + +### Windows + +#### Manual +Just get the latest LTS from https://nodejs.org + +#### npm +```powershell +sudo npm install -g n +sudo n stable +``` + +#### Choco +```powershell +choco install nodejs-lts +``` + +#### Winget +```powershell +winget install OpenJS.NodeJS.LTS +``` + +### Ubuntu / Debian +```bash +curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - &&\ +sudo apt-get install -y nodejs +``` ## Example usage diff --git a/package.json b/package.json index aa338e7..5e33cff 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,9 @@ "@pedroslopez/moduleraid": "^5.0.2", "fluent-ffmpeg": "2.1.2", "mime": "^3.0.0", - "node-fetch": "^2.6.5", - "node-webpmux": "3.1.0", - "puppeteer": "^13.0.0" + "node-fetch": "^2.6.9", + "node-webpmux": "3.1.7", + "puppeteer": "^18.2.1" }, "devDependencies": { "@types/node-fetch": "^2.5.12", @@ -49,7 +49,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">=12.0.0" + "node": ">=18.0.0" }, "optionalDependencies": { "archiver": "^5.3.1",