Make the localizer config sealed instead of non-extendible

This commit is contained in:
Oliver 2026-03-29 01:24:39 -06:00
parent 9d49a45f0d
commit 2d6db98530

View file

@ -1,4 +1,4 @@
const config = Object.preventExtensions({ const config = Object.seal({
subKeyPattern: /@(?<key>[a-zA-Z.]+)/gm, subKeyPattern: /@(?<key>[a-zA-Z.]+)/gm,
maxDepth: 10, maxDepth: 10,
}); });