@vaadin/component-base
Advanced tools
+4
-4
| { | ||
| "name": "@vaadin/component-base", | ||
| "version": "24.8.12", | ||
| "version": "24.8.13", | ||
| "publishConfig": { | ||
@@ -41,8 +41,8 @@ "access": "public" | ||
| "devDependencies": { | ||
| "@vaadin/chai-plugins": "~24.8.12", | ||
| "@vaadin/test-runner-commands": "~24.8.12", | ||
| "@vaadin/chai-plugins": "~24.8.13", | ||
| "@vaadin/test-runner-commands": "~24.8.13", | ||
| "@vaadin/testing-helpers": "^1.1.0", | ||
| "sinon": "^18.0.0" | ||
| }, | ||
| "gitHead": "62e5c1f0e2b585e4c91e4f94830f5ec41c6d1d02" | ||
| "gitHead": "3bdf9208b7ad24d55ed3d2ce18be06be71cf3443" | ||
| } |
+1
-1
@@ -16,3 +16,3 @@ /** | ||
| export function defineCustomElement(CustomElement, version = '24.8.12') { | ||
| export function defineCustomElement(CustomElement, version = '24.8.13') { | ||
| Object.defineProperty(CustomElement, 'version', { | ||
@@ -19,0 +19,0 @@ get() { |
@@ -132,2 +132,6 @@ /** | ||
| return Array.from(this.host.childNodes).filter((node) => { | ||
| // Ignore nodes with data-slot-ignore attribute | ||
| if (node.nodeType === Node.ELEMENT_NODE && node.hasAttribute('data-slot-ignore')) { | ||
| return false; | ||
| } | ||
| // Either an element (any slot) or a text node (only un-named slot). | ||
@@ -207,3 +211,9 @@ return ( | ||
| // unlike comment nodes, they are not filtered out. So we need to manually ignore them. | ||
| const newNodes = addedNodes.filter((node) => !isEmptyTextNode(node) && !current.includes(node)); | ||
| // Also ignore nodes with data-slot-ignore attribute. | ||
| const newNodes = addedNodes.filter( | ||
| (node) => | ||
| !isEmptyTextNode(node) && | ||
| !current.includes(node) && | ||
| !(node.nodeType === Node.ELEMENT_NODE && node.hasAttribute('data-slot-ignore')), | ||
| ); | ||
@@ -210,0 +220,0 @@ if (removedNodes.length) { |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
229093
0.16%6727
0.15%