Comparing version 0.5.15 to 0.5.16
var BUFFER_LENGTH = 1024 * 8; | ||
var MAX_STACK_SIZE = 100; | ||
@@ -20,3 +21,4 @@ var parser = require('./parser'); | ||
var i = 1; | ||
var i = 1 | ||
, stackSize = 0; | ||
@@ -32,2 +34,7 @@ function next() { | ||
} | ||
if (++stackSize % MAX_STACK_SIZE == 0) { | ||
process.nextTick(next); | ||
return; | ||
} | ||
@@ -173,3 +180,8 @@ var token = tokens[i++]; | ||
context.pop(); | ||
next(); | ||
if (i % MAX_STACK_SIZE == 0) { | ||
return process.nextTick(next); | ||
} else { | ||
next(); | ||
} | ||
}); | ||
@@ -176,0 +188,0 @@ } else { |
{ "name": "mu2" | ||
, "description": "A Mustache template engine for Node.js" | ||
, "keywords": ["template", "mustache"] | ||
, "version" : "0.5.15" | ||
, "version" : "0.5.16" | ||
, "homepage": "http://github.com/raycmorgan/mu" | ||
@@ -6,0 +6,0 @@ , "author" : "RayMorgan <ray@rumgr.com>" |
@@ -9,2 +9,3 @@ var assert = require('assert'), | ||
[ | ||
'tenthousand', | ||
'boolean', | ||
@@ -11,0 +12,0 @@ 'carriage_return', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77149
71
763