Bump 0.18.2
All checks were successful
Build / Build NPM Project (push) Successful in 25s
Build / Tag Version (push) Successful in 7s
Build / Publish Documentation (push) Successful in 26s

This commit is contained in:
Zakary Timson 2024-10-12 12:30:23 -04:00
parent e4229296c1
commit c51239d12b
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@ztimson/utils",
"version": "0.18.1",
"version": "0.18.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@ztimson/utils",
"version": "0.18.1",
"version": "0.18.2",
"license": "MIT",
"dependencies": {
"var-persist": "^1.0.1"

View File

@ -1,6 +1,6 @@
{
"name": "@ztimson/utils",
"version": "0.18.1",
"version": "0.18.2",
"description": "Utility library",
"author": "Zak Timson",
"license": "MIT",

View File

@ -18,6 +18,6 @@ export function gravatar(email: string, def='mp') {
* @param {string} value String which should be escaped
* @return {string} New escaped sequence
*/
function escapeRegex(value: string) {
export function escapeRegex(value: string) {
return value.replace(/[.*+?^${}()|\[\]\\]/g, '\\$&');
}