File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ class Esbuild < UrlScraper
16
16
Licensed under the MIT License.
17
17
HTML
18
18
19
- version do
20
- self . release = '0.14.2'
21
- self . base_url = 'https://esbuild.github.io/'
22
- html_filters . push 'esbuild/clean_html' , 'esbuild/entries'
23
- end
19
+ self . release = '0.14.2'
20
+ self . base_url = 'https://esbuild.github.io/'
21
+ html_filters . push 'esbuild/clean_html' , 'esbuild/entries'
24
22
25
23
def get_latest_version ( opts )
26
24
get_npm_version ( 'esbuild' , opts )
Original file line number Diff line number Diff line change @@ -16,12 +16,10 @@ class Vite < UrlScraper
16
16
Licensed under the MIT License.
17
17
HTML
18
18
19
- version do
20
- self . release = '2.6.14'
21
- self . base_url = 'https://vitejs.dev/'
22
- self . initial_paths = %w( guide/ )
23
- html_filters . push 'vue/entries_v3' , 'vue/clean_html'
24
- end
19
+ self . release = '2.6.14'
20
+ self . base_url = 'https://vitejs.dev/'
21
+ self . initial_paths = %w( guide/ )
22
+ html_filters . push 'vue/entries_v3' , 'vue/clean_html'
25
23
26
24
def get_latest_version ( opts )
27
25
get_npm_version ( 'vite' , opts )
You can’t perform that action at this time.
0 commit comments