prosemirror-history
Advanced tools
Comparing version 1.3.0-beta.1 to 1.3.0
@@ -0,1 +1,11 @@ | ||
## 1.3.0 (2022-05-30) | ||
### Bug fixes | ||
Fix an issue where the default behavior of history beforeInput events could still go through when the undo history is empty. | ||
### New features | ||
Include TypeScript type declarations. | ||
## 1.2.0 (2021-08-18) | ||
@@ -2,0 +12,0 @@ |
@@ -381,3 +381,2 @@ import RopeSequence from 'rope-sequence'; | ||
}, | ||
// @ts-ignore | ||
config, | ||
@@ -384,0 +383,0 @@ props: { |
{ | ||
"name": "prosemirror-history", | ||
"version": "1.3.0-beta.1", | ||
"version": "1.3.0", | ||
"description": "Undo history for ProseMirror", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -386,3 +386,3 @@ import RopeSequence from "rope-sequence" | ||
/// to prevent it from being rolled back by undo. | ||
export function history(config: HistoryOptions = {}) { | ||
export function history(config: HistoryOptions = {}): Plugin { | ||
config = {depth: config.depth || 100, | ||
@@ -403,3 +403,2 @@ newGroupDelay: config.newGroupDelay || 500} | ||
// @ts-ignore | ||
config, | ||
@@ -406,0 +405,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
149255
1
0
1657