PHP 7.4.33
Preview: index.js Size: 289 B
/var/www/receipt-app-backend-bitkit.dk/httpdocs/node_modules/slash/index.js
'use strict';
module.exports = path => {
	const isExtendedLengthPath = /^\\\\\?\\/.test(path);
	const hasNonAscii = /[^\u0000-\u0080]+/.test(path); // eslint-disable-line no-control-regex

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

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

Directory Contents

Dirs: 0 × Files: 5
Name Size Perms Modified Actions
621 B lrw-r--r-- 2026-05-06 08:23:45
Edit Download
289 B lrw-r--r-- 2026-05-06 08:23:45
Edit Download
1.08 KB lrw-r--r-- 2026-05-06 08:23:45
Edit Download
576 B lrw-r--r-- 2026-05-06 08:23:45
Edit Download
912 B lrw-r--r-- 2026-05-06 08:23:45
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).