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

@ckeditor/ckeditor5-engine

Package Overview
Dependencies
Maintainers
1
Versions
704
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 43.0.0 to 43.1.0-alpha.0

4

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

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-utils": "43.0.0",
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.0",
"lodash-es": "4.17.21"

@@ -30,0 +30,0 @@ },

@@ -1251,3 +1251,14 @@ /**

else {
diff.push(...'a'.repeat(change.howMany).split(''));
// Total maximum amount of arguments that can be passed to `Array.prototype.push` may be limited so we need to
// add them manually one by one to avoid this limit. However loop might be a bit slower than `push` method on
// smaller changesets so we need to decide which method to use based on the size of the change.
// See: https://github.com/ckeditor/ckeditor5/issues/16819
if (change.howMany > 1500) {
for (let i = 0; i < change.howMany; i++) {
diff.push('a');
}
}
else {
diff.push(...'a'.repeat(change.howMany).split(''));
}
// The last handled offset is at the position after the changed range.

@@ -1254,0 +1265,0 @@ offset = change.offset + change.howMany;

@@ -192,3 +192,8 @@ /**

else {
this._writer.setAttribute(name, value, viewRoot);
// There is a chance that some attributes have already been set on the view root before attaching
// the DOM root and should be preserved. This is a similar case to the "class" attribute except
// this time there is no workaround using a some low-level API.
if (!viewRoot.hasAttribute(name)) {
this._writer.setAttribute(name, value, viewRoot);
}
}

@@ -195,0 +200,0 @@ }

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

Sorry, the diff of this file is not supported yet

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