Build update

This commit is contained in:
Francisco Hodge 2022-07-31 23:43:52 +00:00
parent 6b6c88cffc
commit 863dd144b3
13 changed files with 765 additions and 761 deletions

View File

@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v3.4.131
* simple-keyboard v3.4.132
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -185,6 +185,10 @@ declare class Utilities {
* Split array into chunks
*/
chunkArray<T>(arr: T[], size: number): T[][];
/**
* Escape regex input
*/
escapeRegex(str: string): string;
/**
* Reusable empty function
*/

View File

@ -536,7 +536,7 @@ class Utilities {
* Escape regex input
*/
escapeRegex(str: string) {
return str.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
return str.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
}
/**