
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.
react-deep-match
Advanced tools
🔍 A deep regex match component for react, support reactNode match.
React-deep-match support regular expression matches in a reactDom or a string; and wrap each match a react node, also support custom wrap;
For example:
import DeepMatch from 'react-deep-match';
<DeepMatch text='testvalue' find="test" />
// result:
<div><span class="matched">test</span>value</div>
Also component support reactNode deep Match
<DeepMatch
text={<p>
<div>testvalue</div>
<span>valuetest2</span>
</p>}
find="test"
/>
// result:
<div>
<p>
<div><span class="matched">test</span>value</div>
<span>value<span class="matched">test</span>2</span>
</p>
</div>
And component support Regex match, and custom match wrap;
<DeepMatch
text={<p>
<span>testvalue123test</span>
</p>}
find={/[0-9]/g}
wrap={(matched) => {
return <i class="number">{matched}</i>;
}}
/>
// result:
<div><p>
<span>testvalue<i class="number">{123}</i>test</span>
</p></div>
npm install react-deep-match --save
import DeepMatch from 'react-deep-match';
Reac-deep-match supports these props;
padolsey/findAndReplaceDOMText - 🔍 Find and replace DOM text
MIT
FAQs
a deep regex match component for react
The npm package react-deep-match receives a total of 2 weekly downloads. As such, react-deep-match popularity was classified as not popular.
We found that react-deep-match 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
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.