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