node/deps/npm/node_modules/semver/functions/lte.js
npm CLI robot 433d9a0486
deps: upgrade npm to 11.4.2
PR-URL: https://github.com/nodejs/node/pull/58696
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-06-20 04:39:59 +00:00

5 lines
127 B
JavaScript

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