
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
react-ui-validations
Advanced tools
Набор компонентов, реализующих поведение валидаций по Контур.Гайдам.
npm install --save @skbkontur/react-ui-validations
import { ValidationContainer, ValidationWrapper } from 'react-ui-validations';
export default class DataEditor extends React.Component {
// ...
render() {
return (
<ValidationContainer>
<ValidationWrapper
validationInfo={/\d+/.test(phone) ? { message: 'Телефон должен состоять только из цифр' } : null}
>
<Input value={phone} onValueChange={value => setState({ phone: value })} />
</ValidationWrapper>
</ValidationContainer>
);
}
}
yarn start:docs
Библиотека поддерживает работу в React.StrictMode начиная с версии 1.7.0. Подробнее.
FAQs
Validations for @skbkontur/react-ui
The npm package react-ui-validations receives a total of 135 weekly downloads. As such, react-ui-validations popularity was classified as not popular.
We found that react-ui-validations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.