neobiz 4.7.2 → 5.1.0

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/indexw.js ADDED
@@ -0,0 +1,21 @@
1
+ /** @format */
2
+ // require("./browser");
3
+ require("./index2");
4
+ // const path = require("path");
5
+
6
+ // function outFile(source, data) {
7
+ // const fs = require("fs");
8
+ // (function () {
9
+ // const dir = path.dirname(path.resolve(source));
10
+ // if (!fs.existsSync(dir)) fs.mkdirSync(dir);
11
+ // fs.writeFileSync(source, data._render);
12
+ // console.log(`Output file: ${source}`);
13
+ // })();
14
+ // return data.render;
15
+ // }
16
+
17
+ // Object.defineProperty({}.__proto__, "outFile", {
18
+ // value: function (goes) {
19
+ // return outFile(goes, this);
20
+ // },
21
+ // });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neobiz",
3
- "version": "4.7.2",
3
+ "version": "5.1.0",
4
4
  "description": "A simple tool to convert Object to HTML string",
5
5
  "main": "index.js",
6
6
  "scripts": {