persona-community-5/.pnpm-store/v3/files/8c/db9e1b3e13cfddc8cdb3522ad12f19d7bfef613ec2ca439ab1f2e676ea12e2c51032dd11236e695a7e6c3570c47d6f2b3a2fa14b6d1e48b017b8163688348a
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

10 lines
336 B
Plaintext

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