
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@exodus/await-proxy
Advanced tools
@exodus/await-proxy
Proxies a module and delays all module calls until the specified promise resolves.
This is an example of desktop RPC usage:
import awaitProxy from '@exodus/await-proxy'
import { createClient } from '#/electron-rpc-broadcast'
import Handshake from '#/handshake'
const handshake = new Handshake({
sendMessage: (message) => ipc.targeted('core', 'handshake', message),
attachListener: (listener) => ipc.on('handshake', listener),
})
// calls to some-module will be queued until the RPC server is initialized (as indicated by the handshake)
export default awaitProxy({
object: createClient('core', 'some-module'),
delayUntil: handshake.awaitDone(),
})
awaitProxy({ object, delayUntil, synchronousMethods })
object
is the module to be proxied (should only have functions/methods; no properties)delayUntil
is the Promise
to await before calling methods on object
synchronousMethods
is an optional array of strings, denoting methods names on object
that are synchronous, but return an object with async methods. Calls to synchronous methods will return a Proxy, with async functions that await promise
before actually executing. The underlying synchronous method will only be called after promise
resolves.
sFAQs
Proxies a module and delays all module calls
The npm package @exodus/await-proxy receives a total of 2,057 weekly downloads. As such, @exodus/await-proxy popularity was classified as popular.
We found that @exodus/await-proxy demonstrated a healthy version release cadence and project activity because the last version was released less than 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.