securityos/node_modules/semver/functions/lte.js

4 lines
113 B
JavaScript

const compare = require('./compare')
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte