New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-sync-for-each

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-sync-for-each - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

tmp/class-tmp_cache_dir-0eIauQ81.tmp/assets/test-support.js

2

package.json
{
"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`
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc