let warningEmitted = false; export const emitWarningIfUnsupportedVersion = (version) => { if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { warningEmitted = true; } };