json-joy
Version:
Collection of libraries for building collaborative editing apps.
13 lines (12 loc) • 489 B
TypeScript
export * from './codec/json/types';
export * from './slate';
export type CreateRegexMatcher = (pattern: string, ignoreCase: boolean) => RegexMatcher;
export type RegexMatcher = (value: string) => boolean;
export interface JsonPatchOptions {
/**
* A function that create regular expression matcher. Should be provided
* explicitly, to allow users supply safe regular expression implementation
* to prevent ReDOS attacks.
*/
createMatcher?: CreateRegexMatcher;
}