
Research
/Security News
Laravel Lang Compromised with RCE Backdoor Across 700+ Versions
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.
@extra-array/intersection
Advanced tools
Gives values present in both arrays.
Alternatives: compare, map.
This is part of package extra-array.
array.intersection(x, y, [fn]);
// x: an array
// y: another array
// fn: compare function (a, b)
const array = require('extra-array');
var x = [1, 2, 3, 4];
array.intersection(x, [2, 3, 5]);
// [2, 3]
array.intersection(x, [-2, -3, -5], (a, b) => Math.abs(a) - Math.abs(b));
// [2, 3]
FAQs
Gives values present in both arrays.
The npm package @extra-array/intersection receives a total of 650 weekly downloads. As such, @extra-array/intersection popularity was classified as not popular.
We found that @extra-array/intersection 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.

Research
/Security News
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.

Security News
Socket found a malicious postinstall hook across 700+ GitHub repos, including PHP packages on Packagist and Node.js project repositories.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain