
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@lundiak/react-sum
Advanced tools
Experimental ReactJS component to show sum of 2 numbers. There is no reasonable purpose to use this component by anyone but me :)
Experiment related to Component creation process and usage of tools, such as: npm/yarn, ESLINT, Webpack, Babel, Create React App, CSS Modules (migrated from LESS) React Scripts, Storybook, Jest, Enzyme, Cucumber and CI tool Circle CI.
yarn add @lundiak/react-sumnpm install --save @lundiak/react-sumImport the component where you want to use it, and you ready to use it.
import ReactSum from '@lundiak/react-sum' for <ReactSum.Sum /> usage.or
import { Sum } from '@lundiak/react-sum'; for <Sum /> usage.| Prop | Description | Default value |
|---|---|---|
| a | a | undefined |
| b | b | undefined |
| Prop | Description | Default value |
|---|---|---|
| useImages | renders Sum sign as Image | false |
| useASCII | renders Sum sign as ASCII Math symbol | false |
How to add to your file MyApp.jsx:
import { Sum } from "@lundiak/react-sum";
export const MyApp = () => {
return <Sum a={2} b={3} />;
};
If component Sum is imported, then such line will cause TypeScript warnings about required params a and b.
const Test = () => <Sum />;
To look up what is actual typings, this code will be OK:
import { Sum } from "@lundiak/react-sum";
import type { SumProps } from "@lundiak/react-sum/types/components/sum/common";
interface MyData {
data: SumProps;
}
export const MySumExample = (props: MyData) => {
return (
<div>
<Sum a={props.data.a} b={props.data.b} />
</div>
);
};
2025
npmReact v19.xreact-scripts to Vite
npm init @eslint/config@latest) - guide@vitest/eslint-plugin (because legacy eslint-plugin-vitest refers to eslint v8).npm create vite@latestascii-math.d.ts => declare module "ascii-math"; to suppress TypeScript error.dist after npm run buildes5).tsconfig to expose *.d.ts files for external codebase imports)2021
FAQs
Experimental ReactJS component to show sum of 2 numbers.
The npm package @lundiak/react-sum receives a total of 1 weekly downloads. As such, @lundiak/react-sum popularity was classified as not popular.
We found that @lundiak/react-sum demonstrated a healthy version release cadence and project activity because the last version was released less than 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 surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.