Bump 0.18.2
This commit is contained in:
parent
e4229296c1
commit
c51239d12b
4
package-lock.json
generated
4
package-lock.json
generated
@ -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"
|
||||||
|
@ -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",
|
||||||
|
@ -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, '\\$&');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user