iso-639-1 alias
This commit is contained in:
parent
973791cde1
commit
c7b34ed31b
|
@ -28,6 +28,7 @@
|
||||||
"comlink": "npm:comlink@^4.4.1",
|
"comlink": "npm:comlink@^4.4.1",
|
||||||
"hono": "https://deno.land/x/hono@v3.10.1/mod.ts",
|
"hono": "https://deno.land/x/hono@v3.10.1/mod.ts",
|
||||||
"hono/middleware": "https://deno.land/x/hono@v3.10.1/middleware.ts",
|
"hono/middleware": "https://deno.land/x/hono@v3.10.1/middleware.ts",
|
||||||
|
"iso-639-1": "npm:iso-639-1@2.1.15",
|
||||||
"kysely": "npm:kysely@^0.27.3",
|
"kysely": "npm:kysely@^0.27.3",
|
||||||
"kysely_deno_postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts",
|
"kysely_deno_postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts",
|
||||||
"nostr-relaypool": "npm:nostr-relaypool2@0.6.34",
|
"nostr-relaypool": "npm:nostr-relaypool2@0.6.34",
|
||||||
|
|
|
@ -1508,6 +1508,7 @@
|
||||||
"jsr:@std/media-types@^0.224.0",
|
"jsr:@std/media-types@^0.224.0",
|
||||||
"jsr:@std/streams@^0.223.0",
|
"jsr:@std/streams@^0.223.0",
|
||||||
"npm:comlink@^4.4.1",
|
"npm:comlink@^4.4.1",
|
||||||
|
"npm:iso-639-1@2.1.15",
|
||||||
"npm:kysely@^0.27.3",
|
"npm:kysely@^0.27.3",
|
||||||
"npm:nostr-relaypool2@0.6.34",
|
"npm:nostr-relaypool2@0.6.34",
|
||||||
"npm:nostr-tools@^2.5.1",
|
"npm:nostr-tools@^2.5.1",
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { NIP05, NostrEvent, NostrFilter } from '@nostrify/nostrify';
|
import { NIP05, NostrEvent, NostrFilter } from '@nostrify/nostrify';
|
||||||
|
import ISO6391 from 'iso-639-1';
|
||||||
import { nip19 } from 'nostr-tools';
|
import { nip19 } from 'nostr-tools';
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
|
|
||||||
import { type AppController } from '@/app.ts';
|
import { type AppController } from '@/app.ts';
|
||||||
import { Conf } from '@/config.ts';
|
import { Conf } from '@/config.ts';
|
||||||
import { getUnattachedMediaByIds } from '@/db/unattached-media.ts';
|
import { getUnattachedMediaByIds } from '@/db/unattached-media.ts';
|
||||||
import { ISO6391 } from '@/deps.ts';
|
|
||||||
import { getAncestors, getAuthor, getDescendants, getEvent } from '@/queries.ts';
|
import { getAncestors, getAuthor, getDescendants, getEvent } from '@/queries.ts';
|
||||||
import { jsonMetaContentSchema } from '@/schemas/nostr.ts';
|
import { jsonMetaContentSchema } from '@/schemas/nostr.ts';
|
||||||
import { addTag, deleteTag } from '@/tags.ts';
|
import { addTag, deleteTag } from '@/tags.ts';
|
||||||
|
|
|
@ -11,7 +11,6 @@ export { unfurl } from 'npm:unfurl.js@^6.4.0';
|
||||||
export { default as TTLCache } from 'npm:@isaacs/ttlcache@^1.4.1';
|
export { default as TTLCache } from 'npm:@isaacs/ttlcache@^1.4.1';
|
||||||
// @deno-types="npm:@types/sanitize-html@2.9.0"
|
// @deno-types="npm:@types/sanitize-html@2.9.0"
|
||||||
export { default as sanitizeHtml } from 'npm:sanitize-html@^2.11.0';
|
export { default as sanitizeHtml } from 'npm:sanitize-html@^2.11.0';
|
||||||
export { default as ISO6391 } from 'npm:iso-639-1@2.1.15';
|
|
||||||
export { createPentagon } from 'https://deno.land/x/pentagon@v0.1.4/mod.ts';
|
export { createPentagon } from 'https://deno.land/x/pentagon@v0.1.4/mod.ts';
|
||||||
export {
|
export {
|
||||||
type ParsedSignature,
|
type ParsedSignature,
|
||||||
|
@ -34,6 +33,5 @@ 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 { 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';
|
export { default as IpfsHash } from 'npm:ipfs-only-hash@^4.0.0';
|
||||||
export { default as uuid62 } from 'npm:uuid62@^1.0.2';
|
export { default as uuid62 } from 'npm:uuid62@^1.0.2';
|
||||||
export { Machina } from 'https://gitlab.com/soapbox-pub/nostr-machina/-/raw/08a157d39f2741c9a3a4364cb97db36e71d8c03a/mod.ts';
|
|
||||||
export { EventEmitter } from 'npm:tseep@^1.1.3';
|
export { EventEmitter } from 'npm:tseep@^1.1.3';
|
||||||
export { default as stringifyStable } from 'npm:fast-stable-stringify@^1.0.0';
|
export { default as stringifyStable } from 'npm:fast-stable-stringify@^1.0.0';
|
||||||
|
|
Loading…
Reference in New Issue