From e96ee10dbcd998d9605299c42f60d6cea6ae9ef3 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 22 Jun 2024 09:11:47 +0200 Subject: [PATCH] Update Node.js documentation (22.3.0) --- lib/docs/scrapers/node.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/node.rb b/lib/docs/scrapers/node.rb index c41f82b1..d8dc6cb4 100644 --- a/lib/docs/scrapers/node.rb +++ b/lib/docs/scrapers/node.rb @@ -24,10 +24,15 @@ module Docs HTML version do - self.release = '20.8.0' + self.release = '22.3.0' self.base_url = 'https://nodejs.org/api/' end + version '20 LTS' do + self.release = '20.15.01' + self.base_url = 'https://nodejs.org/dist/latest-v20.x/docs/api/' + end + version '18 LTS' do self.release = '18.18.0' self.base_url = 'https://nodejs.org/dist/latest-v18.x/docs/api/'