"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fixName = void 0;
const reservedNames = new Set(['name', 'size']);
function fixName(name) {
    // eslint-disable-next-line no-useless-escape
    const fixedName = name.replace(/[<>\[\]=,\s|\.]/g, '_');
    if (reservedNames.has(fixedName)) {
        return `_${fixedName}`;
    }
    return fixedName;
}
exports.fixName = fixName;
//# sourceMappingURL=FixName.js.map