Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-text-field

Package Overview
Dependencies
Maintainers
17
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-text-field - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

2

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-text-field",
"version": "2.4.2",
"version": "2.4.3",
"main": "vaadin-text-field.js",

@@ -16,0 +16,0 @@ "author": "Vaadin Ltd",

@@ -34,3 +34,3 @@ /**

static get version() {
return '2.4.2';
return '2.4.3';
}

@@ -37,0 +37,0 @@

@@ -80,3 +80,3 @@ /**

static get version() {
return '2.4.2';
return '2.4.3';
}

@@ -83,0 +83,0 @@

@@ -80,3 +80,3 @@ /**

static get version() {
return '2.4.2';
return '2.4.3';
}

@@ -83,0 +83,0 @@

@@ -133,3 +133,3 @@ /**

static get version() {
return '2.4.2';
return '2.4.3';
}

@@ -136,0 +136,0 @@

@@ -364,15 +364,3 @@ /**

if (this.__inputFromClearButton) {
this.__inputFromClearButton = false;
// In this case when input event is triggered by clear button we need to skip
// setting "this.__userInput = true" because the clear button clears the value
// first triggering _valueChanged() before this input event. If we wouldn't
// skip this, then __userInput would be left true until the next _valueChanged()
// happens which would then prevent setting this.inputElement.value correctly
// leaving it out of sync with this.value.
} else {
// This is used to prevent setting this.inputElement.value in _valueChanged()
// when this input event was actually triggered by the user from the input
// element itself (thus the value there should be correct already).
// This flag is set back to false in _valueChanged().
if (!e.__fromClearButton) {
this.__userInput = true;

@@ -612,5 +600,8 @@ }

}
this.__inputFromClearButton = true;
this.inputElement.dispatchEvent(new Event('input', {bubbles: true, composed: true}));
this.inputElement.dispatchEvent(new Event('change', {bubbles: !this._slottedInput}));
const inputEvent = new Event('input', {bubbles: true, composed: true});
inputEvent.__fromClearButton = true;
const changeEvent = new Event('change', {bubbles: !this._slottedInput});
changeEvent.__fromClearButton = true;
this.inputElement.dispatchEvent(inputEvent);
this.inputElement.dispatchEvent(changeEvent);
}

@@ -617,0 +608,0 @@

@@ -106,3 +106,3 @@ /**

static get version() {
return '2.4.2';
return '2.4.3';
}

@@ -109,0 +109,0 @@

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