Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@iplatformglobal/array-multi-filter
Advanced tools
Array helper for filtering against multiple keys in an array of objects
Array helper for filtering against multiple keys in an array of objects
yarn add @iplatformglobal/array-multi-filter or
or
npm install @iplatformglobal/array-multi-filter
Filter an array of objects against multiple keys and values
// Data to be filtered
const arr = [{
id: 1,
distance: 100,
name: 'test',
}, {
id: 1,
distance: 100,
name: 'rest',
}];
// Keys and Values needing to be filtered against
const query = { distance: 100, name: 'test' };
arr.filter(arrayMultiFilter, query);
Testing is handled by Jest
and the packages has the following commands setup
yarn test
yarn test:watch
All contributions are welcome, and can be done by cloning the repo and running yarn install
.
Ensure there are no errors in the tests or linter and ensure your commit messages comply to the following format:
There are git hooks configured to ensure commit message format as well as test and linter compliance
Discover the release history by heading on over to the releases page.
Unless stated otherwise all works are:
and licensed under:
FAQs
Array helper for filtering against multiple keys in an array of objects
The npm package @iplatformglobal/array-multi-filter receives a total of 0 weekly downloads. As such, @iplatformglobal/array-multi-filter popularity was classified as not popular.
We found that @iplatformglobal/array-multi-filter 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.