Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
backbone-esnext-eventbus
Advanced tools
Changelog
0.3.1 (2017-03-09)
Readme
Provides a default instance of backbone-esnext-events which may serve as a main eventbus. Please refer to backbone-esnext-events for detailed documentation. The main impetus for a default main eventbus being easily imported across modules is to facilitate message passing between modules versus direct dependencies / method invocation.
It should be noted that this module only depends on backbone-esnext-events which has no other dependencies.
An example follows:
import mainEventbus from 'backbone-esnext-eventbus';
mainEventbus.on('fire:test', () => { console.log('Test Fired!'); return 42; }
mainEventbus.trigger('fire:test'); // Prints 'Test Fired'!
const value = mainEventbus.triggerSync('fire:test'); // Prints 'Test Fired' and returns '42'!
assert(value === 42);
and in an entirely separate module / source file:
import mainEventbus from 'backbone-esnext-eventbus';
const value = mainEventbus.triggerSync('fire:test'); // Prints 'Test Fired' and returns '42'!
assert(value === 42);
There are also two other alternate eventbus instances provided as named exports: auxEventbus
and pluginEventbus
.
These can be imported as follows:
import { auxEventbus } from 'backbone-esnext-eventbus';
import { pluginEventbus } from 'backbone-esnext-eventbus';
FAQs
Provides a default main eventbus instance for backbone-esnext-events.
The npm package backbone-esnext-eventbus receives a total of 4 weekly downloads. As such, backbone-esnext-eventbus popularity was classified as not popular.
We found that backbone-esnext-eventbus 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.