We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cebb7b6 commit 2f4dadeCopy full SHA for 2f4dade
1 file changed
lib/api.js
@@ -104,13 +104,15 @@ class API {
104
105
/**
106
* @param {Object} options
107
+ * @param {string} [options.versionLimit] Semver range to constrain the version lookup
108
* @param {Object} [options.repository=ADAPT_FRAMEWORK] The github repository url
109
* @returns {string}
110
*/
111
async getLatestFrameworkVersion ({
112
+ versionLimit,
113
repository = ADAPT_FRAMEWORK
114
} = {}) {
- return getLatestVersion({ repository })
115
+ return getLatestVersion({ versionLimit, repository })
116
}
117
118
0 commit comments