Fix serving hidden files in .well-known

This commit is contained in:
hzrd149 2025-01-22 08:51:46 -06:00
parent b02f15242c
commit 5be0822410
6 changed files with 214 additions and 185 deletions

View File

@ -0,0 +1,5 @@
---
"nsite-ts": patch
---
Fix serving hidden files in .well-known

View File

@ -14,10 +14,10 @@ BLOSSOM_SERVERS=https://nostr.download,https://cdn.satellite.earth
# The max file size to serve # The max file size to serve
MAX_FILE_SIZE='2 MB' MAX_FILE_SIZE='2 MB'
# the hostname or ip of the upstream nginx proxy cache # The cache folder for nginx
NGINX_CACHE_DIR='/var/nginx/cache' NGINX_CACHE_DIR='/var/nginx/cache'
# screenshots require Puppeteer to be setup https://pptr.dev/troubleshooting#setting-up-chrome-linux-sandbox # Screenshots require Puppeteer to be setup https://pptr.dev/troubleshooting#setting-up-chrome-linux-sandbox
ENABLE_SCREENSHOTS="false" ENABLE_SCREENSHOTS="false"
SCREENSHOTS_DIR="./screenshots" SCREENSHOTS_DIR="./screenshots"

View File

@ -42,7 +42,7 @@
"devDependencies": { "devDependencies": {
"@changesets/cli": "^2.27.11", "@changesets/cli": "^2.27.11",
"@swc-node/register": "^1.10.9", "@swc-node/register": "^1.10.9",
"@swc/core": "^1.10.4", "@swc/core": "^1.10.9",
"@types/better-sqlite3": "^7.6.12", "@types/better-sqlite3": "^7.6.12",
"@types/follow-redirects": "^1.14.4", "@types/follow-redirects": "^1.14.4",
"@types/koa": "^2.15.0", "@types/koa": "^2.15.0",
@ -51,12 +51,12 @@
"@types/koa-static": "^4.0.4", "@types/koa-static": "^4.0.4",
"@types/koa__cors": "^5.0.0", "@types/koa__cors": "^5.0.0",
"@types/koa__router": "^12.0.4", "@types/koa__router": "^12.0.4",
"@types/node": "^20.17.12", "@types/node": "^20.17.14",
"@types/proxy-from-env": "^1.0.4", "@types/proxy-from-env": "^1.0.4",
"@types/ws": "^8.5.13", "@types/ws": "^8.5.13",
"nodemon": "^3.1.9", "nodemon": "^3.1.9",
"prettier": "^3.4.2", "prettier": "^3.4.2",
"typescript": "^5.7.2" "typescript": "^5.7.3"
}, },
"resolutions": { "resolutions": {
"websocket-polyfill": "1.0.0" "websocket-polyfill": "1.0.0"

357
pnpm-lock.yaml generated
View File

@ -49,7 +49,7 @@ importers:
version: 4.0.6 version: 4.0.6
nostr-tools: nostr-tools:
specifier: ^2.10.4 specifier: ^2.10.4
version: 2.10.4(typescript@5.7.2) version: 2.10.4(typescript@5.7.3)
pac-proxy-agent: pac-proxy-agent:
specifier: ^7.1.0 specifier: ^7.1.0
version: 7.1.0 version: 7.1.0
@ -58,7 +58,7 @@ importers:
version: 6.5.0 version: 6.5.0
puppeteer: puppeteer:
specifier: ^23.11.1 specifier: ^23.11.1
version: 23.11.1(typescript@5.7.2) version: 23.11.1(typescript@5.7.3)
websocket-polyfill: websocket-polyfill:
specifier: 1.0.0 specifier: 1.0.0
version: 1.0.0 version: 1.0.0
@ -74,10 +74,10 @@ importers:
version: 2.27.11 version: 2.27.11
'@swc-node/register': '@swc-node/register':
specifier: ^1.10.9 specifier: ^1.10.9
version: 1.10.9(@swc/core@1.10.4)(@swc/types@0.1.17)(typescript@5.7.2) version: 1.10.9(@swc/core@1.10.9)(@swc/types@0.1.17)(typescript@5.7.3)
'@swc/core': '@swc/core':
specifier: ^1.10.4 specifier: ^1.10.9
version: 1.10.4 version: 1.10.9
'@types/better-sqlite3': '@types/better-sqlite3':
specifier: ^7.6.12 specifier: ^7.6.12
version: 7.6.12 version: 7.6.12
@ -103,8 +103,8 @@ importers:
specifier: ^12.0.4 specifier: ^12.0.4
version: 12.0.4 version: 12.0.4
'@types/node': '@types/node':
specifier: ^20.17.12 specifier: ^20.17.14
version: 20.17.12 version: 20.17.14
'@types/proxy-from-env': '@types/proxy-from-env':
specifier: ^1.0.4 specifier: ^1.0.4
version: 1.0.4 version: 1.0.4
@ -118,8 +118,8 @@ importers:
specifier: ^3.4.2 specifier: ^3.4.2
version: 3.4.2 version: 3.4.2
typescript: typescript:
specifier: ^5.7.2 specifier: ^5.7.3
version: 5.7.2 version: 5.7.3
packages: packages:
@ -244,8 +244,8 @@ packages:
'@noble/curves@1.2.0': '@noble/curves@1.2.0':
resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==}
'@noble/curves@1.8.0': '@noble/curves@1.8.1':
resolution: {integrity: sha512-j84kjAbzEnQHaSIhRPUmB3/eVXu2k3dKPl2LOrR8fSOIL+89U+7lV117EWHtq/GHM3ReGHM46iRBdZfpc4HRUQ==} resolution: {integrity: sha512-warwspo+UYUPep0Q+vtdVB4Ugn8GGQj8iyB3gnRWsztmUHTI3S1nhdiWNsPUGL0vud7JlRRk1XEu7Lq1KGTnMQ==}
engines: {node: ^14.21.3 || >=16} engines: {node: ^14.21.3 || >=16}
'@noble/hashes@1.3.1': '@noble/hashes@1.3.1':
@ -256,8 +256,8 @@ packages:
resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==}
engines: {node: '>= 16'} engines: {node: '>= 16'}
'@noble/hashes@1.7.0': '@noble/hashes@1.7.1':
resolution: {integrity: sha512-HXydb0DgzTpDPwbVeDGCG1gIu7X6+AuU6Zl6av/E/KG8LMsvPntvq+w17CHRpKBmN6Ybdrt1eP3k4cj8DJa78w==} resolution: {integrity: sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==}
engines: {node: ^14.21.3 || >=16} engines: {node: ^14.21.3 || >=16}
'@nodelib/fs.scandir@2.1.5': '@nodelib/fs.scandir@2.1.5':
@ -343,20 +343,20 @@ packages:
'@scure/base@1.1.1': '@scure/base@1.1.1':
resolution: {integrity: sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==} resolution: {integrity: sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==}
'@scure/base@1.2.1': '@scure/base@1.2.4':
resolution: {integrity: sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ==} resolution: {integrity: sha512-5Yy9czTO47mqz+/J8GM6GIId4umdCk1wc1q8rKERQulIoc8VP9pzDcghv10Tl2E7R96ZUx/PhND3ESYUQX8NuQ==}
'@scure/bip32@1.3.1': '@scure/bip32@1.3.1':
resolution: {integrity: sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A==} resolution: {integrity: sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A==}
'@scure/bip32@1.6.1': '@scure/bip32@1.6.2':
resolution: {integrity: sha512-jSO+5Ud1E588Y+LFo8TaB8JVPNAZw/lGGao+1SepHDeTs2dFLurdNIAgUuDlwezqEjRjElkCJajVrtrZaBxvaQ==} resolution: {integrity: sha512-t96EPDMbtGgtb7onKKqxRLfE5g05k7uHnHRM2xdE6BP/ZmxaLtPek4J4KfVn/90IQNrU1IOAqMgiDtUdtbe3nw==}
'@scure/bip39@1.2.1': '@scure/bip39@1.2.1':
resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==}
'@scure/bip39@1.5.1': '@scure/bip39@1.5.4':
resolution: {integrity: sha512-GnlufVSP9UdAo/H2Patfv22VTtpNTyfi+I3qCKpvuB5l1KWzEYx+l2TNpBy9Ksh4xTs3Rn06tBlpWCi/1Vz8gw==} resolution: {integrity: sha512-TFM4ni0vKvCfBpohoh+/lY05i9gRbSwXWngAsF4CABQxoaOHijxuaZ2R6cStDQ5CHtHO9aGJTr4ksVJASRRyMA==}
'@swc-node/core@1.13.3': '@swc-node/core@1.13.3':
resolution: {integrity: sha512-OGsvXIid2Go21kiNqeTIn79jcaX4l0G93X2rAnas4LFoDyA9wAwVK7xZdm+QsKoMn5Mus2yFLCc4OtX2dD/PWA==} resolution: {integrity: sha512-OGsvXIid2Go21kiNqeTIn79jcaX4l0G93X2rAnas4LFoDyA9wAwVK7xZdm+QsKoMn5Mus2yFLCc4OtX2dD/PWA==}
@ -374,68 +374,68 @@ packages:
'@swc-node/sourcemap-support@0.5.1': '@swc-node/sourcemap-support@0.5.1':
resolution: {integrity: sha512-JxIvIo/Hrpv0JCHSyRpetAdQ6lB27oFYhv0PKCNf1g2gUXOjpeR1exrXccRxLMuAV5WAmGFBwRnNOJqN38+qtg==} resolution: {integrity: sha512-JxIvIo/Hrpv0JCHSyRpetAdQ6lB27oFYhv0PKCNf1g2gUXOjpeR1exrXccRxLMuAV5WAmGFBwRnNOJqN38+qtg==}
'@swc/core-darwin-arm64@1.10.4': '@swc/core-darwin-arm64@1.10.9':
resolution: {integrity: sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==} resolution: {integrity: sha512-XTHLtijFervv2B+i1ngM993umhSj9K1IeMomvU/Db84Asjur2XmD4KXt9QPnGDRFgv2kLSjZ+DDL25Qk0f4r+w==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
'@swc/core-darwin-x64@1.10.4': '@swc/core-darwin-x64@1.10.9':
resolution: {integrity: sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==} resolution: {integrity: sha512-bi3el9/FV/la8HIsolSjeDar+tM7m9AmSF1w7X6ZByW2qgc4Z1tmq0A4M4H9aH3TfHesZbfq8hgaNtc2/VtzzQ==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
'@swc/core-linux-arm-gnueabihf@1.10.4': '@swc/core-linux-arm-gnueabihf@1.10.9':
resolution: {integrity: sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==} resolution: {integrity: sha512-xsLHV02S+RTDuI+UJBkA2muNk/s0ETRpoc1K/gNt0i8BqTurPYkrvGDDALN9+leiUPydHvZi9P1qdExbgUJnXw==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
'@swc/core-linux-arm64-gnu@1.10.4': '@swc/core-linux-arm64-gnu@1.10.9':
resolution: {integrity: sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==} resolution: {integrity: sha512-41hJgPoGhIa12U6Tud+yLF/m64YA3mGut3TmBEkj2R7rdJdE0mljdtR0tf4J2RoQaWZPPi0DBSqGdROiAEx9dg==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@swc/core-linux-arm64-musl@1.10.4': '@swc/core-linux-arm64-musl@1.10.9':
resolution: {integrity: sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==} resolution: {integrity: sha512-DUMRhl49b9r7bLg9oNzCdW4lLcDJKrRBn87Iq5APPvixsm1auGnsVQycGkQcDDKvVllxIFSbmCYzjagx3l8Hnw==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@swc/core-linux-x64-gnu@1.10.4': '@swc/core-linux-x64-gnu@1.10.9':
resolution: {integrity: sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==} resolution: {integrity: sha512-xW0y88vQvmzYo3Gn7yFnY03TfHMwuca4aFH3ZmhwDNOYHmTOi6fmhAkg/13F/NrwjMYO+GnF5uJTjdjb3B6tdQ==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@swc/core-linux-x64-musl@1.10.4': '@swc/core-linux-x64-musl@1.10.9':
resolution: {integrity: sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==} resolution: {integrity: sha512-jYs32BEx+CPVuxN6NdsWEpdehjnmAag25jyJzwjQx+NCGYwHEV3bT5y8TX4eFhaVB1rafmqJOlYQPs4+MSyGCg==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@swc/core-win32-arm64-msvc@1.10.4': '@swc/core-win32-arm64-msvc@1.10.9':
resolution: {integrity: sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==} resolution: {integrity: sha512-Uhh5T3Fq3Nyom96Bm3ACBNASH3iqNc76in7ewZz8PooUqeTIO8aZpsghnncjctRNE9T819/8btpiFIhHo3sKtg==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
'@swc/core-win32-ia32-msvc@1.10.4': '@swc/core-win32-ia32-msvc@1.10.9':
resolution: {integrity: sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==} resolution: {integrity: sha512-bD5BpbojEsDfrAvT+1qjQPf5RCKLg4UL+3Uwm019+ZR02hd8qO538BlOnQdOqRqccu+75DF6aRglQ7AJ24Cs0Q==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [ia32] cpu: [ia32]
os: [win32] os: [win32]
'@swc/core-win32-x64-msvc@1.10.4': '@swc/core-win32-x64-msvc@1.10.9':
resolution: {integrity: sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==} resolution: {integrity: sha512-NwkuUNeBBQnAaXVvcGw8Zr6RR8kylyjFUnlYZZ3G0QkQZ4rYLXYTafAmiRjrfzgVb0LcMF/sBzJvGOk7SwtIDg==}
engines: {node: '>=10'} engines: {node: '>=10'}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
'@swc/core@1.10.4': '@swc/core@1.10.9':
resolution: {integrity: sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==} resolution: {integrity: sha512-MQ97YSXu2oibzm7wi4GNa7hhndjLuVt/lmO2sq53+P37oZmyg/JQ/IYYtSiC6UGK3+cHoiVAykrK+glxLjJbag==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
'@swc/helpers': '*' '@swc/helpers': '*'
@ -477,8 +477,8 @@ packages:
'@types/cookies@0.9.0': '@types/cookies@0.9.0':
resolution: {integrity: sha512-40Zk8qR147RABiQ7NQnBzWzDcjKzNrntB5BAmeGCb2p/MIyOE+4BVvc17wumsUqUw00bJYqoXFHYygQnEFh4/Q==} resolution: {integrity: sha512-40Zk8qR147RABiQ7NQnBzWzDcjKzNrntB5BAmeGCb2p/MIyOE+4BVvc17wumsUqUw00bJYqoXFHYygQnEFh4/Q==}
'@types/express-serve-static-core@5.0.3': '@types/express-serve-static-core@5.0.5':
resolution: {integrity: sha512-JEhMNwUJt7bw728CydvYzntD0XJeTmDnvwLlbfbAhE7Tbslm/ax6bdIiUwTgeVlZTsJQPwZwKpAkyDtIjsvx3g==} resolution: {integrity: sha512-GLZPrd9ckqEBFMcVM/qRFAP0Hg3qiVEojgEFsx/N/zKXsBzbGF6z5FBDpZ0+Xhp1xr+qRZYjfGr1cWHB9oFHSA==}
'@types/express@5.0.0': '@types/express@5.0.0':
resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==} resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==}
@ -525,14 +525,14 @@ packages:
'@types/node@12.20.55': '@types/node@12.20.55':
resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==}
'@types/node@20.17.12': '@types/node@20.17.14':
resolution: {integrity: sha512-vo/wmBgMIiEA23A/knMfn/cf37VnuF52nZh5ZoW0GWt4e4sxNquibrMRJ7UQsA06+MBx9r/H1jsI9grYjQCQlw==} resolution: {integrity: sha512-w6qdYetNL5KRBiSClK/KWai+2IMEJuAj+EujKCumalFOwXtvOXaEan9AuwcRID2IcOIAWSIfR495hBtgKlx2zg==}
'@types/proxy-from-env@1.0.4': '@types/proxy-from-env@1.0.4':
resolution: {integrity: sha512-TPR9/bCZAr3V1eHN4G3LD3OLicdJjqX1QRXWuNcCYgE66f/K8jO2ZRtHxI2D9MbnuUP6+qiKSS8eUHp6TFHGCw==} resolution: {integrity: sha512-TPR9/bCZAr3V1eHN4G3LD3OLicdJjqX1QRXWuNcCYgE66f/K8jO2ZRtHxI2D9MbnuUP6+qiKSS8eUHp6TFHGCw==}
'@types/qs@6.9.17': '@types/qs@6.9.18':
resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} resolution: {integrity: sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==}
'@types/range-parser@1.2.7': '@types/range-parser@1.2.7':
resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==}
@ -616,20 +616,30 @@ packages:
balanced-match@1.0.2: balanced-match@1.0.2:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
bare-events@2.5.2: bare-events@2.5.4:
resolution: {integrity: sha512-KSdMqLj1ZERZMP1PTmnLK7SqJu9z9/SbwUUPZly2puMtfVcytC+jl6mb/9XYiqq0PXcx1rNDS+Qvl1g54Lho6A==} resolution: {integrity: sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==}
bare-fs@2.3.5: bare-fs@4.0.1:
resolution: {integrity: sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==} resolution: {integrity: sha512-ilQs4fm/l9eMfWY2dY0WCIUplSUp7U0CT1vrqMg1MUdeZl4fypu5UP0XcDBK5WBQPJAKP1b7XEodISmekH/CEg==}
engines: {bare: '>=1.7.0'}
bare-os@2.4.4: bare-os@3.4.0:
resolution: {integrity: sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==} resolution: {integrity: sha512-9Ous7UlnKbe3fMi7Y+qh0DwAup6A1JkYgPnjvMDNOlmnxNRQvQ/7Nst+OnUQKzk0iAT0m9BisbDVp9gCv8+ETA==}
engines: {bare: '>=1.6.0'}
bare-path@2.1.3: bare-path@3.0.0:
resolution: {integrity: sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==} resolution: {integrity: sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==}
bare-stream@2.6.1: bare-stream@2.6.4:
resolution: {integrity: sha512-eVZbtKM+4uehzrsj49KtCy3Pbg7kO1pJ3SKZ1SFrIH/0pnj9scuGGgUlNDf/7qS8WKtGdiJY5Kyhs/ivYPTB/g==} resolution: {integrity: sha512-G6i3A74FjNq4nVrrSTUz5h3vgXzBJnjmWAVlBWaZETkgu+LgKd7AiyOml3EDJY1AHlIbBHKDXE+TUT53Ff8OaA==}
peerDependencies:
bare-buffer: '*'
bare-events: '*'
peerDependenciesMeta:
bare-buffer:
optional: true
bare-events:
optional: true
base64-js@1.5.1: base64-js@1.5.1:
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
@ -907,8 +917,8 @@ packages:
resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
es-object-atoms@1.0.0: es-object-atoms@1.1.1:
resolution: {integrity: sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==} resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
escalade@3.2.0: escalade@3.2.0:
@ -1393,8 +1403,8 @@ packages:
ms@2.1.3: ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
napi-build-utils@1.0.2: napi-build-utils@2.0.0:
resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==}
negotiator@0.6.3: negotiator@0.6.3:
resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
@ -1408,8 +1418,8 @@ packages:
resolution: {integrity: sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==} resolution: {integrity: sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==}
engines: {node: '>= 0.4.0'} engines: {node: '>= 0.4.0'}
node-abi@3.71.0: node-abi@3.73.0:
resolution: {integrity: sha512-SZ40vRiy/+wRTf21hxkkEjPJZpARzUMVcJoQse2EF8qkUWbbO2z7vd5oA/H6bVH6SZQ5STGcu0KRDS7biNRfxw==} resolution: {integrity: sha512-z8iYzQGBu35ZkTQ9mtR8RqugJZ9RCLn8fv3d7LsgDBzOijGQP3RdKTX4LA7LXw03ZhU5z0l4xfhIMgSES31+cg==}
engines: {node: '>=10'} engines: {node: '>=10'}
node-addon-api@7.1.1: node-addon-api@7.1.1:
@ -1559,8 +1569,8 @@ packages:
resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
engines: {node: '>= 6'} engines: {node: '>= 6'}
prebuild-install@7.1.2: prebuild-install@7.1.3:
resolution: {integrity: sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==} resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==}
engines: {node: '>=10'} engines: {node: '>=10'}
hasBin: true hasBin: true
@ -1805,11 +1815,11 @@ packages:
resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
engines: {node: '>=4'} engines: {node: '>=4'}
tar-fs@2.1.1: tar-fs@2.1.2:
resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} resolution: {integrity: sha512-EsaAXwxmx8UB7FRKqeozqEPop69DXcmYwTQwXvyAPF352HJsPdkVhvTaDPYqfNgruveJIJy3TA2l+2zj8LJIJA==}
tar-fs@3.0.6: tar-fs@3.0.8:
resolution: {integrity: sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==} resolution: {integrity: sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==}
tar-stream@2.2.0: tar-stream@2.2.0:
resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==}
@ -1868,8 +1878,8 @@ packages:
typed-query-selector@2.12.0: typed-query-selector@2.12.0:
resolution: {integrity: sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==} resolution: {integrity: sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==}
typescript@5.7.2: typescript@5.7.3:
resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==}
engines: {node: '>=14.17'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
@ -1975,17 +1985,17 @@ snapshots:
'@cashu/cashu-ts@2.1.0': '@cashu/cashu-ts@2.1.0':
dependencies: dependencies:
'@cashu/crypto': 0.3.4 '@cashu/crypto': 0.3.4
'@noble/curves': 1.8.0 '@noble/curves': 1.8.1
'@noble/hashes': 1.7.0 '@noble/hashes': 1.7.1
'@scure/bip32': 1.6.1 '@scure/bip32': 1.6.2
buffer: 6.0.3 buffer: 6.0.3
'@cashu/crypto@0.3.4': '@cashu/crypto@0.3.4':
dependencies: dependencies:
'@noble/curves': 1.8.0 '@noble/curves': 1.8.1
'@noble/hashes': 1.7.0 '@noble/hashes': 1.7.1
'@scure/bip32': 1.6.1 '@scure/bip32': 1.6.2
'@scure/bip39': 1.5.1 '@scure/bip39': 1.5.4
buffer: 6.0.3 buffer: 6.0.3
'@changesets/apply-release-plan@7.0.7': '@changesets/apply-release-plan@7.0.7':
@ -2205,15 +2215,15 @@ snapshots:
dependencies: dependencies:
'@noble/hashes': 1.3.2 '@noble/hashes': 1.3.2
'@noble/curves@1.8.0': '@noble/curves@1.8.1':
dependencies: dependencies:
'@noble/hashes': 1.7.0 '@noble/hashes': 1.7.1
'@noble/hashes@1.3.1': {} '@noble/hashes@1.3.1': {}
'@noble/hashes@1.3.2': {} '@noble/hashes@1.3.2': {}
'@noble/hashes@1.7.0': {} '@noble/hashes@1.7.1': {}
'@nodelib/fs.scandir@2.1.5': '@nodelib/fs.scandir@2.1.5':
dependencies: dependencies:
@ -2281,15 +2291,16 @@ snapshots:
progress: 2.0.3 progress: 2.0.3
proxy-agent: 6.5.0 proxy-agent: 6.5.0
semver: 7.6.3 semver: 7.6.3
tar-fs: 3.0.6 tar-fs: 3.0.8
unbzip2-stream: 1.4.3 unbzip2-stream: 1.4.3
yargs: 17.7.2 yargs: 17.7.2
transitivePeerDependencies: transitivePeerDependencies:
- bare-buffer
- supports-color - supports-color
'@scure/base@1.1.1': {} '@scure/base@1.1.1': {}
'@scure/base@1.2.1': {} '@scure/base@1.2.4': {}
'@scure/bip32@1.3.1': '@scure/bip32@1.3.1':
dependencies: dependencies:
@ -2297,38 +2308,38 @@ snapshots:
'@noble/hashes': 1.3.1 '@noble/hashes': 1.3.1
'@scure/base': 1.1.1 '@scure/base': 1.1.1
'@scure/bip32@1.6.1': '@scure/bip32@1.6.2':
dependencies: dependencies:
'@noble/curves': 1.8.0 '@noble/curves': 1.8.1
'@noble/hashes': 1.7.0 '@noble/hashes': 1.7.1
'@scure/base': 1.2.1 '@scure/base': 1.2.4
'@scure/bip39@1.2.1': '@scure/bip39@1.2.1':
dependencies: dependencies:
'@noble/hashes': 1.3.1 '@noble/hashes': 1.3.1
'@scure/base': 1.1.1 '@scure/base': 1.1.1
'@scure/bip39@1.5.1': '@scure/bip39@1.5.4':
dependencies: dependencies:
'@noble/hashes': 1.7.0 '@noble/hashes': 1.7.1
'@scure/base': 1.2.1 '@scure/base': 1.2.4
'@swc-node/core@1.13.3(@swc/core@1.10.4)(@swc/types@0.1.17)': '@swc-node/core@1.13.3(@swc/core@1.10.9)(@swc/types@0.1.17)':
dependencies: dependencies:
'@swc/core': 1.10.4 '@swc/core': 1.10.9
'@swc/types': 0.1.17 '@swc/types': 0.1.17
'@swc-node/register@1.10.9(@swc/core@1.10.4)(@swc/types@0.1.17)(typescript@5.7.2)': '@swc-node/register@1.10.9(@swc/core@1.10.9)(@swc/types@0.1.17)(typescript@5.7.3)':
dependencies: dependencies:
'@swc-node/core': 1.13.3(@swc/core@1.10.4)(@swc/types@0.1.17) '@swc-node/core': 1.13.3(@swc/core@1.10.9)(@swc/types@0.1.17)
'@swc-node/sourcemap-support': 0.5.1 '@swc-node/sourcemap-support': 0.5.1
'@swc/core': 1.10.4 '@swc/core': 1.10.9
colorette: 2.0.20 colorette: 2.0.20
debug: 4.4.0(supports-color@5.5.0) debug: 4.4.0(supports-color@5.5.0)
oxc-resolver: 1.12.0 oxc-resolver: 1.12.0
pirates: 4.0.6 pirates: 4.0.6
tslib: 2.8.1 tslib: 2.8.1
typescript: 5.7.2 typescript: 5.7.3
transitivePeerDependencies: transitivePeerDependencies:
- '@swc/types' - '@swc/types'
- supports-color - supports-color
@ -2338,51 +2349,51 @@ snapshots:
source-map-support: 0.5.21 source-map-support: 0.5.21
tslib: 2.8.1 tslib: 2.8.1
'@swc/core-darwin-arm64@1.10.4': '@swc/core-darwin-arm64@1.10.9':
optional: true optional: true
'@swc/core-darwin-x64@1.10.4': '@swc/core-darwin-x64@1.10.9':
optional: true optional: true
'@swc/core-linux-arm-gnueabihf@1.10.4': '@swc/core-linux-arm-gnueabihf@1.10.9':
optional: true optional: true
'@swc/core-linux-arm64-gnu@1.10.4': '@swc/core-linux-arm64-gnu@1.10.9':
optional: true optional: true
'@swc/core-linux-arm64-musl@1.10.4': '@swc/core-linux-arm64-musl@1.10.9':
optional: true optional: true
'@swc/core-linux-x64-gnu@1.10.4': '@swc/core-linux-x64-gnu@1.10.9':
optional: true optional: true
'@swc/core-linux-x64-musl@1.10.4': '@swc/core-linux-x64-musl@1.10.9':
optional: true optional: true
'@swc/core-win32-arm64-msvc@1.10.4': '@swc/core-win32-arm64-msvc@1.10.9':
optional: true optional: true
'@swc/core-win32-ia32-msvc@1.10.4': '@swc/core-win32-ia32-msvc@1.10.9':
optional: true optional: true
'@swc/core-win32-x64-msvc@1.10.4': '@swc/core-win32-x64-msvc@1.10.9':
optional: true optional: true
'@swc/core@1.10.4': '@swc/core@1.10.9':
dependencies: dependencies:
'@swc/counter': 0.1.3 '@swc/counter': 0.1.3
'@swc/types': 0.1.17 '@swc/types': 0.1.17
optionalDependencies: optionalDependencies:
'@swc/core-darwin-arm64': 1.10.4 '@swc/core-darwin-arm64': 1.10.9
'@swc/core-darwin-x64': 1.10.4 '@swc/core-darwin-x64': 1.10.9
'@swc/core-linux-arm-gnueabihf': 1.10.4 '@swc/core-linux-arm-gnueabihf': 1.10.9
'@swc/core-linux-arm64-gnu': 1.10.4 '@swc/core-linux-arm64-gnu': 1.10.9
'@swc/core-linux-arm64-musl': 1.10.4 '@swc/core-linux-arm64-musl': 1.10.9
'@swc/core-linux-x64-gnu': 1.10.4 '@swc/core-linux-x64-gnu': 1.10.9
'@swc/core-linux-x64-musl': 1.10.4 '@swc/core-linux-x64-musl': 1.10.9
'@swc/core-win32-arm64-msvc': 1.10.4 '@swc/core-win32-arm64-msvc': 1.10.9
'@swc/core-win32-ia32-msvc': 1.10.4 '@swc/core-win32-ia32-msvc': 1.10.9
'@swc/core-win32-x64-msvc': 1.10.4 '@swc/core-win32-x64-msvc': 1.10.9
'@swc/counter@0.1.3': {} '@swc/counter@0.1.3': {}
@ -2402,20 +2413,20 @@ snapshots:
'@types/accepts@1.3.7': '@types/accepts@1.3.7':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/better-sqlite3@7.6.12': '@types/better-sqlite3@7.6.12':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/body-parser@1.19.5': '@types/body-parser@1.19.5':
dependencies: dependencies:
'@types/connect': 3.4.38 '@types/connect': 3.4.38
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/connect@3.4.38': '@types/connect@3.4.38':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/content-disposition@0.5.8': {} '@types/content-disposition@0.5.8': {}
@ -2424,25 +2435,25 @@ snapshots:
'@types/connect': 3.4.38 '@types/connect': 3.4.38
'@types/express': 5.0.0 '@types/express': 5.0.0
'@types/keygrip': 1.0.6 '@types/keygrip': 1.0.6
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/express-serve-static-core@5.0.3': '@types/express-serve-static-core@5.0.5':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/qs': 6.9.17 '@types/qs': 6.9.18
'@types/range-parser': 1.2.7 '@types/range-parser': 1.2.7
'@types/send': 0.17.4 '@types/send': 0.17.4
'@types/express@5.0.0': '@types/express@5.0.0':
dependencies: dependencies:
'@types/body-parser': 1.19.5 '@types/body-parser': 1.19.5
'@types/express-serve-static-core': 5.0.3 '@types/express-serve-static-core': 5.0.5
'@types/qs': 6.9.17 '@types/qs': 6.9.18
'@types/serve-static': 1.15.7 '@types/serve-static': 1.15.7
'@types/follow-redirects@1.14.4': '@types/follow-redirects@1.14.4':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/http-assert@1.5.6': {} '@types/http-assert@1.5.6': {}
@ -2477,7 +2488,7 @@ snapshots:
'@types/http-errors': 2.0.4 '@types/http-errors': 2.0.4
'@types/keygrip': 1.0.6 '@types/keygrip': 1.0.6
'@types/koa-compose': 3.2.8 '@types/koa-compose': 3.2.8
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/koa__cors@5.0.0': '@types/koa__cors@5.0.0':
dependencies: dependencies:
@ -2491,40 +2502,40 @@ snapshots:
'@types/morgan@1.9.9': '@types/morgan@1.9.9':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/node@12.20.55': {} '@types/node@12.20.55': {}
'@types/node@20.17.12': '@types/node@20.17.14':
dependencies: dependencies:
undici-types: 6.19.8 undici-types: 6.19.8
'@types/proxy-from-env@1.0.4': '@types/proxy-from-env@1.0.4':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/qs@6.9.17': {} '@types/qs@6.9.18': {}
'@types/range-parser@1.2.7': {} '@types/range-parser@1.2.7': {}
'@types/send@0.17.4': '@types/send@0.17.4':
dependencies: dependencies:
'@types/mime': 1.3.5 '@types/mime': 1.3.5
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/serve-static@1.15.7': '@types/serve-static@1.15.7':
dependencies: dependencies:
'@types/http-errors': 2.0.4 '@types/http-errors': 2.0.4
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/send': 0.17.4 '@types/send': 0.17.4
'@types/ws@8.5.13': '@types/ws@8.5.13':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
'@types/yauzl@2.10.3': '@types/yauzl@2.10.3':
dependencies: dependencies:
'@types/node': 20.17.12 '@types/node': 20.17.14
optional: true optional: true
abbrev@1.1.1: abbrev@1.1.1:
@ -2593,27 +2604,31 @@ snapshots:
balanced-match@1.0.2: {} balanced-match@1.0.2: {}
bare-events@2.5.2: bare-events@2.5.4:
optional: true optional: true
bare-fs@2.3.5: bare-fs@4.0.1:
dependencies: dependencies:
bare-events: 2.5.2 bare-events: 2.5.4
bare-path: 2.1.3 bare-path: 3.0.0
bare-stream: 2.6.1 bare-stream: 2.6.4(bare-events@2.5.4)
transitivePeerDependencies:
- bare-buffer
optional: true optional: true
bare-os@2.4.4: bare-os@3.4.0:
optional: true optional: true
bare-path@2.1.3: bare-path@3.0.0:
dependencies: dependencies:
bare-os: 2.4.4 bare-os: 3.4.0
optional: true optional: true
bare-stream@2.6.1: bare-stream@2.6.4(bare-events@2.5.4):
dependencies: dependencies:
streamx: 2.21.1 streamx: 2.21.1
optionalDependencies:
bare-events: 2.5.4
optional: true optional: true
base64-js@1.5.1: {} base64-js@1.5.1: {}
@ -2643,7 +2658,7 @@ snapshots:
blossom-client-sdk@2.1.1: blossom-client-sdk@2.1.1:
dependencies: dependencies:
'@cashu/cashu-ts': 2.1.0 '@cashu/cashu-ts': 2.1.0
'@noble/hashes': 1.7.0 '@noble/hashes': 1.7.1
brace-expansion@1.1.11: brace-expansion@1.1.11:
dependencies: dependencies:
@ -2775,14 +2790,14 @@ snapshots:
depd: 2.0.0 depd: 2.0.0
keygrip: 1.1.0 keygrip: 1.1.0
cosmiconfig@9.0.0(typescript@5.7.2): cosmiconfig@9.0.0(typescript@5.7.3):
dependencies: dependencies:
env-paths: 2.2.1 env-paths: 2.2.1
import-fresh: 3.3.0 import-fresh: 3.3.0
js-yaml: 4.1.0 js-yaml: 4.1.0
parse-json: 5.2.0 parse-json: 5.2.0
optionalDependencies: optionalDependencies:
typescript: 5.7.2 typescript: 5.7.3
cross-spawn@7.0.6: cross-spawn@7.0.6:
dependencies: dependencies:
@ -2881,7 +2896,7 @@ snapshots:
es-errors@1.3.0: {} es-errors@1.3.0: {}
es-object-atoms@1.0.0: es-object-atoms@1.1.1:
dependencies: dependencies:
es-errors: 1.3.0 es-errors: 1.3.0
@ -3001,7 +3016,7 @@ snapshots:
call-bind-apply-helpers: 1.0.1 call-bind-apply-helpers: 1.0.1
es-define-property: 1.0.1 es-define-property: 1.0.1
es-errors: 1.3.0 es-errors: 1.3.0
es-object-atoms: 1.0.0 es-object-atoms: 1.1.1
function-bind: 1.1.2 function-bind: 1.1.2
get-proto: 1.0.1 get-proto: 1.0.1
gopd: 1.2.0 gopd: 1.2.0
@ -3012,7 +3027,7 @@ snapshots:
get-proto@1.0.1: get-proto@1.0.1:
dependencies: dependencies:
dunder-proto: 1.0.1 dunder-proto: 1.0.1
es-object-atoms: 1.0.0 es-object-atoms: 1.1.1
get-stream@5.2.0: get-stream@5.2.0:
dependencies: dependencies:
@ -3448,7 +3463,7 @@ snapshots:
ms@2.1.3: {} ms@2.1.3: {}
napi-build-utils@1.0.2: {} napi-build-utils@2.0.0: {}
negotiator@0.6.3: {} negotiator@0.6.3: {}
@ -3457,7 +3472,7 @@ snapshots:
netmask@2.0.2: {} netmask@2.0.2: {}
node-abi@3.71.0: node-abi@3.73.0:
dependencies: dependencies:
semver: 7.6.3 semver: 7.6.3
@ -3500,7 +3515,7 @@ snapshots:
normalize-path@3.0.0: {} normalize-path@3.0.0: {}
nostr-tools@2.10.4(typescript@5.7.2): nostr-tools@2.10.4(typescript@5.7.3):
dependencies: dependencies:
'@noble/ciphers': 0.5.3 '@noble/ciphers': 0.5.3
'@noble/curves': 1.2.0 '@noble/curves': 1.2.0
@ -3510,7 +3525,7 @@ snapshots:
'@scure/bip39': 1.2.1 '@scure/bip39': 1.2.1
optionalDependencies: optionalDependencies:
nostr-wasm: 0.1.0 nostr-wasm: 0.1.0
typescript: 5.7.2 typescript: 5.7.3
nostr-wasm@0.1.0: nostr-wasm@0.1.0:
optional: true optional: true
@ -3629,19 +3644,19 @@ snapshots:
pirates@4.0.6: {} pirates@4.0.6: {}
prebuild-install@7.1.2: prebuild-install@7.1.3:
dependencies: dependencies:
detect-libc: 2.0.3 detect-libc: 2.0.3
expand-template: 2.0.3 expand-template: 2.0.3
github-from-package: 0.0.0 github-from-package: 0.0.0
minimist: 1.2.8 minimist: 1.2.8
mkdirp-classic: 0.5.3 mkdirp-classic: 0.5.3
napi-build-utils: 1.0.2 napi-build-utils: 2.0.0
node-abi: 3.71.0 node-abi: 3.73.0
pump: 3.0.2 pump: 3.0.2
rc: 1.2.8 rc: 1.2.8
simple-get: 4.0.1 simple-get: 4.0.1
tar-fs: 2.1.1 tar-fs: 2.1.2
tunnel-agent: 0.6.0 tunnel-agent: 0.6.0
prettier@2.8.8: {} prettier@2.8.8: {}
@ -3690,19 +3705,21 @@ snapshots:
typed-query-selector: 2.12.0 typed-query-selector: 2.12.0
ws: 8.18.0 ws: 8.18.0
transitivePeerDependencies: transitivePeerDependencies:
- bare-buffer
- bufferutil - bufferutil
- supports-color - supports-color
- utf-8-validate - utf-8-validate
puppeteer@23.11.1(typescript@5.7.2): puppeteer@23.11.1(typescript@5.7.3):
dependencies: dependencies:
'@puppeteer/browsers': 2.6.1 '@puppeteer/browsers': 2.6.1
chromium-bidi: 0.11.0(devtools-protocol@0.0.1367902) chromium-bidi: 0.11.0(devtools-protocol@0.0.1367902)
cosmiconfig: 9.0.0(typescript@5.7.2) cosmiconfig: 9.0.0(typescript@5.7.3)
devtools-protocol: 0.0.1367902 devtools-protocol: 0.0.1367902
puppeteer-core: 23.11.1 puppeteer-core: 23.11.1
typed-query-selector: 2.12.0 typed-query-selector: 2.12.0
transitivePeerDependencies: transitivePeerDependencies:
- bare-buffer
- bufferutil - bufferutil
- supports-color - supports-color
- typescript - typescript
@ -3859,7 +3876,7 @@ snapshots:
dependencies: dependencies:
bindings: 1.5.0 bindings: 1.5.0
node-addon-api: 7.1.1 node-addon-api: 7.1.1
prebuild-install: 7.1.2 prebuild-install: 7.1.3
tar: 6.2.1 tar: 6.2.1
optionalDependencies: optionalDependencies:
node-gyp: 8.4.1 node-gyp: 8.4.1
@ -3882,7 +3899,7 @@ snapshots:
queue-tick: 1.0.1 queue-tick: 1.0.1
text-decoder: 1.2.3 text-decoder: 1.2.3
optionalDependencies: optionalDependencies:
bare-events: 2.5.2 bare-events: 2.5.4
string-width@4.2.3: string-width@4.2.3:
dependencies: dependencies:
@ -3906,20 +3923,22 @@ snapshots:
dependencies: dependencies:
has-flag: 3.0.0 has-flag: 3.0.0
tar-fs@2.1.1: tar-fs@2.1.2:
dependencies: dependencies:
chownr: 1.1.4 chownr: 1.1.4
mkdirp-classic: 0.5.3 mkdirp-classic: 0.5.3
pump: 3.0.2 pump: 3.0.2
tar-stream: 2.2.0 tar-stream: 2.2.0
tar-fs@3.0.6: tar-fs@3.0.8:
dependencies: dependencies:
pump: 3.0.2 pump: 3.0.2
tar-stream: 3.1.7 tar-stream: 3.1.7
optionalDependencies: optionalDependencies:
bare-fs: 2.3.5 bare-fs: 4.0.1
bare-path: 2.1.3 bare-path: 3.0.0
transitivePeerDependencies:
- bare-buffer
tar-stream@2.2.0: tar-stream@2.2.0:
dependencies: dependencies:
@ -3981,7 +4000,7 @@ snapshots:
typed-query-selector@2.12.0: {} typed-query-selector@2.12.0: {}
typescript@5.7.2: {} typescript@5.7.3: {}
unbzip2-stream@1.4.3: unbzip2-stream@1.4.3:
dependencies: dependencies:

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -62,7 +62,7 @@ app.use(async (ctx, next) => {
let pubkey = await userDomains.get<string | undefined>(ctx.hostname); let pubkey = await userDomains.get<string | undefined>(ctx.hostname);
// resolve pubkey if not in cache // resolve pubkey if not in cache
if (!pubkey) { if (pubkey === undefined) {
console.log(`${ctx.hostname}: Resolving`); console.log(`${ctx.hostname}: Resolving`);
pubkey = await resolveNpubFromHostname(ctx.hostname); pubkey = await resolveNpubFromHostname(ctx.hostname);
@ -176,16 +176,6 @@ if (ONION_HOST) {
}); });
} }
// serve static files from public
try {
const www = path.resolve(process.cwd(), "public");
fs.statSync(www);
app.use(serve(www));
} catch (error) {
const www = path.resolve(__dirname, "../public");
app.use(serve(www));
}
// get screenshots for websites // get screenshots for websites
if (ENABLE_SCREENSHOTS) { if (ENABLE_SCREENSHOTS) {
app.use(async (ctx, next) => { app.use(async (ctx, next) => {
@ -202,6 +192,21 @@ if (ENABLE_SCREENSHOTS) {
}); });
} }
// serve static files from public
const serveOptions: serve.Options = {
hidden: true,
maxAge: 60 * 60 * 1000,
index: "index.html",
};
try {
const www = path.resolve(process.cwd(), "public");
fs.statSync(www);
app.use(serve(www, serveOptions));
} catch (error) {
const www = path.resolve(__dirname, "../public");
app.use(serve(www, serveOptions));
}
app.listen({ host: NSITE_HOST, port: NSITE_PORT }, () => { app.listen({ host: NSITE_HOST, port: NSITE_PORT }, () => {
console.log("Started on port", HOST); console.log("Started on port", HOST);
}); });