From 56ac4c3bee1663465d6428f10986a8f1e0ce4c50 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Tue, 13 Jan 2026 13:07:19 -0800 Subject: [PATCH] Make svelte peer dependency more permissive --- packages/app/package.json | 9 +- packages/app/src/session.ts | 70 +------------- packages/store/package.json | 4 +- packages/store/src/misc.ts | 16 ++- pnpm-lock.yaml | 187 +++++++++++++++--------------------- 5 files changed, 92 insertions(+), 194 deletions(-) diff --git a/packages/app/package.json b/packages/app/package.json index 0a17ea5..9e37f6e 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -24,7 +24,7 @@ "throttle-debounce": "^5.0.2" }, "peerDependencies": { - "@pomade/core": "^0.0.5", + "@pomade/core": "^0.0.9", "@welshman/feeds": "workspace:*", "@welshman/lib": "workspace:*", "@welshman/net": "workspace:*", @@ -32,13 +32,12 @@ "@welshman/signer": "workspace:*", "@welshman/store": "workspace:*", "@welshman/util": "workspace:*", - "nostr-tools": "^2.19.4", - "svelte": "^4.2.18" + "svelte": "^4.0.0 || ^5.0.0" }, "devDependencies": { "rimraf": "~6.0.0", "typescript": "~5.8.0", - "@pomade/core": "^0.0.5", + "@pomade/core": "^0.0.9", "@types/throttle-debounce": "^5.0.2", "@welshman/feeds": "workspace:*", "@welshman/lib": "workspace:*", @@ -47,6 +46,6 @@ "@welshman/signer": "workspace:*", "@welshman/store": "workspace:*", "@welshman/util": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^5.39.12" } } diff --git a/packages/app/src/session.ts b/packages/app/src/session.ts index e9d6586..663a643 100644 --- a/packages/app/src/session.ts +++ b/packages/app/src/session.ts @@ -1,7 +1,6 @@ -import * as nt44 from "nostr-tools/nip44" -import {Client, ClientOptions} from "@pomade/core" +import {Client, ClientOptions, PomadeSigner} from "@pomade/core" import {derived, writable} from "svelte/store" -import {cached, randomId, append, omit, equals, assoc, thrower, hexToBytes} from "@welshman/lib" +import {cached, randomId, append, omit, equals, assoc} from "@welshman/lib" import {withGetter} from "@welshman/store" import { Wallet, @@ -21,75 +20,10 @@ import { Nip01Signer, Nip55Signer, ISigner, - SignOptions, - signWithOptions, } from "@welshman/signer" import {WrapManager} from "@welshman/net" import {tracker, repository} from "./core.js" -class PomadeSigner implements ISigner { - #pubkey: string - #sharedSecretCache = new Map>() - - constructor(readonly client: Client) { - this.#pubkey = client.userPubkey - } - - private getSharedSecret = async (pubkey: string) => { - let sharedSecret = this.#sharedSecretCache.get(pubkey) - if (!sharedSecret) { - const hexSharedSecret = await this.client.getConversationKey(pubkey) - - if (hexSharedSecret) { - sharedSecret = hexToBytes(hexSharedSecret) - this.#sharedSecretCache.set(pubkey, sharedSecret) - } - } - - return sharedSecret - } - - getPubkey = async () => this.#pubkey - - sign = (event: StampedEvent, options: SignOptions = {}) => { - const promise = this.client.sign(event).then(r => { - if (!r.event) { - throw new Error(r.messages[0]?.payload.message || "Failed to sign event") - } - - return r.event - }) - - return signWithOptions(promise, options) - } - - nip04 = { - encrypt: thrower("PomadeSigner does not support nip44"), - decrypt: thrower("PomadeSigner does not support nip44"), - } - - nip44 = { - encrypt: async (pubkey: string, message: string) => { - const sharedSecret = await this.getSharedSecret(pubkey) - - if (!sharedSecret) { - throw new Error("Failed to get shared secret") - } - - return nt44.v2.encrypt(message, sharedSecret) - }, - decrypt: async (pubkey: string, message: string) => { - const sharedSecret = await this.getSharedSecret(pubkey) - - if (!sharedSecret) { - throw new Error("Failed to get shared secret") - } - - return nt44.v2.decrypt(message, sharedSecret) - }, - } -} - export enum SessionMethod { Nip01 = "nip01", Nip07 = "nip07", diff --git a/packages/store/package.json b/packages/store/package.json index 7de35c7..9e7f4ee 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -23,7 +23,7 @@ "@welshman/lib": "workspace:*", "@welshman/net": "workspace:*", "@welshman/util": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^4.0.0 || ^5.0.0" }, "devDependencies": { "rimraf": "~6.0.0", @@ -31,6 +31,6 @@ "@welshman/lib": "workspace:*", "@welshman/net": "workspace:*", "@welshman/util": "workspace:*", - "svelte": "^4.2.18" + "svelte": "^5.39.12" } } diff --git a/packages/store/src/misc.ts b/packages/store/src/misc.ts index 6a8124a..165b352 100644 --- a/packages/store/src/misc.ts +++ b/packages/store/src/misc.ts @@ -1,15 +1,11 @@ -import { - get, - derived, - Readable, - Unsubscriber, - Writable, - Subscriber, - Stores, - StoresValues, -} from "svelte/store" +import {get, derived, Readable, Unsubscriber, Writable, Subscriber} from "svelte/store" import {memoize, throttle} from "@welshman/lib" +// Define Stores and StoresValues types locally since they're not exported in Svelte 5 +type Stores = Readable | [Readable, ...Array>] | Array> +type StoresValues = + T extends Readable ? U : {[K in keyof T]: T[K] extends Readable ? U : never} + // Smart getter that adjusts between svelte's get and aggressive subscription depending on how hot // the path is diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c12499..ec70648 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -175,16 +175,13 @@ importers: fuse.js: specifier: ^7.0.0 version: 7.1.0 - nostr-tools: - specifier: ^2.19.4 - version: 2.19.4(typescript@5.8.2) throttle-debounce: specifier: ^5.0.2 version: 5.0.2 devDependencies: '@pomade/core': - specifier: ^0.0.5 - version: 0.0.5(typescript@5.8.2)(ws@8.18.1) + specifier: ^0.0.9 + version: 0.0.9(@frostr/bifrost@1.0.7(typescript@5.8.2))(@noble/hashes@2.0.1)(@welshman/lib@packages+lib)(@welshman/net@packages+net)(@welshman/signer@packages+signer)(@welshman/util@packages+util)(nostr-tools@2.19.4(typescript@5.8.2)) '@types/throttle-debounce': specifier: ^5.0.2 version: 5.0.2 @@ -213,8 +210,8 @@ importers: specifier: ~6.0.0 version: 6.0.1 svelte: - specifier: ^4.2.18 - version: 4.2.19 + specifier: ^5.39.12 + version: 5.46.3 typescript: specifier: ~5.8.0 version: 5.8.2 @@ -434,8 +431,8 @@ importers: specifier: ~6.0.0 version: 6.0.1 svelte: - specifier: ^4.2.18 - version: 4.2.19 + specifier: ^5.39.12 + version: 5.46.3 typescript: specifier: ~5.8.0 version: 5.8.2 @@ -542,10 +539,6 @@ packages: resolution: {integrity: sha512-UZiTNmUBQFPl3tUKuXaDd8BxEC0t0ny86wwW6XgwfM9IQf4PrzuMpvuOGIJMcCGlrNolZDEI0mcbz/tqRdKW7A==} engines: {node: '>= 14.0.0'} - '@ampproject/remapping@2.3.0': - resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} - engines: {node: '>=6.0.0'} - '@babel/helper-string-parser@7.25.9': resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} engines: {node: '>=6.9.0'} @@ -847,6 +840,9 @@ packages: resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} engines: {node: '>=6.0.0'} + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} @@ -926,9 +922,17 @@ packages: resolution: {integrity: sha512-vsJDAkYR6qCPu+ioGScGiMYR7LvZYIXh/dlQeviqoTWNCVfKTLYD/LkNWH4Mxsv2a5vpIRc77FN5DnmK1eBggQ==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - '@pomade/core@0.0.5': - resolution: {integrity: sha512-LNKV+R/Il+Bmo4Wq7W+oWdsbcA784GhfjXVU4YXKBlhKvFfv2Mqw8JL+mYtS4REzs7MgUnwTtgUD7thD9GWTfg==} + '@pomade/core@0.0.9': + resolution: {integrity: sha512-eCdzs4BGjkG89Jew1YpeTfcpOaLVJWGQqlfBrjaxpzhYz7qdAOsoL1NzzycE9FRzvkvz7Rt8UWMdUpir88Kpqg==} engines: {node: '>=12.0.0'} + peerDependencies: + '@frostr/bifrost': ^1.0.7 + '@noble/hashes': ^2.0.1 + '@welshman/lib': ^0.8.0-pre.1 + '@welshman/net': ^0.8.0-pre.1 + '@welshman/signer': ^0.8.0-pre.1 + '@welshman/util': ^0.8.0-pre.1 + nostr-tools: ^2.19.3 '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} @@ -1236,6 +1240,11 @@ packages: '@shikijs/vscode-textmate@10.0.2': resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==} + '@sveltejs/acorn-typescript@1.0.8': + resolution: {integrity: sha512-esgN+54+q0NjB0Y/4BomT9samII7jGwNy/2a3wNZbT2A2RpmXsXwUt24LvLhx6jUq2gVk4cWEvcRO6MFQbOfNA==} + peerDependencies: + acorn: ^8.9.0 + '@tiptap/core@2.11.7': resolution: {integrity: sha512-zN+NFFxLsxNEL8Qioc+DL6b8+Tt2bmRbXH22Gk6F6nD30x83eaUSFlSv3wqvgyCq3I1i1NO394So+Agmayx6rQ==} peerDependencies: @@ -1713,16 +1722,6 @@ packages: '@vueuse/shared@12.8.2': resolution: {integrity: sha512-dznP38YzxZoNloI0qpEfpkms8knDtaoQ6Y/sfS0L7Yki4zh40LFHEhur0odJC6xTHG5dxWVPiUWBXn+wCG2s5w==} - '@welshman/lib@0.7.1': - resolution: {integrity: sha512-NQkxPwnAoUY4uSroQcfvR4YPG63j7Ke0R9YrLNXF9SQn2t2p6iAQ6A3GEOVu/koUQiVBseYn514lS7X1XkCP3A==} - engines: {node: '>=12.0.0'} - - '@welshman/net@0.7.1': - resolution: {integrity: sha512-S3dFH73Cy4phLy5I2KKEeefkRmNBYWB2qONK8txUVDhx1u7ezpALzZEMSPVqVIZk/vCQU3KJ0CyagvbuGF+F9Q==} - - '@welshman/util@0.7.1': - resolution: {integrity: sha512-UGryq1jfwRHFS7mjGa4fmuqN851iwKeR+616LmUpTJQHAfhGU7ifer2+JLdDLYBU/neI5iKHdRDO5hg92U6k8Q==} - acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -1876,8 +1875,9 @@ packages: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} - code-red@1.0.4: - resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} + clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} @@ -1915,10 +1915,6 @@ packages: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} - css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} @@ -1949,6 +1945,9 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} + devalue@5.6.1: + resolution: {integrity: sha512-jDwizj+IlEZBunHcOuuFVBnIMPAEHvTsJj0BcIp94xYguLRVBcXO853px/MyIJvbVzWdsGvrRweIUWJw8hBP7A==} + devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} @@ -2045,6 +2044,9 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true + esm-env@1.2.2: + resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==} + espree@10.3.0: resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2053,6 +2055,9 @@ packages: resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} engines: {node: '>=0.10'} + esrap@2.2.1: + resolution: {integrity: sha512-GiYWG34AN/4CUyaWAgunGt0Rxvr1PTMlGC0vvEov/uOQYWne2bpN03Um+k8jT+q3op33mKouP2zeJ6OlM+qeUg==} + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -2384,9 +2389,6 @@ packages: mdast-util-to-hast@13.2.0: resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - mdurl@2.0.0: resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} @@ -2563,9 +2565,6 @@ packages: perfect-debounce@1.0.0: resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} - periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -2860,9 +2859,9 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - svelte@4.2.19: - resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} - engines: {node: '>=16'} + svelte@5.46.3: + resolution: {integrity: sha512-Y5juST3x+/ySty5tYJCVWa6Corkxpt25bUZQHqOceg9xfMUtDsFx6rCsG6cYf1cA6vzDi66HIvaki0byZZX95A==} + engines: {node: '>=18'} synckit@0.11.1: resolution: {integrity: sha512-fWZqNBZNNFp/7mTUy1fSsydhKsAKJ+u90Nk7kOK5Gcq9vObaqLBLjWFDBkyVU9Vvc6Y71VbOevMuGhqv02bT+Q==} @@ -3219,6 +3218,9 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + zimmerframe@1.1.4: + resolution: {integrity: sha512-B58NGBEoc8Y9MWWCQGl/gq9xBCe4IiKM0a2x7GZdQKOW5Exr8S1W24J6OgM1njK8xCRGvAJIL/MxXHf6SkmQKQ==} + zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} @@ -3335,11 +3337,6 @@ snapshots: dependencies: '@algolia/client-common': 5.23.3 - '@ampproject/remapping@2.3.0': - dependencies: - '@jridgewell/gen-mapping': 0.3.8 - '@jridgewell/trace-mapping': 0.3.25 - '@babel/helper-string-parser@7.25.9': {} '@babel/helper-validator-identifier@7.25.9': {} @@ -3603,6 +3600,11 @@ snapshots: '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.8 + '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/resolve-uri@3.1.2': {} '@jridgewell/set-array@1.2.1': {} @@ -3693,20 +3695,18 @@ snapshots: '@pkgr/core@0.2.0': {} - '@pomade/core@0.0.5(typescript@5.8.2)(ws@8.18.1)': + '@pomade/core@0.0.9(@frostr/bifrost@1.0.7(typescript@5.8.2))(@noble/hashes@2.0.1)(@welshman/lib@packages+lib)(@welshman/net@packages+net)(@welshman/signer@packages+signer)(@welshman/util@packages+util)(nostr-tools@2.19.4(typescript@5.8.2))': dependencies: '@frostr/bifrost': 1.0.7(typescript@5.8.2) '@noble/hashes': 2.0.1 - '@welshman/lib': 0.7.1 - '@welshman/net': 0.7.1(typescript@5.8.2)(ws@8.18.1) - '@welshman/util': 0.7.1(typescript@5.8.2) + '@welshman/lib': link:packages/lib + '@welshman/net': link:packages/net + '@welshman/signer': link:packages/signer + '@welshman/util': link:packages/util base58-js: 3.0.3 hash-wasm: 4.12.0 nostr-tools: 2.19.4(typescript@5.8.2) zod: 4.3.5 - transitivePeerDependencies: - - typescript - - ws '@popperjs/core@2.11.8': {} @@ -3960,6 +3960,10 @@ snapshots: '@shikijs/vscode-textmate@10.0.2': {} + '@sveltejs/acorn-typescript@1.0.8(acorn@8.15.0)': + dependencies: + acorn: 8.15.0 + '@tiptap/core@2.11.7(@tiptap/pm@2.11.7)': dependencies: '@tiptap/pm': 2.11.7 @@ -4557,33 +4561,6 @@ snapshots: transitivePeerDependencies: - typescript - '@welshman/lib@0.7.1': - dependencies: - '@scure/base': 1.2.4 - '@types/events': 3.0.3 - events: 3.3.0 - - '@welshman/net@0.7.1(typescript@5.8.2)(ws@8.18.1)': - dependencies: - '@welshman/lib': 0.7.1 - '@welshman/util': 0.7.1(typescript@5.8.2) - events: 3.3.0 - isomorphic-ws: 5.0.0(ws@8.18.1) - transitivePeerDependencies: - - typescript - - ws - - '@welshman/util@0.7.1(typescript@5.8.2)': - dependencies: - '@noble/curves': 1.9.7 - '@types/ws': 8.18.1 - '@welshman/lib': 0.7.1 - js-base64: 3.7.7 - nostr-tools: 2.19.4(typescript@5.8.2) - nostr-wasm: 0.1.0 - transitivePeerDependencies: - - typescript - acorn-jsx@5.3.2(acorn@8.14.1): dependencies: acorn: 8.14.1 @@ -4736,13 +4713,7 @@ snapshots: strip-ansi: 6.0.1 wrap-ansi: 7.0.0 - code-red@1.0.4: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.7 - acorn: 8.14.1 - estree-walker: 3.0.3 - periscopic: 3.1.0 + clsx@2.1.1: {} color-convert@2.0.1: dependencies: @@ -4774,11 +4745,6 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-tree@2.3.1: - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.2.1 - csstype@3.1.3: {} de-indent@1.0.2: {} @@ -4795,6 +4761,8 @@ snapshots: dequal@2.0.3: {} + devalue@5.6.1: {} + devlop@1.1.0: dependencies: dequal: 2.0.3 @@ -4959,6 +4927,8 @@ snapshots: transitivePeerDependencies: - supports-color + esm-env@1.2.2: {} + espree@10.3.0: dependencies: acorn: 8.14.1 @@ -4969,6 +4939,10 @@ snapshots: dependencies: estraverse: 5.3.0 + esrap@2.2.1: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 @@ -5160,7 +5134,7 @@ snapshots: is-reference@3.0.3: dependencies: - '@types/estree': 1.0.7 + '@types/estree': 1.0.8 is-what@4.1.16: {} @@ -5278,8 +5252,6 @@ snapshots: unist-util-visit: 5.0.0 vfile: 6.0.3 - mdn-data@2.0.30: {} - mdurl@2.0.0: {} merge2@1.4.1: {} @@ -5459,12 +5431,6 @@ snapshots: perfect-debounce@1.0.0: {} - periscopic@3.1.0: - dependencies: - '@types/estree': 1.0.7 - estree-walker: 3.0.3 - is-reference: 3.0.3 - picocolors@1.1.1: {} picomatch@2.3.1: {} @@ -5815,22 +5781,23 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte@4.2.19: + svelte@5.46.3: dependencies: - '@ampproject/remapping': 2.3.0 + '@jridgewell/remapping': 2.3.5 '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 - '@types/estree': 1.0.7 - acorn: 8.14.1 + '@sveltejs/acorn-typescript': 1.0.8(acorn@8.15.0) + '@types/estree': 1.0.8 + acorn: 8.15.0 aria-query: 5.3.2 axobject-query: 4.1.0 - code-red: 1.0.4 - css-tree: 2.3.1 - estree-walker: 3.0.3 + clsx: 2.1.1 + devalue: 5.6.1 + esm-env: 1.2.2 + esrap: 2.2.1 is-reference: 3.0.3 locate-character: 3.0.0 magic-string: 0.30.17 - periscopic: 3.1.0 + zimmerframe: 1.1.4 synckit@0.11.1: dependencies: @@ -6241,6 +6208,8 @@ snapshots: yocto-queue@0.1.0: {} + zimmerframe@1.1.4: {} + zod@3.25.76: {} zod@4.3.5: {}