Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-engine

Package Overview
Dependencies
Maintainers
1
Versions
583
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-engine - npm Package Compare versions

Comparing version 34.2.0 to 35.0.0

CHANGELOG.md

4

LICENSE.md

@@ -14,2 +14,6 @@ Software License Agreement

The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
Trademarks

@@ -16,0 +20,0 @@ ----------

47

package.json
{
"name": "@ckeditor/ckeditor5-engine",
"version": "34.2.0",
"version": "35.0.0",
"description": "The editing engine of CKEditor 5 – the best browser-based rich text editor.",

@@ -26,26 +26,26 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-utils": "^34.2.0",
"@ckeditor/ckeditor5-utils": "^35.0.0",
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^34.2.0",
"@ckeditor/ckeditor5-block-quote": "^34.2.0",
"@ckeditor/ckeditor5-clipboard": "^34.2.0",
"@ckeditor/ckeditor5-cloud-services": "^34.2.0",
"@ckeditor/ckeditor5-core": "^34.2.0",
"@ckeditor/ckeditor5-editor-classic": "^34.2.0",
"@ckeditor/ckeditor5-enter": "^34.2.0",
"@ckeditor/ckeditor5-essentials": "^34.2.0",
"@ckeditor/ckeditor5-heading": "^34.2.0",
"@ckeditor/ckeditor5-image": "^34.2.0",
"@ckeditor/ckeditor5-link": "^34.2.0",
"@ckeditor/ckeditor5-list": "^34.2.0",
"@ckeditor/ckeditor5-mention": "^34.2.0",
"@ckeditor/ckeditor5-paragraph": "^34.2.0",
"@ckeditor/ckeditor5-table": "^34.2.0",
"@ckeditor/ckeditor5-theme-lark": "^34.2.0",
"@ckeditor/ckeditor5-typing": "^34.2.0",
"@ckeditor/ckeditor5-ui": "^34.2.0",
"@ckeditor/ckeditor5-undo": "^34.2.0",
"@ckeditor/ckeditor5-widget": "^34.2.0",
"@ckeditor/ckeditor5-basic-styles": "^35.0.0",
"@ckeditor/ckeditor5-block-quote": "^35.0.0",
"@ckeditor/ckeditor5-clipboard": "^35.0.0",
"@ckeditor/ckeditor5-cloud-services": "^35.0.0",
"@ckeditor/ckeditor5-core": "^35.0.0",
"@ckeditor/ckeditor5-editor-classic": "^35.0.0",
"@ckeditor/ckeditor5-enter": "^35.0.0",
"@ckeditor/ckeditor5-essentials": "^35.0.0",
"@ckeditor/ckeditor5-heading": "^35.0.0",
"@ckeditor/ckeditor5-image": "^35.0.0",
"@ckeditor/ckeditor5-link": "^35.0.0",
"@ckeditor/ckeditor5-list": "^35.0.0",
"@ckeditor/ckeditor5-mention": "^35.0.0",
"@ckeditor/ckeditor5-paragraph": "^35.0.0",
"@ckeditor/ckeditor5-table": "^35.0.0",
"@ckeditor/ckeditor5-theme-lark": "^35.0.0",
"@ckeditor/ckeditor5-typing": "^35.0.0",
"@ckeditor/ckeditor5-ui": "^35.0.0",
"@ckeditor/ckeditor5-undo": "^35.0.0",
"@ckeditor/ckeditor5-widget": "^35.0.0",
"webpack": "^5.58.1",

@@ -71,4 +71,5 @@ "webpack-cli": "^4.9.0"

"theme",
"ckeditor5-metadata.json"
"ckeditor5-metadata.json",
"CHANGELOG.md"
]
}

@@ -10,3 +10,3 @@ /**

/* globals document, DOMParser */
/* globals DOMParser */

@@ -60,3 +60,3 @@ import BasicHtmlWriter from './basichtmlwriter';

// Convert view DocumentFragment to DOM DocumentFragment.
const domFragment = this.domConverter.viewToDom( viewFragment, document );
const domFragment = this.domConverter.viewToDom( viewFragment );

@@ -63,0 +63,0 @@ // Convert DOM DocumentFragment to HTML output.

@@ -10,3 +10,3 @@ /**

/* globals DOMParser, document */
/* globals DOMParser */

@@ -75,3 +75,3 @@ import BasicHtmlWriter from './basichtmlwriter';

// Convert view DocumentFragment to DOM DocumentFragment.
const domFragment = this.domConverter.viewToDom( viewFragment, document );
const domFragment = this.domConverter.viewToDom( viewFragment );

@@ -78,0 +78,0 @@ // Convert DOM DocumentFragment to XML output.

@@ -232,4 +232,3 @@ /**

}
// Paranoid check: we make sure the inline filler has any parent so it can be mapped to view position
// by DomConverter.
// Make sure the inline filler has any parent, so it can be mapped to view position by DomConverter.
else if ( this._inlineFiller && this._inlineFiller.parentNode ) {

@@ -239,3 +238,8 @@ // While the user is making selection, preserve the inline filler at its original position.

if ( inlineFillerPosition.parent.is( '$text' ) ) {
// While down-casting the document selection attributes, all existing empty
// attribute elements (for selection position) are removed from the view and DOM,
// so make sure that we were able to map filler position.
// https://github.com/ckeditor/ckeditor5/issues/12026
if ( inlineFillerPosition && inlineFillerPosition.parent.is( '$text' ) ) {
// The inline filler position is expected to be before the text node.
inlineFillerPosition = ViewPosition._createBefore( inlineFillerPosition.parent );

@@ -323,3 +327,3 @@ }

const expectedDomChildren = Array.from(
this.domConverter.viewChildrenToDom( viewElement, domElement.ownerDocument, { withChildren: false } )
this.domConverter.viewChildrenToDom( viewElement, { withChildren: false } )
);

@@ -520,3 +524,3 @@ const diff = this._diffNodeLists( actualDomChildren, expectedDomChildren );

const domText = this.domConverter.findCorrespondingDomText( viewText );
const newDomText = this.domConverter.viewToDom( viewText, domText.ownerDocument );
const newDomText = this.domConverter.viewToDom( viewText );

@@ -600,3 +604,3 @@ const actualText = domText.data;

const expectedDomChildren = Array.from(
this.domConverter.viewChildrenToDom( viewElement, domElement.ownerDocument, { bind: true } )
this.domConverter.viewChildrenToDom( viewElement, { bind: true } )
);

@@ -603,0 +607,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc