MCPcopy Create free account
hub / github.com/EvoMap/evolver / _bootstrapVersionSatisfies

Function _bootstrapVersionSatisfies

index.js:52–56  ·  view source on GitHub ↗
(currentVersion, requiredVersion)

Source from the content-addressed store, hash-verified

50}
51
52function _bootstrapVersionSatisfies(currentVersion, requiredVersion) {
53 if (String(currentVersion || '') === String(requiredVersion || '')) return true;
54 const cmp = _compareBootstrapSemver(currentVersion, requiredVersion);
55 return cmp !== null && cmp >= 0;
56}
57
58function _failClosedForceUpdateBootstrap(backupName, entryName, error) {
59 const detail = error && error.message ? error.message : String(error || 'unknown error');

Calls 1

_compareBootstrapSemverFunction · 0.85

Tested by

no test coverage detected