REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 464 B
Close
//opt/alt/alt-nodejs14/root/lib/node_modules/npm/node_modules/semver-diff/index.js
Text
Base64
'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; };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.js
464 B
lrw-r--r--
2026-02-22 20:40:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
license
1.09 KB
lrw-r--r--
2026-02-22 20:40:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
1.57 KB
lrw-r--r--
2026-02-22 20:40:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.md
1.00 KB
lrw-r--r--
2026-02-22 20:40:30
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).