w-converhp 1.0.39 → 1.0.40
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/.github/workflows/ci-test.yml +1 -1
- package/README.md +1 -1
- package/dist/w-converhp-client.umd.js +1 -1
- package/dist/w-converhp-server.umd.js +1 -1
- package/docs/WConverhpClient.html +1 -1
- package/docs/WConverhpClient.mjs.html +3 -3
- package/docs/WConverhpServer.html +1 -1
- package/docs/WConverhpServer.mjs.html +5 -5
- package/docs/index.html +1 -1
- package/package.json +3 -3
- package/scla.mjs +1 -1
- package/sclb.mjs +1 -1
- package/script.txt +18 -0
- package/src/WConverhpClient.mjs +2 -2
- package/src/WConverhpServer.mjs +4 -4
package/README.md
CHANGED
|
@@ -225,7 +225,7 @@ wo.on('deliver', function(data) {
|
|
|
225
225
|
|
|
226
226
|
[Necessary] Add script for w-converhp-client.
|
|
227
227
|
```alias
|
|
228
|
-
<script src="https://cdn.jsdelivr.net/npm/w-converhp@1.0.
|
|
228
|
+
<script src="https://cdn.jsdelivr.net/npm/w-converhp@1.0.40/dist/w-converhp-client.umd.js"></script>
|
|
229
229
|
```
|
|
230
230
|
#### Example for w-converhp-client:
|
|
231
231
|
> **Link:** [[dev source code](https://github.com/yuda-lyu/w-converhp/blob/master/web.html)]
|
|
@@ -1249,7 +1249,7 @@
|
|
|
1249
1249
|
<br class="clear">
|
|
1250
1250
|
|
|
1251
1251
|
<footer>
|
|
1252
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
1252
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:49:11 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1253
1253
|
</footer>
|
|
1254
1254
|
|
|
1255
1255
|
<script>prettyPrint();</script>
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
import axios from 'axios' //axios已可自動依照調用環境切換
|
|
53
53
|
// import * as FormData from 'form-data/lib/form_data.js'
|
|
54
54
|
// import FormData from 'form-data'
|
|
55
|
-
import get from 'lodash-es/get'
|
|
56
|
-
import each from 'lodash-es/each'
|
|
55
|
+
import get from 'lodash-es/get.js'
|
|
56
|
+
import each from 'lodash-es/each.js'
|
|
57
57
|
// import getGlobal from 'wsemi/src/getGlobal.mjs'
|
|
58
58
|
import isWindow from 'wsemi/src/isWindow.mjs'
|
|
59
59
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
@@ -757,7 +757,7 @@ export default WConverhpClient
|
|
|
757
757
|
<br class="clear">
|
|
758
758
|
|
|
759
759
|
<footer>
|
|
760
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
760
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:49:11 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
761
761
|
</footer>
|
|
762
762
|
|
|
763
763
|
<script>prettyPrint();</script>
|
|
@@ -1811,7 +1811,7 @@
|
|
|
1811
1811
|
<br class="clear">
|
|
1812
1812
|
|
|
1813
1813
|
<footer>
|
|
1814
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
1814
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:49:11 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1815
1815
|
</footer>
|
|
1816
1816
|
|
|
1817
1817
|
<script>prettyPrint();</script>
|
|
@@ -50,10 +50,10 @@ import Hapi from '@hapi/hapi'
|
|
|
50
50
|
import Inert from '@hapi/inert' //提供靜態檔案
|
|
51
51
|
import events from 'events'
|
|
52
52
|
import stream from 'stream'
|
|
53
|
-
import get from 'lodash-es/get'
|
|
54
|
-
import map from 'lodash-es/map'
|
|
55
|
-
import each from 'lodash-es/each'
|
|
56
|
-
import cloneDeep from 'lodash-es/cloneDeep'
|
|
53
|
+
import get from 'lodash-es/get.js'
|
|
54
|
+
import map from 'lodash-es/map.js'
|
|
55
|
+
import each from 'lodash-es/each.js'
|
|
56
|
+
import cloneDeep from 'lodash-es/cloneDeep.js'
|
|
57
57
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
58
58
|
import alive from 'wsemi/src/alive.mjs'
|
|
59
59
|
import isstr from 'wsemi/src/isstr.mjs'
|
|
@@ -679,7 +679,7 @@ export default WConverhpServer
|
|
|
679
679
|
<br class="clear">
|
|
680
680
|
|
|
681
681
|
<footer>
|
|
682
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
682
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:49:11 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
683
683
|
</footer>
|
|
684
684
|
|
|
685
685
|
<script>prettyPrint();</script>
|
package/docs/index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<br class="clear">
|
|
72
72
|
|
|
73
73
|
<footer>
|
|
74
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
74
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:49:11 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
75
75
|
</footer>
|
|
76
76
|
|
|
77
77
|
<script>prettyPrint();</script>
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "w-converhp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"main": "dist/w-converhp-server.umd.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hapi/hapi": "^21.3.7",
|
|
7
7
|
"@hapi/inert": "^7.1.0",
|
|
8
8
|
"axios": "^1.6.8",
|
|
9
9
|
"lodash-es": "^4.17.21",
|
|
10
|
-
"wsemi": "^1.7.
|
|
10
|
+
"wsemi": "^1.7.49"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"form-data": "^4.0.0",
|
|
14
|
-
"w-package-tools": "^1.0.
|
|
14
|
+
"w-package-tools": "^1.0.75"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"@hapi/hapi": "^20.2.1",
|
package/scla.mjs
CHANGED
|
@@ -26,7 +26,7 @@ wo.on('openOnce', function() {
|
|
|
26
26
|
b: 34.56,
|
|
27
27
|
c: 'test中文',
|
|
28
28
|
d: {
|
|
29
|
-
name
|
|
29
|
+
name,
|
|
30
30
|
u8a: new Uint8Array([66, 97, 115]),
|
|
31
31
|
// u8a: new Uint8Array(fs.readFileSync('../_data/500mb.7z')), //最多500mb, 因新版@hapi/pez無法處理1g檔案, 會出現: Invalid string length
|
|
32
32
|
}
|
package/sclb.mjs
CHANGED
package/script.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#node --experimental-modules --es-module-specifier-resolution=node toolg/addVersion.mjs
|
|
2
|
+
node --experimental-modules --es-module-specifier-resolution=node toolg/modifyReadme.mjs
|
|
3
|
+
|
|
4
|
+
node --experimental-modules --es-module-specifier-resolution=node toolg/cleanFolder.mjs
|
|
5
|
+
./node_modules/.bin/jsdoc -c .jsdoc
|
|
6
|
+
|
|
7
|
+
node --experimental-modules --es-module-specifier-resolution=node toolg/gDistRollup.mjs
|
|
8
|
+
|
|
9
|
+
git add . -A
|
|
10
|
+
git commit -m 'modify: '
|
|
11
|
+
git push origin master:master
|
|
12
|
+
|
|
13
|
+
npm run deploy
|
|
14
|
+
|
|
15
|
+
#npm test
|
|
16
|
+
|
|
17
|
+
#npm publish
|
|
18
|
+
|
package/src/WConverhpClient.mjs
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import axios from 'axios' //axios已可自動依照調用環境切換
|
|
6
6
|
// import * as FormData from 'form-data/lib/form_data.js'
|
|
7
7
|
// import FormData from 'form-data'
|
|
8
|
-
import get from 'lodash-es/get'
|
|
9
|
-
import each from 'lodash-es/each'
|
|
8
|
+
import get from 'lodash-es/get.js'
|
|
9
|
+
import each from 'lodash-es/each.js'
|
|
10
10
|
// import getGlobal from 'wsemi/src/getGlobal.mjs'
|
|
11
11
|
import isWindow from 'wsemi/src/isWindow.mjs'
|
|
12
12
|
import genPm from 'wsemi/src/genPm.mjs'
|
package/src/WConverhpServer.mjs
CHANGED
|
@@ -3,10 +3,10 @@ import Hapi from '@hapi/hapi'
|
|
|
3
3
|
import Inert from '@hapi/inert' //提供靜態檔案
|
|
4
4
|
import events from 'events'
|
|
5
5
|
import stream from 'stream'
|
|
6
|
-
import get from 'lodash-es/get'
|
|
7
|
-
import map from 'lodash-es/map'
|
|
8
|
-
import each from 'lodash-es/each'
|
|
9
|
-
import cloneDeep from 'lodash-es/cloneDeep'
|
|
6
|
+
import get from 'lodash-es/get.js'
|
|
7
|
+
import map from 'lodash-es/map.js'
|
|
8
|
+
import each from 'lodash-es/each.js'
|
|
9
|
+
import cloneDeep from 'lodash-es/cloneDeep.js'
|
|
10
10
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
11
11
|
import alive from 'wsemi/src/alive.mjs'
|
|
12
12
|
import isstr from 'wsemi/src/isstr.mjs'
|