
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@mutt/widget-age
Advanced tools
Mutt Form Vue widget to capture an age in years & months
Please ensure you install the peer dependencies which are defined in package.json.
This widget makes use of the vue-select component.
No styling is included for this component, you will need to include it by either including the CSS from the component:
import 'vue-select/dist/vue-select.css';
or importing the SCSS:
@import "vue-select/src/scss/vue-select.scss";
More details on styling the dropdown can be found in the documentation for vue-select.
The age widget accepts the following options:
| option | type | description | default |
|---|---|---|---|
min | ISO-8601 formatted String | The minimum date allowed | null |
max | ISO-8601 formatted String | The maximum date allowed | null |
default | Date or String | The default date to set | null |
dateFieldSeparator | String | A character or string of characters that adds a span containing the character between the date field inputs | |
attrs | Object of Strings or Numbers | The html attributes for the field wrapper e.g data-* | null |
Please note here that min/max refer to the minimum & maximum dates returned by the widget rather than the age, therefore max should resolve to a later date value than min
When a valid entry of years & months is entered, the widget will emit the ageValidated event with the following object:
key: this.field.name,
value: this.field.value,
action: 'populated',
validated, // true if the validation rules pass
bubble: true,
dob: {
help:
'<p>If you don’t know the exact age, please provide a considered estimate.</p>',
label: null,
max: 'P-4W',
min: 'P-21Y',
attrs: {
data-qa-locator: 'pet-info-age-selector'
},
natural: {
prefix: ' and you are ',
suffix: ' old.',
title: 'How old are you?',
trigger: '',
},
serialize: 'date',
widget: 'naturalage',
},
FAQs
Mutt Forms Widget - Age input
We found that @mutt/widget-age demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.