
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@evo/fetch-io
Advanced tools
Service for fetching data.
import { GET, init } from '@evo/user-info';
const data = await GET('some/url');
Each api method implements Promise interface (can be awaited) and can throw
2 kind of exceptions FetchNetworkError and FetchDataError.
{ status: 'error' }.Initializes myHost for the service.
fetch-io depends on the user-info service so you need to initialize it also
The following API methods have the same signatures:
Params:
fetch call.Executes GET request
Example
import { GET, POST } from '@evo/fetch-io';
const data = await GET('<url>');
const data = await POST('<url>', { param1: 'test' });
const data = await POST('<url>', { param1: 'test' }, { credentials: 'same-origin' });
The following API methods will use myHost as a host for the request:
Example
import { my } from '@evo/fetch-io';
const data = await my.GET('<url>');
const data = await my.POST('<url>', { param1: 'test' });
FAQs
Service for fetching data.
The npm package @evo/fetch-io receives a total of 614 weekly downloads. As such, @evo/fetch-io popularity was classified as not popular.
We found that @evo/fetch-io demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.