Socket
Socket
Sign inDemoInstall

@vaadin/component-base

Package Overview
Dependencies
Maintainers
14
Versions
368
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 22.0.4 to 22.0.5

4

package.json
{
"name": "@vaadin/component-base",
"version": "22.0.4",
"version": "22.0.5",
"publishConfig": {

@@ -44,3 +44,3 @@ "access": "public"

},
"gitHead": "55891f68d4da41e846e06dfe51dceba1665e41ce"
"gitHead": "3e1990867670f3de2dec6fa1200d945623b2710c"
}

@@ -35,3 +35,3 @@ /**

static get version() {
return '22.0.4';
return '22.0.5';
}

@@ -38,0 +38,0 @@

@@ -6,2 +6,3 @@ /**

*/
import { dashToCamelCase } from '@polymer/polymer/lib/utils/case-map.js';
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';

@@ -34,6 +35,9 @@

// Support dash-case slot names e.g. "error-message"
const field = `${dashToCamelCase(prefix)}Id`;
// Maintain the unique ID counter for a given prefix.
this[`${prefix}Id`] = 1 + this[`${prefix}Id`] || 0;
this[field] = 1 + this[field] || 0;
return `${prefix}-${host.localName}-${this[`${prefix}Id`]}`;
return `${prefix}-${host.localName}-${this[field]}`;
}

@@ -40,0 +44,0 @@

@@ -59,3 +59,5 @@ /**

if (disabled) {
this.__lastTabIndex = this.tabindex;
if (this.tabindex !== undefined) {
this.__lastTabIndex = this.tabindex;
}
this.tabindex = -1;

@@ -62,0 +64,0 @@ } else if (oldDisabled) {

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