
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
lodash.intersection
Advanced tools
The modern build of lodash’s _.intersection exported as a Node.js/io.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.intersection
In Node.js/io.js:
var intersection = require('lodash.intersection');
See the documentation or package source for more details.
The underscore package is a JavaScript utility library that provides a wide range of functions for common programming tasks, including array manipulation. The _.intersection function in underscore works similarly to lodash.intersection, allowing you to find the common elements in multiple arrays.
Ramda is a functional programming library for JavaScript that provides a variety of utility functions. The R.intersection function in Ramda can be used to find the intersection of two arrays. Unlike lodash.intersection, which can handle multiple arrays, Ramda's R.intersection is designed to work with two arrays at a time.
The array-intersection package is a lightweight utility specifically designed to find the intersection of arrays. It provides a simple and focused solution for this specific task, similar to lodash.intersection, but without the additional utilities that lodash offers.
FAQs
The lodash method `_.intersection` exported as a module.
We found that lodash.intersection demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.