Socket
Socket
Sign inDemoInstall

@codemirror/history

Package Overview
Dependencies
6
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

0.19.2

Diff

Changelog

Source

0.19.2 (2022-01-03)

Bug fixes

Redoing a change now puts the cursor right after the change, regardless of where the selection was when the change was undone.

marijn
published 0.19.1 •

Changelog

Source

0.19.1 (2021-12-28)

Bug fixes

Scroll the selection into view after undoing or redoing. Only combine typing and deletion events into a single history event

Avoid combining most types of transactions into a single history event, except for typing and deleting.

marijn
published 0.19.0 •

Changelog

Source

0.19.0 (2021-08-11)

Bug fixes

Transactions generated by the history are now tagged with a user event string.

marijn
published 0.18.1 •

Changelog

Source

0.18.1 (2021-03-23)

New features

The state field used by the history is now public, and has toJSON and fromJSON functions for serialization.

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2021-03-03)

Breaking changes

Update dependencies to 0.18.

marijn
published 0.17.2 •

Changelog

Source

0.17.2 (2021-01-19)

Bug fixes

Fix a bug where the history could get corrupted when the document length was reduced to zero. Fix another bad use of changes.length

marijn
published 0.17.1 •

Changelog

Source

0.17.1 (2021-01-06)

New features

The package now also exports a CommonJS module.

marijn
published 0.17.0 •

Changelog

Source

0.17.0 (2020-12-29)

Breaking changes

First numbered release.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc