Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@vaadin/component-base

Package Overview
Dependencies
Maintainers
12
Versions
556
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/component-base - npm Package Compare versions

Comparing version
24.9.5
to
24.9.6
+4
-4
package.json
{
"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"
}

@@ -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) {