
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@mercuryworkshop/bare-client-custom
Advanced tools
a mock bare client allowing you to slip in custom values for testing.
replace in package.json:
"@tomphttp/bare-client": "version"
with
"@tomphttp/bare-client": "file:../bare-client-custom/"
and rebuild to take advantage of bare-client-custom
on the client side, create a class that extends Client
class TestClient extends Client {
request(method: string, requestHeaders: BareHeaders, body: BodyInit | null, remote: URL, cache: string | undefined, duplex: string | undefined, signal: AbortSignal | undefined): Promise<BareResponse> {
return new Response("test");
}
connect(remote: URL, protocols: string[], getRequestHeaders: GetRequestHeadersCallback, onMeta: MetaCallback, onReadyState: ReadyStateCallback, webSocketImpl: WebSocketImpl): WebSocket {
}
}
let testclient = new TestClient;
setBareClientImplementation(testclient);
and bare-client-custom will take care of the rest
FAQs
Unknown package
The npm package @mercuryworkshop/bare-client-custom receives a total of 2 weekly downloads. As such, @mercuryworkshop/bare-client-custom popularity was classified as not popular.
We found that @mercuryworkshop/bare-client-custom 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.