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.2.1 to 0.2.2

8

index.js

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

// generate a unique ID for the wrapped helper
var id = thisArg.prefix + thisArg.globalCounter + (thisArg.counter++) + '__';
var id = thisArg.prefix + thisArg.globalCounter + '_' + (thisArg.counter++) + '__';
var obj = {

@@ -263,3 +263,7 @@ id: id,

}
res = stashed.fn.apply(stashed.thisArg, args);
try {
res = stashed.fn.apply(stashed.thisArg, args);
} catch (err) {
return next(err);
}
if (!stashed.fn.async) {

@@ -266,0 +270,0 @@ return next(null, res);

{
"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.2.1",
"version": "0.2.2",
"homepage": "https://github.com/doowb/async-helpers",

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

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