@manuscripts/track-changes-plugin 2.3.11 → 2.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -28,7 +28,7 @@ ProseMirror plugin designed to track changes within a document, similar to the t
28
28
  Rejecting the change means reverting to the state of nodes or text or attributes before the change and discarding metadata about it.
29
29
  - History of edits (who, what, when) is supported only in the boundaries of dataTracked attributes metadata. The plugin doesn't provide Undo/Redo capabilities but perfectly compatible with default prosemirror-history plugin.
30
30
 
31
- ### How it works under the hood
31
+ ### How it works under the hood
32
32
 
33
33
  1. Transaction intercepted and decided upon if needs to be tracked or not. Done in appendTransaction method of the plugin. Besides explicit disabling there is a number of internal cases that disables tracking
34
34
  2. Each type of prosemirror change step type is processed by differently. **trackTransaction** function invokes a function for each of those, such as trackReplaceStep or trackReplaceAroundStep.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manuscripts/track-changes-plugin",
3
- "version": "2.3.11",
3
+ "version": "2.3.13",
4
4
  "author": "Atypon Systems LLC",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/Atypon-OpenSource/manuscripts-track-changes-plugin",
@@ -58,11 +58,14 @@
58
58
  "eslint-plugin-simple-import-sort": "12.1.1",
59
59
  "husky": "8.0.3",
60
60
  "jsdom": "26.1.0",
61
- "vitest": "3.2.4",
61
+ "vitest": "4.1.6",
62
62
  "npm-run-all": "4.1.5",
63
63
  "prettier": "3.6.2",
64
64
  "prosemirror-example-setup": "1.2.3",
65
65
  "prosemirror-schema-list": "1.5.1",
66
66
  "typescript": "5.9.2"
67
+ },
68
+ "engines": {
69
+ "node": ">=22"
67
70
  }
68
71
  }