diff --git a/lib/docs/scrapers/npm.rb b/lib/docs/scrapers/npm.rb index 8f45d7d4..bdc293e3 100644 --- a/lib/docs/scrapers/npm.rb +++ b/lib/docs/scrapers/npm.rb @@ -2,7 +2,7 @@ module Docs class Npm < UrlScraper self.name = 'npm' self.type = 'npm' - self.release = '5.0.2' + self.release = '5.3.0' self.base_url = 'https://docs.npmjs.com/' self.force_gzip = true self.links = { @@ -12,6 +12,7 @@ module Docs html_filters.push 'npm/entries', 'npm/clean_html', 'title' + options[:max_image_size] = 130_000 options[:container] = ->(filter) { filter.root_page? ? '.toc' : nil } options[:title] = false options[:root_title] = 'npm'