SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > > semver-diff


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules//semver-diff

NameTypeSizeLast ModifiedActions
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.

Reading File: //lib/node_modules/npm/node_modules//semver-diff/index.js

'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