You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@vaadin/field-base

Package Overview
Dependencies
Maintainers
12
Versions
452
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/field-base - npm Package Compare versions

Comparing version

to
24.6.1

12

package.json
{
"name": "@vaadin/field-base",
"version": "24.6.0",
"version": "24.6.1",
"publishConfig": {

@@ -35,12 +35,12 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "~24.6.0",
"@vaadin/component-base": "~24.6.0",
"@vaadin/a11y-base": "~24.6.1",
"@vaadin/component-base": "~24.6.1",
"lit": "^3.0.0"
},
"devDependencies": {
"@vaadin/chai-plugins": "~24.6.0",
"@vaadin/testing-helpers": "^1.0.0",
"@vaadin/chai-plugins": "~24.6.1",
"@vaadin/testing-helpers": "^1.1.0",
"sinon": "^18.0.0"
},
"gitHead": "c0b38aa981494d04fac64da35aa3890ad72551ea"
"gitHead": "858d4220653a0603ce9c36da054889eb42ceb327"
}

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

*/
import { announce } from '@vaadin/a11y-base/src/announce.js';
import { SlotChildObserveController } from '@vaadin/component-base/src/slot-child-observe-controller.js';

@@ -112,8 +113,6 @@

// Role alert will make the error message announce immediately
// as the field becomes invalid
if (hasError) {
errorNode.setAttribute('role', 'alert');
} else {
errorNode.removeAttribute('role');
// Assertive mode ensures VoiceOver reads
// the error message on commit with Enter.
announce(errorMessage, { mode: 'assertive' });
}

@@ -120,0 +119,0 @@ }