@ckeditor/ckeditor5-engine
Advanced tools
Comparing version 0.0.0-nightly-20240925.0 to 0.0.0-nightly-20240926.0
{ | ||
"name": "@ckeditor/ckeditor5-engine", | ||
"version": "0.0.0-nightly-20240925.0", | ||
"version": "0.0.0-nightly-20240926.0", | ||
"description": "The editing engine of CKEditor 5 – the best browser-based rich text editor.", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240925.0", | ||
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240926.0", | ||
"lodash-es": "4.17.21" | ||
@@ -30,0 +30,0 @@ }, |
@@ -85,3 +85,3 @@ /** | ||
// Do it only for data that is not a full HTML document. | ||
if (!data.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)) { | ||
if (!/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(data.trim().slice(0, 10000))) { | ||
data = `<body>${data}</body>`; | ||
@@ -88,0 +88,0 @@ } |
@@ -217,4 +217,4 @@ /** | ||
export function getShorthandValues(string) { | ||
const matches = string.matchAll(CSS_SHORTHAND_VALUE_REGEXP); | ||
const matches = string.trim().slice(0, 1500).matchAll(CSS_SHORTHAND_VALUE_REGEXP); | ||
return Array.from(matches).map(i => i[0]); | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13471624
+ Added@ckeditor/ckeditor5-utils@0.0.0-nightly-20240926.0(transitive)
- Removed@ckeditor/ckeditor5-utils@0.0.0-nightly-20240925.0(transitive)