
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
password-validator-component
Advanced tools
----- This package contains a UI component for password validator built on top of [Angular Material library and Component Development Kit](https://material.angular.io/).
This package contains a UI component for password validator built on top of Angular Material library and Component Development Kit.
| versions | Compatible Angular versions |
|---|---|
| 0.0.1 | latest |
Prerequisite:
ng add @angular/material
npm i bootstrap
Install the package in your Angular project by using one of the commands below, according to the package manager chosen.
NPM:
npm install password-validator-component
Import the NgModule from one of the sub-packages where the component is provided. For example:
MODULE :
import { PasswordValidatorModule } from 'password-validator-component';
@NgModule({
declarations: [],
imports: [PasswordValidatorModule]
})
export class MyModule {}
HTML :
<password-validator-component></password-validator-component>
<password-validator-component
[matLabel] = '"Enter Password"' // Default 'Password'
[matErrorWeak] = '"you have entered a weak password"' // Defaut 'Weak password'
[matErrorInvalid] = '"you have entered a invalid password"' // Defaut 'Invalid password'
[matFormFieldAppearance] = '"outline" | "legacy" | "etc"' // Default 'legacy'
></password-validator-component>
To incorporate components' theming with Angular Material, you need to configure a custom theme, following the theming guide on the Angular Material document site. In the global style SASS partial where the Material theme is configured, add the BUI theme mixin reference to activate theming.
You may also need to include the CSS of custom font definitions for Material Icon Font into the global stylesheets.
FAQs
----- This package contains a UI component for password validator built on top of [Angular Material library and Component Development Kit](https://material.angular.io/).
The npm package password-validator-component receives a total of 9 weekly downloads. As such, password-validator-component popularity was classified as not popular.
We found that password-validator-component 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.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.