
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
ember-decorators-runloop
Advanced tools
ember install @ember-decorators/runloop
In your application where you use ES6 classes:
import Component from '@ember/component';
import { debounce } from "@ember/runloop";
import { action } from "@ember-decorators/object";
export default class TypeAhead extends Component {
fetchResults(searchValue) {
...
},
@action
handleTyping() {
debounce(this, get(this, 'fetchResults'), get(this, 'searchValue'), 250);
}
}
You replace it with this:
import Component from '@ember/component';
import { debounce } from "@ember-decorators/runloop";
import { action } from "@ember-decorators/object";
export default class TypeAhead extends Component {
@debounce(250)
fetchResults(searchValue) {
...
},
@action
handleTyping() {
get(this, 'fetchResults')(get('searchValue'));
}
}
In your application where you use ES6 classes:
import Component from '@ember/component';
import { throttle } from "@ember/runloop";
import { action } from "@ember-decorators/object";
export default class TypeAhead extends Component {
fetchResults(searchValue) {
...
},
@action
moveMouse() {
throttle(this, get(this, 'fetchResults'), get(this, 'searchValue'), 250);
}
}
You replace it with this:
import Component from '@ember/component';
import { throttle } from "@ember-decorators/runloop";
import { action } from "@ember-decorators/object";
export default class TypeAhead extends Component {
@throttle(250)
fetchResults(searchValue) {
...
},
@action
moveMouse() {
get(this, 'fetchResults')(get('searchValue'));
}
}
In your application where you use ES6 classes:
import Component from '@ember/component';
import { schedule } from "@ember/runloop";
export default class TypeAhead extends Component {
fetchResults(searchValue) {
...
},
didInsertElement() {
schedule('afterRender', this, get(this, 'fetchResults'), get(this, 'searchValue'));
}
}
You replace it with this:
import Component from '@ember/component';
import { schedule } from "@ember-decorators/runloop";
export default class TypeAhead extends Component {
@schedule('afterRender')
fetchResults(searchValue) {
...
},
didInsertElement() {
get(this, 'fetchResults')(get('searchValue'));
}
}
This README outlines the details of collaborating on this Ember addon.
git clone <repository-url> this repositorycd runloopnpm installember servenpm test (Runs ember try:each to test your addon against multiple Ember versions)ember testember test --serverember buildFor more information on using ember-cli, visit https://ember-cli.com/.
FAQs
The default blueprint for ember-cli addons.
We found that ember-decorators-runloop 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.