
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.
@oc-digital/react-component-library
Advanced tools
React component library used in Optimal Compliance React projects
Use npm to install.
npm install @oc-digital/react-component-library
or yarn
yarn add @oc-digital/react-component-library
"react": ">=17.0.0",
"react-dom": ">=17.0.0",
"react-router-dom": ">=6.0.0",
"@date-io/date-fns": "=1.3.13",
"date-fns": "=2.25.0",
"react-number-format": "=4.8.0",
"yup": "=0.32.11",
"react-table": "=7.7.0",
"lodash": "^4.17.21",
import React from "react";
import { Button } from "@oc-digital/react-component-library";
const ReactComponent = () => (
<Button onClick={() => console.log("Clicked me!")}>Click Me!</Button>
);
npm install ../react-component-library (use the path to react-component-library directory)npm start)npm run build:watchRemember to change back the package.json once you're done.
npm version minor(patch|major)package.jsongit tag v1.2.3
git push origin v1.2.3
The package will be automatically published to npm via GitHub Actions.
Use storybook to explore components
npm run storybook
FAQs
React component library for Optimal Compliance
We found that @oc-digital/react-component-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

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.