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

Function getLatestVersion

scripts/website.js:269–271  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

267 * @returns {Version}
268 */
269function getLatestVersion() {
270 return { listed: stringifySemverNumber(filteredTags[0]), path: '' };
271}
272
273/**
274 * 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