UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are als

28 lines (27 loc) 727 B
//#region src/CaseInsensitiveMap.ts /** * https://stackoverflow.com/a/50022230/14894786 * licensed under CC BY-SA 4.0 * changes: add overrides, remove "as any", remove empty lines */ var CaseInsensitiveMap = class extends Map { delete(key) { if (typeof key === "string") key = key.toLowerCase(); return super.delete(key); } get(key) { if (typeof key === "string") key = key.toLowerCase(); return super.get(key); } has(key) { if (typeof key === "string") key = key.toLowerCase(); return super.has(key); } set(key, value) { if (typeof key === "string") key = key.toLowerCase(); return super.set(key, value); } }; //#endregion export { CaseInsensitiveMap }; //# sourceMappingURL=CaseInsensitiveMap.mjs.map