formdata-helper alias

This commit is contained in:
Alex Gleason 2024-05-01 16:37:01 -05:00
parent d1f643d7ad
commit 08ed52a57b
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
4 changed files with 3 additions and 3 deletions

View File

@ -31,6 +31,7 @@
"@std/streams": "jsr:@std/streams@^0.223.0",
"comlink": "npm:comlink@^4.4.1",
"fast-stable-stringify": "npm:fast-stable-stringify@^1.0.0",
"formdata-helper": "npm:formdata-helper@^0.3.0",
"hono": "https://deno.land/x/hono@v3.10.1/mod.ts",
"hono/middleware": "https://deno.land/x/hono@v3.10.1/middleware.ts",
"iso-639-1": "npm:iso-639-1@2.1.15",

View File

@ -1546,6 +1546,7 @@
"npm:@noble/secp256k1@^2.0.0",
"npm:comlink@^4.4.1",
"npm:fast-stable-stringify@^1.0.0",
"npm:formdata-helper@^0.3.0",
"npm:iso-639-1@2.1.15",
"npm:kysely@^0.27.3",
"npm:linkify-plugin-hashtag@^4.1.1",

View File

@ -1,5 +1,4 @@
import 'https://gitlab.com/soapbox-pub/deno-safe-fetch/-/raw/v1.0.0/load.ts';
export { parseFormData } from 'npm:formdata-helper@^0.3.0';
// @deno-types="npm:@types/lodash@4.14.194"
export { default as lodash } from 'https://esm.sh/lodash@4.17.21';
// @deno-types="npm:@types/mime@3.0.0"
@ -19,4 +18,3 @@ export {
SqliteError,
} 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 cron from 'https://deno.land/x/deno_cron@v1.0.0/cron.ts';

View File

@ -1,13 +1,13 @@
import { NostrEvent, NostrFilter } from '@nostrify/nostrify';
import Debug from '@soapbox/stickynotes/debug';
import { type Context, HTTPException } from 'hono';
import { parseFormData } from 'formdata-helper';
import { EventTemplate } from 'nostr-tools';
import * as TypeFest from 'type-fest';
import { z } from 'zod';
import { type AppContext } from '@/app.ts';
import { Conf } from '@/config.ts';
import { parseFormData } from '@/deps.ts';
import * as pipeline from '@/pipeline.ts';
import { AdminSigner } from '@/signers/AdminSigner.ts';
import { APISigner } from '@/signers/APISigner.ts';