|
|
@ -2,7 +2,6 @@ module Docs
|
|
|
|
class Babel < UrlScraper
|
|
|
|
class Babel < UrlScraper
|
|
|
|
self.type = 'simple'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.base_url = 'https://babeljs.io/docs/en/'
|
|
|
|
self.base_url = 'https://babeljs.io/docs/en/'
|
|
|
|
self.release = '7.12.6'
|
|
|
|
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'https://babeljs.io/',
|
|
|
|
home: 'https://babeljs.io/',
|
|
|
|
code: 'https://github.com/babel/babel'
|
|
|
|
code: 'https://github.com/babel/babel'
|
|
|
@ -30,6 +29,14 @@ module Docs
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '7' do
|
|
|
|
|
|
|
|
self.release = '7.12.6'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '6' do
|
|
|
|
|
|
|
|
self.release = '6.26.1'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
def get_latest_version(opts)
|
|
|
|
get_latest_github_release('babel', 'babel', opts)
|
|
|
|
get_latest_github_release('babel', 'babel', opts)
|
|
|
|
end
|
|
|
|
end
|
|
|
|