Files
goon_plugin/package.json
T
robot 8e9f7f96f1
CI / test (pull_request) Successful in 23s
refactor: audit fixes — clean up bugs, dead code, and type mismatches
- viewer.js: remove undefined state.segmentsBuffered assignment in BUFFER_RESET
- viewer.js: add missing 'switching' and 'ended' phases to PHASE_ICONS
- index.js: remove redundant Strategy B3 (duplicated B1 video-element walk)
- index.js: filter standard <video> DOM attributes from custom-property scans
  (m3u8DeepProbeFn B1 and scrapeFn Priority 3) to avoid iterating built-in
  properties that can never contain HLS data
- background.js: remove unconditional return true (handlers are synchronous)
  and remove dead error-response for unknown message types
- types.ts: align MediaType union ('direct' | 'hls') with actual runtime
  value used in code ('video' | 'hls')
- package.json: remove hls.js from dependencies (loaded from CDN at runtime,
  never imported as an npm module)
2026-08-13 04:59:59 +00:00

28 lines
609 B
JSON

{
"name": "goon-plugin",
"version": "0.1.0",
"private": true,
"description": "Chrome extension scaffold",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "node __tests__/run.mjs",
"test:watch": "vitest",
"check": "tsc --noEmit"
},
"devDependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"chrome-types": "^0.1.336",
"eslint": "^9.0.0",
"jsdom": "^24.1.3",
"sharp": "^0.34.5",
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vitest": "^3.0.0"
}
}