
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@seges/angular-validators
Advanced tools
#Validators for angular directives#
##Prerequisites TypeScript 1.8.10
##How to use
Import the module.
Add the module as a dependency to your angular project.
There are five custom validators:
###Maximum and minimum value Validates the given value against a set max/min value. The set max/min value can be dynamic e.g. set through variable reference:
Example with ngMessages:
`
###Integer Validates that the given value is an integer.
Example with ngMessages:
`
###Minute format Validates that the input is in the format 00:00.
Example with ngMessages:
`
###24 hour format Validates that the input is in the format 00:00.
Example with ngMessages:
<form name="myForm">
<input name="hour" ng-model="ctrl.value" 24-hour-format/>
<div class="validation-messages" ng-messages="myForm.hour.$error" ng-if="myForm.hour.$invalid">
<span ng-message="24HourFormat">Number is too big</span>
</div>
</form>
FAQs
TypeScript 1.8.10
We found that @seges/angular-validators demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.