New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-select

Package Overview
Dependencies
Maintainers
19
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-select - npm Package Compare versions

Comparing version 21.0.0-alpha9 to 21.0.0-beta1

26

package.json
{
"name": "@vaadin/vaadin-select",
"version": "21.0.0-alpha9",
"version": "21.0.0-beta1",
"description": "vaadin-select",

@@ -31,12 +31,12 @@ "main": "vaadin-select.js",

"@polymer/polymer": "^3.2.0",
"@vaadin/vaadin-control-state-mixin": "^21.0.0-alpha9",
"@vaadin/vaadin-element-mixin": "^21.0.0-alpha9",
"@vaadin/vaadin-item": "^21.0.0-alpha9",
"@vaadin/vaadin-list-box": "^21.0.0-alpha9",
"@vaadin/vaadin-list-mixin": "^21.0.0-alpha9",
"@vaadin/vaadin-lumo-styles": "^21.0.0-alpha9",
"@vaadin/vaadin-material-styles": "^21.0.0-alpha9",
"@vaadin/vaadin-overlay": "^21.0.0-alpha9",
"@vaadin/vaadin-text-field": "^21.0.0-alpha9",
"@vaadin/vaadin-themable-mixin": "^21.0.0-alpha9"
"@vaadin/vaadin-control-state-mixin": "21.0.0-beta1",
"@vaadin/vaadin-element-mixin": "21.0.0-beta1",
"@vaadin/vaadin-item": "21.0.0-beta1",
"@vaadin/vaadin-list-box": "21.0.0-beta1",
"@vaadin/vaadin-list-mixin": "21.0.0-beta1",
"@vaadin/vaadin-lumo-styles": "21.0.0-beta1",
"@vaadin/vaadin-material-styles": "21.0.0-beta1",
"@vaadin/vaadin-overlay": "21.0.0-beta1",
"@vaadin/vaadin-text-field": "21.0.0-beta1",
"@vaadin/vaadin-themable-mixin": "21.0.0-beta1"
},

@@ -46,3 +46,3 @@ "devDependencies": {

"@vaadin/testing-helpers": "^0.2.1",
"@vaadin/vaadin-template-renderer": "^21.0.0-alpha9",
"@vaadin/vaadin-template-renderer": "21.0.0-beta1",
"lit": "^2.0.0-rc.1",

@@ -54,3 +54,3 @@ "sinon": "^9.2.0"

},
"gitHead": "72059f699ad36f58e1bb0a40aa7d3a411587e22b"
"gitHead": "7d08834d03228105c2ea72213a385ddf35125f79"
}

@@ -172,3 +172,13 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

/**
* Requests an update for the content of the select.
* While performing the update, it invokes the renderer passed in the `renderer` property.
*
* It is not guaranteed that the update happens immediately (synchronously) after it is requested.
*/
requestContentUpdate(): void;
/**
* Manually invoke existing renderer.
*
* @deprecated Since Vaadin 21, `render()` is deprecated. Please use `requestContentUpdate()` instead.
*/

@@ -175,0 +185,0 @@ render(): void;

@@ -176,3 +176,3 @@ /**

static get version() {
return '21.0.0-alpha9';
return '21.0.0-beta1';
}

@@ -362,3 +362,8 @@

this.focusElement.addEventListener('click', () => (this.opened = !this.readonly));
this.focusElement.addEventListener('click', (e) => {
const isHelperClick = Array.from(e.composedPath()).some((node) => {
return node.nodeType === Node.ELEMENT_NODE && node.getAttribute('slot') === 'helper';
});
this.opened = !this.readonly && !isHelperClick;
});
this.focusElement.addEventListener('keydown', (e) => this._onKeyDown(e));

@@ -370,6 +375,10 @@

/**
* Manually invoke existing renderer.
* Requests an update for the content of the select.
* While performing the update, it invokes the renderer passed in the `renderer` property.
*
* It is not guaranteed that the update happens immediately (synchronously) after it is requested.
*/
render() {
this._overlayElement.render();
requestContentUpdate() {
this._overlayElement.requestContentUpdate();
if (this._menuElement && this._menuElement.items) {

@@ -380,2 +389,13 @@ this._updateSelectedItem(this.value, this._menuElement.items);

/**
* Manually invoke existing renderer.
*
* @deprecated Since Vaadin 21, `render()` is deprecated. Please use `requestContentUpdate()` instead.
*/
render() {
console.warn('WARNING: Since Vaadin 21, render() is deprecated. Please use requestContentUpdate() instead.');
this.requestContentUpdate();
}
/** @private */

@@ -389,3 +409,3 @@ _rendererChanged(renderer, overlay) {

this.render();
this.requestContentUpdate();

@@ -392,0 +412,0 @@ if (renderer) {

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