@koloseum/utils 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils.js +1 -1
- package/package.json +1 -1
package/dist/utils.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v4 as uuidv4 } from "uuid";
|
|
2
2
|
import { error as svelteError } from "@sveltejs/kit";
|
|
3
3
|
import { FunctionsFetchError, FunctionsHttpError, FunctionsRelayError } from "@supabase/supabase-js";
|
|
4
|
-
import sanitize from "sanitize-html";
|
|
5
4
|
import validator from "validator";
|
|
6
5
|
/* Helper functions */
|
|
6
|
+
const sanitize = (await import("sanitize-html")).default;
|
|
7
7
|
const { isMobilePhone, isURL } = validator;
|
|
8
8
|
/* Dummy data */
|
|
9
9
|
export const Data = {
|