bajo-template 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo-template",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Template Renderer for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin/factory.js CHANGED
@@ -129,7 +129,7 @@ async function factory (pkgName) {
129
129
  nopts.partial = true
130
130
  nopts.req = req
131
131
  nopts.reply = reply
132
- const nlocals = merge({}, locals, attr)
132
+ const nlocals = merge({}, locals, { attr })
133
133
  result = await this.render(resource, nlocals, nopts)
134
134
  }
135
135
  content = content.replace(pattern, result)