Current Path: > > usr > lib > node_modules > npm > > node_modules > > semver-diff >
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.38 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
index.js | File | 464 bytes | March 10 2021 14:36:40. | |
license | File | 1119 bytes | March 10 2021 14:36:40. | |
package.json | File | 1606 bytes | March 10 2021 14:36:40. | |
readme.md | File | 1026 bytes | March 10 2021 14:36:40. |
'use strict'; var semver = require('semver'); module.exports = function (a, b) { if (semver.gt(a, b)) { return null; } a = semver.parse(a); b = semver.parse(b); for (var key in a) { if (key === 'major' || key === 'minor' || key === 'patch') { if (a[key] !== b[key]) { return key; } } if (key === 'prerelease' || key === 'build') { if (JSON.stringify(a[key]) !== JSON.stringify(b[key])) { return key; } } } return null; };
SILENT KILLER Tool