rmccorkl_TubeSage/package.json
Richard McCorkle 8311ee1fb8 chore: upgrade eslint-plugin-obsidianmd to 0.3.0, fix resulting lint errors
Bump eslint-plugin-obsidianmd 0.2.9 -> 0.3.0 and typescript-eslint
8.58.2 -> 8.59.3. ESLint stays at 9.39.4: obsidianmd 0.3.0 peer-pins
@eslint/js ^9 and @eslint/json 0.14.0, so ESLint 10 is not yet
cleanly supported.

obsidianmd 0.3.0 adds two new rules. Fixes for the errors they raise:
- no-unnecessary-type-assertion: remove 4 redundant type assertions
  (main.ts x3, fetch-shim.ts x1) - all compile-time-only, tsc confirms.
- prefer-window-timers: switch 11 activeWindow timer calls to window
  (main.ts, form-utils.ts, processing-spinner.ts). TubeSage has no
  popout-window feature, so window === activeWindow at every call site.

Note: obsidianmd 0.3.0's prefer-active-doc rule (warning) now flags
window.* as preferring activeWindow, directly contradicting the
error-level prefer-window-timers rule. window.* is kept because it
satisfies the error-level rule; the 11 advisory warnings are an
upstream rule conflict and cannot be resolved without suppression.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 07:38:12 +02:00

51 lines
1.3 KiB
JSON

{
"name": "tubesage",
"version": "1.3.0",
"description": "Create comprehensive notes from YouTube transcripts using LLMs.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"deploy": "chmod +x scripts/deploy.sh && ./scripts/deploy.sh",
"lint": "eslint .",
"postbuild": "npm run audit:fallow",
"audit:fallow": "fallow audit --base main",
"graph:update": "graphify . --update"
},
"keywords": [
"obsidian",
"youtube",
"transcript",
"llm",
"templater"
],
"author": "Richard McCorkle",
"license": "MIT",
"devDependencies": {
"@eslint/js": "9.39.4",
"@eslint/json": "0.14.0",
"@types/express": "^5.0.3",
"@types/node": "^24.3.0",
"esbuild": "^0.27.2",
"eslint": "^9.39.2",
"eslint-plugin-no-unsanitized": "4.1.5",
"eslint-plugin-obsidianmd": "0.3.0",
"obsidian": "^1.11.4",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"typescript-eslint": "8.59.3"
},
"overrides": {
"axios": ">=1.15.0",
"langsmith": ">=0.6.0",
"fast-xml-parser": ">=5.7.0",
"uuid": ">=14.0.0",
"fast-uri": ">=3.1.2"
},
"dependencies": {
"@langchain/core": "^0.3.17",
"@langchain/ollama": "^0.2.0",
"@langchain/openai": "^0.6.7",
"hh-mm-ss": "^1.2.0"
}
}