MCPcopy Create free account
hub / github.com/Automattic/mongoose / getLatestVersion

Function getLatestVersion

scripts/website.js:264–266  ·  view source on GitHub ↗

* Get the latest version available * @returns {Version}

()

Source from the content-addressed store, hash-verified

262 * @returns {Version}
263 */
264function getLatestVersion() {
265 return { listed: stringifySemverNumber(filteredTags[0]), path: '' };
266}
267
268/**
269 * Get the latest version for the provided major version

Callers 2

getCurrentVersionFunction · 0.85
website.jsFile · 0.85

Calls 1

stringifySemverNumberFunction · 0.85

Tested by

no test coverage detected