selfcarebot/node_modules/semver/functions/lte.js

4 lines
113 B
JavaScript
Raw Normal View History

2023-03-30 06:02:54 +00:00
const compare = require('./compare')
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte