Commit 3201ebd829
Unsigned
Layout: unified · split
api/.gitignore +3
| @@ -78,3 +78,6 @@ dist | |||
| 78 | # wrangler project | 78 | # wrangler project |
| 79 | .dev.vars | 79 | .dev.vars |
| 80 | .wrangler | 80 | .wrangler |
| 81 | |||
| 82 | # generated data | ||
| 83 | src/generated | ||
api/.oxlintrc.json added +6
| @@ -0,0 +1,6 @@ | |||
| 1 | { | ||
| 2 | "rules": { | ||
| 3 | "no-console": "warn", | ||
| 4 | "no-unused-vars": "warn" | ||
| 5 | } | ||
| 6 | } | ||
api/.prettierignore added +7
| @@ -0,0 +1,7 @@ | |||
| 1 | node_modules/ | ||
| 2 | dist/ | ||
| 3 | .wrangler/ | ||
| 4 | coverage/ | ||
| 5 | src/generated/ | ||
| 6 | bun.lock | ||
| 7 | *.md | ||
api/.prettierrc.json added +7
| @@ -0,0 +1,7 @@ | |||
| 1 | { | ||
| 2 | "semi": false, | ||
| 3 | "singleQuote": true, | ||
| 4 | "trailingComma": "all", | ||
| 5 | "printWidth": 90, | ||
| 6 | "tabWidth": 2 | ||
| 7 | } | ||
api/Dockerfile added +16
| @@ -0,0 +1,16 @@ | |||
| 1 | FROM oven/bun:1-slim AS build | ||
| 2 | WORKDIR /app | ||
| 3 | COPY package.json bun.lock* ./ | ||
| 4 | RUN bun install | ||
| 5 | COPY tsconfig.json ./ | ||
| 6 | COPY scripts ./scripts | ||
| 7 | COPY src ./src | ||
| 8 | RUN bun run build:data | ||
| 9 | |||
| 10 | FROM oven/bun:1-slim | ||
| 11 | WORKDIR /app | ||
| 12 | COPY --from=build /app /app | ||
| 13 | ENV NODE_ENV=production | ||
| 14 | ENV PORT=8787 | ||
| 15 | EXPOSE 8787 | ||
| 16 | CMD ["bun", "run", "src/index.node.ts"] | ||
api/README.md added +32
| @@ -0,0 +1,32 @@ | |||
| 1 | |||
| 2 | # Awesome Privacy API | ||
| 3 | |||
| 4 | The API allows you to consume the Awesome Privacy data pragmatically. | ||
| 5 | It also fetches and exposes additional data for each listing to add context. | ||
| 6 | |||
| 7 | |||
| 8 | ## Usage | ||
| 9 | You are free to use the managed instance (`api.awesome-privacy.xyz`) however you like. | ||
| 10 | Or, run it locally or deploy your own instance by following the [Deployment](#deployment) steps below. | ||
| 11 | |||
| 12 | ### Development | ||
| 13 | Start by cloning the repo `git clone git@github.com:lissy93/awesome-privacy.git` then `cd awesome-privacy/api` | ||
| 14 | |||
| 15 | 1. `bun install` - Install dependencies | ||
| 16 | 2. `bun run build:data` - Build the data from `awesome-privacy.yml` | ||
| 17 | 3. `bun run dev` - Start the development server (then open `http://localhost:8787`) | ||
| 18 | |||
| 19 | Or, to build + run the Docker container, use: | ||
| 20 | 1. `docker build -t awesome-privacy-api .` | ||
| 21 | 2. `docker run -p 8787:8787 --env-file .env awesome-privacy-api` | ||
| 22 | |||
| 23 | ### Deployment | ||
| 24 | |||
| 25 | #### Option 1: Docker | ||
| 26 | |||
| 27 | `docker run lissy93/awesome-privacy-api` | ||
| 28 | |||
| 29 | #### Option 2: Bare Metal | ||
| 30 | Follow the [development](#development) setup above, then run `bun start` to start the production server on `:8787` | ||
| 31 | |||
| 32 | #### Option 3: Cloudflare | ||
api/README.txt deleted −53
| @@ -1,53 +0,0 @@ | |||
| 1 | |||
| 2 | ============================================================================ | ||
| 3 | AWESOME PRIVACY API SOURCE | ||
| 4 | ============================================================================ | ||
| 5 | |||
| 6 | ABOUT | ||
| 7 | ----- | ||
| 8 | This directory contains the source for the Awesome Privacy API. | ||
| 9 | You can use the API to interact with our data programmatically. | ||
| 10 | The API is build using Hono, and intended for Cloudflare Workers. | ||
| 11 | |||
| 12 | ============================================================================ | ||
| 13 | |||
| 14 | PUBLIC INSTANCE | ||
| 15 | --------------- | ||
| 16 | We have a free, no-auth, CORS-enabled instance which you can use. | ||
| 17 | Get started with the Swagger docs at https://api.awesomeprivacy.com | ||
| 18 | |||
| 19 | ============================================================================ | ||
| 20 | |||
| 21 | GETTING STARTED | ||
| 22 | --------------- | ||
| 23 | 1. You'll first need Git and Node.js installed on your system | ||
| 24 | 2. Then install wrangler, `npm install wrangler --save-dev` | ||
| 25 | 3. Download `git clone git@github.com:Lissy93/awesome-privacy.git` | ||
| 26 | 4. And navigate int the api dir, with `cd awesome-privacy/api` | ||
| 27 | 5. Install all required dependencies, by running `npm install` | ||
| 28 | 4. Then run `yarn start` to start a local instance of the API | ||
| 29 | |||
| 30 | ============================================================================ | ||
| 31 | |||
| 32 | DEVELOPMENT | ||
| 33 | ----------- | ||
| 34 | 1. Run `yarn dev` to start a local instance of the API + Swagger interface | ||
| 35 | 2. Open `http://localhost:9000` in your browser or with a HTTP client | ||
| 36 | 3. Make any desired changes in `src/` - the server will auto reload | ||
| 37 | |||
| 38 | ============================================================================ | ||
| 39 | |||
| 40 | DEPLOYMENT | ||
| 41 | ---------- | ||
| 42 | 1. Sign up for Cloudflare Workers (https://workers.dev), free tier is fine | ||
| 43 | 2. Follow the steps in "Getting Started" to setup the project locally | ||
| 44 | 3. Run `wrangler login` to login to your Cloudflare account in wrangler | ||
| 45 | 4. Run `wrangler deploy` to publish the API to Cloudflare Workers | ||
| 46 | |||
| 47 | ============================================================================ | ||
| 48 | |||
| 49 | LICENSE | ||
| 50 | ------- | ||
| 51 | This project is licensed under MIT, (C) Alicia Sykes <aliciasykes.com> 2024 | ||
| 52 | See the GitHub repo for more info https://github.com/Lissy93/awesome-privacy | ||
| 53 | |||
api/bun.lock added +663
| @@ -0,0 +1,663 @@ | |||
| 1 | { | ||
| 2 | "lockfileVersion": 1, | ||
| 3 | "configVersion": 1, | ||
| 4 | "workspaces": { | ||
| 5 | "": { | ||
| 6 | "name": "awesome-privacy-api", | ||
| 7 | "dependencies": { | ||
| 8 | "@hono/node-server": "^2.0.2", | ||
| 9 | "@hono/zod-openapi": "^0.18.4", | ||
| 10 | "@modelcontextprotocol/sdk": "^1.6.1", | ||
| 11 | "@scalar/hono-api-reference": "^0.5.165", | ||
| 12 | "hono": "^4.6.16", | ||
| 13 | "minisearch": "^7.1.1", | ||
| 14 | "zod": "^3.23.8", | ||
| 15 | }, | ||
| 16 | "devDependencies": { | ||
| 17 | "@cloudflare/workers-types": "^4.20250109.0", | ||
| 18 | "@types/bun": "^1.1.14", | ||
| 19 | "@types/js-yaml": "^4.0.9", | ||
| 20 | "js-yaml": "^4.1.0", | ||
| 21 | "miniflare": "^3.20241218.0", | ||
| 22 | "oxlint": "^0.15.0", | ||
| 23 | "prettier": "^3.8.3", | ||
| 24 | "typescript": "^5.7.2", | ||
| 25 | "vitest": "^2.1.8", | ||
| 26 | "wrangler": "^3.99.0", | ||
| 27 | }, | ||
| 28 | }, | ||
| 29 | }, | ||
| 30 | "packages": { | ||
| 31 | "@asteasolutions/zod-to-openapi": ["@asteasolutions/zod-to-openapi@7.3.4", "", { "dependencies": { "openapi3-ts": "^4.1.2" }, "peerDependencies": { "zod": "^3.20.2" } }, "sha512-/2rThQ5zPi9OzVwes6U7lK1+Yvug0iXu25olp7S0XsYmOqnyMfxH7gdSQjn/+DSOHRg7wnotwGJSyL+fBKdnEA=="], | ||
| 32 | |||
| 33 | "@cloudflare/kv-asset-handler": ["@cloudflare/kv-asset-handler@0.3.4", "", { "dependencies": { "mime": "^3.0.0" } }, "sha512-YLPHc8yASwjNkmcDMQMY35yiWjoKAKnhUbPRszBRS0YgH+IXtsMp61j+yTcnCE3oO2DgP0U3iejLC8FTtKDC8Q=="], | ||
| 34 | |||
| 35 | "@cloudflare/unenv-preset": ["@cloudflare/unenv-preset@2.0.2", "", { "peerDependencies": { "unenv": "2.0.0-rc.14", "workerd": "^1.20250124.0" }, "optionalPeers": ["workerd"] }, "sha512-nyzYnlZjjV5xT3LizahG1Iu6mnrCaxglJ04rZLpDwlDVDZ7v46lNsfxhV3A/xtfgQuSHmLnc6SVI+KwBpc3Lwg=="], | ||
| 36 | |||
| 37 | "@cloudflare/workerd-darwin-64": ["@cloudflare/workerd-darwin-64@1.20250718.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-FHf4t7zbVN8yyXgQ/r/GqLPaYZSGUVzeR7RnL28Mwj2djyw2ZergvytVc7fdGcczl6PQh+VKGfZCfUqpJlbi9g=="], | ||
| 38 | |||
| 39 | "@cloudflare/workerd-darwin-arm64": ["@cloudflare/workerd-darwin-arm64@1.20250718.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-fUiyUJYyqqp4NqJ0YgGtp4WJh/II/YZsUnEb6vVy5Oeas8lUOxnN+ZOJ8N/6/5LQCVAtYCChRiIrBbfhTn5Z8Q=="], | ||
| 40 | |||
| 41 | "@cloudflare/workerd-linux-64": ["@cloudflare/workerd-linux-64@1.20250718.0", "", { "os": "linux", "cpu": "x64" }, "sha512-5+eb3rtJMiEwp08Kryqzzu8d1rUcK+gdE442auo5eniMpT170Dz0QxBrqkg2Z48SFUPYbj+6uknuA5tzdRSUSg=="], | ||
| 42 | |||
| 43 | "@cloudflare/workerd-linux-arm64": ["@cloudflare/workerd-linux-arm64@1.20250718.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-Aa2M/DVBEBQDdATMbn217zCSFKE+ud/teS+fFS+OQqKABLn0azO2qq6ANAHYOIE6Q3Sq4CxDIQr8lGdaJHwUog=="], | ||
| 44 | |||
| 45 | "@cloudflare/workerd-windows-64": ["@cloudflare/workerd-windows-64@1.20250718.0", "", { "os": "win32", "cpu": "x64" }, "sha512-dY16RXKffmugnc67LTbyjdDHZn5NoTF1yHEf2fN4+OaOnoGSp3N1x77QubTDwqZ9zECWxgQfDLjddcH8dWeFhg=="], | ||
| 46 | |||
| 47 | "@cloudflare/workers-types": ["@cloudflare/workers-types@4.20260511.1", "", {}, "sha512-FA+si7cOq9i/gtCHhIc0XJL0l1F/ApF+m00752Aj7WZFJrj3ZulT2T8/+rT3BabMT0QEnqFEGIqCgrmqhgEfMg=="], | ||
| 48 | |||
| 49 | "@cspotcode/source-map-support": ["@cspotcode/source-map-support@0.8.1", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="], | ||
| 50 | |||
| 51 | "@emnapi/runtime": ["@emnapi/runtime@1.10.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA=="], | ||
| 52 | |||
| 53 | "@esbuild-plugins/node-globals-polyfill": ["@esbuild-plugins/node-globals-polyfill@0.2.3", "", { "peerDependencies": { "esbuild": "*" } }, "sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw=="], | ||
| 54 | |||
| 55 | "@esbuild-plugins/node-modules-polyfill": ["@esbuild-plugins/node-modules-polyfill@0.2.2", "", { "dependencies": { "escape-string-regexp": "^4.0.0", "rollup-plugin-node-polyfills": "^0.2.1" }, "peerDependencies": { "esbuild": "*" } }, "sha512-LXV7QsWJxRuMYvKbiznh+U1ilIop3g2TeKRzUxOG5X3YITc8JyyTa90BmLwqqv0YnX4v32CSlG+vsziZp9dMvA=="], | ||
| 56 | |||
| 57 | "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.21.5", "", { "os": "aix", "cpu": "ppc64" }, "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ=="], | ||
| 58 | |||
| 59 | "@esbuild/android-arm": ["@esbuild/android-arm@0.17.19", "", { "os": "android", "cpu": "arm" }, "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A=="], | ||
| 60 | |||
| 61 | "@esbuild/android-arm64": ["@esbuild/android-arm64@0.17.19", "", { "os": "android", "cpu": "arm64" }, "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA=="], | ||
| 62 | |||
| 63 | "@esbuild/android-x64": ["@esbuild/android-x64@0.17.19", "", { "os": "android", "cpu": "x64" }, "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww=="], | ||
| 64 | |||
| 65 | "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.17.19", "", { "os": "darwin", "cpu": "arm64" }, "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg=="], | ||
| 66 | |||
| 67 | "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.17.19", "", { "os": "darwin", "cpu": "x64" }, "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw=="], | ||
| 68 | |||
| 69 | "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.17.19", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ=="], | ||
| 70 | |||
| 71 | "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.17.19", "", { "os": "freebsd", "cpu": "x64" }, "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ=="], | ||
| 72 | |||
| 73 | "@esbuild/linux-arm": ["@esbuild/linux-arm@0.17.19", "", { "os": "linux", "cpu": "arm" }, "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA=="], | ||
| 74 | |||
| 75 | "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.17.19", "", { "os": "linux", "cpu": "arm64" }, "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg=="], | ||
| 76 | |||
| 77 | "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.17.19", "", { "os": "linux", "cpu": "ia32" }, "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ=="], | ||
| 78 | |||
| 79 | "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.17.19", "", { "os": "linux", "cpu": "none" }, "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ=="], | ||
| 80 | |||
| 81 | "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.17.19", "", { "os": "linux", "cpu": "none" }, "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A=="], | ||
| 82 | |||
| 83 | "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.17.19", "", { "os": "linux", "cpu": "ppc64" }, "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg=="], | ||
| 84 | |||
| 85 | "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.17.19", "", { "os": "linux", "cpu": "none" }, "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA=="], | ||
| 86 | |||
| 87 | "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.17.19", "", { "os": "linux", "cpu": "s390x" }, "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q=="], | ||
| 88 | |||
| 89 | "@esbuild/linux-x64": ["@esbuild/linux-x64@0.17.19", "", { "os": "linux", "cpu": "x64" }, "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw=="], | ||
| 90 | |||
| 91 | "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.17.19", "", { "os": "none", "cpu": "x64" }, "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q=="], | ||
| 92 | |||
| 93 | "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.17.19", "", { "os": "openbsd", "cpu": "x64" }, "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g=="], | ||
| 94 | |||
| 95 | "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.17.19", "", { "os": "sunos", "cpu": "x64" }, "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg=="], | ||
| 96 | |||
| 97 | "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.17.19", "", { "os": "win32", "cpu": "arm64" }, "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag=="], | ||
| 98 | |||
| 99 | "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.17.19", "", { "os": "win32", "cpu": "ia32" }, "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw=="], | ||
| 100 | |||
| 101 | "@esbuild/win32-x64": ["@esbuild/win32-x64@0.17.19", "", { "os": "win32", "cpu": "x64" }, "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA=="], | ||
| 102 | |||
| 103 | "@fastify/busboy": ["@fastify/busboy@2.1.1", "", {}, "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA=="], | ||
| 104 | |||
| 105 | "@hono/node-server": ["@hono/node-server@2.0.2", "", { "peerDependencies": { "hono": "^4" } }, "sha512-tXlTi1h/4V7sDe7i97IVP+9re9ZU7wXZZggnR5ucCRclf1+AX6YhGStrR5w8bLj+3Mlyl0pKfBh9gqTqqnGKfQ=="], | ||
| 106 | |||
| 107 | "@hono/zod-openapi": ["@hono/zod-openapi@0.18.4", "", { "dependencies": { "@asteasolutions/zod-to-openapi": "^7.1.0", "@hono/zod-validator": "^0.4.1" }, "peerDependencies": { "hono": ">=4.3.6", "zod": "3.*" } }, "sha512-6NHMHU96Hh32B1yDhb94Z4Z5/POsmEu2AXpWLWcBq9arskRnOMt2752yEoXoADV8WUAc7H1IkNaQHGj1ytXbYw=="], | ||
| 108 | |||
| 109 | "@hono/zod-validator": ["@hono/zod-validator@0.4.3", "", { "peerDependencies": { "hono": ">=3.9.0", "zod": "^3.19.1" } }, "sha512-xIgMYXDyJ4Hj6ekm9T9Y27s080Nl9NXHcJkOvkXPhubOLj8hZkOL8pDnnXfvCf5xEE8Q4oMFenQUZZREUY2gqQ=="], | ||
| 110 | |||
| 111 | "@img/sharp-darwin-arm64": ["@img/sharp-darwin-arm64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.0.4" }, "os": "darwin", "cpu": "arm64" }, "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ=="], | ||
| 112 | |||
| 113 | "@img/sharp-darwin-x64": ["@img/sharp-darwin-x64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.0.4" }, "os": "darwin", "cpu": "x64" }, "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q=="], | ||
| 114 | |||
| 115 | "@img/sharp-libvips-darwin-arm64": ["@img/sharp-libvips-darwin-arm64@1.0.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg=="], | ||
| 116 | |||
| 117 | "@img/sharp-libvips-darwin-x64": ["@img/sharp-libvips-darwin-x64@1.0.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ=="], | ||
| 118 | |||
| 119 | "@img/sharp-libvips-linux-arm": ["@img/sharp-libvips-linux-arm@1.0.5", "", { "os": "linux", "cpu": "arm" }, "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g=="], | ||
| 120 | |||
| 121 | "@img/sharp-libvips-linux-arm64": ["@img/sharp-libvips-linux-arm64@1.0.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA=="], | ||
| 122 | |||
| 123 | "@img/sharp-libvips-linux-s390x": ["@img/sharp-libvips-linux-s390x@1.0.4", "", { "os": "linux", "cpu": "s390x" }, "sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA=="], | ||
| 124 | |||
| 125 | "@img/sharp-libvips-linux-x64": ["@img/sharp-libvips-linux-x64@1.0.4", "", { "os": "linux", "cpu": "x64" }, "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw=="], | ||
| 126 | |||
| 127 | "@img/sharp-libvips-linuxmusl-arm64": ["@img/sharp-libvips-linuxmusl-arm64@1.0.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA=="], | ||
| 128 | |||
| 129 | "@img/sharp-libvips-linuxmusl-x64": ["@img/sharp-libvips-linuxmusl-x64@1.0.4", "", { "os": "linux", "cpu": "x64" }, "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw=="], | ||
| 130 | |||
| 131 | "@img/sharp-linux-arm": ["@img/sharp-linux-arm@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.0.5" }, "os": "linux", "cpu": "arm" }, "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ=="], | ||
| 132 | |||
| 133 | "@img/sharp-linux-arm64": ["@img/sharp-linux-arm64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.0.4" }, "os": "linux", "cpu": "arm64" }, "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA=="], | ||
| 134 | |||
| 135 | "@img/sharp-linux-s390x": ["@img/sharp-linux-s390x@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.0.4" }, "os": "linux", "cpu": "s390x" }, "sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q=="], | ||
| 136 | |||
| 137 | "@img/sharp-linux-x64": ["@img/sharp-linux-x64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.0.4" }, "os": "linux", "cpu": "x64" }, "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA=="], | ||
| 138 | |||
| 139 | "@img/sharp-linuxmusl-arm64": ["@img/sharp-linuxmusl-arm64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.0.4" }, "os": "linux", "cpu": "arm64" }, "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g=="], | ||
| 140 | |||
| 141 | "@img/sharp-linuxmusl-x64": ["@img/sharp-linuxmusl-x64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.0.4" }, "os": "linux", "cpu": "x64" }, "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw=="], | ||
| 142 | |||
| 143 | "@img/sharp-wasm32": ["@img/sharp-wasm32@0.33.5", "", { "dependencies": { "@emnapi/runtime": "^1.2.0" }, "cpu": "none" }, "sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg=="], | ||
| 144 | |||
| 145 | "@img/sharp-win32-ia32": ["@img/sharp-win32-ia32@0.33.5", "", { "os": "win32", "cpu": "ia32" }, "sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ=="], | ||
| 146 | |||
| 147 | "@img/sharp-win32-x64": ["@img/sharp-win32-x64@0.33.5", "", { "os": "win32", "cpu": "x64" }, "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg=="], | ||
| 148 | |||
| 149 | "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="], | ||
| 150 | |||
| 151 | "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], | ||
| 152 | |||
| 153 | "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.9", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="], | ||
| 154 | |||
| 155 | "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.29.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ=="], | ||
| 156 | |||
| 157 | "@oxlint/darwin-arm64": ["@oxlint/darwin-arm64@0.15.15", "", { "os": "darwin", "cpu": "arm64" }, "sha512-7GOyGM6D36lUhsOvavAVpF72SycPVG0Enunx0bzv8g0+9TklzOSFN3FJlZjLst14VPdZWujZMLgkQC7tOp+Rwg=="], | ||
| 158 | |||
| 159 | "@oxlint/darwin-x64": ["@oxlint/darwin-x64@0.15.15", "", { "os": "darwin", "cpu": "x64" }, "sha512-pbrnYFwMn/fuX0z3IeQ05Nvo/b1zGxjmmWgkrQSDwYHxBxP6NT41hk1pmqkcA+v53xk9wvOa/6vBBI/U30F8Ow=="], | ||
| 160 | |||
| 161 | "@oxlint/linux-arm64-gnu": ["@oxlint/linux-arm64-gnu@0.15.15", "", { "os": "linux", "cpu": "arm64" }, "sha512-QWjG3YVsDlIvDTBUPmtPiyqP34ZQpFJqQh2JO94pBih11lFxQ0IGVMEXDhmW3WdiSFPZSJsZGzWynalM9eg+RA=="], | ||
| 162 | |||
| 163 | "@oxlint/linux-arm64-musl": ["@oxlint/linux-arm64-musl@0.15.15", "", { "os": "linux", "cpu": "arm64" }, "sha512-4W0YsmMSbNzzExOWhk+6zNfmJEmKFqSjFIn8CKLtYFvH8kF6KjoW4/0HNsDNYW5Fz+KOut/2JgkvxAiKH+r0zA=="], | ||
| 164 | |||
| 165 | "@oxlint/linux-x64-gnu": ["@oxlint/linux-x64-gnu@0.15.15", "", { "os": "linux", "cpu": "x64" }, "sha512-agP3e+eQ6tE5tqN6VI4Uukx2yvjwYFjtrDMcB19J7PmGOaFRwuMuT0sNWK/9guvhuS9aCINNZTi3kEhMy9Qgng=="], | ||
| 166 | |||
| 167 | "@oxlint/linux-x64-musl": ["@oxlint/linux-x64-musl@0.15.15", "", { "os": "linux", "cpu": "x64" }, "sha512-L2qE9NhhUafsJOO4pofLx/0hW5IB0sfJa6bS85q0j+ySaI0f3CxMaAadrZLFSuqHWB3oF18B5yvzaPWsc2ohbQ=="], | ||
| 168 | |||
| 169 | "@oxlint/win32-arm64": ["@oxlint/win32-arm64@0.15.15", "", { "os": "win32", "cpu": "arm64" }, "sha512-B7f4VAS/E78n8zy6XZlNeyYOtWTel4BJn/22Ap2yEAlNzO34ot8dGfpLk6MqTUWJrRnARwVBVmc3wRVrsOT5yg=="], | ||
| 170 | |||
| 171 | "@oxlint/win32-x64": ["@oxlint/win32-x64@0.15.15", "", { "os": "win32", "cpu": "x64" }, "sha512-ZM9T3/OpaQ3qvrk/VuHO2EQmhNH4cOZdr/b/Ju9VKwBr+ahhqMn3W5srrplWQWxfsb0yd1yBj7iD0jdAps2iLg=="], | ||
| 172 | |||
| 173 | "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.60.3", "", { "os": "android", "cpu": "arm" }, "sha512-x35CNW/ANXG3hE/EZpRU8MXX1JDN86hBb2wMGAtltkz7pc6cxgjpy1OMMfDosOQ+2hWqIkag/fGok1Yady9nGw=="], | ||
| 174 | |||
| 175 | "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.60.3", "", { "os": "android", "cpu": "arm64" }, "sha512-xw3xtkDApIOGayehp2+Rz4zimfkaX65r4t47iy+ymQB2G4iJCBBfj0ogVg5jpvjpn8UWn/+q9tprxleYeNp3Hw=="], | ||
| 176 | |||
| 177 | "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.60.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-vo6Y5Qfpx7/5EaamIwi0WqW2+zfiusVihKatLvtN1VFVy3D13uERk/6gZLU1UiHRL6fDXqj/ELIeVRGnvcTE1g=="], | ||
| 178 | |||
| 179 | "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.60.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-D+0QGcZhBzTN82weOnsSlY7V7+RMmPuF1CkbxyMAGE8+ZHeUjyb76ZiWmBlCu//AQQONvxcqRbwZTajZKqjuOw=="], | ||
| 180 | |||
| 181 | "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.60.3", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-6HnvHCT7fDyj6R0Ph7A6x8dQS/S38MClRWeDLqc0MdfWkxjiu1HSDYrdPhqSILzjTIC/pnXbbJbo+ft+gy/9hQ=="], | ||
| 182 | |||
| 183 | "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.60.3", "", { "os": "freebsd", "cpu": "x64" }, "sha512-KHLgC3WKlUYW3ShFKnnosZDOJ0xjg9zp7au3sIm2bs/tGBeC2ipmvRh/N7JKi0t9Ue20C0dpEshi8WUubg+cnA=="], | ||
| 184 | |||
| 185 | "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.60.3", "", { "os": "linux", "cpu": "arm" }, "sha512-DV6fJoxEYWJOvaZIsok7KrYl0tPvga5OZ2yvKHNNYyk/2roMLqQAbGhr78EQ5YhHpnhLKJD3S1WFusAkmUuV5g=="], | ||
| 186 | |||
| 187 | "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.60.3", "", { "os": "linux", "cpu": "arm" }, "sha512-mQKoJAzvuOs6F+TZybQO4GOTSMUu7v0WdxEk24krQ/uUxXoPTtHjuaUuPmFhtBcM4K0ons8nrE3JyhTuCFtT/w=="], | ||
| 188 | |||
| 189 | "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.60.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-Whjj2qoiJ6+OOJMGptTYazaJvjOJm+iKHpXQM1P3LzGjt7Ff++Tp7nH4N8J/BUA7R9IHfDyx4DJIflifwnbmIA=="], | ||
| 190 | |||
| 191 | "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.60.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-4YTNHKqGng5+yiZt3mg77nmyuCfmNfX4fPmyUapBcIk+BdwSwmCWGXOUxhXbBEkFHtoN5boLj/5NON+u5QC9tg=="], | ||
| 192 | |||
| 193 | "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.60.3", "", { "os": "linux", "cpu": "none" }, "sha512-SU3kNlhkpI4UqlUc2VXPGK9o886ZsSeGfMAX2ba2b8DKmMXq4AL7KUrkSWVbb7koVqx41Yczx6dx5PNargIrEA=="], | ||
| 194 | |||
| 195 | "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.60.3", "", { "os": "linux", "cpu": "none" }, "sha512-6lDLl5h4TXpB1mTf2rQWnAk/LcXrx9vBfu/DT5TIPhvMhRWaZ5MxkIc8u4lJAmBo6klTe1ywXIUHFjylW505sg=="], | ||
| 196 | |||
| 197 | "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.60.3", "", { "os": "linux", "cpu": "ppc64" }, "sha512-BMo8bOw8evlup/8G+cj5xWtPyp93xPdyoSN16Zy90Q2QZ0ZYRhCt6ZJSwbrRzG9HApFabjwj2p25TUPDWrhzqQ=="], | ||
| 198 | |||
| 199 | "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.60.3", "", { "os": "linux", "cpu": "ppc64" }, "sha512-E0L8X1dZN1/Rph+5VPF6Xj2G7JJvMACVXtamTJIDrVI44Y3K+G8gQaMEAavbqCGTa16InptiVrX6eM6pmJ+7qA=="], | ||
| 200 | |||
| 201 | "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.60.3", "", { "os": "linux", "cpu": "none" }, "sha512-oZJ/WHaVfHUiRAtmTAeo3DcevNsVvH8mbvodjZy7D5QKvCefO371SiKRpxoDcCxB3PTRTLayWBkvmDQKTcX/sw=="], | ||
| 202 | |||
| 203 | "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.60.3", "", { "os": "linux", "cpu": "none" }, "sha512-Dhbyh7j9FybM3YaTgaHmVALwA8AkUwTPccyCQ79TG9AJUsMQqgN1DDEZNr4+QUfwiWvLDumW5vdwzoeUF+TNxQ=="], | ||
| 204 | |||
| 205 | "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.60.3", "", { "os": "linux", "cpu": "s390x" }, "sha512-cJd1X5XhHHlltkaypz1UcWLA8AcoIi1aWhsvaWDskD1oz2eKCypnqvTQ8ykMNI0RSmm7NkTdSqSSD7zM0xa6Ig=="], | ||
| 206 | |||
| 207 | "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.60.3", "", { "os": "linux", "cpu": "x64" }, "sha512-DAZDBHQfG2oQuhY7mc6I3/qB4LU2fQCjRvxbDwd/Jdvb9fypP4IJ4qmtu6lNjes6B531AI8cg1aKC2di97bUxA=="], | ||
| 208 | |||
| 209 | "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.60.3", "", { "os": "linux", "cpu": "x64" }, "sha512-cRxsE8c13mZOh3vP+wLDxpQBRrOHDIGOWyDL93Sy0Ga8y515fBcC2pjUfFwUe5T7tqvTvWbCpg1URM/AXdWIXA=="], | ||
| 210 | |||
| 211 | "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.60.3", "", { "os": "openbsd", "cpu": "x64" }, "sha512-QaWcIgRxqEdQdhJqW4DJctsH6HCmo5vHxY0krHSX4jMtOqfzC+dqDGuHM87bu4H8JBeibWx7jFz+h6/4C8wA5Q=="], | ||
| 212 | |||
| 213 | "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.60.3", "", { "os": "none", "cpu": "arm64" }, "sha512-AaXwSvUi3QIPtroAUw1t5yHGIyqKEXwH54WUocFolZhpGDruJcs8c+xPNDRn4XiQsS7MEwnYsHW2l0MBLDMkWg=="], | ||
| 214 | |||
| 215 | "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.60.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-65LAKM/bAWDqKNEelHlcHvm2V+Vfb8C6INFxQXRHCvaVN1rJfwr4NvdP4FyzUaLqWfaCGaadf6UbTm8xJeYfEg=="], | ||
| 216 | |||
| 217 | "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.60.3", "", { "os": "win32", "cpu": "ia32" }, "sha512-EEM2gyhBF5MFnI6vMKdX1LAosE627RGBzIoGMdLloPZkXrUN0Ckqgr2Qi8+J3zip/8NVVro3/FjB+tjhZUgUHA=="], | ||
| 218 | |||
| 219 | "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.60.3", "", { "os": "win32", "cpu": "x64" }, "sha512-E5Eb5H/DpxaoXH++Qkv28RcUJboMopmdDUALBczvHMf7hNIxaDZqwY5lK12UK1BHacSmvupoEWGu+n993Z0y1A=="], | ||
| 220 | |||
| 221 | "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.60.3", "", { "os": "win32", "cpu": "x64" }, "sha512-hPt/bgL5cE+Qp+/TPHBqptcAgPzgj46mPcg/16zNUmbQk0j+mOEQV/+Lqu8QRtDV3Ek95Q6FeFITpuhl6OTsAA=="], | ||
| 222 | |||
| 223 | "@scalar/core": ["@scalar/core@0.1.1", "", { "dependencies": { "@scalar/types": "0.0.40" } }, "sha512-7qnZp8ykrXoKScFIZcwt638CuFFyj7G3SsgVfD5liNgb533K8/lhWqdmp1vK2u4BKKJ9GBAPKMlWZE/+yA8WTw=="], | ||
| 224 | |||
| 225 | "@scalar/hono-api-reference": ["@scalar/hono-api-reference@0.5.184", "", { "dependencies": { "@scalar/core": "0.1.1" }, "peerDependencies": { "hono": "^4.0.0" } }, "sha512-vRSRwJkN1Xo5dW9KYQJlGpKZ+Nh9qH+x1sn0qf6/Lx8QLPyyEpNm1EEddKaIN6qd5wrtVjDN6adQhfAfcYGHzw=="], | ||
| 226 | |||
| 227 | "@scalar/openapi-types": ["@scalar/openapi-types@0.1.9", "", {}, "sha512-HQQudOSQBU7ewzfnBW9LhDmBE2XOJgSfwrh5PlUB7zJup/kaRkBGNgV2wMjNz9Af/uztiU/xNrO179FysmUT+g=="], | ||
| 228 | |||
| 229 | "@scalar/types": ["@scalar/types@0.0.40", "", { "dependencies": { "@scalar/openapi-types": "0.1.9", "@unhead/schema": "^1.11.11", "zod": "^3.23.8" } }, "sha512-0J6o+yZzgZEvl3KhvLTAGiXXyrCeEPKvs9gUWQDf1Rb5NfFxF0lA10ougCQCwVJIguWNEzZfOUiSoAFzGy2EqQ=="], | ||
| 230 | |||
| 231 | "@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="], | ||
| 232 | |||
| 233 | "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="], | ||
| 234 | |||
| 235 | "@types/js-yaml": ["@types/js-yaml@4.0.9", "", {}, "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg=="], | ||
| 236 | |||
| 237 | "@types/node": ["@types/node@25.7.0", "", { "dependencies": { "undici-types": "~7.21.0" } }, "sha512-z+pdZyxE+RTQE9AcboAZCb4otwcrvgHD+GlBpPgn0emDVt0ohrTMhAwlr2Wd9nZ+nihhYFxO2pThz3C5qSu2Eg=="], | ||
| 238 | |||
| 239 | "@unhead/schema": ["@unhead/schema@1.11.20", "", { "dependencies": { "hookable": "^5.5.3", "zhead": "^2.2.4" } }, "sha512-0zWykKAaJdm+/Y7yi/Yds20PrUK7XabLe9c3IRcjnwYmSWY6z0Cr19VIs3ozCj8P+GhR+/TI2mwtGlueCEYouA=="], | ||
| 240 | |||
| 241 | "@vitest/expect": ["@vitest/expect@2.1.9", "", { "dependencies": { "@vitest/spy": "2.1.9", "@vitest/utils": "2.1.9", "chai": "^5.1.2", "tinyrainbow": "^1.2.0" } }, "sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw=="], | ||
| 242 | |||
| 243 | "@vitest/mocker": ["@vitest/mocker@2.1.9", "", { "dependencies": { "@vitest/spy": "2.1.9", "estree-walker": "^3.0.3", "magic-string": "^0.30.12" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^5.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg=="], | ||
| 244 | |||
| 245 | "@vitest/pretty-format": ["@vitest/pretty-format@2.1.9", "", { "dependencies": { "tinyrainbow": "^1.2.0" } }, "sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ=="], | ||
| 246 | |||
| 247 | "@vitest/runner": ["@vitest/runner@2.1.9", "", { "dependencies": { "@vitest/utils": "2.1.9", "pathe": "^1.1.2" } }, "sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g=="], | ||
| 248 | |||
| 249 | "@vitest/snapshot": ["@vitest/snapshot@2.1.9", "", { "dependencies": { "@vitest/pretty-format": "2.1.9", "magic-string": "^0.30.12", "pathe": "^1.1.2" } }, "sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ=="], | ||
| 250 | |||
| 251 | "@vitest/spy": ["@vitest/spy@2.1.9", "", { "dependencies": { "tinyspy": "^3.0.2" } }, "sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ=="], | ||
| 252 | |||
| 253 | "@vitest/utils": ["@vitest/utils@2.1.9", "", { "dependencies": { "@vitest/pretty-format": "2.1.9", "loupe": "^3.1.2", "tinyrainbow": "^1.2.0" } }, "sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ=="], | ||
| 254 | |||
| 255 | "accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="], | ||
| 256 | |||
| 257 | "acorn": ["acorn@8.14.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA=="], | ||
| 258 | |||
| 259 | "acorn-walk": ["acorn-walk@8.3.2", "", {}, "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A=="], | ||
| 260 | |||
| 261 | "ajv": ["ajv@8.20.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA=="], | ||
| 262 | |||
| 263 | "ajv-formats": ["ajv-formats@3.0.1", "", { "dependencies": { "ajv": "^8.0.0" } }, "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ=="], | ||
| 264 | |||
| 265 | "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], | ||
| 266 | |||
| 267 | "as-table": ["as-table@1.0.55", "", { "dependencies": { "printable-characters": "^1.0.42" } }, "sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ=="], | ||
| 268 | |||
| 269 | "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], | ||
| 270 | |||
| 271 | "blake3-wasm": ["blake3-wasm@2.1.5", "", {}, "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g=="], | ||
| 272 | |||
| 273 | "body-parser": ["body-parser@2.2.2", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", "debug": "^4.4.3", "http-errors": "^2.0.0", "iconv-lite": "^0.7.0", "on-finished": "^2.4.1", "qs": "^6.14.1", "raw-body": "^3.0.1", "type-is": "^2.0.1" } }, "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA=="], | ||
| 274 | |||
| 275 | "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="], | ||
| 276 | |||
| 277 | "bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="], | ||
| 278 | |||
| 279 | "cac": ["cac@6.7.14", "", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="], | ||
| 280 | |||
| 281 | "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], | ||
| 282 | |||
| 283 | "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="], | ||
| 284 | |||
| 285 | "chai": ["chai@5.3.3", "", { "dependencies": { "assertion-error": "^2.0.1", "check-error": "^2.1.1", "deep-eql": "^5.0.1", "loupe": "^3.1.0", "pathval": "^2.0.0" } }, "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw=="], | ||
| 286 | |||
| 287 | "check-error": ["check-error@2.1.3", "", {}, "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA=="], | ||
| 288 | |||
| 289 | "color": ["color@4.2.3", "", { "dependencies": { "color-convert": "^2.0.1", "color-string": "^1.9.0" } }, "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A=="], | ||
| 290 | |||
| 291 | "color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], | ||
| 292 | |||
| 293 | "color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], | ||
| 294 | |||
| 295 | "color-string": ["color-string@1.9.1", "", { "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg=="], | ||
| 296 | |||
| 297 | "content-disposition": ["content-disposition@1.1.0", "", {}, "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g=="], | ||
| 298 | |||
| 299 | "content-type": ["content-type@1.0.5", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="], | ||
| 300 | |||
| 301 | "cookie": ["cookie@0.7.2", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="], | ||
| 302 | |||
| 303 | "cookie-signature": ["cookie-signature@1.2.2", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="], | ||
| 304 | |||
| 305 | "cors": ["cors@2.8.6", "", { "dependencies": { "object-assign": "^4", "vary": "^1" } }, "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw=="], | ||
| 306 | |||
| 307 | "cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], | ||
| 308 | |||
| 309 | "data-uri-to-buffer": ["data-uri-to-buffer@2.0.2", "", {}, "sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA=="], | ||
| 310 | |||
| 311 | "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], | ||
| 312 | |||
| 313 | "deep-eql": ["deep-eql@5.0.2", "", {}, "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q=="], | ||
| 314 | |||
| 315 | "defu": ["defu@6.1.7", "", {}, "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ=="], | ||
| 316 | |||
| 317 | "depd": ["depd@2.0.0", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="], | ||
| 318 | |||
| 319 | "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], | ||
| 320 | |||
| 321 | "dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="], | ||
| 322 | |||
| 323 | "ee-first": ["ee-first@1.1.1", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="], | ||
| 324 | |||
| 325 | "encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="], | ||
| 326 | |||
| 327 | "es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="], | ||
| 328 | |||
| 329 | "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], | ||
| 330 | |||
| 331 | "es-module-lexer": ["es-module-lexer@1.7.0", "", {}, "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA=="], | ||
| 332 | |||
| 333 | "es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="], | ||
| 334 | |||
| 335 | "esbuild": ["esbuild@0.17.19", "", { "optionalDependencies": { "@esbuild/android-arm": "0.17.19", "@esbuild/android-arm64": "0.17.19", "@esbuild/android-x64": "0.17.19", "@esbuild/darwin-arm64": "0.17.19", "@esbuild/darwin-x64": "0.17.19", "@esbuild/freebsd-arm64": "0.17.19", "@esbuild/freebsd-x64": "0.17.19", "@esbuild/linux-arm": "0.17.19", "@esbuild/linux-arm64": "0.17.19", "@esbuild/linux-ia32": "0.17.19", "@esbuild/linux-loong64": "0.17.19", "@esbuild/linux-mips64el": "0.17.19", "@esbuild/linux-ppc64": "0.17.19", "@esbuild/linux-riscv64": "0.17.19", "@esbuild/linux-s390x": "0.17.19", "@esbuild/linux-x64": "0.17.19", "@esbuild/netbsd-x64": "0.17.19", "@esbuild/openbsd-x64": "0.17.19", "@esbuild/sunos-x64": "0.17.19", "@esbuild/win32-arm64": "0.17.19", "@esbuild/win32-ia32": "0.17.19", "@esbuild/win32-x64": "0.17.19" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw=="], | ||
| 336 | |||
| 337 | "escape-html": ["escape-html@1.0.3", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="], | ||
| 338 | |||
| 339 | "escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="], | ||
| 340 | |||
| 341 | "estree-walker": ["estree-walker@3.0.3", "", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="], | ||
| 342 | |||
| 343 | "etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="], | ||
| 344 | |||
| 345 | "eventsource": ["eventsource@3.0.7", "", { "dependencies": { "eventsource-parser": "^3.0.1" } }, "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA=="], | ||
| 346 | |||
| 347 | "eventsource-parser": ["eventsource-parser@3.0.8", "", {}, "sha512-70QWGkr4snxr0OXLRWsFLeRBIRPuQOvt4s8QYjmUlmlkyTZkRqS7EDVRZtzU3TiyDbXSzaOeF0XUKy8PchzukQ=="], | ||
| 348 | |||
| 349 | "exit-hook": ["exit-hook@2.2.1", "", {}, "sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw=="], | ||
| 350 | |||
| 351 | "expect-type": ["expect-type@1.3.0", "", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="], | ||
| 352 | |||
| 353 | "express": ["express@5.2.1", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw=="], | ||
| 354 | |||
| 355 | "express-rate-limit": ["express-rate-limit@8.5.1", "", { "dependencies": { "ip-address": "^10.2.0" }, "peerDependencies": { "express": ">= 4.11" } }, "sha512-5O6KYmyJEpuPJV5hNTXKbAHWRqrzyu+OI3vUnSd2kXFubIVpG7ezpgxQy76Zo5GQZtrQBg86hF+CM/NX+cioiQ=="], | ||
| 356 | |||
| 357 | "exsolve": ["exsolve@1.0.8", "", {}, "sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA=="], | ||
| 358 | |||
| 359 | "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], | ||
| 360 | |||
| 361 | "fast-uri": ["fast-uri@3.1.2", "", {}, "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ=="], | ||
| 362 | |||
| 363 | "finalhandler": ["finalhandler@2.1.1", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="], | ||
| 364 | |||
| 365 | "forwarded": ["forwarded@0.2.0", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="], | ||
| 366 | |||
| 367 | "fresh": ["fresh@2.0.0", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="], | ||
| 368 | |||
| 369 | "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], | ||
| 370 | |||
| 371 | "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="], | ||
| 372 | |||
| 373 | "get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="], | ||
| 374 | |||
| 375 | "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], | ||
| 376 | |||
| 377 | "get-source": ["get-source@2.0.12", "", { "dependencies": { "data-uri-to-buffer": "^2.0.0", "source-map": "^0.6.1" } }, "sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w=="], | ||
| 378 | |||
| 379 | "glob-to-regexp": ["glob-to-regexp@0.4.1", "", {}, "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="], | ||
| 380 | |||
| 381 | "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="], | ||
| 382 | |||
| 383 | "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], | ||
| 384 | |||
| 385 | "hasown": ["hasown@2.0.3", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg=="], | ||
| 386 | |||
| 387 | "hono": ["hono@4.12.18", "", {}, "sha512-RWzP96k/yv0PQfyXnWjs6zot20TqfpfsNXhOnev8d1InAxubW93L11/oNUc3tQqn2G0bSdAOBpX+2uDFHV7kdQ=="], | ||
| 388 | |||
| 389 | "hookable": ["hookable@5.5.3", "", {}, "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ=="], | ||
| 390 | |||
| 391 | "http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="], | ||
| 392 | |||
| 393 | "iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="], | ||
| 394 | |||
| 395 | "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="], | ||
| 396 | |||
| 397 | "ip-address": ["ip-address@10.2.0", "", {}, "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA=="], | ||
| 398 | |||
| 399 | "ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="], | ||
| 400 | |||
| 401 | "is-arrayish": ["is-arrayish@0.3.4", "", {}, "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA=="], | ||
| 402 | |||
| 403 | "is-promise": ["is-promise@4.0.0", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="], | ||
| 404 | |||
| 405 | "isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], | ||
| 406 | |||
| 407 | "jose": ["jose@6.2.3", "", {}, "sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw=="], | ||
| 408 | |||
| 409 | "js-yaml": ["js-yaml@4.1.1", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="], | ||
| 410 | |||
| 411 | "json-schema-traverse": ["json-schema-traverse@1.0.0", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="], | ||
| 412 | |||
| 413 | "json-schema-typed": ["json-schema-typed@8.0.2", "", {}, "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA=="], | ||
| 414 | |||
| 415 | "loupe": ["loupe@3.2.1", "", {}, "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ=="], | ||
| 416 | |||
| 417 | "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], | ||
| 418 | |||
| 419 | "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], | ||
| 420 | |||
| 421 | "media-typer": ["media-typer@1.1.0", "", {}, "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw=="], | ||
| 422 | |||
| 423 | "merge-descriptors": ["merge-descriptors@2.0.0", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="], | ||
| 424 | |||
| 425 | "mime": ["mime@3.0.0", "", { "bin": { "mime": "cli.js" } }, "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A=="], | ||
| 426 | |||
| 427 | "mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="], | ||
| 428 | |||
| 429 | "mime-types": ["mime-types@3.0.2", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="], | ||
| 430 | |||
| 431 | "miniflare": ["miniflare@3.20250718.3", "", { "dependencies": { "@cspotcode/source-map-support": "0.8.1", "acorn": "8.14.0", "acorn-walk": "8.3.2", "exit-hook": "2.2.1", "glob-to-regexp": "0.4.1", "stoppable": "1.1.0", "undici": "^5.28.5", "workerd": "1.20250718.0", "ws": "8.18.0", "youch": "3.3.4", "zod": "3.22.3" }, "bin": { "miniflare": "bootstrap.js" } }, "sha512-JuPrDJhwLrNLEJiNLWO7ZzJrv/Vv9kZuwMYCfv0LskQDM6Eonw4OvywO3CH/wCGjgHzha/qyjUh8JQ068TjDgQ=="], | ||
| 432 | |||
| 433 | "minisearch": ["minisearch@7.2.0", "", {}, "sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg=="], | ||
| 434 | |||
| 435 | "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], | ||
| 436 | |||
| 437 | "mustache": ["mustache@4.2.0", "", { "bin": { "mustache": "bin/mustache" } }, "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ=="], | ||
| 438 | |||
| 439 | "nanoid": ["nanoid@3.3.12", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ=="], | ||
| 440 | |||
| 441 | "negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="], | ||
| 442 | |||
| 443 | "object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="], | ||
| 444 | |||
| 445 | "object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="], | ||
| 446 | |||
| 447 | "ohash": ["ohash@2.0.11", "", {}, "sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ=="], | ||
| 448 | |||
| 449 | "on-finished": ["on-finished@2.4.1", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg=="], | ||
| 450 | |||
| 451 | "once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="], | ||
| 452 | |||
| 453 | "openapi3-ts": ["openapi3-ts@4.5.0", "", { "dependencies": { "yaml": "^2.8.0" } }, "sha512-jaL+HgTq2Gj5jRcfdutgRGLosCy/hT8sQf6VOy+P+g36cZOjI1iukdPnijC+4CmeRzg/jEllJUboEic2FhxhtQ=="], | ||
| 454 | |||
| 455 | "oxlint": ["oxlint@0.15.15", "", { "optionalDependencies": { "@oxlint/darwin-arm64": "0.15.15", "@oxlint/darwin-x64": "0.15.15", "@oxlint/linux-arm64-gnu": "0.15.15", "@oxlint/linux-arm64-musl": "0.15.15", "@oxlint/linux-x64-gnu": "0.15.15", "@oxlint/linux-x64-musl": "0.15.15", "@oxlint/win32-arm64": "0.15.15", "@oxlint/win32-x64": "0.15.15" }, "bin": { "oxlint": "bin/oxlint", "oxc_language_server": "bin/oxc_language_server" } }, "sha512-oQNc1mAHrrbKiXyKJMGs9VCZfwGfLy7YiQKa4qupi71X/u4xyWqOh36YKXqWOXnmm2y7vfWFpGZlhJPAa9tMqA=="], | ||
| 456 | |||
| 457 | "parseurl": ["parseurl@1.3.3", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="], | ||
| 458 | |||
| 459 | "path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], | ||
| 460 | |||
| 461 | "path-to-regexp": ["path-to-regexp@6.3.0", "", {}, "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ=="], | ||
| 462 | |||
| 463 | "pathe": ["pathe@1.1.2", "", {}, "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ=="], | ||
| 464 | |||
| 465 | "pathval": ["pathval@2.0.1", "", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="], | ||
| 466 | |||
| 467 | "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], | ||
| 468 | |||
| 469 | "pkce-challenge": ["pkce-challenge@5.0.1", "", {}, "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ=="], | ||
| 470 | |||
| 471 | "postcss": ["postcss@8.5.14", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-SoSL4+OSEtR99LHFZQiJLkT59C5B1amGO1NzTwj7TT1qCUgUO6hxOvzkOYxD+vMrXBM3XJIKzokoERdqQq/Zmg=="], | ||
| 472 | |||
| 473 | "prettier": ["prettier@3.8.3", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw=="], | ||
| 474 | |||
| 475 | "printable-characters": ["printable-characters@1.0.42", "", {}, "sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ=="], | ||
| 476 | |||
| 477 | "proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="], | ||
| 478 | |||
| 479 | "qs": ["qs@6.15.1", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg=="], | ||
| 480 | |||
| 481 | "range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="], | ||
| 482 | |||
| 483 | "raw-body": ["raw-body@3.0.2", "", { "dependencies": { "bytes": "~3.1.2", "http-errors": "~2.0.1", "iconv-lite": "~0.7.0", "unpipe": "~1.0.0" } }, "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA=="], | ||
| 484 | |||
| 485 | "require-from-string": ["require-from-string@2.0.2", "", {}, "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="], | ||
| 486 | |||
| 487 | "rollup": ["rollup@4.60.3", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.60.3", "@rollup/rollup-android-arm64": "4.60.3", "@rollup/rollup-darwin-arm64": "4.60.3", "@rollup/rollup-darwin-x64": "4.60.3", "@rollup/rollup-freebsd-arm64": "4.60.3", "@rollup/rollup-freebsd-x64": "4.60.3", "@rollup/rollup-linux-arm-gnueabihf": "4.60.3", "@rollup/rollup-linux-arm-musleabihf": "4.60.3", "@rollup/rollup-linux-arm64-gnu": "4.60.3", "@rollup/rollup-linux-arm64-musl": "4.60.3", "@rollup/rollup-linux-loong64-gnu": "4.60.3", "@rollup/rollup-linux-loong64-musl": "4.60.3", "@rollup/rollup-linux-ppc64-gnu": "4.60.3", "@rollup/rollup-linux-ppc64-musl": "4.60.3", "@rollup/rollup-linux-riscv64-gnu": "4.60.3", "@rollup/rollup-linux-riscv64-musl": "4.60.3", "@rollup/rollup-linux-s390x-gnu": "4.60.3", "@rollup/rollup-linux-x64-gnu": "4.60.3", "@rollup/rollup-linux-x64-musl": "4.60.3", "@rollup/rollup-openbsd-x64": "4.60.3", "@rollup/rollup-openharmony-arm64": "4.60.3", "@rollup/rollup-win32-arm64-msvc": "4.60.3", "@rollup/rollup-win32-ia32-msvc": "4.60.3", "@rollup/rollup-win32-x64-gnu": "4.60.3", "@rollup/rollup-win32-x64-msvc": "4.60.3", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-pAQK9HalE84QSm4Po3EmWIZPd3FnjkShVkiMlz1iligWYkWQ7wHYd1PF/T7QZ5TVSD6uSTon5gBVMSM4JfBV+A=="], | ||
| 488 | |||
| 489 | "rollup-plugin-inject": ["rollup-plugin-inject@3.0.2", "", { "dependencies": { "estree-walker": "^0.6.1", "magic-string": "^0.25.3", "rollup-pluginutils": "^2.8.1" } }, "sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w=="], | ||
| 490 | |||
| 491 | "rollup-plugin-node-polyfills": ["rollup-plugin-node-polyfills@0.2.1", "", { "dependencies": { "rollup-plugin-inject": "^3.0.0" } }, "sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA=="], | ||
| 492 | |||
| 493 | "rollup-pluginutils": ["rollup-pluginutils@2.8.2", "", { "dependencies": { "estree-walker": "^0.6.1" } }, "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ=="], | ||
| 494 | |||
| 495 | "router": ["router@2.2.0", "", { "dependencies": { "debug": "^4.4.0", "depd": "^2.0.0", "is-promise": "^4.0.0", "parseurl": "^1.3.3", "path-to-regexp": "^8.0.0" } }, "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ=="], | ||
| 496 | |||
| 497 | "safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="], | ||
| 498 | |||
| 499 | "semver": ["semver@7.8.0", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA=="], | ||
| 500 | |||
| 501 | "send": ["send@1.2.1", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="], | ||
| 502 | |||
| 503 | "serve-static": ["serve-static@2.2.1", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw=="], | ||
| 504 | |||
| 505 | "setprototypeof": ["setprototypeof@1.2.0", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="], | ||
| 506 | |||
| 507 | "sharp": ["sharp@0.33.5", "", { "dependencies": { "color": "^4.2.3", "detect-libc": "^2.0.3", "semver": "^7.6.3" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.33.5", "@img/sharp-darwin-x64": "0.33.5", "@img/sharp-libvips-darwin-arm64": "1.0.4", "@img/sharp-libvips-darwin-x64": "1.0.4", "@img/sharp-libvips-linux-arm": "1.0.5", "@img/sharp-libvips-linux-arm64": "1.0.4", "@img/sharp-libvips-linux-s390x": "1.0.4", "@img/sharp-libvips-linux-x64": "1.0.4", "@img/sharp-libvips-linuxmusl-arm64": "1.0.4", "@img/sharp-libvips-linuxmusl-x64": "1.0.4", "@img/sharp-linux-arm": "0.33.5", "@img/sharp-linux-arm64": "0.33.5", "@img/sharp-linux-s390x": "0.33.5", "@img/sharp-linux-x64": "0.33.5", "@img/sharp-linuxmusl-arm64": "0.33.5", "@img/sharp-linuxmusl-x64": "0.33.5", "@img/sharp-wasm32": "0.33.5", "@img/sharp-win32-ia32": "0.33.5", "@img/sharp-win32-x64": "0.33.5" } }, "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw=="], | ||
| 508 | |||
| 509 | "shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="], | ||
| 510 | |||
| 511 | "shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], | ||
| 512 | |||
| 513 | "side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="], | ||
| 514 | |||
| 515 | "side-channel-list": ["side-channel-list@1.0.1", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4" } }, "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w=="], | ||
| 516 | |||
| 517 | "side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="], | ||
| 518 | |||
| 519 | "side-channel-weakmap": ["side-channel-weakmap@1.0.2", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3", "side-channel-map": "^1.0.1" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="], | ||
| 520 | |||
| 521 | "siginfo": ["siginfo@2.0.0", "", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="], | ||
| 522 | |||
| 523 | "simple-swizzle": ["simple-swizzle@0.2.4", "", { "dependencies": { "is-arrayish": "^0.3.1" } }, "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw=="], | ||
| 524 | |||
| 525 | "source-map": ["source-map@0.6.1", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="], | ||
| 526 | |||
| 527 | "source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], | ||
| 528 | |||
| 529 | "sourcemap-codec": ["sourcemap-codec@1.4.8", "", {}, "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="], | ||
| 530 | |||
| 531 | "stackback": ["stackback@0.0.2", "", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="], | ||
| 532 | |||
| 533 | "stacktracey": ["stacktracey@2.2.0", "", { "dependencies": { "as-table": "^1.0.36", "get-source": "^2.0.12" } }, "sha512-ETyQEz+CzXiLjEbyJqpbp+/T79RQD/6wqFucRBIlVNZfYq2Ay7wbretD4cxpbymZlaPWx58aIhPEY1Cr8DlVvg=="], | ||
| 534 | |||
| 535 | "statuses": ["statuses@2.0.2", "", {}, "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw=="], | ||
| 536 | |||
| 537 | "std-env": ["std-env@3.10.0", "", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="], | ||
| 538 | |||
| 539 | "stoppable": ["stoppable@1.1.0", "", {}, "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw=="], | ||
| 540 | |||
| 541 | "tinybench": ["tinybench@2.9.0", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], | ||
| 542 | |||
| 543 | "tinyexec": ["tinyexec@0.3.2", "", {}, "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA=="], | ||
| 544 | |||
| 545 | "tinypool": ["tinypool@1.1.1", "", {}, "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg=="], | ||
| 546 | |||
| 547 | "tinyrainbow": ["tinyrainbow@1.2.0", "", {}, "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ=="], | ||
| 548 | |||
| 549 | "tinyspy": ["tinyspy@3.0.2", "", {}, "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q=="], | ||
| 550 | |||
| 551 | "toidentifier": ["toidentifier@1.0.1", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="], | ||
| 552 | |||
| 553 | "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], | ||
| 554 | |||
| 555 | "type-is": ["type-is@2.1.0", "", { "dependencies": { "content-type": "^2.0.0", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA=="], | ||
| 556 | |||
| 557 | "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], | ||
| 558 | |||
| 559 | "ufo": ["ufo@1.6.4", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="], | ||
| 560 | |||
| 561 | "undici": ["undici@5.29.0", "", { "dependencies": { "@fastify/busboy": "^2.0.0" } }, "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg=="], | ||
| 562 | |||
| 563 | "undici-types": ["undici-types@7.21.0", "", {}, "sha512-w9IMgQrz4O0YN1LtB7K5P63vhlIOvC7opSmouCJ+ZywlPAlO9gIkJ+otk6LvGpAs2wg4econaCz3TvQ9xPoyuQ=="], | ||
| 564 | |||
| 565 | "unenv": ["unenv@2.0.0-rc.14", "", { "dependencies": { "defu": "^6.1.4", "exsolve": "^1.0.1", "ohash": "^2.0.10", "pathe": "^2.0.3", "ufo": "^1.5.4" } }, "sha512-od496pShMen7nOy5VmVJCnq8rptd45vh6Nx/r2iPbrba6pa6p+tS2ywuIHRZ/OBvSbQZB0kWvpO9XBNVFXHD3Q=="], | ||
| 566 | |||
| 567 | "unpipe": ["unpipe@1.0.0", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="], | ||
| 568 | |||
| 569 | "vary": ["vary@1.1.2", "", {}, "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="], | ||
| 570 | |||
| 571 | "vite": ["vite@5.4.21", "", { "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.43", "rollup": "^4.20.0" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || >=20.0.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" }, "optionalPeers": ["@types/node", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser"], "bin": { "vite": "bin/vite.js" } }, "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw=="], | ||
| 572 | |||
| 573 | "vite-node": ["vite-node@2.1.9", "", { "dependencies": { "cac": "^6.7.14", "debug": "^4.3.7", "es-module-lexer": "^1.5.4", "pathe": "^1.1.2", "vite": "^5.0.0" }, "bin": { "vite-node": "vite-node.mjs" } }, "sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA=="], | ||
| 574 | |||
| 575 | "vitest": ["vitest@2.1.9", "", { "dependencies": { "@vitest/expect": "2.1.9", "@vitest/mocker": "2.1.9", "@vitest/pretty-format": "^2.1.9", "@vitest/runner": "2.1.9", "@vitest/snapshot": "2.1.9", "@vitest/spy": "2.1.9", "@vitest/utils": "2.1.9", "chai": "^5.1.2", "debug": "^4.3.7", "expect-type": "^1.1.0", "magic-string": "^0.30.12", "pathe": "^1.1.2", "std-env": "^3.8.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.1", "tinypool": "^1.0.1", "tinyrainbow": "^1.2.0", "vite": "^5.0.0", "vite-node": "2.1.9", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@types/node": "^18.0.0 || >=20.0.0", "@vitest/browser": "2.1.9", "@vitest/ui": "2.1.9", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@types/node", "@vitest/browser", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q=="], | ||
| 576 | |||
| 577 | "which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], | ||
| 578 | |||
| 579 | "why-is-node-running": ["why-is-node-running@2.3.0", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="], | ||
| 580 | |||
| 581 | "workerd": ["workerd@1.20250718.0", "", { "optionalDependencies": { "@cloudflare/workerd-darwin-64": "1.20250718.0", "@cloudflare/workerd-darwin-arm64": "1.20250718.0", "@cloudflare/workerd-linux-64": "1.20250718.0", "@cloudflare/workerd-linux-arm64": "1.20250718.0", "@cloudflare/workerd-windows-64": "1.20250718.0" }, "bin": { "workerd": "bin/workerd" } }, "sha512-kqkIJP/eOfDlUyBzU7joBg+tl8aB25gEAGqDap+nFWb+WHhnooxjGHgxPBy3ipw2hnShPFNOQt5lFRxbwALirg=="], | ||
| 582 | |||
| 583 | "wrangler": ["wrangler@3.114.17", "", { "dependencies": { "@cloudflare/kv-asset-handler": "0.3.4", "@cloudflare/unenv-preset": "2.0.2", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@esbuild-plugins/node-modules-polyfill": "0.2.2", "blake3-wasm": "2.1.5", "esbuild": "0.17.19", "miniflare": "3.20250718.3", "path-to-regexp": "6.3.0", "unenv": "2.0.0-rc.14", "workerd": "1.20250718.0" }, "optionalDependencies": { "fsevents": "~2.3.2", "sharp": "^0.33.5" }, "peerDependencies": { "@cloudflare/workers-types": "^4.20250408.0" }, "optionalPeers": ["@cloudflare/workers-types"], "bin": { "wrangler": "bin/wrangler.js", "wrangler2": "bin/wrangler.js" } }, "sha512-tAvf7ly+tB+zwwrmjsCyJ2pJnnc7SZhbnNwXbH+OIdVas3zTSmjcZOjmLKcGGptssAA3RyTKhcF9BvKZzMUycA=="], | ||
| 584 | |||
| 585 | "wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="], | ||
| 586 | |||
| 587 | "ws": ["ws@8.18.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw=="], | ||
| 588 | |||
| 589 | "yaml": ["yaml@2.9.0", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA=="], | ||
| 590 | |||
| 591 | "youch": ["youch@3.3.4", "", { "dependencies": { "cookie": "^0.7.1", "mustache": "^4.2.0", "stacktracey": "^2.1.8" } }, "sha512-UeVBXie8cA35DS6+nBkls68xaBBXCye0CNznrhszZjTbRVnJKQuNsyLKBTTL4ln1o1rh2PKtv35twV7irj5SEg=="], | ||
| 592 | |||
| 593 | "zhead": ["zhead@2.2.4", "", {}, "sha512-8F0OI5dpWIA5IGG5NHUg9staDwz/ZPxZtvGVf01j7vHqSyZ0raHY+78atOVxRqb73AotX22uV1pXt3gYSstGag=="], | ||
| 594 | |||
| 595 | "zod": ["zod@3.25.76", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="], | ||
| 596 | |||
| 597 | "zod-to-json-schema": ["zod-to-json-schema@3.25.2", "", { "peerDependencies": { "zod": "^3.25.28 || ^4" } }, "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA=="], | ||
| 598 | |||
| 599 | "@modelcontextprotocol/sdk/@hono/node-server": ["@hono/node-server@1.19.14", "", { "peerDependencies": { "hono": "^4" } }, "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw=="], | ||
| 600 | |||
| 601 | "miniflare/zod": ["zod@3.22.3", "", {}, "sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug=="], | ||
| 602 | |||
| 603 | "rollup/@types/estree": ["@types/estree@1.0.8", "", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="], | ||
| 604 | |||
| 605 | "rollup-plugin-inject/estree-walker": ["estree-walker@0.6.1", "", {}, "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w=="], | ||
| 606 | |||
| 607 | "rollup-plugin-inject/magic-string": ["magic-string@0.25.9", "", { "dependencies": { "sourcemap-codec": "^1.4.8" } }, "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ=="], | ||
| 608 | |||
| 609 | "rollup-pluginutils/estree-walker": ["estree-walker@0.6.1", "", {}, "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w=="], | ||
| 610 | |||
| 611 | "router/path-to-regexp": ["path-to-regexp@8.4.2", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="], | ||
| 612 | |||
| 613 | "type-is/content-type": ["content-type@2.0.0", "", {}, "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ=="], | ||
| 614 | |||
| 615 | "unenv/pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], | ||
| 616 | |||
| 617 | "vite/esbuild": ["esbuild@0.21.5", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.21.5", "@esbuild/android-arm": "0.21.5", "@esbuild/android-arm64": "0.21.5", "@esbuild/android-x64": "0.21.5", "@esbuild/darwin-arm64": "0.21.5", "@esbuild/darwin-x64": "0.21.5", "@esbuild/freebsd-arm64": "0.21.5", "@esbuild/freebsd-x64": "0.21.5", "@esbuild/linux-arm": "0.21.5", "@esbuild/linux-arm64": "0.21.5", "@esbuild/linux-ia32": "0.21.5", "@esbuild/linux-loong64": "0.21.5", "@esbuild/linux-mips64el": "0.21.5", "@esbuild/linux-ppc64": "0.21.5", "@esbuild/linux-riscv64": "0.21.5", "@esbuild/linux-s390x": "0.21.5", "@esbuild/linux-x64": "0.21.5", "@esbuild/netbsd-x64": "0.21.5", "@esbuild/openbsd-x64": "0.21.5", "@esbuild/sunos-x64": "0.21.5", "@esbuild/win32-arm64": "0.21.5", "@esbuild/win32-ia32": "0.21.5", "@esbuild/win32-x64": "0.21.5" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw=="], | ||
| 618 | |||
| 619 | "vite/esbuild/@esbuild/android-arm": ["@esbuild/android-arm@0.21.5", "", { "os": "android", "cpu": "arm" }, "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg=="], | ||
| 620 | |||
| 621 | "vite/esbuild/@esbuild/android-arm64": ["@esbuild/android-arm64@0.21.5", "", { "os": "android", "cpu": "arm64" }, "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A=="], | ||
| 622 | |||
| 623 | "vite/esbuild/@esbuild/android-x64": ["@esbuild/android-x64@0.21.5", "", { "os": "android", "cpu": "x64" }, "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA=="], | ||
| 624 | |||
| 625 | "vite/esbuild/@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.21.5", "", { "os": "darwin", "cpu": "arm64" }, "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ=="], | ||
| 626 | |||
| 627 | "vite/esbuild/@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.21.5", "", { "os": "darwin", "cpu": "x64" }, "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw=="], | ||
| 628 | |||
| 629 | "vite/esbuild/@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.21.5", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g=="], | ||
| 630 | |||
| 631 | "vite/esbuild/@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.21.5", "", { "os": "freebsd", "cpu": "x64" }, "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ=="], | ||
| 632 | |||
| 633 | "vite/esbuild/@esbuild/linux-arm": ["@esbuild/linux-arm@0.21.5", "", { "os": "linux", "cpu": "arm" }, "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA=="], | ||
| 634 | |||
| 635 | "vite/esbuild/@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.21.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q=="], | ||
| 636 | |||
| 637 | "vite/esbuild/@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.21.5", "", { "os": "linux", "cpu": "ia32" }, "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg=="], | ||
| 638 | |||
| 639 | "vite/esbuild/@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.21.5", "", { "os": "linux", "cpu": "none" }, "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg=="], | ||
| 640 | |||
| 641 | "vite/esbuild/@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.21.5", "", { "os": "linux", "cpu": "none" }, "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg=="], | ||
| 642 | |||
| 643 | "vite/esbuild/@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.21.5", "", { "os": "linux", "cpu": "ppc64" }, "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w=="], | ||
| 644 | |||
| 645 | "vite/esbuild/@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.21.5", "", { "os": "linux", "cpu": "none" }, "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA=="], | ||
| 646 | |||
| 647 | "vite/esbuild/@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.21.5", "", { "os": "linux", "cpu": "s390x" }, "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A=="], | ||
| 648 | |||
| 649 | "vite/esbuild/@esbuild/linux-x64": ["@esbuild/linux-x64@0.21.5", "", { "os": "linux", "cpu": "x64" }, "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ=="], | ||
| 650 | |||
| 651 | "vite/esbuild/@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.21.5", "", { "os": "none", "cpu": "x64" }, "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg=="], | ||
| 652 | |||
| 653 | "vite/esbuild/@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.21.5", "", { "os": "openbsd", "cpu": "x64" }, "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow=="], | ||
| 654 | |||
| 655 | "vite/esbuild/@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.21.5", "", { "os": "sunos", "cpu": "x64" }, "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg=="], | ||
| 656 | |||
| 657 | "vite/esbuild/@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.21.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A=="], | ||
| 658 | |||
| 659 | "vite/esbuild/@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.21.5", "", { "os": "win32", "cpu": "ia32" }, "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA=="], | ||
| 660 | |||
| 661 | "vite/esbuild/@esbuild/win32-x64": ["@esbuild/win32-x64@0.21.5", "", { "os": "win32", "cpu": "x64" }, "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw=="], | ||
| 662 | } | ||
| 663 | } | ||
api/open-api-spec.yml deleted −166
| @@ -1,166 +0,0 @@ | |||
| 1 | openapi: 3.0.0 | ||
| 2 | info: | ||
| 3 | title: Awesome Privacy API | ||
| 4 | description: API for accessing information on privacy-focused services. | ||
| 5 | version: 1.0.0 | ||
| 6 | servers: | ||
| 7 | - url: https://api.awesome-privacy.xyz | ||
| 8 | paths: | ||
| 9 | /services: | ||
| 10 | get: | ||
| 11 | summary: Returns an array of all service objects | ||
| 12 | responses: | ||
| 13 | '200': | ||
| 14 | description: A list of services | ||
| 15 | content: | ||
| 16 | application/json: | ||
| 17 | schema: | ||
| 18 | type: array | ||
| 19 | items: | ||
| 20 | $ref: '#/components/schemas/Service' | ||
| 21 | /categories: | ||
| 22 | get: | ||
| 23 | summary: Returns an array of all categories IDs | ||
| 24 | responses: | ||
| 25 | '200': | ||
| 26 | description: A list of category slugs | ||
| 27 | content: | ||
| 28 | application/json: | ||
| 29 | schema: | ||
| 30 | type: array | ||
| 31 | items: | ||
| 32 | type: string | ||
| 33 | /search/{searchTerm}: | ||
| 34 | get: | ||
| 35 | summary: Returns an array of listings matching the given search term | ||
| 36 | parameters: | ||
| 37 | - in: path | ||
| 38 | name: searchTerm | ||
| 39 | required: true | ||
| 40 | schema: | ||
| 41 | type: string | ||
| 42 | description: The term to search for | ||
| 43 | responses: | ||
| 44 | '200': | ||
| 45 | description: A list of services matching the search term | ||
| 46 | content: | ||
| 47 | application/json: | ||
| 48 | schema: | ||
| 49 | type: array | ||
| 50 | items: | ||
| 51 | $ref: '#/components/schemas/Service' | ||
| 52 | '404': | ||
| 53 | description: Search term not specified | ||
| 54 | /{category}: | ||
| 55 | get: | ||
| 56 | summary: Returns an array of all section IDs within a given category | ||
| 57 | parameters: | ||
| 58 | - in: path | ||
| 59 | name: category | ||
| 60 | required: true | ||
| 61 | schema: | ||
| 62 | type: string | ||
| 63 | description: The slug of the category | ||
| 64 | responses: | ||
| 65 | '200': | ||
| 66 | description: A list of section slugs within the given category | ||
| 67 | content: | ||
| 68 | application/json: | ||
| 69 | schema: | ||
| 70 | type: array | ||
| 71 | items: | ||
| 72 | type: string | ||
| 73 | '404': | ||
| 74 | description: Category not found | ||
| 75 | /{category}/{section}: | ||
| 76 | get: | ||
| 77 | summary: Returns an array of all service objects within a given section | ||
| 78 | parameters: | ||
| 79 | - in: path | ||
| 80 | name: category | ||
| 81 | required: true | ||
| 82 | schema: | ||
| 83 | type: string | ||
| 84 | description: The slug of the category | ||
| 85 | - in: path | ||
| 86 | name: section | ||
| 87 | required: true | ||
| 88 | schema: | ||
| 89 | type: string | ||
| 90 | description: The slug of the section | ||
| 91 | responses: | ||
| 92 | '200': | ||
| 93 | description: A list of services within the specified section | ||
| 94 | content: | ||
| 95 | application/json: | ||
| 96 | schema: | ||
| 97 | type: array | ||
| 98 | items: | ||
| 99 | $ref: '#/components/schemas/Service' | ||
| 100 | '404': | ||
| 101 | description: Category or section not found | ||
| 102 | /{category}/{section}/{service}: | ||
| 103 | get: | ||
| 104 | summary: Returns a single service object for a given category, section, and service | ||
| 105 | parameters: | ||
| 106 | - in: path | ||
| 107 | name: category | ||
| 108 | required: true | ||
| 109 | schema: | ||
| 110 | type: string | ||
| 111 | description: The slug of the category | ||
| 112 | - in: path | ||
| 113 | name: section | ||
| 114 | required: true | ||
| 115 | schema: | ||
| 116 | type: string | ||
| 117 | description: The slug of the section | ||
| 118 | - in: path | ||
| 119 | name: service | ||
| 120 | required: true | ||
| 121 | schema: | ||
| 122 | type: string | ||
| 123 | description: The slug of the service | ||
| 124 | responses: | ||
| 125 | '200': | ||
| 126 | description: A single service object | ||
| 127 | content: | ||
| 128 | application/json: | ||
| 129 | schema: | ||
| 130 | $ref: '#/components/schemas/Service' | ||
| 131 | '404': | ||
| 132 | description: Category, section, or service not found | ||
| 133 | components: | ||
| 134 | schemas: | ||
| 135 | ShortService: | ||
| 136 | type: object | ||
| 137 | properties: | ||
| 138 | name: | ||
| 139 | type: string | ||
| 140 | description: | ||
| 141 | type: string | ||
| 142 | url: | ||
| 143 | type: string | ||
| 144 | required: | ||
| 145 | - name | ||
| 146 | - description | ||
| 147 | - url | ||
| 148 | Service: | ||
| 149 | allOf: | ||
| 150 | - $ref: '#/components/schemas/ShortService' | ||
| 151 | - type: object | ||
| 152 | properties: | ||
| 153 | github: | ||
| 154 | type: string | ||
| 155 | icon: | ||
| 156 | type: string | ||
| 157 | followWith: | ||
| 158 | type: string | ||
| 159 | securityAudited: | ||
| 160 | type: boolean | ||
| 161 | openSource: | ||
| 162 | type: boolean | ||
| 163 | acceptsCrypto: | ||
| 164 | type: boolean | ||
| 165 | tosdrId: | ||
| 166 | type: number | ||
api/package.json +41 −22
| @@ -1,24 +1,43 @@ | |||
| 1 | { | 1 | { |
| 2 | "name": "cloudflare-workers-openapi", | 2 | "name": "awesome-privacy-api", |
| 3 | "version": "0.0.1", | 3 | "version": "1.0.0", |
| 4 | "private": true, | 4 | "private": true, |
| 5 | "scripts": { | 5 | "type": "module", |
| 6 | "deploy": "wrangler deploy", | 6 | "scripts": { |
| 7 | "dev": "wrangler dev", | 7 | "build:data": "bun run scripts/build-data.ts", |
| 8 | "start": "wrangler dev" | 8 | "build": "bun run build:data && wrangler deploy --dry-run --outdir dist", |
| 9 | }, | 9 | "predev": "bun run build:data", |
| 10 | "dependencies": { | 10 | "dev": "bun run --watch src/index.node.ts", |
| 11 | "@cloudflare/itty-router-openapi": "^1.0.1", | 11 | "dev:workers": "bun run build:data && wrangler dev --port 8788", |
| 12 | "@hono/node-server": "^1.8.2", | 12 | "start": "bun run src/index.node.ts", |
| 13 | "fuse.js": "^7.0.0", | 13 | "deploy": "bun run build:data && wrangler deploy", |
| 14 | "hono": "^4.0.10", | 14 | "lint": "oxlint src", |
| 15 | "js-yaml": "^4.1.0" | 15 | "format": "prettier --write .", |
| 16 | }, | 16 | "format:check": "prettier --check .", |
| 17 | "devDependencies": { | 17 | "typecheck": "tsc --noEmit", |
| 18 | "@cloudflare/workers-types": "^4.20240222.0", | 18 | "smoke": "bash tests/smoke.sh", |
| 19 | "@types/js-yaml": "^4.0.9", | 19 | "test": "vitest run", |
| 20 | "@types/node": "^20.5.7", | 20 | "test:watch": "vitest" |
| 21 | "@types/service-worker-mock": "^2.0.1", | 21 | }, |
| 22 | "wrangler": "^3.0.0" | 22 | "dependencies": { |
| 23 | } | 23 | "@hono/node-server": "^2.0.2", |
| 24 | "@hono/zod-openapi": "^0.18.4", | ||
| 25 | "@modelcontextprotocol/sdk": "^1.6.1", | ||
| 26 | "@scalar/hono-api-reference": "^0.5.165", | ||
| 27 | "hono": "^4.6.16", | ||
| 28 | "minisearch": "^7.1.1", | ||
| 29 | "zod": "^3.23.8" | ||
| 30 | }, | ||
| 31 | "devDependencies": { | ||
| 32 | "@cloudflare/workers-types": "^4.20250109.0", | ||
| 33 | "@types/bun": "^1.1.14", | ||
| 34 | "@types/js-yaml": "^4.0.9", | ||
| 35 | "js-yaml": "^4.1.0", | ||
| 36 | "miniflare": "^3.20241218.0", | ||
| 37 | "oxlint": "^0.15.0", | ||
| 38 | "prettier": "^3.8.3", | ||
| 39 | "typescript": "^5.7.2", | ||
| 40 | "vitest": "^2.1.8", | ||
| 41 | "wrangler": "^3.99.0" | ||
| 42 | } | ||
| 24 | } | 43 | } |
api/public/index.html deleted −28
| @@ -1,28 +0,0 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <meta charset="UTF-8"> | ||
| 5 | <title>Awesome Privacy API Documentation</title> | ||
| 6 | <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.1.3/swagger-ui.css" > | ||
| 7 | <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.1.3/swagger-ui-bundle.js"></script> | ||
| 8 | </head> | ||
| 9 | <body> | ||
| 10 | <div id="swagger-ui"></div> | ||
| 11 | <script> | ||
| 12 | window.onload = () => { | ||
| 13 | SwaggerUIBundle({ | ||
| 14 | url: 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/api/open-api-spec.yml', | ||
| 15 | dom_id: '#swagger-ui', | ||
| 16 | deepLinking: true, | ||
| 17 | presets: [ | ||
| 18 | SwaggerUIBundle.presets.apis, | ||
| 19 | SwaggerUIBundle.SwaggerUIStandalonePreset | ||
| 20 | ], | ||
| 21 | plugins: [ | ||
| 22 | SwaggerUIBundle.plugins.DownloadUrl | ||
| 23 | ] | ||
| 24 | }); | ||
| 25 | } | ||
| 26 | </script> | ||
| 27 | </body> | ||
| 28 | </html> | ||
api/scripts/build-data.ts added +34
| @@ -0,0 +1,34 @@ | |||
| 1 | #!/usr/bin/env bun | ||
| 2 | // Read awesome-privacy.yml, parse, write a runtime JSON module | ||
| 3 | import { readFileSync, writeFileSync, mkdirSync } from 'node:fs' | ||
| 4 | import { resolve, dirname } from 'node:path' | ||
| 5 | import { fileURLToPath } from 'node:url' | ||
| 6 | import yaml from 'js-yaml' | ||
| 7 | |||
| 8 | const here = dirname(fileURLToPath(import.meta.url)) | ||
| 9 | const ymlPath = | ||
| 10 | process.env.AWESOME_PRIVACY_YML ?? resolve(here, '../../awesome-privacy.yml') | ||
| 11 | const outPath = resolve(here, '../src/generated/data.json') | ||
| 12 | |||
| 13 | // Pull source YAML (local path or fall back to GitHub raw) | ||
| 14 | const loadYaml = async (): Promise<string> => { | ||
| 15 | try { | ||
| 16 | return readFileSync(ymlPath, 'utf8') | ||
| 17 | } catch { | ||
| 18 | const url = | ||
| 19 | 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/awesome-privacy.yml' | ||
| 20 | const res = await fetch(url) | ||
| 21 | if (!res.ok) throw new Error(`Failed to fetch yml from ${url}`) | ||
| 22 | return await res.text() | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | const main = async () => { | ||
| 27 | const text = await loadYaml() | ||
| 28 | const data = yaml.load(text) | ||
| 29 | mkdirSync(dirname(outPath), { recursive: true }) | ||
| 30 | writeFileSync(outPath, JSON.stringify(data)) | ||
| 31 | console.log(`Wrote ${outPath}`) | ||
| 32 | } | ||
| 33 | |||
| 34 | main() | ||
api/src/api.ts deleted −84
| @@ -1,84 +0,0 @@ | |||
| 1 | import { Hono } from 'hono'; | ||
| 2 | import { cors } from 'hono/cors'; | ||
| 3 | import Fuse from 'fuse.js'; | ||
| 4 | |||
| 5 | import { | ||
| 6 | fetchAllServices, | ||
| 7 | fetchAwesomePrivacyData, | ||
| 8 | findBySlug, | ||
| 9 | slugify, | ||
| 10 | renderRemoteIndex, | ||
| 11 | } from './utils'; | ||
| 12 | |||
| 13 | import index from '../public/index.html' | ||
| 14 | |||
| 15 | /* Create new Hono app */ | ||
| 16 | const app = new Hono({ strict: false }); | ||
| 17 | |||
| 18 | /* Enable CORS for all routes */ | ||
| 19 | app.use('*', cors()); | ||
| 20 | |||
| 21 | /* Serve the index page (which contains the Swagger Docs) */ | ||
| 22 | app.get("/", async (ctx) => { | ||
| 23 | if (index) { | ||
| 24 | return ctx.html(index) | ||
| 25 | } else { | ||
| 26 | return renderRemoteIndex(ctx); | ||
| 27 | } | ||
| 28 | }); | ||
| 29 | |||
| 30 | /* Returns an array all service objects */ | ||
| 31 | app.get('/services', async (c) => { | ||
| 32 | return c.json(await fetchAllServices()); | ||
| 33 | }); | ||
| 34 | |||
| 35 | /* Returns an array of all categories IDs */ | ||
| 36 | app.get('/categories', async (c) => { | ||
| 37 | const { categories } = await fetchAwesomePrivacyData(); | ||
| 38 | return c.json(categories.map(({ name }) => slugify(name))); | ||
| 39 | }); | ||
| 40 | |||
| 41 | app.get('/search', async (c) => { | ||
| 42 | return c.json({ error: 'Search term not specified' }, 404) | ||
| 43 | }); | ||
| 44 | |||
| 45 | /* Search results, returns an array of listing which match a given search term */ | ||
| 46 | app.get('/search/:searchTerm', async (c) => { | ||
| 47 | const services = await fetchAllServices(); | ||
| 48 | const options = { | ||
| 49 | includeScore: true, | ||
| 50 | keys: ['name', 'description', 'followWith'] | ||
| 51 | }; | ||
| 52 | const fuse = new Fuse(services, options); | ||
| 53 | const searchTerm = c.req.param('searchTerm'); | ||
| 54 | const result = fuse.search(searchTerm); | ||
| 55 | const mappedResults = result.map(({ item, score }) => ({ ...item, score })); | ||
| 56 | return c.json(mappedResults); | ||
| 57 | }); | ||
| 58 | |||
| 59 | /* Returns an array of all section IDs within a given category */ | ||
| 60 | app.get('/:category', async (c) => { | ||
| 61 | const { categories } = await fetchAwesomePrivacyData(); | ||
| 62 | const category = findBySlug(categories, c.req.param('category')); | ||
| 63 | return category ? c.json(category.sections.map(({ name }) => slugify(name))) | ||
| 64 | : c.json({ error: 'Category not found' }, 404); | ||
| 65 | }); | ||
| 66 | |||
| 67 | /* Returns an array of all service objects within a given section */ | ||
| 68 | app.get('/:category/:section', async (c) => { | ||
| 69 | const { categories } = await fetchAwesomePrivacyData(); | ||
| 70 | const category = findBySlug(categories, c.req.param('category')); | ||
| 71 | const section = findBySlug(category?.sections || [], c.req.param('section')); | ||
| 72 | return section ? c.json(section.services || []) : c.json({ error: 'Section not found' }, 404); | ||
| 73 | }); | ||
| 74 | |||
| 75 | /* Returns a single service object, for a given category, section and service */ | ||
| 76 | app.get('/:category/:section/:service', async (c) => { | ||
| 77 | const { categories } = await fetchAwesomePrivacyData(); | ||
| 78 | const category = findBySlug(categories, c.req.param('category')); | ||
| 79 | const section = findBySlug(category?.sections || [], c.req.param('section')); | ||
| 80 | const service = findBySlug(section?.services || [], c.req.param('service')); | ||
| 81 | return service ? c.json(service) : c.json({ error: 'Service not found' }, 404); | ||
| 82 | }); | ||
| 83 | |||
| 84 | export default app; | ||
api/src/app.ts added +95
| @@ -0,0 +1,95 @@ | |||
| 1 | // Hono app assembler, the same instance runs on Workers and on Bun | ||
| 2 | import { cors } from 'hono/cors' | ||
| 3 | import { apiReference } from '@scalar/hono-api-reference' | ||
| 4 | |||
| 5 | import { createStorage } from '@/lib/cache' | ||
| 6 | import { errorHandler, notFound } from '@/lib/errors' | ||
| 7 | import { requireBearer } from '@/lib/auth' | ||
| 8 | import { rateLimit } from '@/lib/ratelimit' | ||
| 9 | import { newApp } from '@/lib/openapi' | ||
| 10 | import type { AppEnv } from '@/types' | ||
| 11 | |||
| 12 | import services from '@/routes/public/services' | ||
| 13 | import categoriesRoute from '@/routes/public/categories' | ||
| 14 | import searchRoute from '@/routes/public/search' | ||
| 15 | import stats from '@/routes/public/stats' | ||
| 16 | |||
| 17 | import privacy from '@/routes/private/privacy' | ||
| 18 | import github from '@/routes/private/github' | ||
| 19 | import ios from '@/routes/private/ios' | ||
| 20 | import android from '@/routes/private/android' | ||
| 21 | import discord from '@/routes/private/discord' | ||
| 22 | import reddit from '@/routes/private/reddit' | ||
| 23 | import website from '@/routes/private/website' | ||
| 24 | |||
| 25 | import mcp from '@/routes/mcp' | ||
| 26 | |||
| 27 | const buildPublic = () => { | ||
| 28 | // Public routes, CORS open, rate limited, cacheable | ||
| 29 | const pub = newApp() | ||
| 30 | pub.use('*', cors({ origin: '*' })) | ||
| 31 | pub.use('*', rateLimit()) | ||
| 32 | pub.use('*', async (c, next) => { | ||
| 33 | await next() | ||
| 34 | c.header('Cache-Control', 'public, s-maxage=300') | ||
| 35 | }) | ||
| 36 | pub.route('/', services) | ||
| 37 | pub.route('/', categoriesRoute) | ||
| 38 | pub.route('/', searchRoute) | ||
| 39 | pub.route('/', stats) | ||
| 40 | return pub | ||
| 41 | } | ||
| 42 | |||
| 43 | const buildPrivate = () => { | ||
| 44 | // Private enrichment routes, bearer auth on every /enrich/* path | ||
| 45 | const priv = newApp() | ||
| 46 | priv.use('/enrich/*', requireBearer()) | ||
| 47 | priv.route('/', privacy) | ||
| 48 | priv.route('/', github) | ||
| 49 | priv.route('/', ios) | ||
| 50 | priv.route('/', android) | ||
| 51 | priv.route('/', discord) | ||
| 52 | priv.route('/', reddit) | ||
| 53 | priv.route('/', website) | ||
| 54 | return priv | ||
| 55 | } | ||
| 56 | |||
| 57 | export const buildApp = () => { | ||
| 58 | const app = newApp({ strict: false }) | ||
| 59 | |||
| 60 | app.onError(errorHandler) | ||
| 61 | app.notFound(notFound) | ||
| 62 | |||
| 63 | // Inject per-request storage backed by KV or in-memory | ||
| 64 | app.use('*', async (c, next) => { | ||
| 65 | c.set('storage', createStorage(c.env as AppEnv)) | ||
| 66 | await next() | ||
| 67 | }) | ||
| 68 | |||
| 69 | app.route('/v1', buildPublic()) | ||
| 70 | app.route('/v1', buildPrivate()) | ||
| 71 | app.route('/v1', mcp) | ||
| 72 | |||
| 73 | // OpenAPI document plus Scalar UI | ||
| 74 | app.doc('/openapi.json', { | ||
| 75 | openapi: '3.0.0', | ||
| 76 | info: { | ||
| 77 | title: 'Awesome Privacy API', | ||
| 78 | version: '1.0.0', | ||
| 79 | description: 'Public + private (enrichment) routes for awesome-privacy data', | ||
| 80 | }, | ||
| 81 | servers: [{ url: '/' }], | ||
| 82 | tags: [ | ||
| 83 | { name: 'Public', description: 'Open, cached, served from the local dataset' }, | ||
| 84 | { | ||
| 85 | name: 'Enrichment', | ||
| 86 | description: 'Bearer-auth routes that proxy + cache third-party data', | ||
| 87 | }, | ||
| 88 | ], | ||
| 89 | }) | ||
| 90 | app.get('/docs', apiReference({ spec: { url: '/openapi.json' }, theme: 'purple' })) | ||
| 91 | |||
| 92 | app.get('/', (c) => c.redirect('/docs')) | ||
| 93 | |||
| 94 | return app | ||
| 95 | } | ||
api/src/index.node.ts added +22
| @@ -0,0 +1,22 @@ | |||
| 1 | // Bun/Node entry, serves the same app with env from process.env | ||
| 2 | import { buildApp } from '@/app' | ||
| 3 | import { readEnv } from '@/lib/env' | ||
| 4 | import { log } from '@/lib/log' | ||
| 5 | |||
| 6 | const app = buildApp() | ||
| 7 | const env = readEnv() | ||
| 8 | const port = Number(process.env.PORT ?? 8787) | ||
| 9 | |||
| 10 | // Hand each incoming request the unified env as c.env | ||
| 11 | const handler = (request: Request) => app.fetch(request, env) | ||
| 12 | |||
| 13 | if (typeof Bun !== 'undefined') { | ||
| 14 | Bun.serve({ port, fetch: handler }) | ||
| 15 | log.info('listening', { port, runtime: 'bun' }) | ||
| 16 | } else { | ||
| 17 | // Node fallback for non-Bun runtime | ||
| 18 | const { serve } = await import('@hono/node-server') | ||
| 19 | serve({ fetch: handler, port }, () => { | ||
| 20 | log.info('listening', { port, runtime: 'node' }) | ||
| 21 | }) | ||
| 22 | } | ||
api/src/index.ts deleted −4
| @@ -1,4 +0,0 @@ | |||
| 1 | |||
| 2 | import api from './api'; | ||
| 3 | |||
| 4 | api.fire(); | ||
api/src/index.workers.ts added +16
| @@ -0,0 +1,16 @@ | |||
| 1 | // Cloudflare Workers entry, also handles the scheduled cache warmer | ||
| 2 | import { buildApp } from '@/app' | ||
| 3 | import { createStorage } from '@/lib/cache' | ||
| 4 | import { readEnv } from '@/lib/env' | ||
| 5 | import { warmCache } from '@/lib/warm' | ||
| 6 | import type { AppEnv } from '@/types' | ||
| 7 | |||
| 8 | const app = buildApp() | ||
| 9 | |||
| 10 | export default { | ||
| 11 | fetch: app.fetch, | ||
| 12 | // Cron-triggered warmer touches a small set of hot keys | ||
| 13 | async scheduled(_evt: ScheduledController, env: AppEnv) { | ||
| 14 | await warmCache(createStorage(readEnv(env))) | ||
| 15 | }, | ||
| 16 | } | ||
api/src/lib/auth.ts added +32
| @@ -0,0 +1,32 @@ | |||
| 1 | /** | ||
| 2 | * Middleware to add basic bearer token auth to /enrich/* routes | ||
| 3 | * To prevent abuse of endpoints which make third-party requests | ||
| 4 | * It's off-by-default, and can be enabled by setting API_TOKEN | ||
| 5 | * Works by checking the "Authorization: Bearer $API_TOKEN" header | ||
| 6 | */ | ||
| 7 | |||
| 8 | import type { MiddlewareHandler } from 'hono' | ||
| 9 | import { ApiError } from '@/lib/errors' | ||
| 10 | import type { HonoEnv } from '@/types' | ||
| 11 | |||
| 12 | // Compare specified token against expected, using constant time | ||
| 13 | const constantTimeEqual = (left: string, right: string) => { | ||
| 14 | if (left.length !== right.length) return false | ||
| 15 | let diff = 0 | ||
| 16 | for (let index = 0; index < left.length; index++) { | ||
| 17 | diff |= left.charCodeAt(index) ^ right.charCodeAt(index) | ||
| 18 | } | ||
| 19 | return diff === 0 | ||
| 20 | } | ||
| 21 | |||
| 22 | // If auth enabled, check specified header matches env var, otherwise respond 401 | ||
| 23 | export const requireBearer = (): MiddlewareHandler<HonoEnv> => async (c, next) => { | ||
| 24 | const expected = c.env.API_TOKEN | ||
| 25 | if (!expected) return next() | ||
| 26 | const header = c.req.header('authorization') ?? '' | ||
| 27 | const match = /^Bearer\s+(\S+)$/i.exec(header) | ||
| 28 | if (!match || !constantTimeEqual(match[1], expected)) { | ||
| 29 | throw new ApiError('UNAUTHORIZED', 'Invalid or missing bearer token', 401) | ||
| 30 | } | ||
| 31 | await next() | ||
| 32 | } | ||
api/src/lib/cache/index.ts added +65
| @@ -0,0 +1,65 @@ | |||
| 1 | /** | ||
| 2 | * The storage interface | ||
| 3 | * Caches certain lookup results, so as to reduce load and improve perf | ||
| 4 | * Picks between in-mem store for Bun/Node or KV db for Cloudflare Workers | ||
| 5 | */ | ||
| 6 | |||
| 7 | import { ApiError, type ErrorCode } from '@/lib/errors' | ||
| 8 | import type { AppEnv } from '@/types' | ||
| 9 | import { kvStorage } from '@/lib/cache/kv' | ||
| 10 | import { memoryStorage } from '@/lib/cache/memory' | ||
| 11 | |||
| 12 | export interface Storage { | ||
| 13 | get<T = unknown>(key: string): Promise<T | null> | ||
| 14 | set<T = unknown>(key: string, value: T, ttlSec: number): Promise<void> | ||
| 15 | // Run loader once, cache the result for ttl, cache negatives for negTtl | ||
| 16 | fetch<T>(key: string, ttl: number, negTtl: number, loader: () => Promise<T>): Promise<T> | ||
| 17 | } | ||
| 18 | |||
| 19 | export const createStorage = (env: AppEnv): Storage => | ||
| 20 | env.CACHE ? kvStorage(env.CACHE) : memoryStorage() | ||
| 21 | |||
| 22 | interface NegEntry { | ||
| 23 | ok: false | ||
| 24 | code: ErrorCode | ||
| 25 | message: string | ||
| 26 | status: number | ||
| 27 | } | ||
| 28 | interface PosEntry<T> { | ||
| 29 | ok: true | ||
| 30 | value: T | ||
| 31 | } | ||
| 32 | |||
| 33 | // Shared fetch wrapper, caches successes and replays typed negatives | ||
| 34 | export const wrapFetch = | ||
| 35 | (storage: Storage) => | ||
| 36 | async <T>( | ||
| 37 | key: string, | ||
| 38 | ttl: number, | ||
| 39 | negTtl: number, | ||
| 40 | loader: () => Promise<T>, | ||
| 41 | ): Promise<T> => { | ||
| 42 | const cached = await storage.get<PosEntry<T> | NegEntry>(key) | ||
| 43 | if (cached) { | ||
| 44 | if (cached.ok) return cached.value | ||
| 45 | throw new ApiError(cached.code, cached.message, cached.status) | ||
| 46 | } | ||
| 47 | try { | ||
| 48 | const value = await loader() | ||
| 49 | await storage.set(key, { ok: true, value } satisfies PosEntry<T>, ttl) | ||
| 50 | return value | ||
| 51 | } catch (caught) { | ||
| 52 | const error = | ||
| 53 | caught instanceof ApiError | ||
| 54 | ? caught | ||
| 55 | : new ApiError('UPSTREAM_ERROR', (caught as Error).message, 502) | ||
| 56 | const negative: NegEntry = { | ||
| 57 | ok: false, | ||
| 58 | code: error.code, | ||
| 59 | message: error.message, | ||
| 60 | status: error.status, | ||
| 61 | } | ||
| 62 | await storage.set(key, negative, negTtl) | ||
| 63 | throw error | ||
| 64 | } | ||
| 65 | } | ||
api/src/lib/cache/kv.ts added +22
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Workers KV backed Storage */ | ||
| 2 | import type { Storage } from '@/lib/cache' | ||
| 3 | import { wrapFetch } from '@/lib/cache' | ||
| 4 | |||
| 5 | export const kvStorage = (kv: KVNamespace): Storage => { | ||
| 6 | const storage: Storage = { | ||
| 7 | async get<T>(key: string) { | ||
| 8 | const value = await kv.get(key, 'json') | ||
| 9 | return (value as T) ?? null | ||
| 10 | }, | ||
| 11 | async set<T>(key: string, value: T, ttlSec: number) { | ||
| 12 | await kv.put(key, JSON.stringify(value), { | ||
| 13 | expirationTtl: Math.max(ttlSec, 60), | ||
| 14 | }) | ||
| 15 | }, | ||
| 16 | fetch: async () => { | ||
| 17 | throw new Error('uninit') | ||
| 18 | }, | ||
| 19 | } | ||
| 20 | storage.fetch = wrapFetch(storage) | ||
| 21 | return storage | ||
| 22 | } | ||
api/src/lib/cache/memory.ts added +31
| @@ -0,0 +1,31 @@ | |||
| 1 | /* In-process Map with TTL, storage cache for Node/Bun */ | ||
| 2 | import type { Storage } from '@/lib/cache' | ||
| 3 | import { wrapFetch } from '@/lib/cache' | ||
| 4 | |||
| 5 | interface Entry { | ||
| 6 | expires: number | ||
| 7 | value: unknown | ||
| 8 | } | ||
| 9 | const store = new Map<string, Entry>() | ||
| 10 | |||
| 11 | export const memoryStorage = (): Storage => { | ||
| 12 | const storage: Storage = { | ||
| 13 | async get<T>(key: string) { | ||
| 14 | const entry = store.get(key) | ||
| 15 | if (!entry) return null | ||
| 16 | if (entry.expires < Date.now()) { | ||
| 17 | store.delete(key) | ||
| 18 | return null | ||
| 19 | } | ||
| 20 | return entry.value as T | ||
| 21 | }, | ||
| 22 | async set<T>(key: string, value: T, ttlSec: number) { | ||
| 23 | store.set(key, { expires: Date.now() + ttlSec * 1000, value }) | ||
| 24 | }, | ||
| 25 | fetch: async () => { | ||
| 26 | throw new Error('uninit') | ||
| 27 | }, | ||
| 28 | } | ||
| 29 | storage.fetch = wrapFetch(storage) | ||
| 30 | return storage | ||
| 31 | } | ||
api/src/lib/data.ts added +85
| @@ -0,0 +1,85 @@ | |||
| 1 | /** | ||
| 2 | * Loads the pre-build awesome-privacy JSON data | ||
| 3 | * Exposes it as both flat and nested structure | ||
| 4 | * Used by all public routes which use this data | ||
| 5 | */ | ||
| 6 | |||
| 7 | import raw from '@/generated/data.json' | ||
| 8 | import type { AwesomePrivacy, Category, Section, Service, FlatService } from '@/types' | ||
| 9 | |||
| 10 | const data = raw as unknown as AwesomePrivacy | ||
| 11 | |||
| 12 | // Turn any listing/section/category name into a URL-safe slug | ||
| 13 | export const slugify = (input: string) => | ||
| 14 | input | ||
| 15 | .toLowerCase() | ||
| 16 | .trim() | ||
| 17 | .replace(/[^a-z0-9]+/g, '-') | ||
| 18 | .replace(/^-|-$/g, '') | ||
| 19 | |||
| 20 | // Returns a given listing by it's name | ||
| 21 | export const findBySlug = <T extends { name: string }>(items: T[], slug: string) => | ||
| 22 | items.find((item) => slugify(item.name) === slug) | ||
| 23 | |||
| 24 | let flatCache: FlatService[] | null = null | ||
| 25 | |||
| 26 | // Flatten every service with its parent category and section attached | ||
| 27 | export const allServices = (): FlatService[] => { | ||
| 28 | if (flatCache) return flatCache | ||
| 29 | const out: FlatService[] = [] | ||
| 30 | for (const category of data.categories) { | ||
| 31 | for (const section of category.sections) { | ||
| 32 | for (const service of section.services ?? []) { | ||
| 33 | out.push({ | ||
| 34 | ...service, | ||
| 35 | slug: slugify(service.name), | ||
| 36 | category: category.name, | ||
| 37 | categorySlug: slugify(category.name), | ||
| 38 | section: section.name, | ||
| 39 | sectionSlug: slugify(section.name), | ||
| 40 | }) | ||
| 41 | } | ||
| 42 | } | ||
| 43 | } | ||
| 44 | flatCache = out | ||
| 45 | return out | ||
| 46 | } | ||
| 47 | |||
| 48 | // Top-level list of categories from the source data | ||
| 49 | export const categories = (): Category[] => data.categories | ||
| 50 | |||
| 51 | // Resolve a category by its slug | ||
| 52 | export const findCategory = (slug: string) => findBySlug(categories(), slug) | ||
| 53 | |||
| 54 | interface SectionHit { | ||
| 55 | category: Category | ||
| 56 | section: Section | ||
| 57 | } | ||
| 58 | |||
| 59 | // Look up a section by slug across every category, returning its parent too | ||
| 60 | export const findSection = (slug: string): SectionHit | null => { | ||
| 61 | for (const category of categories()) { | ||
| 62 | const section = findBySlug(category.sections, slug) | ||
| 63 | if (section) return { category, section } | ||
| 64 | } | ||
| 65 | return null | ||
| 66 | } | ||
| 67 | |||
| 68 | // Resolve a single service by its slug from the flat list | ||
| 69 | export const findService = (slug: string): FlatService | undefined => | ||
| 70 | allServices().find((service) => service.slug === slug) | ||
| 71 | |||
| 72 | // Aggregate counts for all data, used for stats endpoint | ||
| 73 | export const stats = () => { | ||
| 74 | const services = allServices() | ||
| 75 | return { | ||
| 76 | categories: categories().length, | ||
| 77 | sections: categories().reduce((total, cat) => total + cat.sections.length, 0), | ||
| 78 | services: services.length, | ||
| 79 | openSource: services.filter((service) => service.openSource).length, | ||
| 80 | securityAudited: services.filter((service) => service.securityAudited).length, | ||
| 81 | acceptsCrypto: services.filter((service) => service.acceptsCrypto).length, | ||
| 82 | } | ||
| 83 | } | ||
| 84 | |||
| 85 | export type { Service, Section, Category } | ||
api/src/lib/env.ts added +21
| @@ -0,0 +1,21 @@ | |||
| 1 | /** | ||
| 2 | * Reads and returns environmental variables for secrets/config | ||
| 3 | * Handles both the CF worker bindings and Node/Bun process.env | ||
| 4 | */ | ||
| 5 | |||
| 6 | import type { AppEnv } from '@/types' | ||
| 7 | |||
| 8 | export const readEnv = (workersEnv?: Partial<AppEnv>): AppEnv => { | ||
| 9 | const proc = typeof process !== 'undefined' ? process.env : {} | ||
| 10 | const env = proc as Record<string, string | undefined> | ||
| 11 | return { | ||
| 12 | API_TOKEN: workersEnv?.API_TOKEN ?? env.API_TOKEN, | ||
| 13 | DISCORD_BOT_TOKEN: workersEnv?.DISCORD_BOT_TOKEN ?? env.DISCORD_BOT_TOKEN, | ||
| 14 | APIVOID_API_KEY: workersEnv?.APIVOID_API_KEY ?? env.APIVOID_API_KEY, | ||
| 15 | EXODUS_TOKEN: workersEnv?.EXODUS_TOKEN ?? env.EXODUS_TOKEN, | ||
| 16 | GITHUB_TOKEN: workersEnv?.GITHUB_TOKEN ?? env.GITHUB_TOKEN, | ||
| 17 | CACHE: workersEnv?.CACHE, | ||
| 18 | RATE_LIMIT: workersEnv?.RATE_LIMIT, | ||
| 19 | API_BASE: workersEnv?.API_BASE ?? env.API_BASE, | ||
| 20 | } | ||
| 21 | } | ||
api/src/lib/errors.ts added +43
| @@ -0,0 +1,43 @@ | |||
| 1 | /** | ||
| 2 | * Standard error envelope for all API error responses | ||
| 3 | * Known errors get suitable response message + code, | ||
| 4 | * Anything unhandled is Internal Server Error and logs | ||
| 5 | */ | ||
| 6 | |||
| 7 | import type { Context } from 'hono' | ||
| 8 | import { log } from '@/lib/log' | ||
| 9 | |||
| 10 | export type ErrorCode = | ||
| 11 | | 'NOT_FOUND' | ||
| 12 | | 'BAD_REQUEST' | ||
| 13 | | 'UNAUTHORIZED' | ||
| 14 | | 'RATE_LIMITED' | ||
| 15 | | 'UPSTREAM_ERROR' | ||
| 16 | | 'INTERNAL' | ||
| 17 | |||
| 18 | export class ApiError extends Error { | ||
| 19 | // Carries the wire code + http status alongside the message | ||
| 20 | constructor( | ||
| 21 | public code: ErrorCode, | ||
| 22 | message: string, | ||
| 23 | public status = 500, | ||
| 24 | ) { | ||
| 25 | super(message) | ||
| 26 | } | ||
| 27 | } | ||
| 28 | |||
| 29 | export const envelope = (code: ErrorCode, message: string, status: number) => ({ | ||
| 30 | error: { code, message, status }, | ||
| 31 | }) | ||
| 32 | |||
| 33 | // Maps known ApiErrors to their envelope, logs everything else as INTERNAL | ||
| 34 | export const errorHandler = (err: Error, c: Context) => { | ||
| 35 | if (err instanceof ApiError) { | ||
| 36 | return c.json(envelope(err.code, err.message, err.status), err.status as 400) | ||
| 37 | } | ||
| 38 | log.error('unhandled', { err: err.message, stack: err.stack }) | ||
| 39 | return c.json(envelope('INTERNAL', 'Internal server error', 500), 500) | ||
| 40 | } | ||
| 41 | |||
| 42 | export const notFound = (c: Context) => | ||
| 43 | c.json(envelope('NOT_FOUND', `Route ${c.req.path} not found`, 404), 404) | ||
api/src/lib/fetch.ts added +58
| @@ -0,0 +1,58 @@ | |||
| 1 | /** | ||
| 2 | * JSON http fetch for outbound calls (used for /enrich/* routes) | ||
| 3 | * Default timeout is 5 sec, any non-2xx responses return ApiError | ||
| 4 | * Note that it only allows HTTPS fetches from allowed hosts list | ||
| 5 | */ | ||
| 6 | |||
| 7 | import { ApiError } from '@/lib/errors' | ||
| 8 | import { log } from '@/lib/log' | ||
| 9 | |||
| 10 | const ALLOWED_HOSTS = new Set([ | ||
| 11 | 'api.tosdr.org', | ||
| 12 | 'api.github.com', | ||
| 13 | 'itunes.apple.com', | ||
| 14 | 'reports.exodus-privacy.eu.org', | ||
| 15 | 'discord.com', | ||
| 16 | 'www.reddit.com', | ||
| 17 | 'endpoint.apivoid.com', | ||
| 18 | 'raw.githubusercontent.com', | ||
| 19 | ]) | ||
| 20 | |||
| 21 | export interface FetchOpts { | ||
| 22 | timeoutMs?: number | ||
| 23 | headers?: Record<string, string> | ||
| 24 | } | ||
| 25 | |||
| 26 | export const fetchJson = async <T = unknown>( | ||
| 27 | url: string, | ||
| 28 | opts: FetchOpts = {}, | ||
| 29 | ): Promise<T> => { | ||
| 30 | // Validate scheme + host against the allowlist before any network IO | ||
| 31 | const parsed = new URL(url) | ||
| 32 | if (parsed.protocol !== 'https:') { | ||
| 33 | throw new ApiError('BAD_REQUEST', 'Invalid URL scheme', 400) | ||
| 34 | } | ||
| 35 | if (!ALLOWED_HOSTS.has(parsed.hostname)) { | ||
| 36 | throw new ApiError('BAD_REQUEST', `Host not allowed: ${parsed.hostname}`, 400) | ||
| 37 | } | ||
| 38 | const signal = AbortSignal.timeout(opts.timeoutMs ?? 5000) | ||
| 39 | let response: Response | ||
| 40 | try { | ||
| 41 | response = await fetch(url, { headers: opts.headers, signal }) | ||
| 42 | } catch (caught) { | ||
| 43 | log.warn('fetch_failed', { | ||
| 44 | host: parsed.hostname, | ||
| 45 | err: (caught as Error).message, | ||
| 46 | }) | ||
| 47 | throw new ApiError('UPSTREAM_ERROR', `Upstream fetch failed: ${parsed.hostname}`, 502) | ||
| 48 | } | ||
| 49 | if (!response.ok) { | ||
| 50 | log.warn('upstream_status', { host: parsed.hostname, status: response.status }) | ||
| 51 | throw new ApiError( | ||
| 52 | 'UPSTREAM_ERROR', | ||
| 53 | `Upstream ${parsed.hostname} returned ${response.status}`, | ||
| 54 | 502, | ||
| 55 | ) | ||
| 56 | } | ||
| 57 | return (await response.json()) as T | ||
| 58 | } | ||
api/src/lib/log.ts added +47
| @@ -0,0 +1,47 @@ | |||
| 1 | /** | ||
| 2 | * Structured logger util used everywhere in the API | ||
| 3 | * When running in TTY or dev, you get pretty output | ||
| 4 | * In prod it's structured JSON for log aggregation | ||
| 5 | */ | ||
| 6 | |||
| 7 | /* eslint-disable no-console */ | ||
| 8 | |||
| 9 | type Level = 'info' | 'warn' | 'error' | ||
| 10 | |||
| 11 | const colour: Record<Level, string> = { | ||
| 12 | info: '\x1b[36m', | ||
| 13 | warn: '\x1b[33m', | ||
| 14 | error: '\x1b[31m', | ||
| 15 | } | ||
| 16 | const dim = '\x1b[2m' | ||
| 17 | const reset = '\x1b[0m' | ||
| 18 | |||
| 19 | // Detect if running in a real terminal. Will be false for Workers/Docker | ||
| 20 | const isTty = typeof process !== 'undefined' && Boolean(process.stdout?.isTTY) | ||
| 21 | |||
| 22 | // Coloured single-line format for local dev terminals | ||
| 23 | const pretty = (level: Level, msg: string, meta?: Record<string, unknown>) => { | ||
| 24 | const time = new Date().toISOString().slice(11, 19) | ||
| 25 | const tag = `${colour[level]}${level.toUpperCase().padEnd(5)}${reset}` | ||
| 26 | const extra = | ||
| 27 | meta && Object.keys(meta).length ? ` ${dim}${JSON.stringify(meta)}${reset}` : '' | ||
| 28 | return `${dim}${time}${reset} ${tag} ${msg}${extra}` | ||
| 29 | } | ||
| 30 | |||
| 31 | // JSON line for log aggregators, Docker stdout, Workers tail | ||
| 32 | const json = (level: Level, msg: string, meta?: Record<string, unknown>) => | ||
| 33 | JSON.stringify({ t: new Date().toISOString(), level, msg, ...meta }) | ||
| 34 | |||
| 35 | const emit = (level: Level, msg: string, meta?: Record<string, unknown>) => { | ||
| 36 | const line = isTty ? pretty(level, msg, meta) : json(level, msg, meta) | ||
| 37 | if (level === 'error') console.error(line) | ||
| 38 | else if (level === 'warn') console.warn(line) | ||
| 39 | else console.log(line) | ||
| 40 | } | ||
| 41 | |||
| 42 | // Main logger. Used like: `log.info('hello', { something: 123 })` | ||
| 43 | export const log = { | ||
| 44 | info: (msg: string, meta?: Record<string, unknown>) => emit('info', msg, meta), | ||
| 45 | warn: (msg: string, meta?: Record<string, unknown>) => emit('warn', msg, meta), | ||
| 46 | error: (msg: string, meta?: Record<string, unknown>) => emit('error', msg, meta), | ||
| 47 | } | ||
api/src/lib/openapi.ts added +31
| @@ -0,0 +1,31 @@ | |||
| 1 | /** | ||
| 2 | * OpenAPI Hono factory used by every public route module | ||
| 3 | * Also wires a shared zod validation hook, for 400 responses | ||
| 4 | */ | ||
| 5 | |||
| 6 | import { OpenAPIHono } from '@hono/zod-openapi' | ||
| 7 | import type { Context } from 'hono' | ||
| 8 | import { envelope } from '@/lib/errors' | ||
| 9 | import type { HonoEnv } from '@/types' | ||
| 10 | |||
| 11 | interface ZodIssue { | ||
| 12 | path: (string | number)[] | ||
| 13 | message: string | ||
| 14 | } | ||
| 15 | interface ZodLike { | ||
| 16 | issues?: ZodIssue[] | ||
| 17 | } | ||
| 18 | |||
| 19 | // Translate zod validation failures into the shared error envelope | ||
| 20 | const defaultHook = (result: { success: boolean; error?: unknown }, c: Context) => { | ||
| 21 | if (result.success) return | ||
| 22 | const issues = (result.error as ZodLike).issues ?? [] | ||
| 23 | const message = issues.length | ||
| 24 | ? issues.map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ') | ||
| 25 | : 'Invalid input' | ||
| 26 | return c.json(envelope('BAD_REQUEST', message, 400), 400) | ||
| 27 | } | ||
| 28 | |||
| 29 | // Build a fresh OpenAPIHono, optionally with extra Hono options like strict | ||
| 30 | export const newApp = (opts: { strict?: boolean } = {}) => | ||
| 31 | new OpenAPIHono<HonoEnv>({ defaultHook, ...opts }) | ||
api/src/lib/ratelimit/index.ts added +20
| @@ -0,0 +1,20 @@ | |||
| 1 | /** | ||
| 2 | * Rate limit middleware factory | ||
| 3 | * Basic measure to prevent obvious abuse for public routes | ||
| 4 | * Uses CF's native rate-limiting API, configurable in wrangler.toml | ||
| 5 | * Only applies to unauthenticated requests on the public instance | ||
| 6 | * By default, there's no rate-limiting on self-hosted/Bun versions | ||
| 7 | */ | ||
| 8 | import type { MiddlewareHandler } from 'hono' | ||
| 9 | import { ApiError } from '@/lib/errors' | ||
| 10 | import type { HonoEnv } from '@/types' | ||
| 11 | |||
| 12 | export const rateLimit = (): MiddlewareHandler<HonoEnv> => async (c, next) => { | ||
| 13 | const limiter = c.env.RATE_LIMIT | ||
| 14 | if (!limiter) return next() | ||
| 15 | const key = | ||
| 16 | c.req.header('cf-connecting-ip') ?? c.req.header('x-forwarded-for') ?? 'anon' | ||
| 17 | const { success } = await limiter.limit({ key }) | ||
| 18 | if (!success) throw new ApiError('RATE_LIMITED', 'Too many requests', 429) | ||
| 19 | return next() | ||
| 20 | } | ||
api/src/lib/search.ts added +45
| @@ -0,0 +1,45 @@ | |||
| 1 | /** | ||
| 2 | * Full-text search over every service in the awesome-privacy dataset | ||
| 3 | * Builds a MiniSearch index lazily on first call, then reuses it | ||
| 4 | * Used for the public /search endpoint and MCP search_services tool | ||
| 5 | */ | ||
| 6 | |||
| 7 | import MiniSearch from 'minisearch' | ||
| 8 | import { allServices } from '@/lib/data' | ||
| 9 | import type { FlatService } from '@/types' | ||
| 10 | |||
| 11 | type Indexed = FlatService & { id: string } | ||
| 12 | |||
| 13 | let index: MiniSearch<Indexed> | null = null | ||
| 14 | |||
| 15 | const STORED_FIELDS = [ | ||
| 16 | 'slug', | ||
| 17 | 'name', | ||
| 18 | 'url', | ||
| 19 | 'description', | ||
| 20 | 'category', | ||
| 21 | 'categorySlug', | ||
| 22 | 'section', | ||
| 23 | 'sectionSlug', | ||
| 24 | ] | ||
| 25 | |||
| 26 | const build = () => { | ||
| 27 | // Service slugs repeat across sections, so build a composite id | ||
| 28 | const items: Indexed[] = allServices().map((service) => ({ | ||
| 29 | ...service, | ||
| 30 | id: `${service.sectionSlug}/${service.slug}`, | ||
| 31 | })) | ||
| 32 | const ms = new MiniSearch<Indexed>({ | ||
| 33 | idField: 'id', | ||
| 34 | fields: ['name', 'description', 'category', 'section'], | ||
| 35 | storeFields: STORED_FIELDS, | ||
| 36 | searchOptions: { boost: { name: 3, section: 1.5 }, fuzzy: 0.2, prefix: true }, | ||
| 37 | }) | ||
| 38 | ms.addAll(items) | ||
| 39 | return ms | ||
| 40 | } | ||
| 41 | |||
| 42 | export const search = (query: string, limit = 20) => { | ||
| 43 | index ??= build() | ||
| 44 | return index.search(query).slice(0, limit) | ||
| 45 | } | ||
api/src/lib/warm/index.ts added +18
| @@ -0,0 +1,18 @@ | |||
| 1 | /** | ||
| 2 | * Hit this endpoint to repopulate hot data, called as cron, | ||
| 3 | * so requests after cache expiry don't pay the cold-path cost | ||
| 4 | * TODO: Not working, lol. Either fix, or remove. | ||
| 5 | */ | ||
| 6 | |||
| 7 | import type { Storage } from '@/lib/cache' | ||
| 8 | import { log } from '@/lib/log' | ||
| 9 | |||
| 10 | const TOUCH = ['stats', 'services:all', 'categories:all'] | ||
| 11 | |||
| 12 | export const warmCache = async (storage: Storage) => { | ||
| 13 | for (const key of TOUCH) { | ||
| 14 | const cached = await storage.get(key) | ||
| 15 | if (!cached) log.info('warm_miss', { key }) | ||
| 16 | } | ||
| 17 | log.info('warm_done', { count: TOUCH.length }) | ||
| 18 | } | ||
api/src/routes/mcp.ts added +142
| @@ -0,0 +1,142 @@ | |||
| 1 | // MCP HTTP/SSE endpoints, tools reuse the same data layer as public routes | ||
| 2 | import { Hono } from 'hono' | ||
| 3 | import { allServices, categories, findService, slugify } from '@/lib/data' | ||
| 4 | import { search } from '@/lib/search' | ||
| 5 | import type { HonoEnv } from '@/types' | ||
| 6 | |||
| 7 | const app = new Hono<HonoEnv>() | ||
| 8 | |||
| 9 | interface JsonRpcReq { | ||
| 10 | jsonrpc: '2.0' | ||
| 11 | id?: number | string | ||
| 12 | method: string | ||
| 13 | params?: Record<string, unknown> | ||
| 14 | } | ||
| 15 | |||
| 16 | interface Tool { | ||
| 17 | name: string | ||
| 18 | description: string | ||
| 19 | inputSchema: Record<string, unknown> | ||
| 20 | } | ||
| 21 | |||
| 22 | const obj = (properties: Record<string, unknown>, required: string[] = []) => ({ | ||
| 23 | type: 'object', | ||
| 24 | properties, | ||
| 25 | ...(required.length ? { required } : {}), | ||
| 26 | }) | ||
| 27 | |||
| 28 | const str = { type: 'string' } | ||
| 29 | const num = { type: 'number' } | ||
| 30 | |||
| 31 | const tools: Tool[] = [ | ||
| 32 | { | ||
| 33 | name: 'search_services', | ||
| 34 | description: 'Full-text search privacy services', | ||
| 35 | inputSchema: obj({ q: str, limit: num }, ['q']), | ||
| 36 | }, | ||
| 37 | { | ||
| 38 | name: 'get_service', | ||
| 39 | description: 'Fetch one service by slug', | ||
| 40 | inputSchema: obj({ slug: str }, ['slug']), | ||
| 41 | }, | ||
| 42 | { | ||
| 43 | name: 'list_categories', | ||
| 44 | description: 'List all categories with sections', | ||
| 45 | inputSchema: obj({}), | ||
| 46 | }, | ||
| 47 | { | ||
| 48 | name: 'compare_services', | ||
| 49 | description: 'Return two services side by side', | ||
| 50 | inputSchema: obj({ a: str, b: str }, ['a', 'b']), | ||
| 51 | }, | ||
| 52 | { | ||
| 53 | name: 'recommend_alternative', | ||
| 54 | description: 'Recommend services in the same section', | ||
| 55 | inputSchema: obj({ slug: str, limit: num }, ['slug']), | ||
| 56 | }, | ||
| 57 | ] | ||
| 58 | |||
| 59 | const summariseCategories = () => | ||
| 60 | categories().map((category) => ({ | ||
| 61 | name: category.name, | ||
| 62 | slug: slugify(category.name), | ||
| 63 | sections: (category.sections ?? []).map((section) => ({ | ||
| 64 | name: section.name, | ||
| 65 | slug: slugify(section.name), | ||
| 66 | })), | ||
| 67 | })) | ||
| 68 | |||
| 69 | const recommend = (slug: string, limit: number) => { | ||
| 70 | const service = findService(slug) | ||
| 71 | if (!service) return { error: 'not_found' } | ||
| 72 | const peers = allServices().filter( | ||
| 73 | (peer) => peer.sectionSlug === service.sectionSlug && peer.slug !== service.slug, | ||
| 74 | ) | ||
| 75 | return peers.slice(0, limit) | ||
| 76 | } | ||
| 77 | |||
| 78 | // Dispatch a single MCP tool call to the in-process handler | ||
| 79 | const runTool = (name: string, args: Record<string, unknown>): unknown => { | ||
| 80 | if (name === 'search_services') { | ||
| 81 | return search(String(args.q ?? ''), Number(args.limit ?? 20)) | ||
| 82 | } | ||
| 83 | if (name === 'get_service') { | ||
| 84 | return findService(String(args.slug)) ?? { error: 'not_found' } | ||
| 85 | } | ||
| 86 | if (name === 'list_categories') return summariseCategories() | ||
| 87 | if (name === 'compare_services') { | ||
| 88 | return { a: findService(String(args.a)), b: findService(String(args.b)) } | ||
| 89 | } | ||
| 90 | if (name === 'recommend_alternative') { | ||
| 91 | return recommend(String(args.slug), Number(args.limit ?? 5)) | ||
| 92 | } | ||
| 93 | return { error: `unknown_tool:${name}` } | ||
| 94 | } | ||
| 95 | |||
| 96 | const initializeResult = { | ||
| 97 | protocolVersion: '2024-11-05', | ||
| 98 | capabilities: { tools: {} }, | ||
| 99 | serverInfo: { name: 'awesome-privacy', version: '1.0.0' }, | ||
| 100 | } | ||
| 101 | |||
| 102 | // MCP server, handles initialize, tools/list and tools/call | ||
| 103 | const handle = (req: JsonRpcReq) => { | ||
| 104 | const id = req.id ?? null | ||
| 105 | if (req.method === 'initialize') { | ||
| 106 | return { jsonrpc: '2.0', id, result: initializeResult } | ||
| 107 | } | ||
| 108 | if (req.method === 'tools/list') { | ||
| 109 | return { jsonrpc: '2.0', id, result: { tools } } | ||
| 110 | } | ||
| 111 | if (req.method === 'tools/call') { | ||
| 112 | const params = req.params ?? {} | ||
| 113 | const name = String(params.name) | ||
| 114 | const args = (params.arguments ?? {}) as Record<string, unknown> | ||
| 115 | const output = runTool(name, args) | ||
| 116 | const content = [{ type: 'text', text: JSON.stringify(output) }] | ||
| 117 | return { jsonrpc: '2.0', id, result: { content } } | ||
| 118 | } | ||
| 119 | return { jsonrpc: '2.0', id, error: { code: -32601, message: 'Method not found' } } | ||
| 120 | } | ||
| 121 | |||
| 122 | app.post('/mcp', async (c) => c.json(handle(await c.req.json()))) | ||
| 123 | |||
| 124 | // SSE handshake, emits the tool list once and stays open | ||
| 125 | app.get('/sse', () => { | ||
| 126 | const encoder = new TextEncoder() | ||
| 127 | const stream = new ReadableStream({ | ||
| 128 | start(controller) { | ||
| 129 | const payload = JSON.stringify({ tools }) | ||
| 130 | controller.enqueue(encoder.encode(`event: ready\ndata: ${payload}\n\n`)) | ||
| 131 | }, | ||
| 132 | }) | ||
| 133 | return new Response(stream, { | ||
| 134 | headers: { | ||
| 135 | 'content-type': 'text/event-stream', | ||
| 136 | 'cache-control': 'no-cache', | ||
| 137 | connection: 'keep-alive', | ||
| 138 | }, | ||
| 139 | }) | ||
| 140 | }) | ||
| 141 | |||
| 142 | export default app | ||
api/src/routes/private/android.ts added +71
| @@ -0,0 +1,71 @@ | |||
| 1 | // Exodus Privacy app lookup, joined with the tracker dictionary | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { ApiError } from '@/lib/errors' | ||
| 5 | import { newApp } from '@/lib/openapi' | ||
| 6 | import { AndroidReportSchema, ErrorResponse, Ok } from '@/schemas' | ||
| 7 | |||
| 8 | const app = newApp() | ||
| 9 | |||
| 10 | const SUCCESS_TTL = 7 * 24 * 60 * 60 | ||
| 11 | const NEGATIVE_TTL = 6 * 60 * 60 | ||
| 12 | |||
| 13 | interface AppDetails { | ||
| 14 | trackers: number[] | ||
| 15 | [key: string]: unknown | ||
| 16 | } | ||
| 17 | interface TrackerLookup { | ||
| 18 | trackers: Record<string, unknown> | ||
| 19 | } | ||
| 20 | |||
| 21 | const EXODUS_BASE = 'https://reports.exodus-privacy.eu.org/api' | ||
| 22 | |||
| 23 | const route = createRoute({ | ||
| 24 | method: 'get', | ||
| 25 | path: '/enrich/android/{pkg}', | ||
| 26 | tags: ['Enrichment'], | ||
| 27 | summary: 'Android app info', | ||
| 28 | request: { params: z.object({ pkg: z.string() }) }, | ||
| 29 | responses: { | ||
| 30 | 200: Ok(AndroidReportSchema), | ||
| 31 | 401: ErrorResponse, | ||
| 32 | 404: ErrorResponse, | ||
| 33 | 500: ErrorResponse, | ||
| 34 | 502: ErrorResponse, | ||
| 35 | }, | ||
| 36 | }) | ||
| 37 | |||
| 38 | // Resolve the apk then replace tracker ids with their detail records | ||
| 39 | app.openapi(route, async (c) => { | ||
| 40 | const { pkg } = c.req.valid('param') | ||
| 41 | const token = c.env.EXODUS_TOKEN | ||
| 42 | if (!token) throw new ApiError('INTERNAL', 'EXODUS_TOKEN not configured', 500) | ||
| 43 | const headers = { Authorization: `Token ${token}` } | ||
| 44 | const data = await c.var.storage.fetch( | ||
| 45 | `android:${pkg}`, | ||
| 46 | SUCCESS_TTL, | ||
| 47 | NEGATIVE_TTL, | ||
| 48 | async () => { | ||
| 49 | const detailsUrl = `${EXODUS_BASE}/search/${encodeURIComponent(pkg)}/details` | ||
| 50 | const details = await fetchJson<AppDetails[]>(detailsUrl, { | ||
| 51 | headers, | ||
| 52 | timeoutMs: 10000, | ||
| 53 | }) | ||
| 54 | const appInfo = details?.[0] | ||
| 55 | if (!appInfo) { | ||
| 56 | throw new ApiError('NOT_FOUND', `Package '${pkg}' not found on Exodus`, 404) | ||
| 57 | } | ||
| 58 | const { trackers } = await fetchJson<TrackerLookup>(`${EXODUS_BASE}/trackers`, { | ||
| 59 | headers, | ||
| 60 | timeoutMs: 10000, | ||
| 61 | }) | ||
| 62 | return { | ||
| 63 | ...appInfo, | ||
| 64 | trackers: appInfo.trackers.map((id) => trackers[String(id)]), | ||
| 65 | } | ||
| 66 | }, | ||
| 67 | ) | ||
| 68 | return c.json(data, 200) | ||
| 69 | }) | ||
| 70 | |||
| 71 | export default app | ||
api/src/routes/private/discord.ts added +76
| @@ -0,0 +1,76 @@ | |||
| 1 | // Discord invite info, projected to a compact response shape | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { newApp } from '@/lib/openapi' | ||
| 5 | import { DiscordInviteSchema, ErrorResponse, Ok } from '@/schemas' | ||
| 6 | |||
| 7 | const app = newApp() | ||
| 8 | |||
| 9 | const SUCCESS_TTL = 24 * 60 * 60 | ||
| 10 | const NEGATIVE_TTL = 60 * 60 | ||
| 11 | |||
| 12 | interface Invite { | ||
| 13 | code?: string | ||
| 14 | guild?: { id?: string; name?: string; icon?: string; splash?: string } | ||
| 15 | channel?: { name?: string } | ||
| 16 | inviter?: { global_name?: string } | ||
| 17 | approximate_member_count?: number | ||
| 18 | approximate_presence_count?: number | ||
| 19 | } | ||
| 20 | |||
| 21 | const iconUrl = (guildId?: string, icon?: string) => | ||
| 22 | guildId && icon ? `https://cdn.discordapp.com/icons/${guildId}/${icon}.webp` : null | ||
| 23 | |||
| 24 | const bannerUrl = (guildId?: string, splash?: string) => | ||
| 25 | guildId && splash | ||
| 26 | ? `https://cdn.discordapp.com/splashes/${guildId}/${splash}.webp?size=1024` | ||
| 27 | : null | ||
| 28 | |||
| 29 | const route = createRoute({ | ||
| 30 | method: 'get', | ||
| 31 | path: '/enrich/discord/{invite}', | ||
| 32 | tags: ['Enrichment'], | ||
| 33 | summary: 'Discord server info', | ||
| 34 | request: { params: z.object({ invite: z.string().min(4) }) }, | ||
| 35 | responses: { | ||
| 36 | 200: Ok(DiscordInviteSchema), | ||
| 37 | 400: ErrorResponse, | ||
| 38 | 401: ErrorResponse, | ||
| 39 | 500: ErrorResponse, | ||
| 40 | 502: ErrorResponse, | ||
| 41 | }, | ||
| 42 | }) | ||
| 43 | |||
| 44 | // Hit Discord invite endpoint, return the small fields the site needs | ||
| 45 | app.openapi(route, async (c) => { | ||
| 46 | const { invite } = c.req.valid('param') | ||
| 47 | const headers: Record<string, string> = {} | ||
| 48 | if (c.env.DISCORD_BOT_TOKEN) { | ||
| 49 | headers.Authorization = `Bot ${c.env.DISCORD_BOT_TOKEN}` | ||
| 50 | } | ||
| 51 | const upstream = | ||
| 52 | `https://discord.com/api/v9/invites/${encodeURIComponent(invite)}` + | ||
| 53 | '?with_counts=true&with_expiration=true' | ||
| 54 | const data = await c.var.storage.fetch( | ||
| 55 | `discord:${invite}`, | ||
| 56 | SUCCESS_TTL, | ||
| 57 | NEGATIVE_TTL, | ||
| 58 | async () => { | ||
| 59 | const raw = await fetchJson<Invite>(upstream, { headers }) | ||
| 60 | const guild = raw.guild | ||
| 61 | return { | ||
| 62 | inviteCode: raw.code ?? null, | ||
| 63 | name: guild?.name ?? null, | ||
| 64 | memberCount: raw.approximate_member_count ?? null, | ||
| 65 | memberOnlineCount: raw.approximate_presence_count ?? null, | ||
| 66 | channel: raw.channel?.name ?? null, | ||
| 67 | icon: iconUrl(guild?.id, guild?.icon), | ||
| 68 | banner: bannerUrl(guild?.id, guild?.splash), | ||
| 69 | inviter: raw.inviter?.global_name ?? null, | ||
| 70 | } | ||
| 71 | }, | ||
| 72 | ) | ||
| 73 | return c.json(data, 200) | ||
| 74 | }) | ||
| 75 | |||
| 76 | export default app | ||
api/src/routes/private/github.ts added +148
| @@ -0,0 +1,148 @@ | |||
| 1 | // GitHub repo info, aggregates info, languages, tags, contributors, commits | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { newApp } from '@/lib/openapi' | ||
| 5 | import { ErrorResponse, GithubRepoSchema, Ok } from '@/schemas' | ||
| 6 | |||
| 7 | const app = newApp() | ||
| 8 | |||
| 9 | const SUCCESS_TTL = 24 * 60 * 60 | ||
| 10 | const NEGATIVE_TTL = 60 * 60 | ||
| 11 | |||
| 12 | interface RepoInfo { | ||
| 13 | owner?: { login?: string; avatar_url?: string } | ||
| 14 | description?: string | ||
| 15 | html_url?: string | ||
| 16 | homepage?: string | ||
| 17 | language?: string | ||
| 18 | topics?: string[] | ||
| 19 | license?: { spdx_id?: string } | ||
| 20 | fork?: boolean | ||
| 21 | archived?: boolean | ||
| 22 | created_at?: string | ||
| 23 | updated_at?: string | ||
| 24 | size?: number | ||
| 25 | stargazers_count?: number | ||
| 26 | forks_count?: number | ||
| 27 | watchers_count?: number | ||
| 28 | } | ||
| 29 | |||
| 30 | interface Tag { | ||
| 31 | name: string | ||
| 32 | commit?: { sha?: string } | ||
| 33 | zipball_url?: string | ||
| 34 | tarball_url?: string | ||
| 35 | } | ||
| 36 | |||
| 37 | interface Contributor { | ||
| 38 | login?: string | ||
| 39 | avatar_url?: string | ||
| 40 | contributions?: number | ||
| 41 | } | ||
| 42 | |||
| 43 | interface CommitAuthor { | ||
| 44 | name?: string | ||
| 45 | date?: string | ||
| 46 | } | ||
| 47 | |||
| 48 | interface Commit { | ||
| 49 | sha?: string | ||
| 50 | commit?: { author?: CommitAuthor; message?: string } | ||
| 51 | author?: { login?: string; avatar_url?: string } | ||
| 52 | } | ||
| 53 | |||
| 54 | const mapInfo = (info: RepoInfo) => ({ | ||
| 55 | ownerUsername: info.owner?.login ?? '', | ||
| 56 | ownerAvatar: info.owner?.avatar_url ?? '', | ||
| 57 | description: info.description ?? '', | ||
| 58 | url: info.html_url ?? '', | ||
| 59 | homepage: info.homepage ?? '', | ||
| 60 | language: info.language ?? '', | ||
| 61 | topics: info.topics ?? [], | ||
| 62 | license: info.license?.spdx_id ?? '', | ||
| 63 | isFork: info.fork ?? false, | ||
| 64 | isArchived: info.archived ?? false, | ||
| 65 | createdAt: info.created_at ?? '', | ||
| 66 | updatedAt: info.updated_at ?? '', | ||
| 67 | size: info.size ?? 0, | ||
| 68 | starCount: info.stargazers_count ?? 0, | ||
| 69 | forksCount: info.forks_count ?? 0, | ||
| 70 | watchersCount: info.watchers_count ?? 0, | ||
| 71 | }) | ||
| 72 | |||
| 73 | const mapVersion = (tag: Tag) => ({ | ||
| 74 | name: tag.name, | ||
| 75 | commit: tag.commit?.sha ?? '', | ||
| 76 | zipball: tag.zipball_url ?? '', | ||
| 77 | tarball: tag.tarball_url ?? '', | ||
| 78 | }) | ||
| 79 | |||
| 80 | const mapContributor = (person: Contributor) => ({ | ||
| 81 | username: person.login ?? '', | ||
| 82 | avatar: person.avatar_url ?? '', | ||
| 83 | contributions: person.contributions ?? 0, | ||
| 84 | }) | ||
| 85 | |||
| 86 | const mapCommit = (commit: Commit) => ({ | ||
| 87 | sha: commit.sha ?? '', | ||
| 88 | authorName: commit.commit?.author?.name ?? '', | ||
| 89 | authorDate: commit.commit?.author?.date ?? '', | ||
| 90 | message: commit.commit?.message ?? '', | ||
| 91 | authorUsername: commit.author?.login ?? '', | ||
| 92 | authorAvatar: commit.author?.avatar_url ?? '', | ||
| 93 | }) | ||
| 94 | |||
| 95 | const buildHeaders = (token?: string) => { | ||
| 96 | const headers: Record<string, string> = { | ||
| 97 | 'User-Agent': 'awesome-privacy-api', | ||
| 98 | Accept: 'application/vnd.github.v3+json', | ||
| 99 | } | ||
| 100 | if (token) headers.Authorization = `token ${token}` | ||
| 101 | return headers | ||
| 102 | } | ||
| 103 | |||
| 104 | const route = createRoute({ | ||
| 105 | method: 'get', | ||
| 106 | path: '/enrich/github/{owner}/{repo}', | ||
| 107 | tags: ['Enrichment'], | ||
| 108 | summary: 'GitHub repo info', | ||
| 109 | request: { params: z.object({ owner: z.string(), repo: z.string() }) }, | ||
| 110 | responses: { | ||
| 111 | 200: Ok(GithubRepoSchema), | ||
| 112 | 401: ErrorResponse, | ||
| 113 | 500: ErrorResponse, | ||
| 114 | 502: ErrorResponse, | ||
| 115 | }, | ||
| 116 | }) | ||
| 117 | |||
| 118 | // Fan out to the repo, languages, tags, contributors and commits endpoints | ||
| 119 | app.openapi(route, async (c) => { | ||
| 120 | const { owner, repo } = c.req.valid('param') | ||
| 121 | const slug = `${owner}/${repo}` | ||
| 122 | const headers = buildHeaders(c.env.GITHUB_TOKEN) | ||
| 123 | const data = await c.var.storage.fetch( | ||
| 124 | `gh:${slug}`, | ||
| 125 | SUCCESS_TTL, | ||
| 126 | NEGATIVE_TTL, | ||
| 127 | async () => { | ||
| 128 | const base = `https://api.github.com/repos/${slug}` | ||
| 129 | const [info, languages, tags, contributors, commits] = await Promise.all([ | ||
| 130 | fetchJson<RepoInfo>(base, { headers }), | ||
| 131 | fetchJson<Record<string, number>>(`${base}/languages`, { headers }), | ||
| 132 | fetchJson<Tag[]>(`${base}/tags`, { headers }), | ||
| 133 | fetchJson<Contributor[]>(`${base}/contributors`, { headers }), | ||
| 134 | fetchJson<Commit[]>(`${base}/commits`, { headers }), | ||
| 135 | ]) | ||
| 136 | return { | ||
| 137 | info: mapInfo(info), | ||
| 138 | languages: languages ?? {}, | ||
| 139 | versions: tags.map(mapVersion), | ||
| 140 | contributors: contributors.map(mapContributor), | ||
| 141 | commits: commits.map(mapCommit), | ||
| 142 | } | ||
| 143 | }, | ||
| 144 | ) | ||
| 145 | return c.json(data, 200) | ||
| 146 | }) | ||
| 147 | |||
| 148 | export default app | ||
api/src/routes/private/ios.ts added +61
| @@ -0,0 +1,61 @@ | |||
| 1 | // iTunes app lookup, accepts numeric id or bundle id, optional country | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { ApiError } from '@/lib/errors' | ||
| 5 | import { newApp } from '@/lib/openapi' | ||
| 6 | import { ErrorResponse, ItunesAppSchema, Ok } from '@/schemas' | ||
| 7 | |||
| 8 | const app = newApp() | ||
| 9 | |||
| 10 | const SUCCESS_TTL = 7 * 24 * 60 * 60 | ||
| 11 | const NEGATIVE_TTL = 6 * 60 * 60 | ||
| 12 | |||
| 13 | interface ItunesResult { | ||
| 14 | resultCount: number | ||
| 15 | results: Record<string, unknown>[] | ||
| 16 | } | ||
| 17 | |||
| 18 | // iTunes accepts numeric ids prefixed with "id", strip that off | ||
| 19 | const normalize = (raw: string) => (raw.startsWith('id') ? raw.slice(2) : raw) | ||
| 20 | |||
| 21 | const route = createRoute({ | ||
| 22 | method: 'get', | ||
| 23 | path: '/enrich/ios/{bundleId}', | ||
| 24 | tags: ['Enrichment'], | ||
| 25 | summary: 'iOS app info', | ||
| 26 | request: { | ||
| 27 | params: z.object({ bundleId: z.string() }), | ||
| 28 | query: z.object({ country: z.string().length(2).optional() }), | ||
| 29 | }, | ||
| 30 | responses: { | ||
| 31 | 200: Ok(ItunesAppSchema), | ||
| 32 | 401: ErrorResponse, | ||
| 33 | 404: ErrorResponse, | ||
| 34 | 500: ErrorResponse, | ||
| 35 | 502: ErrorResponse, | ||
| 36 | }, | ||
| 37 | }) | ||
| 38 | |||
| 39 | app.openapi(route, async (c) => { | ||
| 40 | const { bundleId } = c.req.valid('param') | ||
| 41 | const { country = 'us' } = c.req.valid('query') | ||
| 42 | const id = normalize(bundleId) | ||
| 43 | const idParam = /^\d+$/.test(id) ? `id=${id}` : `bundleId=${encodeURIComponent(id)}` | ||
| 44 | const upstream = `https://itunes.apple.com/lookup?${idParam}&country=${country}` | ||
| 45 | const data = await c.var.storage.fetch( | ||
| 46 | `ios:${country}:${id}`, | ||
| 47 | SUCCESS_TTL, | ||
| 48 | NEGATIVE_TTL, | ||
| 49 | async () => { | ||
| 50 | const result = await fetchJson<ItunesResult>(upstream) | ||
| 51 | const first = result.results?.[0] | ||
| 52 | if (!result.resultCount || !first) { | ||
| 53 | throw new ApiError('NOT_FOUND', `No app found for '${id}'`, 404) | ||
| 54 | } | ||
| 55 | return first | ||
| 56 | }, | ||
| 57 | ) | ||
| 58 | return c.json(data, 200) | ||
| 59 | }) | ||
| 60 | |||
| 61 | export default app | ||
api/src/routes/private/privacy.ts added +39
| @@ -0,0 +1,39 @@ | |||
| 1 | // ToS;DR v3 lookup by service id, cached weekly | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { newApp } from '@/lib/openapi' | ||
| 5 | import { ErrorResponse, Ok, TosdrServiceSchema } from '@/schemas' | ||
| 6 | |||
| 7 | const app = newApp() | ||
| 8 | |||
| 9 | const SUCCESS_TTL = 7 * 24 * 60 * 60 | ||
| 10 | const NEGATIVE_TTL = 60 * 60 | ||
| 11 | |||
| 12 | const route = createRoute({ | ||
| 13 | method: 'get', | ||
| 14 | path: '/enrich/privacy/{tosdrId}', | ||
| 15 | tags: ['Enrichment'], | ||
| 16 | summary: 'Privacy policy info', | ||
| 17 | request: { params: z.object({ tosdrId: z.string() }) }, | ||
| 18 | responses: { | ||
| 19 | 200: Ok(TosdrServiceSchema), | ||
| 20 | 401: ErrorResponse, | ||
| 21 | 500: ErrorResponse, | ||
| 22 | 502: ErrorResponse, | ||
| 23 | }, | ||
| 24 | }) | ||
| 25 | |||
| 26 | // Pass through the ToS;DR v3 service shape, cached for a week | ||
| 27 | app.openapi(route, async (c) => { | ||
| 28 | const { tosdrId } = c.req.valid('param') | ||
| 29 | const upstream = `https://api.tosdr.org/service/v3?id=${encodeURIComponent(tosdrId)}` | ||
| 30 | const data = await c.var.storage.fetch( | ||
| 31 | `tosdr:${tosdrId}`, | ||
| 32 | SUCCESS_TTL, | ||
| 33 | NEGATIVE_TTL, | ||
| 34 | () => fetchJson(upstream, { timeoutMs: 8000 }), | ||
| 35 | ) | ||
| 36 | return c.json(data as Record<string, unknown>, 200) | ||
| 37 | }) | ||
| 38 | |||
| 39 | export default app | ||
api/src/routes/private/reddit.ts added +109
| @@ -0,0 +1,109 @@ | |||
| 1 | // Subreddit info and top monthly posts | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { newApp } from '@/lib/openapi' | ||
| 5 | import { ErrorResponse, Ok, SubredditSchema } from '@/schemas' | ||
| 6 | |||
| 7 | const app = newApp() | ||
| 8 | |||
| 9 | const SUCCESS_TTL = 24 * 60 * 60 | ||
| 10 | const NEGATIVE_TTL = 60 * 60 | ||
| 11 | |||
| 12 | interface AboutData { | ||
| 13 | data?: { | ||
| 14 | display_name_prefixed?: string | ||
| 15 | title?: string | ||
| 16 | public_description?: string | ||
| 17 | description?: string | ||
| 18 | community_icon?: string | ||
| 19 | banner_background_image?: string | ||
| 20 | primary_color?: string | ||
| 21 | subscribers?: number | ||
| 22 | accounts_active?: number | ||
| 23 | created?: number | ||
| 24 | description_html?: string | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | interface RedditPost { | ||
| 29 | data: { | ||
| 30 | title: string | ||
| 31 | selftext: string | ||
| 32 | ups: number | ||
| 33 | downs: number | ||
| 34 | created: number | ||
| 35 | url: string | ||
| 36 | } | ||
| 37 | } | ||
| 38 | |||
| 39 | interface PostListing { | ||
| 40 | data?: { children?: RedditPost[] } | ||
| 41 | } | ||
| 42 | |||
| 43 | // Reddit blocks generic UAs, it wants a descriptive one with a contact handle | ||
| 44 | const headers = { 'User-Agent': 'awesome-privacy-api/1.0 by /u/Lissy93' } | ||
| 45 | |||
| 46 | const stripQuery = (raw?: string) => raw?.split('?')[0] ?? null | ||
| 47 | |||
| 48 | const mapInfo = (about: AboutData) => { | ||
| 49 | const d = about.data ?? {} | ||
| 50 | return { | ||
| 51 | name: d.display_name_prefixed ?? null, | ||
| 52 | title: d.title ?? null, | ||
| 53 | description: d.public_description ?? null, | ||
| 54 | longDescription: d.description ?? null, | ||
| 55 | icon: stripQuery(d.community_icon), | ||
| 56 | banner: stripQuery(d.banner_background_image), | ||
| 57 | color: d.primary_color ?? null, | ||
| 58 | subscribers: d.subscribers ?? null, | ||
| 59 | activeSubscribers: d.accounts_active ?? null, | ||
| 60 | dateCreated: d.created ?? null, | ||
| 61 | descriptionHtml: d.description_html ?? null, | ||
| 62 | } | ||
| 63 | } | ||
| 64 | |||
| 65 | const mapPosts = (top: PostListing) => | ||
| 66 | (top.data?.children ?? []).map(({ data }) => ({ | ||
| 67 | title: data.title, | ||
| 68 | body: data.selftext, | ||
| 69 | upVotes: data.ups, | ||
| 70 | downVotes: data.downs, | ||
| 71 | date: data.created, | ||
| 72 | url: data.url, | ||
| 73 | })) | ||
| 74 | |||
| 75 | const route = createRoute({ | ||
| 76 | method: 'get', | ||
| 77 | path: '/enrich/reddit/{sub}', | ||
| 78 | tags: ['Enrichment'], | ||
| 79 | summary: 'Subreddit info', | ||
| 80 | request: { params: z.object({ sub: z.string() }) }, | ||
| 81 | responses: { | ||
| 82 | 200: Ok(SubredditSchema), | ||
| 83 | 401: ErrorResponse, | ||
| 84 | 500: ErrorResponse, | ||
| 85 | 502: ErrorResponse, | ||
| 86 | }, | ||
| 87 | }) | ||
| 88 | |||
| 89 | // Two Reddit reads in parallel, cached as one object | ||
| 90 | app.openapi(route, async (c) => { | ||
| 91 | const { sub } = c.req.valid('param') | ||
| 92 | const aboutUrl = `https://www.reddit.com/r/${sub}/about.json` | ||
| 93 | const topUrl = `https://www.reddit.com/r/${sub}/top.json?t=month&limit=10` | ||
| 94 | const data = await c.var.storage.fetch( | ||
| 95 | `reddit:${sub}`, | ||
| 96 | SUCCESS_TTL, | ||
| 97 | NEGATIVE_TTL, | ||
| 98 | async () => { | ||
| 99 | const [about, top] = await Promise.all([ | ||
| 100 | fetchJson<AboutData>(aboutUrl, { headers }), | ||
| 101 | fetchJson<PostListing>(topUrl, { headers }), | ||
| 102 | ]) | ||
| 103 | return { info: mapInfo(about), posts: mapPosts(top) } | ||
| 104 | }, | ||
| 105 | ) | ||
| 106 | return c.json(data, 200) | ||
| 107 | }) | ||
| 108 | |||
| 109 | export default app | ||
api/src/routes/private/website.ts added +56
| @@ -0,0 +1,56 @@ | |||
| 1 | // APIVoid website report passthrough | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { fetchJson } from '@/lib/fetch' | ||
| 4 | import { ApiError } from '@/lib/errors' | ||
| 5 | import { newApp } from '@/lib/openapi' | ||
| 6 | import { ErrorResponse, Ok, WebsiteReportSchema } from '@/schemas' | ||
| 7 | |||
| 8 | const app = newApp() | ||
| 9 | |||
| 10 | const SUCCESS_TTL = 30 * 24 * 60 * 60 | ||
| 11 | const NEGATIVE_TTL = 60 * 60 | ||
| 12 | |||
| 13 | interface ApiVoidResp { | ||
| 14 | data?: { report?: unknown } | ||
| 15 | } | ||
| 16 | |||
| 17 | const route = createRoute({ | ||
| 18 | method: 'get', | ||
| 19 | path: '/enrich/website', | ||
| 20 | tags: ['Enrichment'], | ||
| 21 | summary: 'Website info', | ||
| 22 | request: { query: z.object({ url: z.string().url() }) }, | ||
| 23 | responses: { | ||
| 24 | 200: Ok(WebsiteReportSchema), | ||
| 25 | 400: ErrorResponse, | ||
| 26 | 401: ErrorResponse, | ||
| 27 | 500: ErrorResponse, | ||
| 28 | 502: ErrorResponse, | ||
| 29 | }, | ||
| 30 | }) | ||
| 31 | |||
| 32 | // Cache key is the host so different paths on the same domain share results | ||
| 33 | app.openapi(route, async (c) => { | ||
| 34 | const { url: target } = c.req.valid('query') | ||
| 35 | const host = new URL(target).hostname | ||
| 36 | const key = c.env.APIVOID_API_KEY | ||
| 37 | if (!key) throw new ApiError('INTERNAL', 'APIVOID_API_KEY not configured', 500) | ||
| 38 | const upstream = | ||
| 39 | 'https://endpoint.apivoid.com/urlrep/v1/pay-as-you-go/' + | ||
| 40 | `?key=${key}&url=${encodeURIComponent(target)}` | ||
| 41 | const data = await c.var.storage.fetch( | ||
| 42 | `website:${host}`, | ||
| 43 | SUCCESS_TTL, | ||
| 44 | NEGATIVE_TTL, | ||
| 45 | async () => { | ||
| 46 | const result = await fetchJson<ApiVoidResp>(upstream, { timeoutMs: 15000 }) | ||
| 47 | if (!result?.data?.report) { | ||
| 48 | throw new ApiError('UPSTREAM_ERROR', 'APIVoid did not return a report', 502) | ||
| 49 | } | ||
| 50 | return result.data.report as Record<string, unknown> | ||
| 51 | }, | ||
| 52 | ) | ||
| 53 | return c.json(data as Record<string, unknown>, 200) | ||
| 54 | }) | ||
| 55 | |||
| 56 | export default app | ||
api/src/routes/public/categories.ts added +108
| @@ -0,0 +1,108 @@ | |||
| 1 | // Category and section lookup routes | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { categories, findCategory, findSection, slugify } from '@/lib/data' | ||
| 4 | import { ApiError } from '@/lib/errors' | ||
| 5 | import { newApp } from '@/lib/openapi' | ||
| 6 | import { | ||
| 7 | CategorySchema, | ||
| 8 | Envelope, | ||
| 9 | ErrorResponse, | ||
| 10 | ListEnvelope, | ||
| 11 | Ok, | ||
| 12 | SectionSchema, | ||
| 13 | } from '@/schemas' | ||
| 14 | import type { Category } from '@/types' | ||
| 15 | |||
| 16 | const app = newApp() | ||
| 17 | |||
| 18 | const sectionSummary = (category: Category) => | ||
| 19 | (category.sections ?? []).map((section) => ({ | ||
| 20 | name: section.name, | ||
| 21 | slug: slugify(section.name), | ||
| 22 | })) | ||
| 23 | |||
| 24 | const listCategories = createRoute({ | ||
| 25 | method: 'get', | ||
| 26 | path: '/categories', | ||
| 27 | tags: ['Public'], | ||
| 28 | summary: 'List all categories with section summaries', | ||
| 29 | responses: { | ||
| 30 | 200: Ok(ListEnvelope(CategorySchema)), | ||
| 31 | }, | ||
| 32 | }) | ||
| 33 | |||
| 34 | // Categories with their section names plus slugs, no service payload | ||
| 35 | app.openapi(listCategories, (c) => { | ||
| 36 | const data = categories().map((category) => ({ | ||
| 37 | name: category.name, | ||
| 38 | slug: slugify(category.name), | ||
| 39 | sections: sectionSummary(category), | ||
| 40 | })) | ||
| 41 | return c.json({ | ||
| 42 | data, | ||
| 43 | pagination: { page: 1, limit: data.length, total: data.length, hasMore: false }, | ||
| 44 | }) | ||
| 45 | }) | ||
| 46 | |||
| 47 | const oneCategory = createRoute({ | ||
| 48 | method: 'get', | ||
| 49 | path: '/categories/{slug}', | ||
| 50 | tags: ['Public'], | ||
| 51 | summary: 'One category by slug', | ||
| 52 | request: { params: z.object({ slug: z.string() }) }, | ||
| 53 | responses: { | ||
| 54 | 200: Ok(Envelope(CategorySchema)), | ||
| 55 | 404: ErrorResponse, | ||
| 56 | }, | ||
| 57 | }) | ||
| 58 | |||
| 59 | app.openapi(oneCategory, (c) => { | ||
| 60 | const { slug } = c.req.valid('param') | ||
| 61 | const category = findCategory(slug) | ||
| 62 | if (!category) throw new ApiError('NOT_FOUND', `Category '${slug}' not found`, 404) | ||
| 63 | return c.json( | ||
| 64 | { | ||
| 65 | data: { | ||
| 66 | name: category.name, | ||
| 67 | slug: slugify(category.name), | ||
| 68 | sections: sectionSummary(category), | ||
| 69 | }, | ||
| 70 | }, | ||
| 71 | 200, | ||
| 72 | ) | ||
| 73 | }) | ||
| 74 | |||
| 75 | const oneSection = createRoute({ | ||
| 76 | method: 'get', | ||
| 77 | path: '/sections/{slug}', | ||
| 78 | tags: ['Public'], | ||
| 79 | summary: 'One section by slug, with services', | ||
| 80 | request: { params: z.object({ slug: z.string() }) }, | ||
| 81 | responses: { | ||
| 82 | 200: Ok(Envelope(SectionSchema)), | ||
| 83 | 404: ErrorResponse, | ||
| 84 | }, | ||
| 85 | }) | ||
| 86 | |||
| 87 | app.openapi(oneSection, (c) => { | ||
| 88 | const { slug } = c.req.valid('param') | ||
| 89 | const hit = findSection(slug) | ||
| 90 | if (!hit) throw new ApiError('NOT_FOUND', `Section '${slug}' not found`, 404) | ||
| 91 | const { section } = hit | ||
| 92 | return c.json( | ||
| 93 | { | ||
| 94 | data: { | ||
| 95 | name: section.name, | ||
| 96 | slug: slugify(section.name), | ||
| 97 | intro: section.intro, | ||
| 98 | furtherInfo: section.furtherInfo, | ||
| 99 | wordOfWarning: section.wordOfWarning, | ||
| 100 | alternativeTo: section.alternativeTo, | ||
| 101 | services: section.services ?? [], | ||
| 102 | }, | ||
| 103 | }, | ||
| 104 | 200, | ||
| 105 | ) | ||
| 106 | }) | ||
| 107 | |||
| 108 | export default app | ||
api/src/routes/public/search.ts added +48
| @@ -0,0 +1,48 @@ | |||
| 1 | // Full-text search via MiniSearch | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { search } from '@/lib/search' | ||
| 4 | import { newApp } from '@/lib/openapi' | ||
| 5 | import { ErrorResponse, ListEnvelope, Ok, SearchHitSchema } from '@/schemas' | ||
| 6 | |||
| 7 | const app = newApp() | ||
| 8 | |||
| 9 | const querySchema = z.object({ | ||
| 10 | q: z.string().min(1), | ||
| 11 | limit: z.coerce.number().int().min(1).max(100).default(20), | ||
| 12 | }) | ||
| 13 | |||
| 14 | const route = createRoute({ | ||
| 15 | method: 'get', | ||
| 16 | path: '/search', | ||
| 17 | tags: ['Public'], | ||
| 18 | summary: 'Full-text search across services', | ||
| 19 | request: { query: querySchema }, | ||
| 20 | responses: { | ||
| 21 | 200: Ok(ListEnvelope(SearchHitSchema)), | ||
| 22 | 400: ErrorResponse, | ||
| 23 | }, | ||
| 24 | }) | ||
| 25 | |||
| 26 | app.openapi(route, (c) => { | ||
| 27 | const { q, limit } = c.req.valid('query') | ||
| 28 | const hits = search(q, limit).map((hit) => ({ | ||
| 29 | slug: hit.slug, | ||
| 30 | name: hit.name, | ||
| 31 | url: hit.url, | ||
| 32 | description: hit.description, | ||
| 33 | category: hit.category, | ||
| 34 | categorySlug: hit.categorySlug, | ||
| 35 | section: hit.section, | ||
| 36 | sectionSlug: hit.sectionSlug, | ||
| 37 | score: hit.score, | ||
| 38 | })) | ||
| 39 | return c.json( | ||
| 40 | { | ||
| 41 | data: hits, | ||
| 42 | pagination: { page: 1, limit, total: hits.length, hasMore: false }, | ||
| 43 | }, | ||
| 44 | 200, | ||
| 45 | ) | ||
| 46 | }) | ||
| 47 | |||
| 48 | export default app | ||
api/src/routes/public/services.ts added +66
| @@ -0,0 +1,66 @@ | |||
| 1 | // Service listings + single service lookup | ||
| 2 | import { createRoute, z } from '@hono/zod-openapi' | ||
| 3 | import { allServices, findService } from '@/lib/data' | ||
| 4 | import { ApiError } from '@/lib/errors' | ||
| 5 | import { newApp } from '@/lib/openapi' | ||
| 6 | import { Envelope, ErrorResponse, FlatServiceSchema, ListEnvelope, Ok } from '@/schemas' | ||
| 7 | |||
| 8 | const app = newApp() | ||
| 9 | |||
| 10 | const listRoute = createRoute({ | ||
| 11 | method: 'get', | ||
| 12 | path: '/services', | ||
| 13 | tags: ['Public'], | ||
| 14 | summary: 'List services with filters and pagination', | ||
| 15 | request: { | ||
| 16 | query: z.object({ | ||
| 17 | category: z.string().optional(), | ||
| 18 | section: z.string().optional(), | ||
| 19 | page: z.coerce.number().int().positive().default(1), | ||
| 20 | limit: z.coerce.number().int().min(1).max(100).default(20), | ||
| 21 | }), | ||
| 22 | }, | ||
| 23 | responses: { | ||
| 24 | 200: Ok(ListEnvelope(FlatServiceSchema)), | ||
| 25 | 400: ErrorResponse, | ||
| 26 | }, | ||
| 27 | }) | ||
| 28 | |||
| 29 | // Filter then paginate the flat service list | ||
| 30 | app.openapi(listRoute, (c) => { | ||
| 31 | const { category, section, page, limit } = c.req.valid('query') | ||
| 32 | let items = allServices() | ||
| 33 | if (category) items = items.filter((service) => service.categorySlug === category) | ||
| 34 | if (section) items = items.filter((service) => service.sectionSlug === section) | ||
| 35 | const total = items.length | ||
| 36 | const start = (page - 1) * limit | ||
| 37 | const slice = items.slice(start, start + limit) | ||
| 38 | return c.json( | ||
| 39 | { | ||
| 40 | data: slice, | ||
| 41 | pagination: { page, limit, total, hasMore: start + slice.length < total }, | ||
| 42 | }, | ||
| 43 | 200, | ||
| 44 | ) | ||
| 45 | }) | ||
| 46 | |||
| 47 | const oneRoute = createRoute({ | ||
| 48 | method: 'get', | ||
| 49 | path: '/services/{slug}', | ||
| 50 | tags: ['Public'], | ||
| 51 | summary: 'One service by slug', | ||
| 52 | request: { params: z.object({ slug: z.string() }) }, | ||
| 53 | responses: { | ||
| 54 | 200: Ok(Envelope(FlatServiceSchema)), | ||
| 55 | 404: ErrorResponse, | ||
| 56 | }, | ||
| 57 | }) | ||
| 58 | |||
| 59 | app.openapi(oneRoute, (c) => { | ||
| 60 | const { slug } = c.req.valid('param') | ||
| 61 | const service = findService(slug) | ||
| 62 | if (!service) throw new ApiError('NOT_FOUND', `Service '${slug}' not found`, 404) | ||
| 63 | return c.json({ data: service }, 200) | ||
| 64 | }) | ||
| 65 | |||
| 66 | export default app | ||
api/src/routes/public/stats.ts added +36
| @@ -0,0 +1,36 @@ | |||
| 1 | // Aggregate counts plus health route | ||
| 2 | import { createRoute } from '@hono/zod-openapi' | ||
| 3 | import { stats } from '@/lib/data' | ||
| 4 | import { newApp } from '@/lib/openapi' | ||
| 5 | import { Envelope, HealthSchema, Ok, StatsSchema } from '@/schemas' | ||
| 6 | |||
| 7 | const app = newApp() | ||
| 8 | |||
| 9 | const statsRoute = createRoute({ | ||
| 10 | method: 'get', | ||
| 11 | path: '/stats', | ||
| 12 | tags: ['Public'], | ||
| 13 | summary: 'Dataset-wide counts', | ||
| 14 | responses: { 200: Ok(Envelope(StatsSchema)) }, | ||
| 15 | }) | ||
| 16 | |||
| 17 | app.openapi(statsRoute, (c) => c.json({ data: stats() })) | ||
| 18 | |||
| 19 | const healthRoute = createRoute({ | ||
| 20 | method: 'get', | ||
| 21 | path: '/health', | ||
| 22 | tags: ['Public'], | ||
| 23 | summary: 'Liveness check', | ||
| 24 | responses: { 200: Ok(Envelope(HealthSchema)) }, | ||
| 25 | }) | ||
| 26 | |||
| 27 | app.openapi(healthRoute, (c) => | ||
| 28 | c.json({ | ||
| 29 | data: { | ||
| 30 | status: 'ok' as const, | ||
| 31 | uptime: typeof process !== 'undefined' ? process.uptime() : 0, | ||
| 32 | }, | ||
| 33 | }), | ||
| 34 | ) | ||
| 35 | |||
| 36 | export default app | ||
api/src/schemas/index.ts added +235
| @@ -0,0 +1,235 @@ | |||
| 1 | // Zod schemas plus inferred types, single source of truth | ||
| 2 | import { z } from '@hono/zod-openapi' | ||
| 3 | |||
| 4 | export const ServiceSchema = z | ||
| 5 | .object({ | ||
| 6 | name: z.string(), | ||
| 7 | url: z.string(), | ||
| 8 | description: z.string().optional(), | ||
| 9 | icon: z.string().optional(), | ||
| 10 | github: z.string().optional(), | ||
| 11 | followWith: z.string().optional(), | ||
| 12 | securityAudited: z.boolean().optional(), | ||
| 13 | openSource: z.boolean().optional(), | ||
| 14 | acceptsCrypto: z.boolean().optional(), | ||
| 15 | tosdrId: z.union([z.number(), z.string()]).optional(), | ||
| 16 | androidApp: z.string().optional(), | ||
| 17 | iosApp: z.string().optional(), | ||
| 18 | subreddit: z.string().optional(), | ||
| 19 | discordInvite: z.string().optional(), | ||
| 20 | }) | ||
| 21 | .openapi('Service') | ||
| 22 | |||
| 23 | export const FlatServiceSchema = ServiceSchema.extend({ | ||
| 24 | slug: z.string(), | ||
| 25 | category: z.string(), | ||
| 26 | categorySlug: z.string(), | ||
| 27 | section: z.string(), | ||
| 28 | sectionSlug: z.string(), | ||
| 29 | }).openapi('FlatService') | ||
| 30 | |||
| 31 | export const SectionSchema = z | ||
| 32 | .object({ | ||
| 33 | name: z.string(), | ||
| 34 | slug: z.string(), | ||
| 35 | intro: z.string().optional(), | ||
| 36 | furtherInfo: z.string().optional(), | ||
| 37 | wordOfWarning: z.string().optional(), | ||
| 38 | alternativeTo: z.array(z.string()).optional(), | ||
| 39 | services: z.array(ServiceSchema), | ||
| 40 | }) | ||
| 41 | .openapi('Section') | ||
| 42 | |||
| 43 | export const CategorySchema = z | ||
| 44 | .object({ | ||
| 45 | name: z.string(), | ||
| 46 | slug: z.string(), | ||
| 47 | sections: z.array(z.object({ name: z.string(), slug: z.string() })), | ||
| 48 | }) | ||
| 49 | .openapi('Category') | ||
| 50 | |||
| 51 | export const PaginationSchema = z | ||
| 52 | .object({ | ||
| 53 | page: z.number(), | ||
| 54 | limit: z.number(), | ||
| 55 | total: z.number(), | ||
| 56 | hasMore: z.boolean(), | ||
| 57 | }) | ||
| 58 | .openapi('Pagination') | ||
| 59 | |||
| 60 | export const ErrorSchema = z | ||
| 61 | .object({ | ||
| 62 | error: z.object({ | ||
| 63 | code: z.enum([ | ||
| 64 | 'NOT_FOUND', | ||
| 65 | 'BAD_REQUEST', | ||
| 66 | 'UNAUTHORIZED', | ||
| 67 | 'RATE_LIMITED', | ||
| 68 | 'UPSTREAM_ERROR', | ||
| 69 | 'INTERNAL', | ||
| 70 | ]), | ||
| 71 | message: z.string(), | ||
| 72 | status: z.number(), | ||
| 73 | }), | ||
| 74 | }) | ||
| 75 | .openapi('Error') | ||
| 76 | |||
| 77 | export const Envelope = <T extends z.ZodTypeAny>(data: T) => z.object({ data }) | ||
| 78 | |||
| 79 | export const ListEnvelope = <T extends z.ZodTypeAny>(item: T) => | ||
| 80 | z.object({ | ||
| 81 | data: z.array(item), | ||
| 82 | pagination: PaginationSchema, | ||
| 83 | }) | ||
| 84 | |||
| 85 | export const StatsSchema = z | ||
| 86 | .object({ | ||
| 87 | categories: z.number(), | ||
| 88 | sections: z.number(), | ||
| 89 | services: z.number(), | ||
| 90 | openSource: z.number(), | ||
| 91 | securityAudited: z.number(), | ||
| 92 | acceptsCrypto: z.number(), | ||
| 93 | }) | ||
| 94 | .openapi('Stats') | ||
| 95 | |||
| 96 | export const HealthSchema = z | ||
| 97 | .object({ | ||
| 98 | status: z.literal('ok'), | ||
| 99 | uptime: z.number(), | ||
| 100 | }) | ||
| 101 | .openapi('Health') | ||
| 102 | |||
| 103 | export const SearchHitSchema = z | ||
| 104 | .object({ | ||
| 105 | slug: z.string(), | ||
| 106 | name: z.string(), | ||
| 107 | url: z.string(), | ||
| 108 | description: z.string().optional(), | ||
| 109 | category: z.string(), | ||
| 110 | categorySlug: z.string(), | ||
| 111 | section: z.string(), | ||
| 112 | sectionSlug: z.string(), | ||
| 113 | score: z.number(), | ||
| 114 | }) | ||
| 115 | .openapi('SearchHit') | ||
| 116 | |||
| 117 | // 200 response cell builder, keeps routes free of repetitive content wiring | ||
| 118 | export const Ok = (schema: z.ZodTypeAny) => ({ | ||
| 119 | description: 'OK', | ||
| 120 | content: { 'application/json': { schema } }, | ||
| 121 | }) | ||
| 122 | |||
| 123 | // Shared error response, reused across every route that declares errors | ||
| 124 | export const ErrorResponse = { | ||
| 125 | description: 'Error', | ||
| 126 | content: { 'application/json': { schema: ErrorSchema } }, | ||
| 127 | } | ||
| 128 | |||
| 129 | // Enrichment passthroughs, upstream shapes are wide so we don't enumerate every field | ||
| 130 | export const TosdrServiceSchema = z | ||
| 131 | .object({}) | ||
| 132 | .openapi('TosdrService', { description: 'ToS;DR v3 service record, passthrough' }) | ||
| 133 | |||
| 134 | export const ItunesAppSchema = z | ||
| 135 | .object({}) | ||
| 136 | .openapi('ItunesApp', { description: 'iTunes lookup result, passthrough' }) | ||
| 137 | |||
| 138 | export const AndroidReportSchema = z.object({}).openapi('AndroidReport', { | ||
| 139 | description: 'Exodus Privacy report with resolved trackers', | ||
| 140 | }) | ||
| 141 | |||
| 142 | export const WebsiteReportSchema = z | ||
| 143 | .object({}) | ||
| 144 | .openapi('WebsiteReport', { description: 'APIVoid url reputation report, passthrough' }) | ||
| 145 | |||
| 146 | // GitHub repo summary, shape is fixed by the mapper functions | ||
| 147 | export const GithubRepoSchema = z | ||
| 148 | .object({ | ||
| 149 | info: z.object({ | ||
| 150 | ownerUsername: z.string(), | ||
| 151 | ownerAvatar: z.string(), | ||
| 152 | description: z.string(), | ||
| 153 | url: z.string(), | ||
| 154 | homepage: z.string(), | ||
| 155 | language: z.string(), | ||
| 156 | topics: z.array(z.string()), | ||
| 157 | license: z.string(), | ||
| 158 | isFork: z.boolean(), | ||
| 159 | isArchived: z.boolean(), | ||
| 160 | createdAt: z.string(), | ||
| 161 | updatedAt: z.string(), | ||
| 162 | size: z.number(), | ||
| 163 | starCount: z.number(), | ||
| 164 | forksCount: z.number(), | ||
| 165 | watchersCount: z.number(), | ||
| 166 | }), | ||
| 167 | languages: z.record(z.number()), | ||
| 168 | versions: z.array( | ||
| 169 | z.object({ | ||
| 170 | name: z.string(), | ||
| 171 | commit: z.string(), | ||
| 172 | zipball: z.string(), | ||
| 173 | tarball: z.string(), | ||
| 174 | }), | ||
| 175 | ), | ||
| 176 | contributors: z.array( | ||
| 177 | z.object({ | ||
| 178 | username: z.string(), | ||
| 179 | avatar: z.string(), | ||
| 180 | contributions: z.number(), | ||
| 181 | }), | ||
| 182 | ), | ||
| 183 | commits: z.array( | ||
| 184 | z.object({ | ||
| 185 | sha: z.string(), | ||
| 186 | authorName: z.string(), | ||
| 187 | authorDate: z.string(), | ||
| 188 | message: z.string(), | ||
| 189 | authorUsername: z.string(), | ||
| 190 | authorAvatar: z.string(), | ||
| 191 | }), | ||
| 192 | ), | ||
| 193 | }) | ||
| 194 | .openapi('GithubRepo') | ||
| 195 | |||
| 196 | export const DiscordInviteSchema = z | ||
| 197 | .object({ | ||
| 198 | inviteCode: z.string().nullable(), | ||
| 199 | name: z.string().nullable(), | ||
| 200 | memberCount: z.number().nullable(), | ||
| 201 | memberOnlineCount: z.number().nullable(), | ||
| 202 | channel: z.string().nullable(), | ||
| 203 | icon: z.string().nullable(), | ||
| 204 | banner: z.string().nullable(), | ||
| 205 | inviter: z.string().nullable(), | ||
| 206 | }) | ||
| 207 | .openapi('DiscordInvite') | ||
| 208 | |||
| 209 | export const SubredditSchema = z | ||
| 210 | .object({ | ||
| 211 | info: z.object({ | ||
| 212 | name: z.string().nullable(), | ||
| 213 | title: z.string().nullable(), | ||
| 214 | description: z.string().nullable(), | ||
| 215 | longDescription: z.string().nullable(), | ||
| 216 | icon: z.string().nullable(), | ||
| 217 | banner: z.string().nullable(), | ||
| 218 | color: z.string().nullable(), | ||
| 219 | subscribers: z.number().nullable(), | ||
| 220 | activeSubscribers: z.number().nullable(), | ||
| 221 | dateCreated: z.number().nullable(), | ||
| 222 | descriptionHtml: z.string().nullable(), | ||
| 223 | }), | ||
| 224 | posts: z.array( | ||
| 225 | z.object({ | ||
| 226 | title: z.string(), | ||
| 227 | body: z.string(), | ||
| 228 | upVotes: z.number(), | ||
| 229 | downVotes: z.number(), | ||
| 230 | date: z.number(), | ||
| 231 | url: z.string(), | ||
| 232 | }), | ||
| 233 | ), | ||
| 234 | }) | ||
| 235 | .openapi('Subreddit') | ||
api/src/types.ts +56 −20
| @@ -1,35 +1,71 @@ | |||
| 1 | // Core runtime types shared across the app | ||
| 2 | import type { Storage } from '@/lib/cache' | ||
| 1 | 3 | ||
| 2 | export interface ShortService { | 4 | export interface ShortService { |
| 3 | name: string; | 5 | name: string |
| 4 | description: string; | 6 | url: string |
| 5 | url: string; | 7 | description?: string |
| 8 | icon?: string | ||
| 6 | } | 9 | } |
| 7 | 10 | ||
| 8 | export interface Service extends ShortService { | 11 | export interface Service extends ShortService { |
| 9 | github?: string; | 12 | github?: string |
| 10 | icon?: string; | 13 | followWith?: string |
| 11 | followWith?: string; | 14 | securityAudited?: boolean |
| 12 | securityAudited?: boolean; | 15 | openSource?: boolean |
| 13 | openSource?: boolean; | 16 | acceptsCrypto?: boolean |
| 14 | acceptsCrypto?: boolean; | 17 | tosdrId?: number | string |
| 15 | tosdrId?: number; | 18 | androidApp?: string |
| 19 | iosApp?: string | ||
| 20 | subreddit?: string | ||
| 21 | discordInvite?: string | ||
| 16 | } | 22 | } |
| 17 | 23 | ||
| 18 | export interface Section { | 24 | export interface Section { |
| 19 | name: string; | 25 | name: string |
| 20 | services: Service[]; | 26 | services: Service[] |
| 21 | intro?: string; | 27 | intro?: string |
| 22 | notableMentions?: ShortService[] | string; | 28 | notableMentions?: ShortService[] | string |
| 23 | furtherInfo?: string; | 29 | furtherInfo?: string |
| 24 | wordOfWarning?: string; | 30 | wordOfWarning?: string |
| 25 | alternativeTo?: string[]; | 31 | alternativeTo?: string[] |
| 26 | } | 32 | } |
| 27 | 33 | ||
| 28 | export interface Category { | 34 | export interface Category { |
| 29 | name: string; | 35 | name: string |
| 30 | sections: Section[]; | 36 | sections: Section[] |
| 31 | } | 37 | } |
| 32 | 38 | ||
| 33 | export interface AwesomePrivacy { | 39 | export interface AwesomePrivacy { |
| 34 | categories: Category[]; | 40 | categories: Category[] |
| 41 | } | ||
| 42 | |||
| 43 | // Flattened service for listing and search, with slug context | ||
| 44 | export interface FlatService extends Service { | ||
| 45 | slug: string | ||
| 46 | category: string | ||
| 47 | categorySlug: string | ||
| 48 | section: string | ||
| 49 | sectionSlug: string | ||
| 50 | } | ||
| 51 | |||
| 52 | export interface RateLimiter { | ||
| 53 | limit(opts: { key: string }): Promise<{ success: boolean }> | ||
| 54 | } | ||
| 55 | |||
| 56 | // Unified environment seen by both Workers + Node | ||
| 57 | export interface AppEnv { | ||
| 58 | API_TOKEN?: string | ||
| 59 | DISCORD_BOT_TOKEN?: string | ||
| 60 | APIVOID_API_KEY?: string | ||
| 61 | EXODUS_TOKEN?: string | ||
| 62 | GITHUB_TOKEN?: string | ||
| 63 | CACHE?: KVNamespace | ||
| 64 | RATE_LIMIT?: RateLimiter | ||
| 65 | API_BASE?: string | ||
| 66 | } | ||
| 67 | |||
| 68 | export type HonoEnv = { | ||
| 69 | Bindings: AppEnv | ||
| 70 | Variables: { storage: Storage } | ||
| 35 | } | 71 | } |
api/src/utils.ts deleted −37
| @@ -1,37 +0,0 @@ | |||
| 1 | import * as yaml from 'js-yaml'; | ||
| 2 | |||
| 3 | import type { AwesomePrivacy, Service } from './types'; | ||
| 4 | |||
| 5 | /* Given a category/section/listing title, return it's slug/ID */ | ||
| 6 | export const slugify = (title: string): string => title.toLowerCase().replace(/\s+/g, '-'); | ||
| 7 | |||
| 8 | /* Base path, for fetching static files from GitHub CDN */ | ||
| 9 | const ghCdnRoot = 'https://raw.githubusercontent.com/Lissy93/awesome-privacy'; | ||
| 10 | |||
| 11 | /* Fetches and parses Awesome Privacy source data from GitHub CDN */ | ||
| 12 | export const fetchAwesomePrivacyData = async (): Promise<AwesomePrivacy> => { | ||
| 13 | const res = await fetch(`${ghCdnRoot}/main/awesome-privacy.yml`); | ||
| 14 | const text = await res.text(); | ||
| 15 | return yaml.load(text) as AwesomePrivacy; | ||
| 16 | }; | ||
| 17 | |||
| 18 | /* Returns all services as a flat array from Awesome Privacy */ | ||
| 19 | export const fetchAllServices = async (): Promise<Service[]> => { | ||
| 20 | const { categories } = await fetchAwesomePrivacyData(); | ||
| 21 | return categories.flatMap(category => category.sections.flatMap(section => section.services)); | ||
| 22 | }; | ||
| 23 | |||
| 24 | /* Find a given item by it's slug */ | ||
| 25 | export const findBySlug = <T extends { name: string }>(collection: T[], slug: string): T | undefined => | ||
| 26 | collection.find(item => slugify(item.name) === slug); | ||
| 27 | |||
| 28 | /* For the homepage root, fetch and render the Swagger docs */ | ||
| 29 | export const renderRemoteIndex = async (ctx) => { | ||
| 30 | const response = await fetch(`${ghCdnRoot}/main/api/public/index.html`); | ||
| 31 | if (response.ok) { | ||
| 32 | const htmlContent = await response.text(); | ||
| 33 | return ctx.html(htmlContent); | ||
| 34 | } else { | ||
| 35 | return ctx.text('Unable to fetch the page', 502); | ||
| 36 | } | ||
| 37 | }; | ||
api/tests/app.test.ts added +98
| @@ -0,0 +1,98 @@ | |||
| 1 | // Integration tests against the assembled app (no upstream calls) | ||
| 2 | import { describe, it, expect } from 'vitest' | ||
| 3 | import { buildApp } from '../src/app' | ||
| 4 | |||
| 5 | const app = buildApp() | ||
| 6 | const env = { API_TOKEN: 'test' } | ||
| 7 | |||
| 8 | const hit = (path: string, init?: RequestInit) => | ||
| 9 | app.fetch(new Request(`http://localhost${path}`, init), env) | ||
| 10 | |||
| 11 | describe('public routes', () => { | ||
| 12 | it('health returns ok envelope', async () => { | ||
| 13 | const res = await hit('/v1/health') | ||
| 14 | expect(res.status).toBe(200) | ||
| 15 | expect(await res.json()).toMatchObject({ data: { status: 'ok' } }) | ||
| 16 | }) | ||
| 17 | |||
| 18 | it('stats has positive counts', async () => { | ||
| 19 | const res = await hit('/v1/stats') | ||
| 20 | const { data } = (await res.json()) as any | ||
| 21 | expect(data.categories).toBeGreaterThan(0) | ||
| 22 | expect(data.services).toBeGreaterThan(0) | ||
| 23 | }) | ||
| 24 | |||
| 25 | it('categories returns wrapped list', async () => { | ||
| 26 | const res = await hit('/v1/categories') | ||
| 27 | const body = (await res.json()) as any | ||
| 28 | expect(Array.isArray(body.data)).toBe(true) | ||
| 29 | expect(body.data[0]).toHaveProperty('slug') | ||
| 30 | }) | ||
| 31 | |||
| 32 | it('unknown service returns NOT_FOUND envelope', async () => { | ||
| 33 | const res = await hit('/v1/services/nope-nope') | ||
| 34 | expect(res.status).toBe(404) | ||
| 35 | expect(await res.json()).toMatchObject({ error: { code: 'NOT_FOUND' } }) | ||
| 36 | }) | ||
| 37 | |||
| 38 | it('search without q returns BAD_REQUEST envelope', async () => { | ||
| 39 | const res = await hit('/v1/search') | ||
| 40 | expect(res.status).toBe(400) | ||
| 41 | expect(await res.json()).toMatchObject({ error: { code: 'BAD_REQUEST' } }) | ||
| 42 | }) | ||
| 43 | |||
| 44 | it('search returns results for known term', async () => { | ||
| 45 | const res = await hit('/v1/search?q=password&limit=3') | ||
| 46 | const body = (await res.json()) as any | ||
| 47 | expect(body.data.length).toBeGreaterThan(0) | ||
| 48 | }) | ||
| 49 | |||
| 50 | it('services paginates', async () => { | ||
| 51 | const res = await hit('/v1/services?limit=5') | ||
| 52 | const body = (await res.json()) as any | ||
| 53 | expect(body.data).toHaveLength(5) | ||
| 54 | expect(body.pagination).toMatchObject({ page: 1, limit: 5, hasMore: true }) | ||
| 55 | }) | ||
| 56 | }) | ||
| 57 | |||
| 58 | describe('auth', () => { | ||
| 59 | it('private route rejects missing token', async () => { | ||
| 60 | const res = await hit('/v1/enrich/privacy/1') | ||
| 61 | expect(res.status).toBe(401) | ||
| 62 | }) | ||
| 63 | |||
| 64 | it('private route rejects wrong token', async () => { | ||
| 65 | const res = await hit('/v1/enrich/privacy/1', { | ||
| 66 | headers: { authorization: 'Bearer wrong' }, | ||
| 67 | }) | ||
| 68 | expect(res.status).toBe(401) | ||
| 69 | }) | ||
| 70 | }) | ||
| 71 | |||
| 72 | describe('mcp', () => { | ||
| 73 | it('lists tools', async () => { | ||
| 74 | const res = await hit('/v1/mcp', { | ||
| 75 | method: 'POST', | ||
| 76 | headers: { 'content-type': 'application/json' }, | ||
| 77 | body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }), | ||
| 78 | }) | ||
| 79 | const body = (await res.json()) as any | ||
| 80 | expect(body.result.tools.length).toBeGreaterThan(0) | ||
| 81 | }) | ||
| 82 | |||
| 83 | it('runs get_service tool', async () => { | ||
| 84 | const res = await hit('/v1/mcp', { | ||
| 85 | method: 'POST', | ||
| 86 | headers: { 'content-type': 'application/json' }, | ||
| 87 | body: JSON.stringify({ | ||
| 88 | jsonrpc: '2.0', | ||
| 89 | id: 2, | ||
| 90 | method: 'tools/call', | ||
| 91 | params: { name: 'get_service', arguments: { slug: 'bitwarden' } }, | ||
| 92 | }), | ||
| 93 | }) | ||
| 94 | const body = (await res.json()) as any | ||
| 95 | const out = JSON.parse(body.result.content[0].text) | ||
| 96 | expect(out.name).toBe('Bitwarden') | ||
| 97 | }) | ||
| 98 | }) | ||
api/tests/docker-smoke.sh added +19
| @@ -0,0 +1,19 @@ | |||
| 1 | #!/usr/bin/env bash | ||
| 2 | # Builds the Docker image and checks the container serves the health route | ||
| 3 | set -euo pipefail | ||
| 4 | |||
| 5 | docker build -t awesome-privacy-api . | ||
| 6 | cid=$(docker run -d -p 8787:8787 awesome-privacy-api) | ||
| 7 | trap 'docker rm -f "${cid}" >/dev/null 2>&1 || true' EXIT | ||
| 8 | |||
| 9 | for _ in $(seq 1 30); do | ||
| 10 | curl -fsS http://localhost:8787/v1/health >/dev/null 2>&1 && break | ||
| 11 | sleep 2 | ||
| 12 | done | ||
| 13 | |||
| 14 | curl -fsS http://localhost:8787/v1/health | grep -q '"status":"ok"' || { | ||
| 15 | echo "❌ Docker health check failed" | ||
| 16 | docker logs "${cid}" | ||
| 17 | exit 1 | ||
| 18 | } | ||
| 19 | echo "✅ Docker smoke passed" | ||
api/tests/smoke.sh added +27
| @@ -0,0 +1,27 @@ | |||
| 1 | #!/usr/bin/env bash | ||
| 2 | # Boots the API and checks public routes respond, using only bundled data (no network) | ||
| 3 | set -euo pipefail | ||
| 4 | |||
| 5 | port="${PORT:-8787}" | ||
| 6 | base="http://localhost:${port}" | ||
| 7 | |||
| 8 | bun run build:data | ||
| 9 | |||
| 10 | bun run start & | ||
| 11 | server=$! | ||
| 12 | trap 'kill "${server}" 2>/dev/null || true' EXIT | ||
| 13 | |||
| 14 | # Wait for the server to accept connections | ||
| 15 | for _ in $(seq 1 30); do | ||
| 16 | curl -fsS "${base}/v1/health" >/dev/null 2>&1 && break | ||
| 17 | sleep 1 | ||
| 18 | done | ||
| 19 | |||
| 20 | health=$(curl -fsS "${base}/v1/health") | ||
| 21 | echo "${health}" | grep -q '"status":"ok"' || { echo "❌ health check failed"; exit 1; } | ||
| 22 | |||
| 23 | # Stats are derived from the bundled dataset, so this proves data loaded | ||
| 24 | stats=$(curl -fsS "${base}/v1/stats") | ||
| 25 | echo "${stats}" | grep -q '"categories"' || { echo "❌ stats check failed"; exit 1; } | ||
| 26 | |||
| 27 | echo "✅ Smoke test passed" | ||
api/tsconfig.json +18 −30
| @@ -1,32 +1,20 @@ | |||
| 1 | { | 1 | { |
| 2 | "compilerOptions": { | 2 | "compilerOptions": { |
| 3 | "allowJs": true, | 3 | "target": "esnext", |
| 4 | "allowSyntheticDefaultImports": true, | 4 | "module": "esnext", |
| 5 | "baseUrl": "src", | 5 | "moduleResolution": "bundler", |
| 6 | "declaration": true, | 6 | "lib": ["esnext"], |
| 7 | "sourceMap": true, | 7 | "types": ["@cloudflare/workers-types", "@types/bun"], |
| 8 | "esModuleInterop": true, | 8 | "strict": true, |
| 9 | "inlineSourceMap": false, | 9 | "noImplicitAny": true, |
| 10 | "lib": ["esnext"], | 10 | "esModuleInterop": true, |
| 11 | "listEmittedFiles": false, | 11 | "resolveJsonModule": true, |
| 12 | "listFiles": false, | 12 | "skipLibCheck": true, |
| 13 | "moduleResolution": "node", | 13 | "allowSyntheticDefaultImports": true, |
| 14 | "noFallthroughCasesInSwitch": true, | 14 | "isolatedModules": true, |
| 15 | "pretty": true, | 15 | "noEmit": true, |
| 16 | "resolveJsonModule": true, | 16 | "baseUrl": ".", |
| 17 | "rootDir": ".", | 17 | "paths": { "@/*": ["src/*"] } |
| 18 | "skipLibCheck": true, | 18 | }, |
| 19 | "strict": false, | 19 | "include": ["src", "scripts", "tests"] |
| 20 | "traceResolution": false, | ||
| 21 | "outDir": "", | ||
| 22 | "target": "esnext", | ||
| 23 | "module": "esnext", | ||
| 24 | "types": [ | ||
| 25 | "@types/node", | ||
| 26 | "@types/service-worker-mock", | ||
| 27 | "@cloudflare/workers-types/2023-07-01" | ||
| 28 | ] | ||
| 29 | }, | ||
| 30 | "exclude": ["node_modules", "dist", "tests"], | ||
| 31 | "include": ["src", "scripts"] | ||
| 32 | } | 20 | } |
api/vitest.config.ts added +6
| @@ -0,0 +1,6 @@ | |||
| 1 | import { defineConfig } from 'vitest/config' | ||
| 2 | import { resolve } from 'node:path' | ||
| 3 | |||
| 4 | export default defineConfig({ | ||
| 5 | resolve: { alias: { '@': resolve(__dirname, 'src') } }, | ||
| 6 | }) | ||
api/wrangler.toml +23 −8
| @@ -1,13 +1,28 @@ | |||
| 1 | |||
| 2 | name = "awesome-privacy-api" | 1 | name = "awesome-privacy-api" |
| 3 | compatibility_date = "2024-03-04" | 2 | main = "src/index.workers.ts" |
| 4 | main = "src/index.ts" | 3 | compatibility_date = "2025-01-01" |
| 4 | compatibility_flags = ["nodejs_compat"] | ||
| 5 | |||
| 6 | # Custom domain, auto-creates the DNS record on deploy | ||
| 7 | [[routes]] | ||
| 8 | pattern = "api.awesome-privacy.xyz" | ||
| 9 | custom_domain = true | ||
| 5 | 10 | ||
| 6 | rules = [ | 11 | # KV namespaces (populate via `wrangler kv namespace create ...` and paste IDs) |
| 7 | { type = "Text", globs = ["public/*.html"], fallthrough = true } | 12 | [[kv_namespaces]] |
| 8 | ] | 13 | binding = "CACHE" |
| 14 | id = "e0db6722ef6a42f6bb5f609e3ff88f20" | ||
| 9 | 15 | ||
| 16 | # Rate limit binding (CF Rate Limit API) | ||
| 17 | [[unsafe.bindings]] | ||
| 18 | name = "RATE_LIMIT" | ||
| 19 | type = "ratelimit" | ||
| 20 | namespace_id = "1001" | ||
| 21 | simple = { limit = 60, period = 60 } | ||
| 10 | 22 | ||
| 11 | [site] | 23 | # Scheduled cache warmer |
| 12 | bucket = "./public" # Path to your static files | 24 | [triggers] |
| 25 | crons = ["*/15 * * * *"] | ||
| 13 | 26 | ||
| 27 | [vars] | ||
| 28 | API_BASE = "https://api.awesome-privacy.xyz" | ||
api/yarn.lock deleted −715
| @@ -1,715 +0,0 @@ | |||
| 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
| 2 | # yarn lockfile v1 | ||
| 3 | |||
| 4 | |||
| 5 | "@asteasolutions/zod-to-openapi@^5.3.1": | ||
| 6 | version "5.5.0" | ||
| 7 | resolved "https://registry.yarnpkg.com/@asteasolutions/zod-to-openapi/-/zod-to-openapi-5.5.0.tgz#f3be8f1e97ece0fcef2e6ff5e9230da8138d20a6" | ||
| 8 | integrity sha512-d5HwrvM6dOKr3XdeF+DmashGvfEc+1oiEfbscugsiwSTrFtuMa7ETpW9sTNnVgn+hJaz+PRxPQUYD7q9/5dUig== | ||
| 9 | dependencies: | ||
| 10 | openapi3-ts "^4.1.2" | ||
| 11 | |||
| 12 | "@cloudflare/itty-router-openapi@^1.0.1": | ||
| 13 | version "1.0.12" | ||
| 14 | resolved "https://registry.yarnpkg.com/@cloudflare/itty-router-openapi/-/itty-router-openapi-1.0.12.tgz#9e6a8b19b68bf5fa2f3151a1cd0a8f1a8d8b62fa" | ||
| 15 | integrity sha512-Uw5PryeJijllxfZ319b1G8wzFRvla2AoLdM87+9DaCDxPkkHI1q37NW3uidAaxQmIwzoXyUqSRY/Z6IBnHIDEw== | ||
| 16 | dependencies: | ||
| 17 | "@asteasolutions/zod-to-openapi" "^5.3.1" | ||
| 18 | itty-router "4.0.26" | ||
| 19 | js-yaml "^4.1.0" | ||
| 20 | openapi3-ts "^4.1.2" | ||
| 21 | zod "^3.21.4" | ||
| 22 | |||
| 23 | "@cloudflare/kv-asset-handler@0.3.1": | ||
| 24 | version "0.3.1" | ||
| 25 | resolved "https://registry.yarnpkg.com/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.3.1.tgz#9b86167e58dbc419943c8d3ddcd8e2823f5db300" | ||
| 26 | integrity sha512-lKN2XCfKCmpKb86a1tl4GIwsJYDy9TGuwjhDELLmpKygQhw8X2xR4dusgpC5Tg7q1pB96Eb0rBo81kxSILQMwA== | ||
| 27 | dependencies: | ||
| 28 | mime "^3.0.0" | ||
| 29 | |||
| 30 | "@cloudflare/workerd-darwin-64@1.20240304.0": | ||
| 31 | version "1.20240304.0" | ||
| 32 | resolved "https://registry.yarnpkg.com/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20240304.0.tgz#eda9c7baca5310eebe44514bfb8d15f48a379c4d" | ||
| 33 | integrity sha512-rfHlvsWzkqEEQNvm14AOE/BYHYzB9wxQHCaZZEgwOuTl5KpDcs9La0N0LaDTR78ESumIWOcifVmko2VTrZb7TQ== | ||
| 34 | |||
| 35 | "@cloudflare/workerd-darwin-arm64@1.20240304.0": | ||
| 36 | version "1.20240304.0" | ||
| 37 | resolved "https://registry.yarnpkg.com/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20240304.0.tgz#56078067f7e5018f1cc842d9e9aa305d994de1f0" | ||
| 38 | integrity sha512-IXGOxHsPdRYfAzcY6IroI1PDvx3hhXf18qFCloHp8Iw5bzLgq/PTjcp10Z/2xedZ2hVlfpHy1eEptsTmi9YeNw== | ||
| 39 | |||
| 40 | "@cloudflare/workerd-linux-64@1.20240304.0": | ||
| 41 | version "1.20240304.0" | ||
| 42 | resolved "https://registry.yarnpkg.com/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20240304.0.tgz#7bd44af401ca2d1252ab67b0f6fc9eae20da7d37" | ||
| 43 | integrity sha512-G1BEzbw9TFIeMvc425F145IetC7fuH4KOkGhseLq9y/mt5PfDWkghwmXSK+q0BiMwm0XAobtzVlHcEr2u4WlRQ== | ||
| 44 | |||
| 45 | "@cloudflare/workerd-linux-arm64@1.20240304.0": | ||
| 46 | version "1.20240304.0" | ||
| 47 | resolved "https://registry.yarnpkg.com/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20240304.0.tgz#b25b915279768309c322755d2b787a7197efac33" | ||
| 48 | integrity sha512-LLk/d/y77TRu6QOG3CJUI2cD3Ff2lSg0ts6G83bsm9ZK+WKObWFFSPBy9l81m3EnlKFh7RZCzxN4J10kuDaO8w== | ||
| 49 | |||
| 50 | "@cloudflare/workerd-windows-64@1.20240304.0": | ||
| 51 | version "1.20240304.0" | ||
| 52 | resolved "https://registry.yarnpkg.com/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20240304.0.tgz#9001ae03e722cd087d10feee59c54f132231e45f" | ||
| 53 | integrity sha512-I/j6nVpM+WDPg+bYUAiKLkwQsjrXFjpOGHvwYmcM44hnDjgODzk7AbVssEIXnhEO3oupBeuKvffr0lvX0Ngmpw== | ||
| 54 | |||
| 55 | "@cloudflare/workers-types@^4.20240222.0": | ||
| 56 | version "4.20240222.0" | ||
| 57 | resolved "https://registry.yarnpkg.com/@cloudflare/workers-types/-/workers-types-4.20240222.0.tgz#0412840177469979e2c378d8e8bf03f1b895b77f" | ||
| 58 | integrity sha512-luO0BdK3rLlCv3B240+cTrfqm+XSbHtpk+88aJtGwzyVK9QF/Xz8lBgE/oZZLN8nCTmOvxAZnszyxUuZ8GP8Cg== | ||
| 59 | |||
| 60 | "@cspotcode/source-map-support@0.8.1": | ||
| 61 | version "0.8.1" | ||
| 62 | resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" | ||
| 63 | integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== | ||
| 64 | dependencies: | ||
| 65 | "@jridgewell/trace-mapping" "0.3.9" | ||
| 66 | |||
| 67 | "@esbuild-plugins/node-globals-polyfill@^0.2.3": | ||
| 68 | version "0.2.3" | ||
| 69 | resolved "https://registry.yarnpkg.com/@esbuild-plugins/node-globals-polyfill/-/node-globals-polyfill-0.2.3.tgz#0e4497a2b53c9e9485e149bc92ddb228438d6bcf" | ||
| 70 | integrity sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw== | ||
| 71 | |||
| 72 | "@esbuild-plugins/node-modules-polyfill@^0.2.2": | ||
| 73 | version "0.2.2" | ||
| 74 | resolved "https://registry.yarnpkg.com/@esbuild-plugins/node-modules-polyfill/-/node-modules-polyfill-0.2.2.tgz#cefa3dc0bd1c16277a8338b52833420c94987327" | ||
| 75 | integrity sha512-LXV7QsWJxRuMYvKbiznh+U1ilIop3g2TeKRzUxOG5X3YITc8JyyTa90BmLwqqv0YnX4v32CSlG+vsziZp9dMvA== | ||
| 76 | dependencies: | ||
| 77 | escape-string-regexp "^4.0.0" | ||
| 78 | rollup-plugin-node-polyfills "^0.2.1" | ||
| 79 | |||
| 80 | "@esbuild/android-arm64@0.17.19": | ||
| 81 | version "0.17.19" | ||
| 82 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz#bafb75234a5d3d1b690e7c2956a599345e84a2fd" | ||
| 83 | integrity sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA== | ||
| 84 | |||
| 85 | "@esbuild/android-arm@0.17.19": | ||
| 86 | version "0.17.19" | ||
| 87 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.19.tgz#5898f7832c2298bc7d0ab53701c57beb74d78b4d" | ||
| 88 | integrity sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A== | ||
| 89 | |||
| 90 | "@esbuild/android-x64@0.17.19": | ||
| 91 | version "0.17.19" | ||
| 92 | resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.19.tgz#658368ef92067866d95fb268719f98f363d13ae1" | ||
| 93 | integrity sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww== | ||
| 94 | |||
| 95 | "@esbuild/darwin-arm64@0.17.19": | ||
| 96 | version "0.17.19" | ||
| 97 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz#584c34c5991b95d4d48d333300b1a4e2ff7be276" | ||
| 98 | integrity sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg== | ||
| 99 | |||
| 100 | "@esbuild/darwin-x64@0.17.19": | ||
| 101 | version "0.17.19" | ||
| 102 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz#7751d236dfe6ce136cce343dce69f52d76b7f6cb" | ||
| 103 | integrity sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw== | ||
| 104 | |||
| 105 | "@esbuild/freebsd-arm64@0.17.19": | ||
| 106 | version "0.17.19" | ||
| 107 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz#cacd171665dd1d500f45c167d50c6b7e539d5fd2" | ||
| 108 | integrity sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ== | ||
| 109 | |||
| 110 | "@esbuild/freebsd-x64@0.17.19": | ||
| 111 | version "0.17.19" | ||
| 112 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz#0769456eee2a08b8d925d7c00b79e861cb3162e4" | ||
| 113 | integrity sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ== | ||
| 114 | |||
| 115 | "@esbuild/linux-arm64@0.17.19": | ||
| 116 | version "0.17.19" | ||
| 117 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz#38e162ecb723862c6be1c27d6389f48960b68edb" | ||
| 118 | integrity sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg== | ||
| 119 | |||
| 120 | "@esbuild/linux-arm@0.17.19": | ||
| 121 | version "0.17.19" | ||
| 122 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz#1a2cd399c50040184a805174a6d89097d9d1559a" | ||
| 123 | integrity sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA== | ||
| 124 | |||
| 125 | "@esbuild/linux-ia32@0.17.19": | ||
| 126 | version "0.17.19" | ||
| 127 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz#e28c25266b036ce1cabca3c30155222841dc035a" | ||
| 128 | integrity sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ== | ||
| 129 | |||
| 130 | "@esbuild/linux-loong64@0.17.19": | ||
| 131 | version "0.17.19" | ||
| 132 | resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz#0f887b8bb3f90658d1a0117283e55dbd4c9dcf72" | ||
| 133 | integrity sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ== | ||
| 134 | |||
| 135 | "@esbuild/linux-mips64el@0.17.19": | ||
| 136 | version "0.17.19" | ||
| 137 | resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz#f5d2a0b8047ea9a5d9f592a178ea054053a70289" | ||
| 138 | integrity sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A== | ||
| 139 | |||
| 140 | "@esbuild/linux-ppc64@0.17.19": | ||
| 141 | version "0.17.19" | ||
| 142 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz#876590e3acbd9fa7f57a2c7d86f83717dbbac8c7" | ||
| 143 | integrity sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg== | ||
| 144 | |||
| 145 | "@esbuild/linux-riscv64@0.17.19": | ||
| 146 | version "0.17.19" | ||
| 147 | resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz#7f49373df463cd9f41dc34f9b2262d771688bf09" | ||
| 148 | integrity sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA== | ||
| 149 | |||
| 150 | "@esbuild/linux-s390x@0.17.19": | ||
| 151 | version "0.17.19" | ||
| 152 | resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz#e2afd1afcaf63afe2c7d9ceacd28ec57c77f8829" | ||
| 153 | integrity sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q== | ||
| 154 | |||
| 155 | "@esbuild/linux-x64@0.17.19": | ||
| 156 | version "0.17.19" | ||
| 157 | resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz#8a0e9738b1635f0c53389e515ae83826dec22aa4" | ||
| 158 | integrity sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw== | ||
| 159 | |||
| 160 | "@esbuild/netbsd-x64@0.17.19": | ||
| 161 | version "0.17.19" | ||
| 162 | resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz#c29fb2453c6b7ddef9a35e2c18b37bda1ae5c462" | ||
| 163 | integrity sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q== | ||
| 164 | |||
| 165 | "@esbuild/openbsd-x64@0.17.19": | ||
| 166 | version "0.17.19" | ||
| 167 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz#95e75a391403cb10297280d524d66ce04c920691" | ||
| 168 | integrity sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g== | ||
| 169 | |||
| 170 | "@esbuild/sunos-x64@0.17.19": | ||
| 171 | version "0.17.19" | ||
| 172 | resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz#722eaf057b83c2575937d3ffe5aeb16540da7273" | ||
| 173 | integrity sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg== | ||
| 174 | |||
| 175 | "@esbuild/win32-arm64@0.17.19": | ||
| 176 | version "0.17.19" | ||
| 177 | resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz#9aa9dc074399288bdcdd283443e9aeb6b9552b6f" | ||
| 178 | integrity sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag== | ||
| 179 | |||
| 180 | "@esbuild/win32-ia32@0.17.19": | ||
| 181 | version "0.17.19" | ||
| 182 | resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz#95ad43c62ad62485e210f6299c7b2571e48d2b03" | ||
| 183 | integrity sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw== | ||
| 184 | |||
| 185 | "@esbuild/win32-x64@0.17.19": | ||
| 186 | version "0.17.19" | ||
| 187 | resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz#8cfaf2ff603e9aabb910e9c0558c26cf32744061" | ||
| 188 | integrity sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA== | ||
| 189 | |||
| 190 | "@fastify/busboy@^2.0.0": | ||
| 191 | version "2.1.1" | ||
| 192 | resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d" | ||
| 193 | integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA== | ||
| 194 | |||
| 195 | "@hono/node-server@^1.8.2": | ||
| 196 | version "1.8.2" | ||
| 197 | resolved "https://registry.yarnpkg.com/@hono/node-server/-/node-server-1.8.2.tgz#940b3a0dbd7adbc510b79b626f3603258493354b" | ||
| 198 | integrity sha512-h8l2TBLCPHZBUrrkosZ6L5CpBLj6zdESyF4B+zngiCDF7aZFQJ0alVbLx7jn8PCVi9EyoFf8a4hOZFi1tD95EA== | ||
| 199 | |||
| 200 | "@jridgewell/resolve-uri@^3.0.3": | ||
| 201 | version "3.1.2" | ||
| 202 | resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" | ||
| 203 | integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== | ||
| 204 | |||
| 205 | "@jridgewell/sourcemap-codec@^1.4.10": | ||
| 206 | version "1.4.15" | ||
| 207 | resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" | ||
| 208 | integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== | ||
| 209 | |||
| 210 | "@jridgewell/trace-mapping@0.3.9": | ||
| 211 | version "0.3.9" | ||
| 212 | resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" | ||
| 213 | integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== | ||
| 214 | dependencies: | ||
| 215 | "@jridgewell/resolve-uri" "^3.0.3" | ||
| 216 | "@jridgewell/sourcemap-codec" "^1.4.10" | ||
| 217 | |||
| 218 | "@types/js-yaml@^4.0.9": | ||
| 219 | version "4.0.9" | ||
| 220 | resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.9.tgz#cd82382c4f902fed9691a2ed79ec68c5898af4c2" | ||
| 221 | integrity sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg== | ||
| 222 | |||
| 223 | "@types/node-forge@^1.3.0": | ||
| 224 | version "1.3.11" | ||
| 225 | resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.11.tgz#0972ea538ddb0f4d9c2fa0ec5db5724773a604da" | ||
| 226 | integrity sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ== | ||
| 227 | dependencies: | ||
| 228 | "@types/node" "*" | ||
| 229 | |||
| 230 | "@types/node@*", "@types/node@^20.5.7": | ||
| 231 | version "20.11.25" | ||
| 232 | resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.25.tgz#0f50d62f274e54dd7a49f7704cc16bfbcccaf49f" | ||
| 233 | integrity sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw== | ||
| 234 | dependencies: | ||
| 235 | undici-types "~5.26.4" | ||
| 236 | |||
| 237 | "@types/service-worker-mock@^2.0.1": | ||
| 238 | version "2.0.4" | ||
| 239 | resolved "https://registry.yarnpkg.com/@types/service-worker-mock/-/service-worker-mock-2.0.4.tgz#9a8e292f71558cf0c20ad56642cff5f37355287c" | ||
| 240 | integrity sha512-MEBT2eiqYfhxjqYm/oAf2AvKLbPTPwJJAYrMdheKnGyz1yG9XBRfxCzi93h27qpSvI7jOYfXqFLVMLBXFDqo4A== | ||
| 241 | |||
| 242 | acorn-walk@^8.2.0: | ||
| 243 | version "8.3.2" | ||
| 244 | resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" | ||
| 245 | integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== | ||
| 246 | |||
| 247 | acorn@^8.8.0: | ||
| 248 | version "8.11.3" | ||
| 249 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" | ||
| 250 | integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== | ||
| 251 | |||
| 252 | anymatch@~3.1.2: | ||
| 253 | version "3.1.3" | ||
| 254 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" | ||
| 255 | integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== | ||
| 256 | dependencies: | ||
| 257 | normalize-path "^3.0.0" | ||
| 258 | picomatch "^2.0.4" | ||
| 259 | |||
| 260 | argparse@^2.0.1: | ||
| 261 | version "2.0.1" | ||
| 262 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" | ||
| 263 | integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== | ||
| 264 | |||
| 265 | as-table@^1.0.36: | ||
| 266 | version "1.0.55" | ||
| 267 | resolved "https://registry.yarnpkg.com/as-table/-/as-table-1.0.55.tgz#dc984da3937745de902cea1d45843c01bdbbec4f" | ||
| 268 | integrity sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ== | ||
| 269 | dependencies: | ||
| 270 | printable-characters "^1.0.42" | ||
| 271 | |||
| 272 | binary-extensions@^2.0.0: | ||
| 273 | version "2.2.0" | ||
| 274 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" | ||
| 275 | integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== | ||
| 276 | |||
| 277 | blake3-wasm@^2.1.5: | ||
| 278 | version "2.1.5" | ||
| 279 | resolved "https://registry.yarnpkg.com/blake3-wasm/-/blake3-wasm-2.1.5.tgz#b22dbb84bc9419ed0159caa76af4b1b132e6ba52" | ||
| 280 | integrity sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g== | ||
| 281 | |||
| 282 | braces@~3.0.2: | ||
| 283 | version "3.0.2" | ||
| 284 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" | ||
| 285 | integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== | ||
| 286 | dependencies: | ||
| 287 | fill-range "^7.0.1" | ||
| 288 | |||
| 289 | capnp-ts@^0.7.0: | ||
| 290 | version "0.7.0" | ||
| 291 | resolved "https://registry.yarnpkg.com/capnp-ts/-/capnp-ts-0.7.0.tgz#16fd8e76b667d002af8fcf4bf92bf15d1a7b54a9" | ||
| 292 | integrity sha512-XKxXAC3HVPv7r674zP0VC3RTXz+/JKhfyw94ljvF80yynK6VkTnqE3jMuN8b3dUVmmc43TjyxjW4KTsmB3c86g== | ||
| 293 | dependencies: | ||
| 294 | debug "^4.3.1" | ||
| 295 | tslib "^2.2.0" | ||
| 296 | |||
| 297 | chokidar@^3.5.3: | ||
| 298 | version "3.6.0" | ||
| 299 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" | ||
| 300 | integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== | ||
| 301 | dependencies: | ||
| 302 | anymatch "~3.1.2" | ||
| 303 | braces "~3.0.2" | ||
| 304 | glob-parent "~5.1.2" | ||
| 305 | is-binary-path "~2.1.0" | ||
| 306 | is-glob "~4.0.1" | ||
| 307 | normalize-path "~3.0.0" | ||
| 308 | readdirp "~3.6.0" | ||
| 309 | optionalDependencies: | ||
| 310 | fsevents "~2.3.2" | ||
| 311 | |||
| 312 | cookie@^0.5.0: | ||
| 313 | version "0.5.0" | ||
| 314 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" | ||
| 315 | integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== | ||
| 316 | |||
| 317 | data-uri-to-buffer@^2.0.0: | ||
| 318 | version "2.0.2" | ||
| 319 | resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz#d296973d5a4897a5dbe31716d118211921f04770" | ||
| 320 | integrity sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA== | ||
| 321 | |||
| 322 | debug@^4.3.1: | ||
| 323 | version "4.3.4" | ||
| 324 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" | ||
| 325 | integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== | ||
| 326 | dependencies: | ||
| 327 | ms "2.1.2" | ||
| 328 | |||
| 329 | esbuild@0.17.19: | ||
| 330 | version "0.17.19" | ||
| 331 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.17.19.tgz#087a727e98299f0462a3d0bcdd9cd7ff100bd955" | ||
| 332 | integrity sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw== | ||
| 333 | optionalDependencies: | ||
| 334 | "@esbuild/android-arm" "0.17.19" | ||
| 335 | "@esbuild/android-arm64" "0.17.19" | ||
| 336 | "@esbuild/android-x64" "0.17.19" | ||
| 337 | "@esbuild/darwin-arm64" "0.17.19" | ||
| 338 | "@esbuild/darwin-x64" "0.17.19" | ||
| 339 | "@esbuild/freebsd-arm64" "0.17.19" | ||
| 340 | "@esbuild/freebsd-x64" "0.17.19" | ||
| 341 | "@esbuild/linux-arm" "0.17.19" | ||
| 342 | "@esbuild/linux-arm64" "0.17.19" | ||
| 343 | "@esbuild/linux-ia32" "0.17.19" | ||
| 344 | "@esbuild/linux-loong64" "0.17.19" | ||
| 345 | "@esbuild/linux-mips64el" "0.17.19" | ||
| 346 | "@esbuild/linux-ppc64" "0.17.19" | ||
| 347 | "@esbuild/linux-riscv64" "0.17.19" | ||
| 348 | "@esbuild/linux-s390x" "0.17.19" | ||
| 349 | "@esbuild/linux-x64" "0.17.19" | ||
| 350 | "@esbuild/netbsd-x64" "0.17.19" | ||
| 351 | "@esbuild/openbsd-x64" "0.17.19" | ||
| 352 | "@esbuild/sunos-x64" "0.17.19" | ||
| 353 | "@esbuild/win32-arm64" "0.17.19" | ||
| 354 | "@esbuild/win32-ia32" "0.17.19" | ||
| 355 | "@esbuild/win32-x64" "0.17.19" | ||
| 356 | |||
| 357 | escape-string-regexp@^4.0.0: | ||
| 358 | version "4.0.0" | ||
| 359 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" | ||
| 360 | integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== | ||
| 361 | |||
| 362 | estree-walker@^0.6.1: | ||
| 363 | version "0.6.1" | ||
| 364 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" | ||
| 365 | integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== | ||
| 366 | |||
| 367 | exit-hook@^2.2.1: | ||
| 368 | version "2.2.1" | ||
| 369 | resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-2.2.1.tgz#007b2d92c6428eda2b76e7016a34351586934593" | ||
| 370 | integrity sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw== | ||
| 371 | |||
| 372 | fill-range@^7.0.1: | ||
| 373 | version "7.0.1" | ||
| 374 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" | ||
| 375 | integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== | ||
| 376 | dependencies: | ||
| 377 | to-regex-range "^5.0.1" | ||
| 378 | |||
| 379 | fsevents@~2.3.2: | ||
| 380 | version "2.3.3" | ||
| 381 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" | ||
| 382 | integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== | ||
| 383 | |||
| 384 | function-bind@^1.1.2: | ||
| 385 | version "1.1.2" | ||
| 386 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" | ||
| 387 | integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== | ||
| 388 | |||
| 389 | fuse.js@^7.0.0: | ||
| 390 | version "7.0.0" | ||
| 391 | resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-7.0.0.tgz#6573c9fcd4c8268e403b4fc7d7131ffcf99a9eb2" | ||
| 392 | integrity sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q== | ||
| 393 | |||
| 394 | get-source@^2.0.12: | ||
| 395 | version "2.0.12" | ||
| 396 | resolved "https://registry.yarnpkg.com/get-source/-/get-source-2.0.12.tgz#0b47d57ea1e53ce0d3a69f4f3d277eb8047da944" | ||
| 397 | integrity sha512-X5+4+iD+HoSeEED+uwrQ07BOQr0kEDFMVqqpBuI+RaZBpBpHCuXxo70bjar6f0b0u/DQJsJ7ssurpP0V60Az+w== | ||
| 398 | dependencies: | ||
| 399 | data-uri-to-buffer "^2.0.0" | ||
| 400 | source-map "^0.6.1" | ||
| 401 | |||
| 402 | glob-parent@~5.1.2: | ||
| 403 | version "5.1.2" | ||
| 404 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" | ||
| 405 | integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== | ||
| 406 | dependencies: | ||
| 407 | is-glob "^4.0.1" | ||
| 408 | |||
| 409 | glob-to-regexp@^0.4.1: | ||
| 410 | version "0.4.1" | ||
| 411 | resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" | ||
| 412 | integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== | ||
| 413 | |||
| 414 | hasown@^2.0.0: | ||
| 415 | version "2.0.1" | ||
| 416 | resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.1.tgz#26f48f039de2c0f8d3356c223fb8d50253519faa" | ||
| 417 | integrity sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA== | ||
| 418 | dependencies: | ||
| 419 | function-bind "^1.1.2" | ||
| 420 | |||
| 421 | hono@^4.0.10: | ||
| 422 | version "4.0.10" | ||
| 423 | resolved "https://registry.yarnpkg.com/hono/-/hono-4.0.10.tgz#61aa36d6645723a5bc8ee4930f30de590440abce" | ||
| 424 | integrity sha512-sq0RFAC3Ij+bkhZu90EGAQnVI1EhohRsjo9BU+BjXLbC71GSy41JjsFqCeg8MRpO2Gdu0A4MXF5licO89tn/rw== | ||
| 425 | |||
| 426 | is-binary-path@~2.1.0: | ||
| 427 | version "2.1.0" | ||
| 428 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" | ||
| 429 | integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== | ||
| 430 | dependencies: | ||
| 431 | binary-extensions "^2.0.0" | ||
| 432 | |||
| 433 | is-core-module@^2.13.0: | ||
| 434 | version "2.13.1" | ||
| 435 | resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" | ||
| 436 | integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== | ||
| 437 | dependencies: | ||
| 438 | hasown "^2.0.0" | ||
| 439 | |||
| 440 | is-extglob@^2.1.1: | ||
| 441 | version "2.1.1" | ||
| 442 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" | ||
| 443 | integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== | ||
| 444 | |||
| 445 | is-glob@^4.0.1, is-glob@~4.0.1: | ||
| 446 | version "4.0.3" | ||
| 447 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" | ||
| 448 | integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== | ||
| 449 | dependencies: | ||
| 450 | is-extglob "^2.1.1" | ||
| 451 | |||
| 452 | is-number@^7.0.0: | ||
| 453 | version "7.0.0" | ||
| 454 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" | ||
| 455 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== | ||
| 456 | |||
| 457 | itty-router@4.0.26: | ||
| 458 | version "4.0.26" | ||
| 459 | resolved "https://registry.yarnpkg.com/itty-router/-/itty-router-4.0.26.tgz#8fd29b7070d9faf0857ca5bd097f80e304ea7fcd" | ||
| 460 | integrity sha512-GBcmhxQRvIQ7fuzXPlvfeQcN6O7VGhctzdG9WHIcEcaRYH4FvDpMxuSWRIAxQrIM+nxtfxK0/bR78ATvb4LC5Q== | ||
| 461 | |||
| 462 | js-yaml@^4.1.0: | ||
| 463 | version "4.1.0" | ||
| 464 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" | ||
| 465 | integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== | ||
| 466 | dependencies: | ||
| 467 | argparse "^2.0.1" | ||
| 468 | |||
| 469 | magic-string@^0.25.3: | ||
| 470 | version "0.25.9" | ||
| 471 | resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" | ||
| 472 | integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== | ||
| 473 | dependencies: | ||
| 474 | sourcemap-codec "^1.4.8" | ||
| 475 | |||
| 476 | mime@^3.0.0: | ||
| 477 | version "3.0.0" | ||
| 478 | resolved "https://registry.yarnpkg.com/mime/-/mime-3.0.0.tgz#b374550dca3a0c18443b0c950a6a58f1931cf7a7" | ||
| 479 | integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== | ||
| 480 | |||
| 481 | miniflare@3.20240304.0: | ||
| 482 | version "3.20240304.0" | ||
| 483 | resolved "https://registry.yarnpkg.com/miniflare/-/miniflare-3.20240304.0.tgz#c3dd5e89b35fe5c2c72695d0a9e6cecef25d33ff" | ||
| 484 | integrity sha512-6bmFkwXbTy1x5dEfVCLg03Gd80OWUmKI8Li0BhG6nOO+bT3rlIYwctyyfXTfNMFjqbK07AnnPiMwgnfdaaAYVQ== | ||
| 485 | dependencies: | ||
| 486 | "@cspotcode/source-map-support" "0.8.1" | ||
| 487 | acorn "^8.8.0" | ||
| 488 | acorn-walk "^8.2.0" | ||
| 489 | capnp-ts "^0.7.0" | ||
| 490 | exit-hook "^2.2.1" | ||
| 491 | glob-to-regexp "^0.4.1" | ||
| 492 | stoppable "^1.1.0" | ||
| 493 | undici "^5.28.2" | ||
| 494 | workerd "1.20240304.0" | ||
| 495 | ws "^8.11.0" | ||
| 496 | youch "^3.2.2" | ||
| 497 | zod "^3.20.6" | ||
| 498 | |||
| 499 | ms@2.1.2: | ||
| 500 | version "2.1.2" | ||
| 501 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" | ||
| 502 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== | ||
| 503 | |||
| 504 | mustache@^4.2.0: | ||
| 505 | version "4.2.0" | ||
| 506 | resolved "https://registry.yarnpkg.com/mustache/-/mustache-4.2.0.tgz#e5892324d60a12ec9c2a73359edca52972bf6f64" | ||
| 507 | integrity sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ== | ||
| 508 | |||
| 509 | nanoid@^3.3.3: | ||
| 510 | version "3.3.7" | ||
| 511 | resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" | ||
| 512 | integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== | ||
| 513 | |||
| 514 | node-forge@^1: | ||
| 515 | version "1.3.1" | ||
| 516 | resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" | ||
| 517 | integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== | ||
| 518 | |||
| 519 | normalize-path@^3.0.0, normalize-path@~3.0.0: | ||
| 520 | version "3.0.0" | ||
| 521 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" | ||
| 522 | integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== | ||
| 523 | |||
| 524 | openapi3-ts@^4.1.2: | ||
| 525 | version "4.2.2" | ||
| 526 | resolved "https://registry.yarnpkg.com/openapi3-ts/-/openapi3-ts-4.2.2.tgz#9460b6626c39f6334f876e43c8de08168d306fdb" | ||
| 527 | integrity sha512-+9g4actZKeb3czfi9gVQ4Br2Ju3KwhCAQJBNaKgye5KggqcBLIhFHH+nIkcm0BUX00TrAJl6dH4JWgM4G4JWrw== | ||
| 528 | dependencies: | ||
| 529 | yaml "^2.3.4" | ||
| 530 | |||
| 531 | path-parse@^1.0.7: | ||
| 532 | version "1.0.7" | ||
| 533 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" | ||
| 534 | integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== | ||
| 535 | |||
| 536 | path-to-regexp@^6.2.0: | ||
| 537 | version "6.2.1" | ||
| 538 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.2.1.tgz#d54934d6798eb9e5ef14e7af7962c945906918e5" | ||
| 539 | integrity sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw== | ||
| 540 | |||
| 541 | picomatch@^2.0.4, picomatch@^2.2.1: | ||
| 542 | version "2.3.1" | ||
| 543 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" | ||
| 544 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== | ||
| 545 | |||
| 546 | printable-characters@^1.0.42: | ||
| 547 | version "1.0.42" | ||
| 548 | resolved "https://registry.yarnpkg.com/printable-characters/-/printable-characters-1.0.42.tgz#3f18e977a9bd8eb37fcc4ff5659d7be90868b3d8" | ||
| 549 | integrity sha512-dKp+C4iXWK4vVYZmYSd0KBH5F/h1HoZRsbJ82AVKRO3PEo8L4lBS/vLwhVtpwwuYcoIsVY+1JYKR268yn480uQ== | ||
| 550 | |||
| 551 | readdirp@~3.6.0: | ||
| 552 | version "3.6.0" | ||
| 553 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" | ||
| 554 | integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== | ||
| 555 | dependencies: | ||
| 556 | picomatch "^2.2.1" | ||
| 557 | |||
| 558 | resolve.exports@^2.0.2: | ||
| 559 | version "2.0.2" | ||
| 560 | resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" | ||
| 561 | integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== | ||
| 562 | |||
| 563 | resolve@^1.22.8: | ||
| 564 | version "1.22.8" | ||
| 565 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" | ||
| 566 | integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== | ||
| 567 | dependencies: | ||
| 568 | is-core-module "^2.13.0" | ||
| 569 | path-parse "^1.0.7" | ||
| 570 | supports-preserve-symlinks-flag "^1.0.0" | ||
| 571 | |||
| 572 | rollup-plugin-inject@^3.0.0: | ||
| 573 | version "3.0.2" | ||
| 574 | resolved "https://registry.yarnpkg.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz#e4233855bfba6c0c12a312fd6649dff9a13ee9f4" | ||
| 575 | integrity sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w== | ||
| 576 | dependencies: | ||
| 577 | estree-walker "^0.6.1" | ||
| 578 | magic-string "^0.25.3" | ||
| 579 | rollup-pluginutils "^2.8.1" | ||
| 580 | |||
| 581 | rollup-plugin-node-polyfills@^0.2.1: | ||
| 582 | version "0.2.1" | ||
| 583 | resolved "https://registry.yarnpkg.com/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz#53092a2744837164d5b8a28812ba5f3ff61109fd" | ||
| 584 | integrity sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA== | ||
| 585 | dependencies: | ||
| 586 | rollup-plugin-inject "^3.0.0" | ||
| 587 | |||
| 588 | rollup-pluginutils@^2.8.1: | ||
| 589 | version "2.8.2" | ||
| 590 | resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" | ||
| 591 | integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== | ||
| 592 | dependencies: | ||
| 593 | estree-walker "^0.6.1" | ||
| 594 | |||
| 595 | selfsigned@^2.0.1: | ||
| 596 | version "2.4.1" | ||
| 597 | resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.4.1.tgz#560d90565442a3ed35b674034cec4e95dceb4ae0" | ||
| 598 | integrity sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q== | ||
| 599 | dependencies: | ||
| 600 | "@types/node-forge" "^1.3.0" | ||
| 601 | node-forge "^1" | ||
| 602 | |||
| 603 | source-map@0.6.1, source-map@^0.6.1: | ||
| 604 | version "0.6.1" | ||
| 605 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" | ||
| 606 | integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== | ||
| 607 | |||
| 608 | sourcemap-codec@^1.4.8: | ||
| 609 | version "1.4.8" | ||
| 610 | resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" | ||
| 611 | integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== | ||
| 612 | |||
| 613 | stacktracey@^2.1.8: | ||
| 614 | version "2.1.8" | ||
| 615 | resolved "https://registry.yarnpkg.com/stacktracey/-/stacktracey-2.1.8.tgz#bf9916020738ce3700d1323b32bd2c91ea71199d" | ||
| 616 | integrity sha512-Kpij9riA+UNg7TnphqjH7/CzctQ/owJGNbFkfEeve4Z4uxT5+JapVLFXcsurIfN34gnTWZNJ/f7NMG0E8JDzTw== | ||
| 617 | dependencies: | ||
| 618 | as-table "^1.0.36" | ||
| 619 | get-source "^2.0.12" | ||
| 620 | |||
| 621 | stoppable@^1.1.0: | ||
| 622 | version "1.1.0" | ||
| 623 | resolved "https://registry.yarnpkg.com/stoppable/-/stoppable-1.1.0.tgz#32da568e83ea488b08e4d7ea2c3bcc9d75015d5b" | ||
| 624 | integrity sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw== | ||
| 625 | |||
| 626 | supports-preserve-symlinks-flag@^1.0.0: | ||
| 627 | version "1.0.0" | ||
| 628 | resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" | ||
| 629 | integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== | ||
| 630 | |||
| 631 | to-regex-range@^5.0.1: | ||
| 632 | version "5.0.1" | ||
| 633 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" | ||
| 634 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== | ||
| 635 | dependencies: | ||
| 636 | is-number "^7.0.0" | ||
| 637 | |||
| 638 | tslib@^2.2.0: | ||
| 639 | version "2.6.2" | ||
| 640 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" | ||
| 641 | integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== | ||
| 642 | |||
| 643 | undici-types@~5.26.4: | ||
| 644 | version "5.26.5" | ||
| 645 | resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" | ||
| 646 | integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== | ||
| 647 | |||
| 648 | undici@^5.28.2: | ||
| 649 | version "5.28.3" | ||
| 650 | resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.3.tgz#a731e0eff2c3fcfd41c1169a869062be222d1e5b" | ||
| 651 | integrity sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA== | ||
| 652 | dependencies: | ||
| 653 | "@fastify/busboy" "^2.0.0" | ||
| 654 | |||
| 655 | workerd@1.20240304.0: | ||
| 656 | version "1.20240304.0" | ||
| 657 | resolved "https://registry.yarnpkg.com/workerd/-/workerd-1.20240304.0.tgz#7dcfa5318fe3d8e0606028ef92b968040bd16190" | ||
| 658 | integrity sha512-/tYxdypPh9NKQje9r7bgBB73vAQfCQZbEPjNlxE/ml7jNKMHnRZv/D+By4xO0IPAifa37D0sJFokvYOahz1Lqw== | ||
| 659 | optionalDependencies: | ||
| 660 | "@cloudflare/workerd-darwin-64" "1.20240304.0" | ||
| 661 | "@cloudflare/workerd-darwin-arm64" "1.20240304.0" | ||
| 662 | "@cloudflare/workerd-linux-64" "1.20240304.0" | ||
| 663 | "@cloudflare/workerd-linux-arm64" "1.20240304.0" | ||
| 664 | "@cloudflare/workerd-windows-64" "1.20240304.0" | ||
| 665 | |||
| 666 | wrangler@^3.0.0: | ||
| 667 | version "3.32.0" | ||
| 668 | resolved "https://registry.yarnpkg.com/wrangler/-/wrangler-3.32.0.tgz#57256938996ad7a9c72de7e19ac5a97cdf034883" | ||
| 669 | integrity sha512-UaOOn3fyv5C7y0NRPmkfS9LW3KElqGvUK+wLP9MClsuRgUrbwAkLt7jIR3fqhfxkXj5FbA6rXn/qjgEbGzEndw== | ||
| 670 | dependencies: | ||
| 671 | "@cloudflare/kv-asset-handler" "0.3.1" | ||
| 672 | "@esbuild-plugins/node-globals-polyfill" "^0.2.3" | ||
| 673 | "@esbuild-plugins/node-modules-polyfill" "^0.2.2" | ||
| 674 | blake3-wasm "^2.1.5" | ||
| 675 | chokidar "^3.5.3" | ||
| 676 | esbuild "0.17.19" | ||
| 677 | miniflare "3.20240304.0" | ||
| 678 | nanoid "^3.3.3" | ||
| 679 | path-to-regexp "^6.2.0" | ||
| 680 | resolve "^1.22.8" | ||
| 681 | resolve.exports "^2.0.2" | ||
| 682 | selfsigned "^2.0.1" | ||
| 683 | source-map "0.6.1" | ||
| 684 | xxhash-wasm "^1.0.1" | ||
| 685 | optionalDependencies: | ||
| 686 | fsevents "~2.3.2" | ||
| 687 | |||
| 688 | ws@^8.11.0: | ||
| 689 | version "8.16.0" | ||
| 690 | resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" | ||
| 691 | integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== | ||
| 692 | |||
| 693 | xxhash-wasm@^1.0.1: | ||
| 694 | version "1.0.2" | ||
| 695 | resolved "https://registry.yarnpkg.com/xxhash-wasm/-/xxhash-wasm-1.0.2.tgz#ecc0f813219b727af4d5f3958ca6becee2f2f1ff" | ||
| 696 | integrity sha512-ibF0Or+FivM9lNrg+HGJfVX8WJqgo+kCLDc4vx6xMeTce7Aj+DLttKbxxRR/gNLSAelRc1omAPlJ77N/Jem07A== | ||
| 697 | |||
| 698 | yaml@^2.3.4: | ||
| 699 | version "2.4.1" | ||
| 700 | resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.1.tgz#2e57e0b5e995292c25c75d2658f0664765210eed" | ||
| 701 | integrity sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg== | ||
| 702 | |||
| 703 | youch@^3.2.2: | ||
| 704 | version "3.3.3" | ||
| 705 | resolved "https://registry.yarnpkg.com/youch/-/youch-3.3.3.tgz#50cfdf5bc395ce664a5073e31b712ff4a859d928" | ||
| 706 | integrity sha512-qSFXUk3UZBLfggAW3dJKg0BMblG5biqSF8M34E06o5CSsZtH92u9Hqmj2RzGiHDi64fhe83+4tENFP2DB6t6ZA== | ||
| 707 | dependencies: | ||
| 708 | cookie "^0.5.0" | ||
| 709 | mustache "^4.2.0" | ||
| 710 | stacktracey "^2.1.8" | ||
| 711 | |||
| 712 | zod@^3.20.6, zod@^3.21.4: | ||
| 713 | version "3.22.4" | ||
| 714 | resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff" | ||
| 715 | integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== | ||