bae705aa97
- Add NFC ePassport roadmap (ICAO 9303, eIDAS) - Add TensorFlow.js edge face detection (BlazeFace) - Add structured audit logger (GDPR-compliant) - Risk scoring support Part of KYC Apple Native UX v1.1.0
16 lines
332 B
JavaScript
16 lines
332 B
JavaScript
export const ignoreENOENT = async (p) => p.catch(er => {
|
|
if (er.code !== 'ENOENT') {
|
|
throw er;
|
|
}
|
|
});
|
|
export const ignoreENOENTSync = (fn) => {
|
|
try {
|
|
return fn();
|
|
}
|
|
catch (er) {
|
|
if (er?.code !== 'ENOENT') {
|
|
throw er;
|
|
}
|
|
}
|
|
};
|
|
//# sourceMappingURL=ignore-enoent.js.map
|