)]}'
{
  "commit": "225e9668aeebc0cae667872dd45222d69ac3cbd8",
  "tree": "5ed3bd693b61ba13c6609d8afefb343cf919abb8",
  "parents": [
    "6d3de48ec0ec2fb8f194a11f1711b7128b7d1699"
  ],
  "author": {
    "name": "philip.zeyliger",
    "email": "philip.zeyliger@gmail.com",
    "time": "Tue Jun 10 23:05:06 2025 +0000"
  },
  "committer": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Wed Jun 11 12:14:50 2025 -0700"
  },
  "message": "webui: remove deprecated @types/dompurify dependency\n\nRemove @types/dompurify package dependency since modern dompurify includes\nbuilt-in TypeScript definitions, eliminating the npm deprecation warning.\n\nProblem Analysis:\nnpm install was showing deprecation warning:\n\u0027@types/dompurify@3.2.0: This is a stub types definition. dompurify provides\nits own type definitions, so you do not need this installed.\u0027\n\nThe webui package.json included both dompurify@^3.2.6 and @types/dompurify@^3.2.0\nas dependencies. Modern versions of dompurify (3.x+) ship with their own\nTypeScript definitions built-in, making the separate @types package redundant\nand deprecated. This created unnecessary dependency bloat and triggered warnings\nduring npm install operations.\n\nImplementation Changes:\n\n1. Package Dependency Cleanup:\n   - Removed \u0027@types/dompurify\u0027: \u0027^3.2.0\u0027 from webui/package.json dependencies\n   - Preserved dompurify@^3.2.6 which provides both runtime code and TypeScript types\n   - No code changes required since imports remain identical\n\n2. TypeScript Compatibility:\n   - Verified existing DOMPurify imports continue working with built-in types\n   - Confirmed TypeScript compilation passes without @types/dompurify\n   - No changes needed to mobile-chat.ts, sketch-tool-card.ts, or sketch-timeline-message.ts\n\nTechnical Details:\n- dompurify 3.x series includes index.d.ts with complete TypeScript definitions\n- Import syntax \u0027import DOMPurify from \"dompurify\"\u0027 unchanged and fully typed\n- npm install completes cleanly without deprecation warnings\n- TypeScript check (tsc --noEmit) passes successfully with built-in types\n\nBenefits:\n- Eliminates npm deprecation warning during install operations\n- Reduces dependency count and package.json complexity\n- Uses official TypeScript definitions from dompurify maintainers\n- Maintains identical functionality and type safety\n- Cleaner dependency tree without redundant type packages\n\nTesting:\n- npm install runs successfully without warnings\n- TypeScript compilation (npm run check) passes without errors\n- All DOMPurify usage in web components maintains full type safety\n- Build process completes successfully with built-in type definitions\n\nThis cleanup removes technical debt and follows best practices for modern\nTypeScript package management by using built-in type definitions rather\nthan deprecated stub packages.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: sf9e195a31b2adb28k\n\nwebui: update package-lock.json after removing @types/dompurify\n\nUpdate package-lock.json to reflect removal of deprecated @types/dompurify\ndependency, completing the cleanup of redundant type definitions.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s0cdb73feadefc7b1k\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "848b7d58aa3a733aeb03d23678edde683ba73f43",
      "old_mode": 33188,
      "old_path": "webui/package-lock.json",
      "new_id": "03f2a17cc4a8c8d6e744361ecbf467f6439ca3d5",
      "new_mode": 33188,
      "new_path": "webui/package-lock.json"
    },
    {
      "type": "modify",
      "old_id": "4fbe00854420485559fea5e6308dedca9b6c0eda",
      "old_mode": 33188,
      "old_path": "webui/package.json",
      "new_id": "f96f86d6724cf3e0a270b1783c33975ef5048007",
      "new_mode": 33188,
      "new_path": "webui/package.json"
    }
  ]
}
