mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Remove @std/dotenv
This commit is contained in:
parent
8944594c71
commit
f6046c015b
3 changed files with 0 additions and 14 deletions
|
|
@ -54,7 +54,6 @@
|
||||||
"@std/assert": "jsr:@std/assert@^0.225.1",
|
"@std/assert": "jsr:@std/assert@^0.225.1",
|
||||||
"@std/cli": "jsr:@std/cli@^0.223.0",
|
"@std/cli": "jsr:@std/cli@^0.223.0",
|
||||||
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
"@std/crypto": "jsr:@std/crypto@^0.224.0",
|
||||||
"@std/dotenv": "jsr:@std/dotenv@^0.224.0",
|
|
||||||
"@std/encoding": "jsr:@std/encoding@^0.224.0",
|
"@std/encoding": "jsr:@std/encoding@^0.224.0",
|
||||||
"@std/fs": "jsr:@std/fs@^0.229.3",
|
"@std/fs": "jsr:@std/fs@^0.229.3",
|
||||||
"@std/json": "jsr:@std/json@^0.223.0",
|
"@std/json": "jsr:@std/json@^0.223.0",
|
||||||
|
|
|
||||||
5
deno.lock
generated
5
deno.lock
generated
|
|
@ -59,7 +59,6 @@
|
||||||
"jsr:@std/bytes@^1.0.2-rc.3": "1.0.2",
|
"jsr:@std/bytes@^1.0.2-rc.3": "1.0.2",
|
||||||
"jsr:@std/cli@0.223": "0.223.0",
|
"jsr:@std/cli@0.223": "0.223.0",
|
||||||
"jsr:@std/crypto@0.224": "0.224.0",
|
"jsr:@std/crypto@0.224": "0.224.0",
|
||||||
"jsr:@std/dotenv@0.224": "0.224.2",
|
|
||||||
"jsr:@std/encoding@0.213.1": "0.213.1",
|
"jsr:@std/encoding@0.213.1": "0.213.1",
|
||||||
"jsr:@std/encoding@0.224": "0.224.3",
|
"jsr:@std/encoding@0.224": "0.224.3",
|
||||||
"jsr:@std/encoding@0.224.0": "0.224.0",
|
"jsr:@std/encoding@0.224.0": "0.224.0",
|
||||||
|
|
@ -527,9 +526,6 @@
|
||||||
"@std/dotenv@0.224.0": {
|
"@std/dotenv@0.224.0": {
|
||||||
"integrity": "d9234cdf551507dcda60abb6c474289843741d8c07ee8ce540c60f5c1b220a1d"
|
"integrity": "d9234cdf551507dcda60abb6c474289843741d8c07ee8ce540c60f5c1b220a1d"
|
||||||
},
|
},
|
||||||
"@std/dotenv@0.224.2": {
|
|
||||||
"integrity": "29081695357e4534696c9e986b2560be29c141ccf52daa32b6c20ff5b5c64ab9"
|
|
||||||
},
|
|
||||||
"@std/encoding@0.213.1": {
|
"@std/encoding@0.213.1": {
|
||||||
"integrity": "fcbb6928713dde941a18ca5db88ca1544d0755ec8fb20fe61e2dc8144b390c62"
|
"integrity": "fcbb6928713dde941a18ca5db88ca1544d0755ec8fb20fe61e2dc8144b390c62"
|
||||||
},
|
},
|
||||||
|
|
@ -2101,7 +2097,6 @@
|
||||||
"jsr:@std/assert@~0.225.1",
|
"jsr:@std/assert@~0.225.1",
|
||||||
"jsr:@std/cli@0.223",
|
"jsr:@std/cli@0.223",
|
||||||
"jsr:@std/crypto@0.224",
|
"jsr:@std/crypto@0.224",
|
||||||
"jsr:@std/dotenv@0.224",
|
|
||||||
"jsr:@std/encoding@0.224",
|
"jsr:@std/encoding@0.224",
|
||||||
"jsr:@std/fs@~0.229.3",
|
"jsr:@std/fs@~0.229.3",
|
||||||
"jsr:@std/json@0.223",
|
"jsr:@std/json@0.223",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import os from 'node:os';
|
import os from 'node:os';
|
||||||
import ISO6391, { LanguageCode } from 'iso-639-1';
|
import ISO6391, { LanguageCode } from 'iso-639-1';
|
||||||
import * as dotenv from '@std/dotenv';
|
|
||||||
import { getPublicKey, nip19 } from 'nostr-tools';
|
import { getPublicKey, nip19 } from 'nostr-tools';
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
import { decodeBase64 } from '@std/encoding/base64';
|
import { decodeBase64 } from '@std/encoding/base64';
|
||||||
|
|
@ -8,13 +7,6 @@ import { encodeBase64Url } from '@std/encoding/base64url';
|
||||||
|
|
||||||
import { getEcdsaPublicKey } from '@/utils/crypto.ts';
|
import { getEcdsaPublicKey } from '@/utils/crypto.ts';
|
||||||
|
|
||||||
/** Load environment config from `.env` */
|
|
||||||
await dotenv.load({
|
|
||||||
export: true,
|
|
||||||
defaultsPath: null,
|
|
||||||
examplePath: null,
|
|
||||||
});
|
|
||||||
|
|
||||||
/** Application-wide configuration. */
|
/** Application-wide configuration. */
|
||||||
class Conf {
|
class Conf {
|
||||||
private static _pubkey: string | undefined;
|
private static _pubkey: string | undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue