Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

async-helpers

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-helpers - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

9

index.js

@@ -157,3 +157,3 @@ /*!

if (matches) {
argRefs.push({arg: arg, idx: i, matches: matches});
argRefs.push({arg: arg, idx: i});
}

@@ -261,9 +261,2 @@ }

lazy.async.each(stashed.argRefs, function (ref, next2) {
if (ref.matches.length) {
return self.resolveIds(ref.arg, function (err, value) {
if (err) return next2(err);
stashed.args[ref.idx] = value;
next2();
});
}
self.resolveId(ref.arg, function (err, value) {

@@ -270,0 +263,0 @@ if (err) return next2(err);

2

package.json
{
"name": "async-helpers",
"description": "Use async helpers in templates with engines that typically only handle sync helpers. Handlebars and Lodash have been tested.",
"version": "0.3.3",
"version": "0.3.4",
"homepage": "https://github.com/doowb/async-helpers",

@@ -6,0 +6,0 @@ "author": {

@@ -19,3 +19,3 @@ # async-helpers [![NPM version](https://badge.fury.io/js/async-helpers.svg)](http://badge.fury.io/js/async-helpers) [![Build Status](https://travis-ci.org/doowb/async-helpers.svg)](https://travis-ci.org/doowb/async-helpers)

### [AsyncHelpers](index.js#L26)
### [AsyncHelpers](index.js#L32)

@@ -32,3 +32,3 @@ Create a new instance of AsyncHelpers

### [.set](index.js#L62)
### [.set](index.js#L68)

@@ -51,3 +51,3 @@ Add a helper to the cache.

### [.get](index.js#L85)
### [.get](index.js#L91)

@@ -69,3 +69,3 @@ Get all helpers or a helper with the given name.

### [.wrap](index.js#L184)
### [.wrap](index.js#L190)

@@ -86,3 +86,3 @@ Wrap a helper with async handling capibilities.

### [.reset](index.js#L205)
### [.reset](index.js#L211)

@@ -99,3 +99,3 @@ Reset all the stashed helpers.

### [.resolveId](index.js#L228)
### [.resolveId](index.js#L234)

@@ -122,5 +122,5 @@ Resolve a stashed helper by the generated id.

* [engine-cache](https://github.com/jonschlinkert/engine-cache): express.js inspired template-engine manager.
* [helper-cache](https://github.com/jonschlinkert/helper-cache): Easily register and get helper functions to be passed to any template engine or node.js… [more](https://github.com/jonschlinkert/helper-cache)
* [template-helpers](https://github.com/jonschlinkert/template-helpers): Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or… [more](https://github.com/jonschlinkert/template-helpers)
* [engine-cache](https://www.npmjs.com/package/engine-cache): express.js inspired template-engine manager. | [homepage](https://github.com/jonschlinkert/engine-cache)
* [helper-cache](https://www.npmjs.com/package/helper-cache): Easily register and get helper functions to be passed to any template engine or node.js… [more](https://www.npmjs.com/package/helper-cache) | [homepage](https://github.com/jonschlinkert/helper-cache)
* [template-helpers](https://www.npmjs.com/package/template-helpers): Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or… [more](https://www.npmjs.com/package/template-helpers) | [homepage](https://github.com/jonschlinkert/template-helpers)

@@ -137,3 +137,3 @@ ## Run tests

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/async-helpers/issues/new)
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/async-helpers/issues/new).

@@ -154,2 +154,2 @@ ## Author

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 23, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 30, 2015._
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