Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
diff_match_patch
Advanced tools
node module package of the Neil Fraser's diff_match_patch javascript library
#diff_match_patch a re-packaging of the javascript library by Neil Fraser for use in server side javascript
##Installation
npm install diff_match_patch
##Usage Just like the original library, you'll be using instances of the diff_match_patch class: dmpmod = require('diff_match_patch') var dmp = new dmpmod.diff_match_patch(); text1= "I'm some text"; text2= "I'm some other text"; puts(dmp.diff_main(text1, text2));//print the difference of the texts
(for more detailed documentation, as well as a complete overview of the API, please refer to the original project site.
FAQs
node module package of the Neil Fraser's diff_match_patch javascript library
We found that diff_match_patch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.