Files
shields/services/node/node-lts.service.js
Regev Brody 4ee26bfcdb node badges are missing descriptions #4871 (#4872)
* fix: node badges are missing descriptions #4871

* fix: node badges are missing descriptions #4871

* fix: node badges are missing descriptions #4871

* Update services/node/node-lts.service.js

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Update services/node/node-current.service.js

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Update services/node/node-base.js

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
2020-04-05 17:41:06 -05:00

27 lines
556 B
JavaScript

'use strict'
const NodeVersionBase = require('./node-base')
const { versionColorForRangeLts } = require('./node-version-color')
module.exports = class NodeLtsVersion extends NodeVersionBase {
static get path() {
return 'v-lts'
}
static get defaultBadgeData() {
return { label: 'node-lts' }
}
static get type() {
return 'lts'
}
static get colorResolver() {
return versionColorForRangeLts
}
static get documentation() {
return `This badge indicates whether the package supports <b>all</b> LTS node versions`
}
}