From 3565d2c51eb33a8fdc8d6225793419c55431245e Mon Sep 17 00:00:00 2001 From: Braintree Date: Mon, 8 Jul 2024 23:36:04 +0000 Subject: [PATCH] chore: remove unused method Co-authored-by: Iris Booker --- src/index.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/index.ts b/src/index.ts index 9c1d71d..6c11dec 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,14 +40,6 @@ function decodeURI(uri: string): string { } } -function sanitizeString(str: string): string { - return str - .replace(/[^a-zA-Z0-9-_./]/g, '') - .replace(/\.+/g, '.') - .replace(/^\./, '') - .replace(/\.$/, ''); -} - export function sanitizeUrl(url?: string): string { if (!url) { return BLANK_URL;