
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
The async/await event emitters.
The usage of async-ee is nearly the same as the vanilla EventEmitter, except that asyncEmitter.emit() returns a Promise, while the builtin emitter.emit() returns a boolean value.
$ npm install async-ee
asyncEmitter.emit() returns a Promise, so that we could use it in async functions.
import EventEmitter from 'async-ee'
class MyClass extends EventEmitter {
async doSomething () {
await this.emit('before-event')
const data = await doThings()
await this.emit('after-event', data)
this.emit('sync-event')
return data
}
}
const foo = new MyClass()
.on('before-some-event', async () => await validateFromRemoveServer())
.on('after-event', async data => await doTheTracking(data))
.on('sync-event', () => console.log('did something'))
;(async function () {
const data = await foo.doSomething()
})
Run event handlers with Promise.all.
Run event handlers in sequence.
MIT
FAQs
async-ee
The npm package async-ee receives a total of 2 weekly downloads. As such, async-ee popularity was classified as not popular.
We found that async-ee 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.