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", "name": "@ztimson/utils",
"version": "0.18.1", "version": "0.18.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@ztimson/utils", "name": "@ztimson/utils",
"version": "0.18.1", "version": "0.18.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"var-persist": "^1.0.1" "var-persist": "^1.0.1"

View File

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

View File

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