Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@lemoncode/fonk-iban-validator
Advanced tools
This is a [fonk](https://github.com/Lemoncode/fonk) microlibrary that brings validation capabilities to validate if a field of a form is a valid IBAN
This is a fonk microlibrary that brings validation capabilities to:
How to add it to an existing form validation schema:
We have the following form model:
const myFormValues = {
account: 'ES7921000813610123456789',
}
We can add a iban validation to the myFormValues
import { iban } from '@lemoncode/fonk-iban-validator';
const validationSchema = {
field: {
account: [iban.validator],
},
};
You can customize the error message displayed in two ways:
import { iban } from '@lemoncode/fonk-iban-validator';
iban.setErrorMessage('El campo debe tener un formato IBAN válido');
import { iban } from '@lemoncode/fonk-iban-validator';
const validationSchema = {
field: {
account: [
{
validator: iban.validator,
message: 'Field should have a valid IBAN format',
},
],
},
};
Please, refer to fonk to know more.
We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.
Basefactor, consultancy by Lemoncode provides consultancy and coaching services.
Lemoncode provides training services.
For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend
FAQs
This is a [fonk](https://github.com/Lemoncode/fonk) microlibrary that brings validation capabilities to validate if a field of a form is a valid IBAN
We found that @lemoncode/fonk-iban-validator 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.