Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-undo

Package Overview
Dependencies
Maintainers
1
Versions
619
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-undo - npm Package Compare versions

Comparing version 32.0.0 to 33.0.0

26

package.json
{
"name": "@ckeditor/ckeditor5-undo",
"version": "32.0.0",
"version": "33.0.0",
"description": "Undo feature for CKEditor 5.",

@@ -15,16 +15,16 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^32.0.0",
"@ckeditor/ckeditor5-engine": "^32.0.0",
"@ckeditor/ckeditor5-ui": "^32.0.0"
"@ckeditor/ckeditor5-core": "^33.0.0",
"@ckeditor/ckeditor5-engine": "^33.0.0",
"@ckeditor/ckeditor5-ui": "^33.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^32.0.0",
"@ckeditor/ckeditor5-clipboard": "^32.0.0",
"@ckeditor/ckeditor5-editor-classic": "^32.0.0",
"@ckeditor/ckeditor5-enter": "^32.0.0",
"@ckeditor/ckeditor5-heading": "^32.0.0",
"@ckeditor/ckeditor5-paragraph": "^32.0.0",
"@ckeditor/ckeditor5-typing": "^32.0.0",
"@ckeditor/ckeditor5-table": "^32.0.0",
"@ckeditor/ckeditor5-utils": "^32.0.0"
"@ckeditor/ckeditor5-basic-styles": "^33.0.0",
"@ckeditor/ckeditor5-clipboard": "^33.0.0",
"@ckeditor/ckeditor5-editor-classic": "^33.0.0",
"@ckeditor/ckeditor5-enter": "^33.0.0",
"@ckeditor/ckeditor5-heading": "^33.0.0",
"@ckeditor/ckeditor5-paragraph": "^33.0.0",
"@ckeditor/ckeditor5-typing": "^33.0.0",
"@ckeditor/ckeditor5-table": "^33.0.0",
"@ckeditor/ckeditor5-utils": "^33.0.0"
},

@@ -31,0 +31,0 @@ "engines": {

@@ -62,3 +62,3 @@ /**

this.listenTo( editor.data, 'set', ( evt, data ) => {
// We can assume that the object exists and it has `batchType` property.
// We can assume that the object exists and it has a `batchType` property.
// It was ensured with a higher priority listener before.

@@ -65,0 +65,0 @@ const options = data[ 1 ];

@@ -105,7 +105,7 @@ /**

if ( isRedoBatch ) {
// If this batch comes from `redoCommand`, add it to `undoCommand` stack.
// If this batch comes from `redoCommand`, add it to the `undoCommand` stack.
this._undoCommand.addBatch( batch );
} else if ( !isUndoBatch ) {
// If the batch neither comes from `redoCommand` or `undoCommand` then this is a new, regular batch.
// Add the batch to the `undoCommand` stack and clear `redoCommand` stack.
// If the batch comes neither from `redoCommand` nor from `undoCommand` then it is a new, regular batch.
// Add the batch to the `undoCommand` stack and clear the `redoCommand` stack.
this._undoCommand.addBatch( batch );

@@ -112,0 +112,0 @@ this._redoCommand.clearStack();

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