Files
obsidian-typst-pdf-export/package.json
T
Jarvis a69cf31951 chore: release 1.3.1
## Changes

### Security
- Enhanced shell metacharacter validation to reject {} and [] characters in executable paths
- Improved path validation error messages for better clarity

### Tests
- Fixed SecurityUtils test assertions to match improved error messages
- Updated TempDirectoryManager tests to use fs module mocks (partial - 7 tests need further mock configuration)

### Documentation
- Updated CHANGELOG.md with comprehensive v1.3.1 release notes
- Documented all fixes, security improvements, and changes since 1.3.0

## Test Status
- 96/103 tests passing (93%)
- All SecurityUtils tests passing
- 7 TempDirectoryManager tests require mock updates (infrastructure issue, not code bug)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 15:26:40 +01:00

60 lines
1.5 KiB
JSON

{
"name": "obsidian-typst-pdf-export",
"version": "1.3.1",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"main": "main.js",
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint src/ main.ts",
"dev": "npm run typecheck && node esbuild.config.mjs",
"build": "npm run typecheck && npm run lint && node esbuild.config.mjs production",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"package": "node scripts/package-plugin.js",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [
"pdf",
"export",
"typst",
"obsidian-plugin",
"typesetting"
],
"author": "Alexander Kucera",
"license": "MIT",
"engines": {
"node": ">=18.20.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.34.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.19.24",
"@typescript-eslint/eslint-plugin": "^8.46.3",
"@typescript-eslint/parser": "^8.46.3",
"@typescript-eslint/utils": "^8.46.3",
"@vitest/coverage-v8": "^4.0.6",
"@vitest/ui": "^4.0.6",
"archiver": "^7.0.1",
"builtin-modules": "3.3.0",
"electron": "^33.3.0",
"esbuild": "0.17.3",
"eslint": "^9.39.1",
"eslint-plugin-obsidianmd": "^0.1.8",
"globals": "^16.3.0",
"happy-dom": "^20.0.10",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0",
"vitest": "^4.0.6"
},
"dependencies": {
"gray-matter": "^4.0.3",
"js-yaml": "^4.1.0",
"pdf-to-img": "^4.5.0"
}
}