tldts alias

This commit is contained in:
Alex Gleason 2024-05-01 16:19:53 -05:00
parent c7b34ed31b
commit 8738aeb820
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
3 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@
"nostr-relaypool": "npm:nostr-relaypool2@0.6.34",
"nostr-tools": "npm:nostr-tools@^2.5.1",
"nostr-wasm": "npm:nostr-wasm@^0.1.0",
"tldts": "npm:tldts@^6.0.14",
"type-fest": "npm:type-fest@^4.3.0",
"zod": "npm:zod@^3.23.4",
"~/fixtures/": "./fixtures/"

View File

@ -1,4 +1,5 @@
import { tldts } from '@/deps.ts';
import tldts from 'tldts';
import { db } from '@/db.ts';
interface AddRelaysOpts {

View File

@ -28,7 +28,6 @@ export {
} from 'https://raw.githubusercontent.com/alexgleason/deno-sqlite/325f66d8c395e7f6f5ee78ebfa42a0eeea4a942b/mod.ts';
export { Database as DenoSqlite3 } from 'https://deno.land/x/sqlite3@0.9.1/mod.ts';
export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts';
export { default as tldts } from 'npm:tldts@^6.0.14';
export * as cron from 'https://deno.land/x/deno_cron@v1.0.0/cron.ts';
export { S3Client } from 'https://deno.land/x/s3_lite_client@0.6.1/mod.ts';
export { default as IpfsHash } from 'npm:ipfs-only-hash@^4.0.0';