Comparing version 4.2.1 to 4.3.0
4.3.0 / 2019-12-04 | ||
================== | ||
**features** | ||
* [[`9bd7c37`](http://github.com/koajs/ejs/commit/9bd7c3790ccbba3d66e3bb9c4ab12ee020cf15fd)] - feat: support for outputFunctionName settings (#52) (Vojtěch Kozák <<kozak.v@gmail.com>>) | ||
4.2.1 / 2019-12-04 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -103,3 +103,4 @@ /*! | ||
cache: settings.cache, | ||
async: settings.async | ||
async: settings.async, | ||
outputFunctionName: settings.outputFunctionName | ||
}); | ||
@@ -106,0 +107,0 @@ if (settings.cache) { |
{ | ||
"name": "koa-ejs", | ||
"version": "4.2.1", | ||
"version": "4.3.0", | ||
"description": "ejs render middleware for koa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -46,2 +46,3 @@ koa-ejs | ||
* async: When true, EJS will use an async function for rendering. Depends on async/await support in the JS runtime. | ||
* outputFunctionName: Set to a string (e.g., 'echo' or 'print') for a function to print output inside scriptlet tags. | ||
@@ -48,0 +49,0 @@ ### Layouts |
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
11452
120
89