@vaadin/component-base
Advanced tools
+4
-4
| { | ||
| "name": "@vaadin/component-base", | ||
| "version": "24.9.5", | ||
| "version": "24.9.6", | ||
| "publishConfig": { | ||
@@ -41,8 +41,8 @@ "access": "public" | ||
| "devDependencies": { | ||
| "@vaadin/chai-plugins": "~24.9.5", | ||
| "@vaadin/test-runner-commands": "~24.9.5", | ||
| "@vaadin/chai-plugins": "~24.9.6", | ||
| "@vaadin/test-runner-commands": "~24.9.6", | ||
| "@vaadin/testing-helpers": "^1.1.0", | ||
| "sinon": "^18.0.0" | ||
| }, | ||
| "gitHead": "e1dc543cbb64eb60a11bdfe318319cce7b66416e" | ||
| "gitHead": "04dec563d48efd4e5ca0c0b96687302666ee5ab1" | ||
| } |
+1
-1
@@ -16,3 +16,3 @@ /** | ||
| export function defineCustomElement(CustomElement, version = '24.9.5') { | ||
| export function defineCustomElement(CustomElement, version = '24.9.6') { | ||
| 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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
230492
0.16%6772
0.15%