add CI pipeline with lint, test, build
Some checks failed
CI / build (push) Failing after 3m53s

This commit is contained in:
21_KnjazkinSO
2026-05-10 16:19:05 +03:00
parent 92843ee86c
commit 08d4cc1f80
8421 changed files with 1363645 additions and 0 deletions

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