@zenweb/template 3.0.2 → 3.0.3

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/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.0.3] - 2023-4-2
4
+ - 清除遗留的 console.log
5
+
3
6
  ## [3.0.2] - 2023-4-2
4
7
  - 使用 ctx.template 方法无 engine 指定的情况下使用第一匹配的 engine
package/dist/render.js CHANGED
@@ -35,7 +35,6 @@ class TemplateRender {
35
35
  return false;
36
36
  }
37
37
  render(ctx, data) {
38
- console.log(this);
39
38
  const opt = ctx[exports.TEMPLATE_OPTION];
40
39
  let template = opt === null || opt === void 0 ? void 0 : opt.template;
41
40
  if (!template) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenweb/template",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "zenweb template render module",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",