░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/lib/node_modules/npm/node_modules/semver/internal
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: identifiers.js
const numeric = /^[0-9]+$/ const compareIdentifiers = (a, b) => { const anum = numeric.test(a) const bnum = numeric.test(b) if (anum && bnum) { a = +a b = +b } return a === b ? 0 : (anum && !bnum) ? -1 : (bnum && !anum) ? 1 : a < b ? -1 : 1 } const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a) module.exports = { compareIdentifiers, rcompareIdentifiers, }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 constants.js
JS
859 B
2023-09-24 03:45
EDIT
📄 debug.js
JS
226 B
2023-09-24 03:45
EDIT
📄 identifiers.js
JS
410 B
2023-09-24 03:45
EDIT
📄 parse-options.js
JS
324 B
2023-09-24 03:45
EDIT
📄 re.js
JS
7.5 KB
2023-09-24 03:45
EDIT