
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
ng-valid-range
Advanced tools
A tiny Angular module for range validation on inputs. https://www.npmjs.com/package/ng-valid-range
npm install ng-valid-range
Example:
<form #exampleForm="ngForm">
<input type="number" name="valueField" [(ngModel)]="value" #valueField="ngModel" ngValidRange="0, 10" >
<div *ngIf="valueField.invalid && valueField.errors.ngValidRange">
<span *ngIf="valueField.errors.ngValidRange.tooLarge">
Value is too large
</span>
<span *ngIf="valueField.errors.ngValidRange.tooSmall">
Value is too small
</span>
</div>
</form>
Attribute syntax:
"0, 10" // is valid between 0 an 10
"[0, 10" // is valid between 0 an 10, including 0
"[0, 10]" // is valid between 0 an 10, including 0 and 10
"]0, 10[" // same as "0, 10"
"0," // must be greater than 0
"[0," // must be greater or equal to 0
",10" // must be less than 10
",10]" // must be less or equal to 10
FAQs
A tiny Angular module for range validation on inputs.
The npm package ng-valid-range receives a total of 9 weekly downloads. As such, ng-valid-range popularity was classified as not popular.
We found that ng-valid-range demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.