Mercurial > obsidian-remember-file-state
view package.json @ 6:114d7e6d2633
Fix various issues around keeping references to editor objects
- Don't keep references to view. Instead, generate unique view IDs and
use that to find the correct uninstaller when needed.
- Don't keep a reference to the plugin itself in registered callbacks
on views because that could keep the plugin alive after it has been
unloaded.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 14 Feb 2022 12:35:45 -0800 |
parents | f669172572a6 |
children | d2741019e3b9 |
line wrap: on
line source
{ "name": "obsidian-remember-file-state", "version": "1.0.1", "description": "Plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file", "main": "main.js", "scripts": { "dev": "node esbuild.config.mjs", "build": "node esbuild.config.mjs production" }, "keywords": [], "author": "", "license": "MIT", "devDependencies": { "@codemirror/history": "^0.19.0", "@codemirror/state": "^0.19.6", "@codemirror/view": "^0.19.36", "@types/node": "^16.11.6", "@typescript-eslint/eslint-plugin": "^5.2.0", "@typescript-eslint/parser": "^5.2.0", "builtin-modules": "^3.2.0", "esbuild": "0.13.12", "monkey-around": "^2.2.0", "obsidian": "^0.12.17", "tslib": "2.3.1", "typescript": "4.4.4" }, "dependencies": {} }