Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-history

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-history - npm Package Compare versions

Comparing version 1.3.0-beta.1 to 1.3.0

10

CHANGELOG.md

@@ -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 @@

1

dist/index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc