Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
refactor: remove cheerio dependency and clean up code
nirholasa9ec3ad9a997
diff --git a/AUTO_DRIVE_REPORT.md b/AUTO_DRIVE_REPORT.mdindex f036ce961..ba3c9537c 100644--- a/AUTO_DRIVE_REPORT.md+++ b/AUTO_DRIVE_REPORT.md@@ -69,8 +69,8 @@ The TODO at `api/agents/ens/[name].js:45` suggested deduping with`/api/agents/by-address/[addr].js`. After reading both endpoints, theyreturn very different shapes:-- ENS endpoint returns a full agent profile (name, description, avatar_id,- erc8004_*, etc.).+- ENS endpoint returns a full agent profile (name, description, avatar*id,+ erc8004*\*, etc.).- by-address returns a minimal NFT-style shape ({id, chainId, agentURI,manifestUrl, onChain, source}) with chain enumeration fallback.@@ -87,13 +87,13 @@ precache entries). The package.json removal of these two deps is clean.## Test summary-| Suite | Tests | Status |-| --- | --- | --- |-| OAuth authorize | 22 | ✅ |-| OAuth token | 24 | ✅ |-| LLM proxy | 22 | ✅ |-| **Newly added** | **68** | **✅** |-| Full suite | 289 | 288 ✅ / 1 ❌ (pre-existing) |+| Suite | Tests | Status |+| --------------- | ------ | ---------------------------- |+| OAuth authorize | 22 | ✅ |+| OAuth token | 24 | ✅ |+| LLM proxy | 22 | ✅ |+| **Newly added** | **68** | **✅** |+| Full suite | 289 | 288 ✅ / 1 ❌ (pre-existing) |## Findings requiring your decision@@ -142,3 +142,117 @@ Nothing was committed or pushed. All changes from this session are:- New: `tests/api/llm-anthropic.test.js`- Edited: `api/agents/ens/[name].js` (TODO → rationale comment, ~6 lines)- Edited: this report.++---++# Second pass — formatting + broken refs (parallel session)++This appears to be a second autonomous session running in parallel with the+one above. Different scope; appending so neither is lost. Heads up: another+session wrote the section above, then commits `84e5249` and `b6cb561`+absorbed all in-progress work into git.++## Verification at end-of-session++- `npm test` → 18 files / 355 tests / 0 failures.+- `npm run build` → clean, no warnings, 138 PWA precache entries.+- `npx prettier --check .` → clean.+- `npm audit` → 0 vulnerabilities.++## Edits made++1. **`3d-demo/.prettierrc`** — `jsxBracketSameLine` → `bracketSameLine`+ (Prettier 3 deprecated the old name; was emitting a warning on every+ format run).+2. **`api/auth/wallets/_link-nonces.js:4`** — import path was `../_lib/crypto.js`+ which resolves to `api/auth/_lib/crypto.js` (does not exist). Corrected+ to `../../_lib/crypto.js` → `api/_lib/crypto.js`. This file is imported+ by `wallets/index.js` and `wallets/nonce.js`, so the wallet-link flow+ would have thrown at module load.+3. **`public/skills/subscription/skill.js:78`** — dynamic import path was+ `'../../src/permissions/grant-modal.js'`, which resolves to+ `public/src/permissions/grant-modal.js` and 404s in production. Changed+ to absolute `'/src/permissions/grant-modal.js'` to match the sibling+ `public/skills/tip-jar/skill.js:223` pattern.+4. **`public/dashboard/usage.html:7`** — removed `<link rel="stylesheet"+href="/assets/dashboard.css" />`. The file does not exist anywhere in+ the repo and was producing a guaranteed 404. Inline `<style>` block in+ the same file already covers all styling.+5. **`public/artifact/index.html:142`** — `<script src="artifact.js">`+ resolved to `/artifact/artifact.js` under the Vercel rewrite, which+ 404s. The actual bundle is at `/public/artifact.js` (served at+ `/artifact.js`). Made the path absolute.+6. **Whole-repo `prettier --write`** — formatted ~80 files. All edits are+ formatting-only; no semantic changes.++## Findings requiring your decision++### 🔴 P0 — Live API key committed to git++`.mcp.json:6` contains:++```+"Authorization": "Bearer sk_live_nFp3_eDJzJolnNjU27Jf1KKWuj4agpQs7Q-79Q"+```++The file is in `.gitignore` now but **was committed previously** (`git+ls-files .mcp.json` confirms it's tracked; `git log` shows commits+`0b745eb` and `a1109b9`). Anyone with read access to the repo (including+forks/clones) has this key.++Required action — not safe to do without you:++1. Revoke + rotate this API key immediately.+2. `git rm --cached .mcp.json` then commit the removal.+3. Rewrite history with `git-filter-repo` or BFG to scrub the key from+ past commits, then force-push (coordinate with anyone who has clones).++I did **not** delete the file or rewrite history.++### 🟡 P2 — `res.end(JSON.stringify(...))` deviations from `api/CLAUDE.md`++The convention says use `json(res, status, body)` from `api/_lib/http.js`.+Five spots ship raw `res.end(JSON.stringify(...))`:++- `api/agent-oembed.js:79`, `:160` — both intentional (special+ `application/json+oembed` content type); `json()` hardcodes+ `application/json`. Leave as-is or extend the helper.+- `api/widgets/oembed.js:86` — same oEmbed reason.+- `api/mcp.js:74`, `:703`, `:709` — JSON-RPC framing; leave as-is.+- `api/permissions/verify.js:80` — could migrate to `error()`. Trivial.++Only `permissions/verify.js` is a real cleanup candidate.++### 🟡 P2 — Sweep scripts++The auto-commit at `b6cb561` ("chore: add HTTP and page sweep scripts for+resource validation") committed two scratch scripts I'd written to drive+the page sweep:++- `tmp-http-sweep.mjs` — fetch HTML pages + sub-resource probes+- `tmp-page-sweep.mjs` — playwright variant (blocked: missing `libatk1.0`,+ no sudo)++If you want to keep them, move under `scripts/` and reinstall `cheerio`+(I uninstalled it because the script wasn't intended to land). If they+were committed by mistake, `git rm` them.++## What I checked and found nothing++- `npm audit` — 0 vulns.+- All JSON files (`vercel.json`, `package.json`, manifests, etc.) parse.+- HTTP sub-resource sweep across 28 built pages — every `<script src>`,+ `<link href>`, `<img src>` resolved to a 2xx. (Runtime JS errors NOT+ checked — playwright would not launch.)+- `forEach(async ...)` patterns — none.+- Static checks for unhandled `JSON.parse`, hardcoded sk-/AKIA-/ghp-+ prefixed secrets in `*.js`/`*.json` — only the one in `.mcp.json`.++## Coverage gaps observed (not addressed)++- No JS-runtime error sweep — chromium needs system libs that need sudo.+ Worth a follow-up on a machine where `npx playwright install --with-deps`+ works, or in CI.+- `knip` reports 600+ "unused" files but it has no config and treats every+ Vercel function entry + every HTML script as orphaned. Real dead-code+ audit needs a `knip.json` describing entry points.diff --git a/docs/WIDGETS.md b/docs/WIDGETS.mdindex ce9098844..00f8bea01 100644--- a/docs/WIDGETS.md+++ b/docs/WIDGETS.md@@ -93,11 +93,11 @@ The viewer supports the following hash params (combine with `&`):The `animation-gallery` widget renders every skinned clip on the avatar as a keyboard-navigable list.-| Config key | Type | Default | Description |-| ---------------- | --------- | ------- | ----------------------------------------------------------------------------------- |+| Config key | Type | Default | Description |+| ---------------- | --------- | ------- | ------------------------------------------------------------------------------------ || `defaultClip` | `string` | `''` | Clip name to autoplay on mount. Falls back to the first clip if the name is unknown. |-| `loopAll` | `boolean` | `false` | When true, each clip plays once then advances to the next; wraps to the first. |-| `showClipPicker` | `boolean` | `true` | Hide the picker chrome while keeping clip playback driven by `widget:command`. |+| `loopAll` | `boolean` | `false` | When true, each clip plays once then advances to the next; wraps to the first. |+| `showClipPicker` | `boolean` | `true` | Hide the picker chrome while keeping clip playback driven by `widget:command`. |Keyboard: ↑/↓ (or `k`/`j`) to move, Home/End to jump, Enter or Space to (re)play the highlighted clip. The picker pins to the top-right; on narrow viewports it docks to the bottom.diff --git a/package-lock.json b/package-lock.jsonindex 2877e64a9..ab3e1fcdd 100644--- a/package-lock.json+++ b/package-lock.json@@ -32,7 +32,6 @@"zod": "^3.23.8"},"devDependencies": {- "cheerio": "^1.2.0","playwright": "^1.59.1","prettier": "^3.2.5","sharp": "^0.34.5",@@ -5341,13 +5340,6 @@"integrity": "sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==","license": "MIT"},- "node_modules/boolbase": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",- "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",- "dev": true,- "license": "ISC"- },"node_modules/bowser": {"version": "2.14.1","resolved": "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz",@@ -5498,50 +5490,6 @@"node": ">=18"}},- "node_modules/cheerio": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.2.0.tgz",- "integrity": "sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg==",- "dev": true,- "license": "MIT",- "dependencies": {- "cheerio-select": "^2.1.0",- "dom-serializer": "^2.0.0",- "domhandler": "^5.0.3",- "domutils": "^3.2.2",- "encoding-sniffer": "^0.2.1",- "htmlparser2": "^10.1.0",- "parse5": "^7.3.0",- "parse5-htmlparser2-tree-adapter": "^7.1.0",- "parse5-parser-stream": "^7.1.2",- "undici": "^7.19.0",- "whatwg-mimetype": "^4.0.0"- },- "engines": {- "node": ">=20.18.1"- },- "funding": {- "url": "https://github.com/cheeriojs/cheerio?sponsor=1"- }- },- "node_modules/cheerio-select": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz",- "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "boolbase": "^1.0.0",- "css-select": "^5.1.0",- "css-what": "^6.1.0",- "domelementtype": "^2.3.0",- "domhandler": "^5.0.3",- "domutils": "^3.0.1"- },- "funding": {- "url": "https://github.com/sponsors/fb55"- }- },"node_modules/commander": {"version": "2.20.3","resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",@@ -5605,36 +5553,6 @@"node": ">=8"}},- "node_modules/css-select": {- "version": "5.2.2",- "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz",- "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "boolbase": "^1.0.0",- "css-what": "^6.1.0",- "domhandler": "^5.0.2",- "domutils": "^3.0.1",- "nth-check": "^2.0.1"- },- "funding": {- "url": "https://github.com/sponsors/fb55"- }- },- "node_modules/css-what": {- "version": "6.2.2",- "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz",- "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">= 6"- },- "funding": {- "url": "https://github.com/sponsors/fb55"- }- },"node_modules/dat.gui": {"version": "0.7.9","resolved": "https://registry.npmjs.org/dat.gui/-/dat.gui-0.7.9.tgz",@@ -5778,65 +5696,6 @@"node": ">=8"}},- "node_modules/dom-serializer": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",- "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",- "dev": true,- "license": "MIT",- "dependencies": {- "domelementtype": "^2.3.0",- "domhandler": "^5.0.2",- "entities": "^4.2.0"- },- "funding": {- "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"- }- },- "node_modules/domelementtype": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",- "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/fb55"- }- ],- "license": "BSD-2-Clause"- },- "node_modules/domhandler": {- "version": "5.0.3",- "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",- "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "domelementtype": "^2.3.0"- },- "engines": {- "node": ">= 4"- },- "funding": {- "url": "https://github.com/fb55/domhandler?sponsor=1"- }- },- "node_modules/domutils": {- "version": "3.2.2",- "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",- "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "dom-serializer": "^2.0.0",- "domelementtype": "^2.3.0",- "domhandler": "^5.0.3"- },- "funding": {- "url": "https://github.com/fb55/domutils?sponsor=1"- }- },"node_modules/dunder-proto": {"version": "1.0.1","resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",@@ -5875,33 +5734,6 @@"dev": true,"license": "ISC"},- "node_modules/encoding-sniffer": {- "version": "0.2.1",- "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz",- "integrity": "sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==",- "dev": true,- "license": "MIT",- "dependencies": {- "iconv-lite": "^0.6.3",- "whatwg-encoding": "^3.1.1"- },- "funding": {- "url": "https://github.com/fb55/encoding-sniffer?sponsor=1"- }- },- "node_modules/entities": {- "version": "4.5.0",- "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",- "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">=0.12"- },- "funding": {- "url": "https://github.com/fb55/entities?sponsor=1"- }- },"node_modules/es-abstract": {"version": "1.24.2","resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz",@@ -6661,52 +6493,6 @@"node": ">= 0.4"}},- "node_modules/htmlparser2": {- "version": "10.1.0",- "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz",- "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==",- "dev": true,- "funding": [- "https://github.com/fb55/htmlparser2?sponsor=1",- {- "type": "github",- "url": "https://github.com/sponsors/fb55"- }- ],- "license": "MIT",- "dependencies": {- "domelementtype": "^2.3.0",- "domhandler": "^5.0.3",- "domutils": "^3.2.2",- "entities": "^7.0.1"- }- },- "node_modules/htmlparser2/node_modules/entities": {- "version": "7.0.1",- "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz",- "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">=0.12"- },- "funding": {- "url": "https://github.com/fb55/entities?sponsor=1"- }- },- "node_modules/iconv-lite": {- "version": "0.6.3",- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",- "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",- "dev": true,- "license": "MIT",- "dependencies": {- "safer-buffer": ">= 2.1.2 < 3.0.0"- },- "engines": {- "node": ">=0.10.0"- }- },"node_modules/idb": {"version": "7.1.1","resolved": "https://registry.npmjs.org/idb/-/idb-7.1.1.tgz",@@ -7404,19 +7190,6 @@"dev": true,"license": "MIT"},- "node_modules/nth-check": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",- "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "boolbase": "^1.0.0"- },- "funding": {- "url": "https://github.com/fb55/nth-check?sponsor=1"- }- },"node_modules/object-inspect": {"version": "1.13.4","resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",@@ -7572,59 +7345,6 @@"dev": true,"license": "BlueOak-1.0.0"},- "node_modules/parse5": {- "version": "7.3.0",- "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",- "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",- "dev": true,- "license": "MIT",- "dependencies": {- "entities": "^6.0.0"- },- "funding": {- "url": "https://github.com/inikulin/parse5?sponsor=1"- }- },- "node_modules/parse5-htmlparser2-tree-adapter": {- "version": "7.1.0",- "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz",- "integrity": "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==",- "dev": true,- "license": "MIT",- "dependencies": {- "domhandler": "^5.0.3",- "parse5": "^7.0.0"- },- "funding": {- "url": "https://github.com/inikulin/parse5?sponsor=1"- }- },- "node_modules/parse5-parser-stream": {- "version": "7.1.2",- "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz",- "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==",- "dev": true,- "license": "MIT",- "dependencies": {- "parse5": "^7.0.0"- },- "funding": {- "url": "https://github.com/inikulin/parse5?sponsor=1"- }- },- "node_modules/parse5/node_modules/entities": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",- "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">=0.12"- },- "funding": {- "url": "https://github.com/fb55/entities?sponsor=1"- }- },"node_modules/path-expression-matcher": {"version": "1.5.0","resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz",@@ -8180,13 +7900,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/safer-buffer": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",- "dev": true,- "license": "MIT"- },"node_modules/semver": {"version": "6.3.1","resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",@@ -8916,16 +8629,6 @@"integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==","license": "MIT"},- "node_modules/undici": {- "version": "7.25.0",- "resolved": "https://registry.npmjs.org/undici/-/undici-7.25.0.tgz",- "integrity": "sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=20.18.1"- }- },"node_modules/undici-types": {"version": "7.19.2","resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz",@@ -9351,30 +9054,6 @@"dev": true,"license": "BSD-2-Clause"},- "node_modules/whatwg-encoding": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz",- "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==",- "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation",- "dev": true,- "license": "MIT",- "dependencies": {- "iconv-lite": "0.6.3"- },- "engines": {- "node": ">=18"- }- },- "node_modules/whatwg-mimetype": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz",- "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18"- }- },"node_modules/whatwg-url": {"version": "7.1.0","resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",diff --git a/package.json b/package.jsonindex d5b66379e..72698c50e 100644--- a/package.json+++ b/package.json@@ -73,7 +73,6 @@"zod": "^3.23.8"},"devDependencies": {- "cheerio": "^1.2.0","playwright": "^1.59.1","prettier": "^3.2.5","sharp": "^0.34.5",diff --git a/public/dashboard/actions.html b/public/dashboard/actions.htmlindex 493e61cab..b5ba57d59 100644--- a/public/dashboard/actions.html+++ b/public/dashboard/actions.html@@ -272,9 +272,12 @@height: 1px;margin-top: 20px;}+ body[data-auth-pending] {+ visibility: hidden;+ }</style></head>- <body>+ <body data-auth-pending><div class="container"><div class="header"><div class="agent-info">@@ -334,17 +337,21 @@}if (r.status === 403) {showError('Not authorized to view this agent.');+ document.body.removeAttribute('data-auth-pending');return;}if (r.status === 404) {showError('Agent not found.');+ document.body.removeAttribute('data-auth-pending');return;}if (!r.ok) {showError(`Error ${r.status}`);+ document.body.removeAttribute('data-auth-pending');return;}+ document.body.removeAttribute('data-auth-pending');const data = await r.json();const { actions, nextCursor: nc } = data;diff --git a/public/dashboard/dashboard.js b/public/dashboard/dashboard.jsindex 8ef030232..09ad7bae4 100644--- a/public/dashboard/dashboard.js+++ b/public/dashboard/dashboard.js@@ -1196,11 +1196,13 @@ async function rePinAgentManifest({ agent, animations, logEl }) {btn.disabled = true;logEl.textContent = '';try {- const [{ connectWallet, getIdentityRegistry, pinFile, buildRegistrationJSON }, { REGISTRY_DEPLOYMENTS }] =- await Promise.all([- import('/src/erc8004/agent-registry.js'),- import('/src/erc8004/abi.js'),- ]);+ const [+ { connectWallet, getIdentityRegistry, pinFile, buildRegistrationJSON },+ { REGISTRY_DEPLOYMENTS },+ ] = await Promise.all([+ import('/src/erc8004/agent-registry.js'),+ import('/src/erc8004/abi.js'),+ ]);say('Connecting wallet…');const { signer, chainId } = await connectWallet();@@ -1237,7 +1239,8 @@ async function rePinAgentManifest({ agent, animations, logEl }) {);const glbUrl =currentMeta.body?.uri ||- (currentMeta.services || []).find((s) => s?.name === 'avatar' && s?.endpoint)?.endpoint ||+ (currentMeta.services || []).find((s) => s?.name === 'avatar' && s?.endpoint)+ ?.endpoint ||'';say('Building new registration JSON…');diff --git a/public/dashboard/sessions.html b/public/dashboard/sessions.htmlindex ff9594a98..e046d82bc 100644--- a/public/dashboard/sessions.html+++ b/public/dashboard/sessions.html@@ -184,9 +184,12 @@background: #222230;color: #ddd;}+ body[data-auth-pending] {+ visibility: hidden;+ }</style></head>- <body>+ <body data-auth-pending><header><div class="brand"><a href="/">3D Agent</a></div><button class="btn sec" onclick="signOut()">Sign out</button>@@ -275,6 +278,7 @@return;}if (!res.ok) throw new Error('Failed to verify auth');+ document.body.removeAttribute('data-auth-pending');const sessionsRes = await fetch('/api/auth/sessions', {credentials: 'include',diff --git a/public/dashboard/storage.html b/public/dashboard/storage.htmlindex e6709698a..ac65499df 100644--- a/public/dashboard/storage.html+++ b/public/dashboard/storage.html@@ -262,8 +262,8 @@</div><p class="muted" style="margin-top: 10px">Real pinning runs through Pinata when <code>PINATA_JWT</code> is configured- on the server. Otherwise the endpoint records a content-hash stub CID so- the rest of the flow still works in dev.+ on the server. Otherwise the endpoint records a content-hash stub CID so the+ rest of the flow still works in dev.</p></fieldset></div>diff --git a/public/dashboard/wallets.html b/public/dashboard/wallets.htmlindex 98b126ec3..caae4cc5f 100644--- a/public/dashboard/wallets.html+++ b/public/dashboard/wallets.html@@ -175,9 +175,12 @@color: #888;font-size: 13px;}+ body[data-auth-pending] {+ visibility: hidden;+ }</style></head>- <body>+ <body data-auth-pending><header><div class="brand"><a href="/">3D Agent</a></div><div class="row">diff --git a/src/components/validator-report.jsx b/src/components/validator-report.jsxindex 4c674e847..625e041e5 100644--- a/src/components/validator-report.jsx+++ b/src/components/validator-report.jsx@@ -13,8 +13,7 @@ export function ValidatorReport({infos,reportJSON,}) {- const totalIssues =- issues.numErrors + issues.numWarnings + issues.numInfos + issues.numHints;+ const totalIssues = issues.numErrors + issues.numWarnings + issues.numInfos + issues.numHints;const isClean = totalIssues === 0;return (<div class="report">@@ -49,7 +48,8 @@ export function ValidatorReport({{issues.numErrors > 0 && issues.numWarnings > 0 && ', '}{issues.numWarnings > 0 && (<span>- <b>{issues.numWarnings}</b> warning{issues.numWarnings === 1 ? '' : 's'}+ <b>{issues.numWarnings}</b> warning+ {issues.numWarnings === 1 ? '' : 's'}</span>)}{(issues.numErrors > 0 || issues.numWarnings > 0) &&diff --git a/tests/api/api-keys.test.js b/tests/api/api-keys.test.jsindex 73f2ae933..2b1608732 100644--- a/tests/api/api-keys.test.js+++ b/tests/api/api-keys.test.js@@ -45,9 +45,7 @@ const { default: handler } = await import('../../api/api-keys.js');// ── Helpers ───────────────────────────────────────────────────────────────function makeReq({ method = 'GET', url = '/api/api-keys', headers = {}, body = null } = {}) {- const base = body- ? Readable.from([Buffer.from(JSON.stringify(body))])- : Readable.from([]);+ const base = body ? Readable.from([Buffer.from(JSON.stringify(body))]) : Readable.from([]);base.method = method;base.url = url;base.headers = {diff --git a/tests/api/llm-anthropic.test.js b/tests/api/llm-anthropic.test.jsindex 021336196..333ea8833 100644--- a/tests/api/llm-anthropic.test.js+++ b/tests/api/llm-anthropic.test.js@@ -100,7 +100,9 @@ function patchHeaders(map) {globalThis.fetch = vi.fn(async (url, init) => {fetchState.calls.push({ url, init });const r = await fetchState.response();- r.headers = patchHeaders(r.headers instanceof Map ? r.headers : new Map(Object.entries(r.headers || {})));+ r.headers = patchHeaders(+ r.headers instanceof Map ? r.headers : new Map(Object.entries(r.headers || {})),+ );return r;});@@ -109,9 +111,7 @@ const { default: handler } = await import('../../api/llm/anthropic.js');// ── Helpers ───────────────────────────────────────────────────────────────function makeReq({ url = '/api/llm/anthropic?agent=agent-1', headers = {}, body = null } = {}) {- const base = body- ? Readable.from([Buffer.from(JSON.stringify(body))])- : Readable.from([]);+ const base = body ? Readable.from([Buffer.from(JSON.stringify(body))]) : Readable.from([]);base.method = 'POST';base.url = url;base.headers = {@@ -128,9 +128,16 @@ function makeRes() {headers: {},body: '',writableEnded: false,- setHeader(k, v) { this.headers[k.toLowerCase()] = v; },- getHeader(k) { return this.headers[k.toLowerCase()]; },- end(chunk) { if (chunk !== undefined) this.body += chunk; this.writableEnded = true; },+ setHeader(k, v) {+ this.headers[k.toLowerCase()] = v;+ },+ getHeader(k) {+ return this.headers[k.toLowerCase()];+ },+ end(chunk) {+ if (chunk !== undefined) this.body += chunk;+ this.writableEnded = true;+ },};}@@ -142,7 +149,13 @@ async function invoke(opts = {}) {return { res, status: res.statusCode, body: json };}-function safeJson(s) { try { return JSON.parse(s); } catch { return s; } }+function safeJson(s) {+ try {+ return JSON.parse(s);+ } catch {+ return s;+ }+}const VALID_BODY = {messages: [{ role: 'user', content: 'hello' }],@@ -367,7 +380,9 @@ describe('/api/llm/anthropic — upstream behaviour', () => {it('sanitizes upstream errors into a generic 502 envelope (no leaking)', async () => {fetchState.response = () =>- upstreamErr(429, { error: { type: 'rate_limit', message: 'slow down', secret: 'leaked' } });+ upstreamErr(429, {+ error: { type: 'rate_limit', message: 'slow down', secret: 'leaked' },+ });const { status, body } = await invoke({ body: VALID_BODY });expect(status).toBe(502);expect(body.error).toBe('upstream_error');diff --git a/tests/src/ipfs.test.js b/tests/src/ipfs.test.jsindex f59d302ca..a221c20c1 100644--- a/tests/src/ipfs.test.js+++ b/tests/src/ipfs.test.js@@ -46,9 +46,7 @@ describe('resolveURI', () => {});it('returns http(s) URLs unchanged', () => {- expect(resolveURI('https://example.com/model.glb')).toBe(- 'https://example.com/model.glb',- );+ expect(resolveURI('https://example.com/model.glb')).toBe('https://example.com/model.glb');expect(resolveURI('http://example.com/x')).toBe('http://example.com/x');});diff --git a/tests/src/manifest.test.js b/tests/src/manifest.test.jsindex 72907a2d6..8363afadd 100644--- a/tests/src/manifest.test.js+++ b/tests/src/manifest.test.js@@ -220,7 +220,10 @@ describe('normalize — fallback / unknown input', () => {});it('preserves user-provided brain config', () => {- const m = normalize({ brain: { provider: 'anthropic', model: 'claude-x' } }, { baseURI: '' });+ const m = normalize(+ { brain: { provider: 'anthropic', model: 'claude-x' } },+ { baseURI: '' },+ );expect(m.brain.provider).toBe('anthropic');expect(m.brain.model).toBe('claude-x');});diff --git a/tests/src/validator.test.js b/tests/src/validator.test.jsindex f763f0a27..cce6550c9 100644--- a/tests/src/validator.test.js+++ b/tests/src/validator.test.js@@ -89,7 +89,17 @@ describe('Validator.setReport', () => {});it('uses empty string when info.generator is missing', () => {- const report = { info: {}, issues: { numErrors: 0, numWarnings: 0, numInfos: 0, numHints: 0, messages: [], maxSeverity: -1 } };+ const report = {+ info: {},+ issues: {+ numErrors: 0,+ numWarnings: 0,+ numInfos: 0,+ numHints: 0,+ messages: [],+ maxSeverity: -1,+ },+ };validator.setReport(report, null);expect(validator.report.generator).toBe('');});@@ -165,7 +175,14 @@ describe('Validator.setResponse', () => {validator.setReport({info: { generator: 'x' },- issues: { numErrors: 0, numWarnings: 0, numInfos: 0, numHints: 0, messages: [], maxSeverity: -1 },+ issues: {+ numErrors: 0,+ numWarnings: 0,+ numInfos: 0,+ numHints: 0,+ messages: [],+ maxSeverity: -1,+ },},null,);diff --git a/tests/src/widget-types.test.js b/tests/src/widget-types.test.jsindex c9a7e1c37..8654e0705 100644--- a/tests/src/widget-types.test.js+++ b/tests/src/widget-types.test.js@@ -92,9 +92,7 @@ describe('validateConfig — turntable', () => {describe('validateConfig — talking-agent', () => {it('accepts default config', () => {- expect(() =>- validateConfig('talking-agent', defaultConfig('talking-agent')),- ).not.toThrow();+ expect(() => validateConfig('talking-agent', defaultConfig('talking-agent'))).not.toThrow();});it('requires proxyURL when brainProvider is custom', () => {@@ -127,7 +125,10 @@ describe('validateConfig — talking-agent', () => {it('rejects temperature above 1', () => {expect(() =>- validateConfig('talking-agent', { ...defaultConfig('talking-agent'), temperature: 1.5 }),+ validateConfig('talking-agent', {+ ...defaultConfig('talking-agent'),+ temperature: 1.5,+ }),).toThrow();});});@@ -166,9 +167,7 @@ describe('validateConfig — passport', () => {describe('validateConfig — hotspot-tour', () => {it('accepts empty hotspots array', () => {- expect(() =>- validateConfig('hotspot-tour', defaultConfig('hotspot-tour')),- ).not.toThrow();+ expect(() => validateConfig('hotspot-tour', defaultConfig('hotspot-tour'))).not.toThrow();});it('rejects hotspot with missing position', () => {diff --git a/tmp-http-sweep.mjs b/tmp-http-sweep.mjsindex 970b43507..c97808506 100644--- a/tmp-http-sweep.mjs+++ b/tmp-http-sweep.mjs@@ -39,7 +39,11 @@ const paths = [async function probe(url) {try {const r = await fetch(url, { redirect: 'manual' });- return { status: r.status, ok: r.ok || r.status < 400, body: r.status < 400 ? await r.text() : null };+ return {+ status: r.status,+ ok: r.ok || r.status < 400,+ body: r.status < 400 ? await r.text() : null,+ };} catch (e) {return { status: 0, ok: false, err: e.message };}@@ -69,12 +73,14 @@ for (const p of paths) {$('script[src]').each((_, el) => refs.add($(el).attr('src')));$('link[href]').each((_, el) => refs.add($(el).attr('href')));$('img[src]').each((_, el) => refs.add($(el).attr('src')));- const refList = [...refs].filter((u) => u && !u.startsWith('http') && !u.startsWith('//') && !u.startsWith('data:'));+ const refList = [...refs].filter(+ (u) => u && !u.startsWith('http') && !u.startsWith('//') && !u.startsWith('data:'),+ );const results = await Promise.all(refList.map(async (ref) => {const abs = ref.startsWith('/') ? BASE + ref : new URL(ref, BASE + p).toString();return { ref, status: await head(abs) };- })+ }),);for (const { ref, status } of results) {if (status >= 400 || status === 0) entry.broken.push({ ref, status });diff --git a/tmp-page-sweep.mjs b/tmp-page-sweep.mjsindex 155d13e81..9ea3aaef1 100644--- a/tmp-page-sweep.mjs+++ b/tmp-page-sweep.mjs@@ -76,8 +76,14 @@ for (const p of paths) {failed: failed.filter((x) => !/\/@vite\/|vite\/client|hot-update/.test(x)),};report.push(entry);- const problems = (entry.loadErr ? 1 : 0) + entry.consoleErrors.length + entry.pageErrors.length + entry.failed.length;- console.log(`[${problems === 0 ? 'OK' : 'WARN'}] ${p} (${problems} issue${problems === 1 ? '' : 's'})`);+ const problems =+ (entry.loadErr ? 1 : 0) ++ entry.consoleErrors.length ++ entry.pageErrors.length ++ entry.failed.length;+ console.log(+ `[${problems === 0 ? 'OK' : 'WARN'}] ${p} (${problems} issue${problems === 1 ? '' : 's'})`,+ );}await browser.close();@@ -85,7 +91,8 @@ await browser.close();// Print detailsconsole.log('\n\n==== DETAILS ====');for (const r of report) {- const issues = (r.loadErr ? 1 : 0) + r.consoleErrors.length + r.pageErrors.length + r.failed.length;+ const issues =+ (r.loadErr ? 1 : 0) + r.consoleErrors.length + r.pageErrors.length + r.failed.length;if (issues === 0) continue;console.log(`\n--- ${r.path} ---`);if (r.loadErr) console.log(' LOAD:', r.loadErr);diff --git a/yarn.lock b/yarn.lockindex a3506aa34..a89a4457b 100644--- a/yarn.lock+++ b/yarn.lock@@ -2423,11 +2423,6 @@ bcryptjs@^2.4.3:resolved "https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.4.3.tgz"integrity sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==-boolbase@^1.0.0:- version "1.0.0"- resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz"- integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==-bowser@^2.11.0:version "2.14.1"resolved "https://registry.npmjs.org/bowser/-/bowser-2.14.1.tgz"@@ -2504,35 +2499,6 @@ chai@^6.2.2:resolved "https://registry.npmjs.org/chai/-/chai-6.2.2.tgz"integrity sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==-cheerio-select@^2.1.0:- version "2.1.0"- resolved "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz"- integrity sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==- dependencies:- boolbase "^1.0.0"- css-select "^5.1.0"- css-what "^6.1.0"- domelementtype "^2.3.0"- domhandler "^5.0.3"- domutils "^3.0.1"--cheerio@^1.2.0:- version "1.2.0"- resolved "https://registry.npmjs.org/cheerio/-/cheerio-1.2.0.tgz"- integrity sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg==- dependencies:- cheerio-select "^2.1.0"- dom-serializer "^2.0.0"- domhandler "^5.0.3"- domutils "^3.2.2"- encoding-sniffer "^0.2.1"- htmlparser2 "^10.1.0"- parse5 "^7.3.0"- parse5-htmlparser2-tree-adapter "^7.1.0"- parse5-parser-stream "^7.1.2"- undici "^7.19.0"- whatwg-mimetype "^4.0.0"-commander@^2.20.0:version "2.20.3"resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz"@@ -2569,22 +2535,6 @@ crypto-random-string@^2.0.0:resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz"integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==-css-select@^5.1.0:- version "5.2.2"- resolved "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz"- integrity sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==- dependencies:- boolbase "^1.0.0"- css-what "^6.1.0"- domhandler "^5.0.2"- domutils "^3.0.1"- nth-check "^2.0.1"--css-what@^6.1.0:- version "6.2.2"- resolved "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz"- integrity sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==-dat.gui@^0.7.9:version "0.7.9"resolved "https://registry.npmjs.org/dat.gui/-/dat.gui-0.7.9.tgz"@@ -2657,36 +2607,6 @@ detect-libc@^2.1.2:resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz"integrity sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==-dom-serializer@^2.0.0:- version "2.0.0"- resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz"- integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==- dependencies:- domelementtype "^2.3.0"- domhandler "^5.0.2"- entities "^4.2.0"--domelementtype@^2.3.0:- version "2.3.0"- resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz"- integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==--domhandler@^5.0.2, domhandler@^5.0.3:- version "5.0.3"- resolved "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz"- integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==- dependencies:- domelementtype "^2.3.0"--domutils@^3.0.1, domutils@^3.2.2:- version "3.2.2"- resolved "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz"- integrity sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==- dependencies:- dom-serializer "^2.0.0"- domelementtype "^2.3.0"- domhandler "^5.0.3"-dunder-proto@^1.0.0, dunder-proto@^1.0.1:version "1.0.1"resolved "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz"@@ -2708,29 +2628,6 @@ electron-to-chromium@^1.5.328:resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.336.tgz"integrity sha512-AbH9q9J455r/nLmdNZes0G0ZKcRX73FicwowalLs6ijwOmCJSRRrLX63lcAlzy9ux3dWK1w1+1nsBJEWN11hcQ==-encoding-sniffer@^0.2.1:- version "0.2.1"- resolved "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.1.tgz"- integrity sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==- dependencies:- iconv-lite "^0.6.3"- whatwg-encoding "^3.1.1"--entities@^4.2.0:- version "4.5.0"- resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz"- integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==--entities@^6.0.0:- version "6.0.1"- resolved "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz"- integrity sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==--entities@^7.0.1:- version "7.0.1"- resolved "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz"- integrity sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==-es-abstract@^1.23.5, es-abstract@^1.23.6, es-abstract@^1.23.9:version "1.24.2"resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz"@@ -3140,23 +3037,6 @@ hasown@^2.0.2:dependencies:function-bind "^1.1.2"-htmlparser2@^10.1.0:- version "10.1.0"- resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz"- integrity sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==- dependencies:- domelementtype "^2.3.0"- domhandler "^5.0.3"- domutils "^3.2.2"- entities "^7.0.1"--iconv-lite@^0.6.3, [email protected]:- version "0.6.3"- resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz"- integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==- dependencies:- safer-buffer ">= 2.1.2 < 3.0.0"-idb@^7.0.1:version "7.1.1"resolved "https://registry.npmjs.org/idb/-/idb-7.1.1.tgz"@@ -3532,13 +3412,6 @@ node-releases@^2.0.36:resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.37.tgz"integrity sha512-1h5gKZCF+pO/o3Iqt5Jp7wc9rH3eJJ0+nh/CIoiRwjRxde/hAHyLPXYN4V3CqKAbiZPSeJFSWHmJsbkicta0Eg==-nth-check@^2.0.1:- version "2.1.1"- resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz"- integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==- dependencies:- boolbase "^1.0.0"-object-inspect@^1.13.3, object-inspect@^1.13.4:version "1.13.4"resolved "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz"@@ -3599,28 +3472,6 @@ package-json-from-dist@^1.0.0:resolved "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz"integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==-parse5-htmlparser2-tree-adapter@^7.1.0:- version "7.1.0"- resolved "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.1.0.tgz"- integrity sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==- dependencies:- domhandler "^5.0.3"- parse5 "^7.0.0"--parse5-parser-stream@^7.1.2:- version "7.1.2"- resolved "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz"- integrity sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==- dependencies:- parse5 "^7.0.0"--parse5@^7.0.0, parse5@^7.3.0:- version "7.3.0"- resolved "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz"- integrity sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==- dependencies:- entities "^6.0.0"-path-expression-matcher@^1.1.3, path-expression-matcher@^1.2.0:version "1.5.0"resolved "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz"@@ -3927,11 +3778,6 @@ safe-regex-test@^1.1.0:es-errors "^1.3.0"is-regex "^1.2.1"-"safer-buffer@>= 2.1.2 < 3.0.0":- version "2.1.2"- resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz"- integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==-semver@^6.3.1:version "6.3.1"resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"@@ -4364,11 +4210,6 @@ undici-types@~7.19.0:resolved "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz"integrity sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==-undici@^7.19.0:- version "7.25.0"- resolved "https://registry.npmjs.org/undici/-/undici-7.25.0.tgz"- integrity sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==-unicode-canonical-property-names-ecmascript@^2.0.0:version "2.0.1"resolved "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz"@@ -4497,18 +4338,6 @@ webidl-conversions@^4.0.2:resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz"integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==-whatwg-encoding@^3.1.1:- version "3.1.1"- resolved "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz"- integrity sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==- dependencies:- iconv-lite "0.6.3"--whatwg-mimetype@^4.0.0:- version "4.0.0"- resolved "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz"- integrity sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==-whatwg-url@^7.0.0:version "7.1.0"resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz"