neobiz 4.7.0 → 4.7.2

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/browser.js CHANGED
@@ -80,7 +80,7 @@ function renderz(val = {}) {
80
80
  .replace(/&/g, "&")
81
81
  .replace(/</g, "&lt;")
82
82
  .replace(/>/g, "&gt;")
83
- .replace(/"/g, "&quot;")
83
+ // .replace(/"/g, "&quot;")
84
84
  .replace(/'/g, "&#39;")
85
85
  : k[1].toString()
86
86
  }`;
package/index.js CHANGED
@@ -7,7 +7,7 @@ function outFile(source, data) {
7
7
  (function () {
8
8
  const dir = path.dirname(path.resolve(source));
9
9
  if (!fs.existsSync(dir)) fs.mkdirSync(dir);
10
- fs.writeFileSync(source, data.render);
10
+ fs.writeFileSync(source, data._render);
11
11
  console.log(`Output file: ${source}`);
12
12
  })();
13
13
  return data.render;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neobiz",
3
- "version": "4.7.0",
3
+ "version": "4.7.2",
4
4
  "description": "A simple tool to convert Object to HTML string",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -1,11 +1,13 @@
1
1
  <!-- @format -->
2
2
 
3
- # Documentation Neobiz.js 4.7
3
+ # Documentation Neobiz.js 4.7.x
4
4
 
5
5
  > A simple view engine that has 100% JS features
6
6
 
7
7
  Neobiz.js is pure in JS lang, transform Object into HTML
8
8
 
9
+ fix error `outFIle`
10
+
9
11
  ## Updates:
10
12
 
11
13
  - fix event bugs