
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Send values to an async iterable like Reactive Extensions does. This multicasts values to be multicasted to many listeners. The listener would be anything that retrieves an iterator via the [Symbol.asyncIterator]()
method. Subjects are like EventEmitters.
import { AiSubject } from "ai-subject"
const aiSubject = new AiSubject()
Creates a new instance of AiSubject
.
aiSubject[Symbol.asyncIterator]()
Listens to the subject until it finishes.
Returns:
AsyncIterable & AsyncIterator
- An iterator that listens to values sent to the subject.Note: The subject will only emit values sent via onNext
if the iterator is listened to.
aiSubject.onNext(value)
Sends a new value to all of the subject's listeners.
Parameters:
value
- The valueaiSubject.onEnd()
Ends the subject.
aiSubject.onError(error)
Transitions the subject to an error state.
Parameters:
error
- The error.FAQs
Send values to an async iterable like Reactive Extensions does
The npm package ai-subject receives a total of 0 weekly downloads. As such, ai-subject popularity was classified as not popular.
We found that ai-subject 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.