igir
Version:
🕹 A zero-setup ROM collection manager that sorts, filters, extracts or archives, patches, and reports on collections of any size on any OS.
16 lines • 391 B
JavaScript
export default {
/**
* Added in: v19.9.0
*/
canParse(input, base) {
try {
const url = new URL(input, base);
// Try to detect and ignore Windows drive letters
return process.platform !== 'win32' || url.protocol.length > 2;
}
catch {
return false;
}
},
};
//# sourceMappingURL=urlPoly.js.map