(sdkVariant, abiVariant, versionCode, uploadDate, platform)
| 618 | const minorVersion = monthYears(buildDate, fromDate); |
| 619 | callback({code: buildVersion, name: majorVersion + '.' + minorVersion + '.' + buildVersion}); |
| 620 | }); |
| 621 | } |
| 622 | }); |
| 623 | } |
| 624 | |
| 625 | function escapeMarkdown (text) { |
| 626 | if (!text) |
| 627 | return text; |
| 628 | return text.replace(/\\/g, '\\\\').replace(/\-/g, '\\-').replace(/\*/g, '\\*').replace(/\./g, '\\.').replace(/\!/g, '\\!'); |
| 629 | } |
| 630 | |
| 631 | function escapeHtml (text) { |
| 632 | if (!text) |
| 633 | return text; |
| 634 | return text.replace(/</g, '<').replace(/>/g, '>'); |
| 635 | } |
| 636 |
no test coverage detected