source: frontend/node_modules/semver/functions/satisfies.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 247 bytes
Line 
1'use strict'
2
3const Range = require('../classes/range')
4const satisfies = (version, range, options) => {
5 try {
6 range = new Range(range, options)
7 } catch (er) {
8 return false
9 }
10 return range.test(version)
11}
12module.exports = satisfies
Note: See TracBrowser for help on using the repository browser.