前端VUE重构

This commit is contained in:
lmk
2026-07-10 11:28:16 +08:00
parent 610b85e3a5
commit b1cc63f883
14549 changed files with 2349065 additions and 36103 deletions
+10
View File
@@ -0,0 +1,10 @@
const MAX_PATTERN_LENGTH = 1024 * 64;
export const assertValidPattern = (pattern) => {
if (typeof pattern !== 'string') {
throw new TypeError('invalid pattern');
}
if (pattern.length > MAX_PATTERN_LENGTH) {
throw new TypeError('pattern is too long');
}
};
//# sourceMappingURL=assert-valid-pattern.js.map