ember-cli-sync-for-each
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "ember-cli-sync-for-each", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Synchronously calls a function on each item of an array. If that function is asynchronous, it will wait for the previous call to resolve before triggering the next.", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -1,2 +0,2 @@ | ||
# Ember-cli-sync-for-each | ||
# Ember-cli-sync-for-each [![Build Status](https://travis-ci.org/lazybensch/ember-cli-sync-for-each.svg?branch=master)](https://travis-ci.org/lazybensch/ember-cli-sync-for-each) | ||
@@ -122,2 +122,13 @@ This addon provides you with a function to execute asynchronous callbacks synchronously on an array of objects. This is for example usefull if you want to save a list of models where each model depends on data that is returned by the backend for one of the previous models (such as the id). Or when you want to mass create a list of objects but also respect their order of creation for the timestamps generated by your backend. For more use cases see the guide section below. | ||
## Installation | ||
To use this addon in your project, just type: | ||
``` | ||
$ ember install:addon ember-cli-sync-for-each | ||
``` | ||
and then import the function whereever you need it: | ||
``` | ||
import syncForEach from 'ember-cli-sync-for-each'; | ||
``` | ||
## Contributing | ||
@@ -129,1 +140,2 @@ | ||
* `bower install` | ||
* `ember test` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
20780215
346
208445
140
1