Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@arianee/utils
Advanced tools
This library contains various utilities that are used across the Arianee projects.
Readme
This library contains various utilities that are used across the Arianee projects.
A wrapper for fetch
like functions that caches the response for well-known arianee urls for a given time (default 1 hour, can be overridden by setting the options.timeToLive
property, the cache map can also be passed with options.cache
).
Usage:
// simplest usage
cachedFetchLike(fetch);
// can be composed with other fetch wrappers
cachedFetchLike(retryFetchLike(defaultFetchLike));
A wrapper for fetch
that retry the request on failure.
Usage:
// simplest usage
retryFetchLike(fetch);
// can be composed with other fetch wrappers, retries can be passed as a second optional argument
retryFetchLike(defaultFetchLike, 2);
A fetch
like function that works in node and in the browser by selecting the appropriate implementation based on environment (node-fetch
or DOM fetch
).
Usage:
defaultFetchLike('https://google.com');
FAQs
This library contains various utilities that are used across the Arianee projects.
The npm package @arianee/utils receives a total of 238 weekly downloads. As such, @arianee/utils popularity was classified as not popular.
We found that @arianee/utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.