engine-cache
Advanced tools
Comparing version 0.18.0 to 0.19.0
17
index.js
@@ -225,16 +225,11 @@ 'use strict'; | ||
if (typeof compiled === 'function') { | ||
try { | ||
str = compiled(locals); | ||
} catch (err) { | ||
if (typeof cb === 'function') { | ||
cb(err); | ||
return; | ||
} | ||
throw err; | ||
} | ||
str = compiled; | ||
// these have already been passed into the | ||
// engine during compile time | ||
delete helpers.helpers; | ||
delete helpers.partials; | ||
} | ||
helpers = mergeHelpers(engine, settings); | ||
var data = {}; | ||
if (settings && typeof settings.mergeFn === 'function') { | ||
@@ -241,0 +236,0 @@ data = settings.mergeFn(helpers, locals); |
{ | ||
"name": "engine-cache", | ||
"description": "express.js inspired template-engine manager.", | ||
"version": "0.18.0", | ||
"version": "0.19.0", | ||
"homepage": "https://github.com/jonschlinkert/engine-cache", | ||
@@ -110,5 +110,6 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"reflinks": [ | ||
"verb" | ||
"verb", | ||
"verb-readme-generator" | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
20341
5
0
163
365