Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/slash/
Upload File :
Current File : //opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/slash/index.js

'use strict';
module.exports = function (str) {
	var isExtendedLengthPath = /^\\\\\?\\/.test(str);
	var hasNonAscii = /[^\x00-\x80]+/.test(str);

	if (isExtendedLengthPath || hasNonAscii) {
		return str;
	}

	return str.replace(/\\/g, '/');
};

Hacked By AnonymousFox1.0, Coded By AnonymousFox