diff --git a/service/package.json b/service/package.json index fabd5e8..5e4ada8 100644 --- a/service/package.json +++ b/service/package.json @@ -6,6 +6,6 @@ "main": "index.js", "license": "MIT", "dependencies": { - "@atproto/pds": "0.4.32" + "@atproto/pds": "0.4.38" } } diff --git a/service/pnpm-lock.yaml b/service/pnpm-lock.yaml index e125781..6e3f92d 100644 --- a/service/pnpm-lock.yaml +++ b/service/pnpm-lock.yaml @@ -6,13 +6,46 @@ settings: dependencies: '@atproto/pds': - specifier: 0.4.32 - version: 0.4.32 + specifier: 0.4.38 + version: 0.4.38 packages: - /@atproto/api@0.12.17: - resolution: {integrity: sha512-hj2LnEJGM27xPB1cugZHMnsvPDzjcIc0JtrGS11LO8+XJ/QYL192/HVdPQR82rN8XMlSPHXhNoeI2NJna8MUGQ==} + /@atproto-labs/fetch-node@0.1.0: + resolution: {integrity: sha512-DUHgaGw8LBqiGg51pUDuWK/alMcmNbpcK7ALzlF2Gw//TNLTsgrj0qY9aEtK+np9rEC+x/o3bN4SGnuQEpgqIg==} + dependencies: + '@atproto-labs/fetch': 0.1.0 + '@atproto-labs/pipe': 0.1.0 + ipaddr.js: 2.2.0 + psl: 1.9.0 + undici: 6.19.2 + dev: false + + /@atproto-labs/fetch@0.1.0: + resolution: {integrity: sha512-uirja+uA/C4HNk7vayM+AJqsccxQn2wVziUHxbsjJGt/K6Q8ZOKDaEX2+GrcXvpUVcqUKh+94JFjuzH+CAEUlg==} + dependencies: + '@atproto-labs/pipe': 0.1.0 + optionalDependencies: + zod: 3.23.8 + dev: false + + /@atproto-labs/pipe@0.1.0: + resolution: {integrity: sha512-ghOqHFyJlQVFPESzlVHjKroP0tPzbmG5Jms0dNI9yLDEfL8xp4OFPWLX4f6T8mRq69wWs4nIDM3sSsFbFqLa1w==} + dev: false + + /@atproto-labs/simple-store-memory@0.1.0: + resolution: {integrity: sha512-a32ojJsGfZucthw1ecGk3Vd0UATOlUTVEOEL+M7OHdvzGbwZ+KPtQ/jgCtCMmcwhdBS0mAVqc6e1fyk4MVhzsA==} + dependencies: + '@atproto-labs/simple-store': 0.1.0 + lru-cache: 10.2.0 + dev: false + + /@atproto-labs/simple-store@0.1.0: + resolution: {integrity: sha512-h/3ZRTyzXAxyw63rY01zwqDXR486CauubiQdo3b8OTJtZqw/i4qQi72GuhvQDvRrm4IzbNwEOhGgLL5bWX1JPw==} + dev: false + + /@atproto/api@0.12.22: + resolution: {integrity: sha512-TIXSnf3qqyX40Ei/FkK4H24w+7s5rOc63TPwrGakRBOqIgSNBKOggei8I600fJ/AXB7HO6Vp9tBmDVOt2+021A==} dependencies: '@atproto/common-web': 0.3.0 '@atproto/lexicon': 0.4.0 @@ -46,7 +79,7 @@ packages: graphemer: 1.4.0 multiformats: 9.9.0 uint8arrays: 3.0.0 - zod: 3.22.4 + zod: 3.23.8 dev: false /@atproto/common@0.1.1: @@ -54,8 +87,8 @@ packages: dependencies: '@ipld/dag-cbor': 7.0.3 multiformats: 9.9.0 - pino: 8.19.0 - zod: 3.22.4 + pino: 8.21.0 + zod: 3.23.8 dev: false /@atproto/common@0.4.0: @@ -66,7 +99,7 @@ packages: cbor-x: 1.5.8 iso-datestring-validator: 2.2.2 multiformats: 9.9.0 - pino: 8.19.0 + pino: 8.21.0 dev: false /@atproto/crypto@0.1.0: @@ -97,6 +130,20 @@ packages: - debug dev: false + /@atproto/jwk-jose@0.1.0: + resolution: {integrity: sha512-sfucq97haLJ9e04tVUIUkNtBOzait/6IsmsKHx29OP6gT3bW6iyDBPJeJjnOtP814Ij7Ve6cucb3WDk9mNXzBg==} + dependencies: + '@atproto/jwk': 0.1.0 + jose: 5.2.2 + dev: false + + /@atproto/jwk@0.1.0: + resolution: {integrity: sha512-MP36DvOpj/GGIWdKAwOj5rI4qVwc08PWNlcxaqZf8IlgocSUSCEgFWJlVb/OwvmrQkTH0enpqRkcLcD2123SZw==} + dependencies: + multiformats: 9.9.0 + zod: 3.23.8 + dev: false + /@atproto/lexicon@0.4.0: resolution: {integrity: sha512-RvCBKdSI4M8qWm5uTNz1z3R2yIvIhmOsMuleOj8YR6BwRD+QbtUBy3l+xQ7iXf4M5fdfJFxaUNa6Ty0iRwdKqQ==} dependencies: @@ -104,25 +151,60 @@ packages: '@atproto/syntax': 0.3.0 iso-datestring-validator: 2.2.2 multiformats: 9.9.0 - zod: 3.22.4 + zod: 3.23.8 + dev: false + + /@atproto/oauth-provider@0.1.0: + resolution: {integrity: sha512-AXE5XvUKke94uhNHv9rwAB9ZAaIkjdZXg/h09oj1xkhsYzkyYbkRrEC8zH1pnyJl3w1sIDmS6+/ldo0umH+meA==} + dependencies: + '@atproto-labs/fetch': 0.1.0 + '@atproto-labs/fetch-node': 0.1.0 + '@atproto-labs/pipe': 0.1.0 + '@atproto-labs/simple-store': 0.1.0 + '@atproto-labs/simple-store-memory': 0.1.0 + '@atproto/jwk': 0.1.0 + '@atproto/jwk-jose': 0.1.0 + '@atproto/oauth-types': 0.1.0 + '@hapi/accept': 6.0.3 + '@hapi/bourne': 3.0.0 + cookie: 0.6.0 + http-errors: 2.0.0 + jose: 5.2.2 + oidc-token-hash: 5.0.3 + psl: 1.9.0 + zod: 3.23.8 + optionalDependencies: + ioredis: 5.3.2 + keygrip: 1.1.0 + transitivePeerDependencies: + - supports-color + dev: false + + /@atproto/oauth-types@0.1.0: + resolution: {integrity: sha512-lPRofK8woZi38DAXvhgPbsYSKWooWczOVt9xrDE7hVbM83BH8GBI+uugcAB2oDeoA8JbKlOW9P0q1Hb3dgx/bA==} + dependencies: + '@atproto/jwk': 0.1.0 + zod: 3.23.8 dev: false - /@atproto/pds@0.4.32: - resolution: {integrity: sha512-NN66LbGBAU+54Wn+6iwu7mbu3+SzWyPcWPa9y+028IVqx0Mzm+becLxdEgDb3n3ynYcGaCOFvi/iTb+S1O3GAw==} + /@atproto/pds@0.4.38: + resolution: {integrity: sha512-sjs7BO8NQVwjI4eVa5MAGDXzAG37rxMKsqByqR8/mKaE7OVXenTQcNKTgbUMD5bZ9O9DYW1q4m8O94RpAL24Rw==} hasBin: true dependencies: - '@atproto/api': 0.12.17 + '@atproto-labs/fetch-node': 0.1.0 + '@atproto/api': 0.12.22 '@atproto/aws': 0.2.0 '@atproto/common': 0.4.0 '@atproto/crypto': 0.4.0 '@atproto/identity': 0.4.0 '@atproto/lexicon': 0.4.0 + '@atproto/oauth-provider': 0.1.0 '@atproto/repo': 0.4.0 '@atproto/syntax': 0.3.0 '@atproto/xrpc': 0.5.0 - '@atproto/xrpc-server': 0.5.1 + '@atproto/xrpc-server': 0.5.2 '@did-plc/lib': 0.0.4 - better-sqlite3: 9.4.1 + better-sqlite3: 10.1.0 bytes: 3.1.2 compression: 1.7.4 cors: 2.8.5 @@ -141,12 +223,12 @@ packages: nodemailer: 6.9.9 nodemailer-html-to-text: 3.2.0 p-queue: 6.6.2 - pino: 8.19.0 + pino: 8.21.0 pino-http: 8.6.1 sharp: 0.32.6 typed-emitter: 2.1.0 uint8arrays: 3.0.0 - zod: 3.22.4 + zod: 3.23.8 transitivePeerDependencies: - aws-crt - bufferutil @@ -166,19 +248,20 @@ packages: '@ipld/dag-cbor': 7.0.3 multiformats: 9.9.0 uint8arrays: 3.0.0 - zod: 3.22.4 + zod: 3.23.8 dev: false /@atproto/syntax@0.3.0: resolution: {integrity: sha512-Weq0ZBxffGHDXHl9U7BQc2BFJi/e23AL+k+i5+D9hUq/bzT4yjGsrCejkjq0xt82xXDjmhhvQSZ0LqxyZ5woxA==} dev: false - /@atproto/xrpc-server@0.5.1: - resolution: {integrity: sha512-SXU6dscVe5iYxPeV79QIFs/yEEu7LLOzyHGoHG1kSNO6DjwxXTdcWOc8GSYGV6H+7VycOoPZPkyD9q4teJlj/w==} + /@atproto/xrpc-server@0.5.2: + resolution: {integrity: sha512-mBCKZO6ckT7E8cosREDGr5Q8ZQzeSHlAcNrM+KtIpHPf13qW7s1xOzaexVcSP46IBawlV36MYPkCKlWRyHdecg==} dependencies: '@atproto/common': 0.4.0 '@atproto/crypto': 0.4.0 '@atproto/lexicon': 0.4.0 + '@atproto/xrpc': 0.5.0 cbor-x: 1.5.8 express: 4.18.2 http-errors: 2.0.0 @@ -186,7 +269,7 @@ packages: rate-limiter-flexible: 2.4.2 uint8arrays: 3.0.0 ws: 8.16.0 - zod: 3.22.4 + zod: 3.23.8 transitivePeerDependencies: - bufferutil - supports-color @@ -197,7 +280,7 @@ packages: resolution: {integrity: sha512-swu+wyOLvYW4l3n+VAuJbHcPcES+tin2Lsrp8Bw5aIXIICiuFn1YMFlwK9JwVUzTH21Py1s1nHEjr4CJeElJog==} dependencies: '@atproto/lexicon': 0.4.0 - zod: 3.22.4 + zod: 3.23.8 dev: false /@aws-crypto/crc32@3.0.0: @@ -1004,11 +1087,32 @@ packages: axios: 1.6.7 multiformats: 9.9.0 uint8arrays: 3.0.0 - zod: 3.22.4 + zod: 3.23.8 transitivePeerDependencies: - debug dev: false + /@hapi/accept@6.0.3: + resolution: {integrity: sha512-p72f9k56EuF0n3MwlBNThyVE5PXX40g+aQh+C/xbKrfzahM2Oispv3AXmOIU51t3j77zay1qrX7IIziZXspMlw==} + dependencies: + '@hapi/boom': 10.0.1 + '@hapi/hoek': 11.0.4 + dev: false + + /@hapi/boom@10.0.1: + resolution: {integrity: sha512-ERcCZaEjdH3OgSJlyjVk8pHIFeus91CjKP3v+MpgBNp5IvGzP2l/bRiD78nqYcKPaZdbKkK5vDBVPd2ohHBlsA==} + dependencies: + '@hapi/hoek': 11.0.4 + dev: false + + /@hapi/bourne@3.0.0: + resolution: {integrity: sha512-Waj1cwPXJDucOib4a3bAISsKJVb15MKi9IvmTI/7ssVEm6sywXGjVJDhl6/umt1pK1ZS7PacXU3A1PmFKHEZ2w==} + dev: false + + /@hapi/hoek@11.0.4: + resolution: {integrity: sha512-PnsP5d4q7289pS2T2EgGz147BFJ2Jpb4yrEdkpz2IhgEUzos1S7HTl7ezWh1yfYzYlj89KzLdCRkqsP6SIryeQ==} + dev: false + /@ioredis/commands@1.2.0: resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} dev: false @@ -1660,8 +1764,8 @@ packages: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} dev: false - /better-sqlite3@9.4.1: - resolution: {integrity: sha512-QpqiQeMI4WkE+dQ68zTMX5OzlPGc7lXIDP1iKUt4Omt9PdaVgzKYxHIJRIzt1E+RUBQoFmkip/IbvzyrxehAIg==} + /better-sqlite3@10.1.0: + resolution: {integrity: sha512-hqpHJaCfKEZFaAWdMh6crdzRWyzQzfP6Ih8TYI0vFn01a6ZTDSbJIMXN+6AMBaBOh99DzUy8l3PsV9R3qnJDng==} requiresBuild: true dependencies: bindings: 1.5.0 @@ -1883,6 +1987,11 @@ packages: engines: {node: '>= 0.6'} dev: false + /cookie@0.6.0: + resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==} + engines: {node: '>= 0.6'} + dev: false + /cors@2.8.5: resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} engines: {node: '>= 0.10'} @@ -2416,6 +2525,11 @@ packages: engines: {node: '>= 0.10'} dev: false + /ipaddr.js@2.2.0: + resolution: {integrity: sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==} + engines: {node: '>= 10'} + dev: false + /is-arrayish@0.3.2: resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} dev: false @@ -2455,6 +2569,15 @@ packages: elliptic: 6.5.4 dev: false + /keygrip@1.1.0: + resolution: {integrity: sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==} + engines: {node: '>= 0.6'} + requiresBuild: true + dependencies: + tsscmp: 1.0.6 + dev: false + optional: true + /kysely@0.22.0: resolution: {integrity: sha512-ZE3qWtnqLOalodzfK5QUEcm7AEulhxsPNuKaGFsC3XiqO92vMLm+mAHk/NnbSIOtC4RmGm0nsv700i8KDp1gfQ==} engines: {node: '>=14.0.0'} @@ -2615,6 +2738,11 @@ packages: resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} dev: false + /oidc-token-hash@5.0.3: + resolution: {integrity: sha512-IF4PcGgzAr6XXSff26Sk/+P4KZFJVuHAJZj3wgO3vX2bMdNVp/QXTP3P7CEm9V1IdG8lDLY3HhiqpsE/nOwpPw==} + engines: {node: ^10.13.0 || >=12.0.0} + dev: false + /on-exit-leak-free@2.1.2: resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} engines: {node: '>=14.0.0'} @@ -2696,8 +2824,8 @@ packages: engines: {node: '>=8'} dev: false - /pino-abstract-transport@1.1.0: - resolution: {integrity: sha512-lsleG3/2a/JIWUtf9Q5gUNErBqwIu1tUKTT3dUzaf5DySw9ra1wcqKjJjLX1VTY64Wk1eEOYsVGSaGfCK85ekA==} + /pino-abstract-transport@1.2.0: + resolution: {integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==} dependencies: readable-stream: 4.5.2 split2: 4.2.0 @@ -2707,7 +2835,7 @@ packages: resolution: {integrity: sha512-J0hiJgUExtBXP2BjrK4VB305tHXS31sCmWJ9XJo2wPkLHa1NFPuW4V9wjG27PAc2fmBCigiNhQKpvrx+kntBPA==} dependencies: get-caller-file: 2.0.5 - pino: 8.19.0 + pino: 8.21.0 pino-std-serializers: 6.2.2 process-warning: 3.0.0 dev: false @@ -2716,21 +2844,21 @@ packages: resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==} dev: false - /pino@8.19.0: - resolution: {integrity: sha512-oswmokxkav9bADfJ2ifrvfHUwad6MLp73Uat0IkQWY3iAw5xTRoznXbXksZs8oaOUMpmhVWD+PZogNzllWpJaA==} + /pino@8.21.0: + resolution: {integrity: sha512-ip4qdzjkAyDDZklUaZkcRFb2iA118H9SgRh8yzTkSQK8HilsOJF7rSY8HoW5+I0M46AZgX/pxbprf2vvzQCE0Q==} hasBin: true dependencies: atomic-sleep: 1.0.0 fast-redact: 3.3.0 on-exit-leak-free: 2.1.2 - pino-abstract-transport: 1.1.0 + pino-abstract-transport: 1.2.0 pino-std-serializers: 6.2.2 process-warning: 3.0.0 quick-format-unescaped: 4.0.4 real-require: 0.2.0 safe-stable-stringify: 2.4.3 sonic-boom: 3.8.0 - thread-stream: 2.4.1 + thread-stream: 2.7.0 dev: false /prebuild-install@7.1.1: @@ -2773,6 +2901,10 @@ packages: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} dev: false + /psl@1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + dev: false + /pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} dependencies: @@ -3158,8 +3290,8 @@ packages: streamx: 2.16.1 dev: false - /thread-stream@2.4.1: - resolution: {integrity: sha512-d/Ex2iWd1whipbT681JmTINKw0ZwOUBZm7+Gjs64DHuX34mmw8vJL2bFAaNacaW72zYiTJxSHi5abUuOi5nsfg==} + /thread-stream@2.7.0: + resolution: {integrity: sha512-qQiRWsU/wvNolI6tbbCKd9iKaTnCXsTwVxhhKM6nctPdujTyztjlbUkUTUymidWcMnZ5pWR0ej4a0tjsW021vw==} dependencies: real-require: 0.2.0 dev: false @@ -3190,6 +3322,13 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: false + /tsscmp@1.0.6: + resolution: {integrity: sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==} + engines: {node: '>=0.6.x'} + requiresBuild: true + dev: false + optional: true + /tunnel-agent@0.6.0: resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} dependencies: @@ -3233,6 +3372,11 @@ packages: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} dev: false + /undici@6.19.2: + resolution: {integrity: sha512-JfjKqIauur3Q6biAtHJ564e3bWa8VvT+7cSiOJHFbX4Erv6CLGDpg8z+Fmg/1OI/47RA+GI2QZaF48SSaLvyBA==} + engines: {node: '>=18.17'} + dev: false + /unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} @@ -3312,6 +3456,6 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: false - /zod@3.22.4: - resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + /zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} dev: false