
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
odp-shared-components-poc
Advanced tools
A collection of reusable React components.
/odp-shared-components
├── /dist # Compiled output
├── /src # Source code
│ ├── /components # Individual components
│ │ ├── ProductName # Example component
│ │ │ ├── index.js
│ │ │ ├── styles.module.css
│ │ ├── ... # Other components
│ ├── index.js # Main export file
├── .babelrc
├── .eslintrc
├── package.json
├── rollup.config.js
To install in your project:
npm install odp-shared-components-poc --legacy-peer-deps
import React from "react";
import ProductName from "odp-components";
const App = () => {
return <ProductName name="Example Product" className="custom-class" />;
};
export default App;
To add a new component:
src/components/.index.js.styles.module.css for scoped styles.src/index.js.npm linkTo work on this package and test it in another project:
odp-shared-components-poc directory, run:
npm link
npm link odp-shared-components-poc
To publish a new version:
package.json (e.g., 1.0.1 → 1.0.2).npm publish --access public
FAQs
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.