binhong87_obsidian-note-agent/package.json
Bin-Home ca0b078d0f fix: restore this-binding in openSettings, bump to v0.3.4
Detaching a method via `const fn = obj.method` loses its `this`
context. Replaced with Reflect.apply(fn, s, args) so the Obsidian
Settings object's internal `this.app` reference stays intact.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-04-30 11:42:25 +08:00

37 lines
924 B
JSON

{
"name": "smart-note-agent",
"version": "0.3.4",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc --noEmit && node esbuild.config.mjs production",
"lint": "eslint src/",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@eslint/js": "^9.39.4",
"@tsconfig/svelte": "^5.0.8",
"@types/node": "^20.19.39",
"esbuild": "^0.20.2",
"esbuild-svelte": "^0.8.2",
"eslint": "^9.39.4",
"eslint-plugin-obsidianmd": "^0.2.8",
"eslint-plugin-svelte": "^2.46.1",
"obsidian": "^1.12.3",
"prettier": "^3.8.3",
"svelte": "^4.2.20",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.8.1",
"typescript": "5.4",
"typescript-eslint": "^8.59.1",
"vitest": "^1.6.1"
}
}