w-comor-hapi 1.0.35 → 1.0.36
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-comor-hapi-client.umd.js +1 -1
- package/dist/w-comor-hapi-server.umd.js +1 -1
- package/docs/WComorHapiClient.mjs.html +3 -3
- package/docs/WComorHapiServer.mjs.html +7 -7
- package/docs/global.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +3 -3
- package/script.txt +18 -0
- package/src/WComorHapiClient.mjs +2 -2
- package/src/WComorHapiServer.mjs +6 -6
package/README.md
CHANGED
|
@@ -192,7 +192,7 @@ new WComorHapiClient(opt)
|
|
|
192
192
|
```
|
|
193
193
|
[Necessary] Add script for w-comor-hapi-client.
|
|
194
194
|
```alias
|
|
195
|
-
<script src="https://cdn.jsdelivr.net/npm/w-comor-hapi@1.0.
|
|
195
|
+
<script src="https://cdn.jsdelivr.net/npm/w-comor-hapi@1.0.36/dist/w-comor-hapi-client.umd.js"></script>
|
|
196
196
|
```
|
|
197
197
|
#### Example for `w-comor-hapi-client`:
|
|
198
198
|
> **Link:** [[dev source code](https://github.com/yuda-lyu/w-comor-hapi/blob/master/web.html)]
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
<section>
|
|
47
47
|
<article>
|
|
48
48
|
<pre class="prettyprint source linenums"><code>import axios from 'axios'
|
|
49
|
-
import get from 'lodash-es/get'
|
|
50
|
-
import set from 'lodash-es/set'
|
|
49
|
+
import get from 'lodash-es/get.js'
|
|
50
|
+
import set from 'lodash-es/set.js'
|
|
51
51
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
52
52
|
import isfun from 'wsemi/src/isfun.mjs'
|
|
53
53
|
import haskey from 'wsemi/src/haskey.mjs'
|
|
@@ -330,7 +330,7 @@ export default WComorHapiClient
|
|
|
330
330
|
<br class="clear">
|
|
331
331
|
|
|
332
332
|
<footer>
|
|
333
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
333
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:16:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
334
334
|
</footer>
|
|
335
335
|
|
|
336
336
|
<script>prettyPrint();</script>
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
<article>
|
|
48
48
|
<pre class="prettyprint source linenums"><code>import Hapi from '@hapi/hapi'
|
|
49
49
|
//import Inert from '@hapi/inert' //提供靜態檔案
|
|
50
|
-
import cloneDeep from 'lodash-es/cloneDeep'
|
|
51
|
-
import keys from 'lodash-es/keys'
|
|
52
|
-
import get from 'lodash-es/get'
|
|
53
|
-
import uniqBy from 'lodash-es/uniqBy'
|
|
54
|
-
import isEqual from 'lodash-es/isEqual'
|
|
55
|
-
import each from 'lodash-es/each'
|
|
50
|
+
import cloneDeep from 'lodash-es/cloneDeep.js'
|
|
51
|
+
import keys from 'lodash-es/keys.js'
|
|
52
|
+
import get from 'lodash-es/get.js'
|
|
53
|
+
import uniqBy from 'lodash-es/uniqBy.js'
|
|
54
|
+
import isEqual from 'lodash-es/isEqual.js'
|
|
55
|
+
import each from 'lodash-es/each.js'
|
|
56
56
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
57
57
|
import genID from 'wsemi/src/genID.mjs'
|
|
58
58
|
import haskey from 'wsemi/src/haskey.mjs'
|
|
@@ -395,7 +395,7 @@ export default WComorHapiServer
|
|
|
395
395
|
<br class="clear">
|
|
396
396
|
|
|
397
397
|
<footer>
|
|
398
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
398
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:16:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
399
399
|
</footer>
|
|
400
400
|
|
|
401
401
|
<script>prettyPrint();</script>
|
package/docs/global.html
CHANGED
|
@@ -896,7 +896,7 @@
|
|
|
896
896
|
<br class="clear">
|
|
897
897
|
|
|
898
898
|
<footer>
|
|
899
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on
|
|
899
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Sun Mar 24 2024 22:16:24 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
900
900
|
</footer>
|
|
901
901
|
|
|
902
902
|
<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:16:24 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-comor-hapi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
4
|
"main": "dist/w-comor-hapi-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
|
"xss": "^1.0.15"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"w-package-tools": "^1.0.
|
|
14
|
+
"w-package-tools": "^1.0.75"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"test": "mocha --parallel --timeout 60000 --experimental-modules --es-module-specifier-resolution=node",
|
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/WComorHapiClient.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios'
|
|
2
|
-
import get from 'lodash-es/get'
|
|
3
|
-
import set from 'lodash-es/set'
|
|
2
|
+
import get from 'lodash-es/get.js'
|
|
3
|
+
import set from 'lodash-es/set.js'
|
|
4
4
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
5
5
|
import isfun from 'wsemi/src/isfun.mjs'
|
|
6
6
|
import haskey from 'wsemi/src/haskey.mjs'
|
package/src/WComorHapiServer.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Hapi from '@hapi/hapi'
|
|
2
2
|
//import Inert from '@hapi/inert' //提供靜態檔案
|
|
3
|
-
import cloneDeep from 'lodash-es/cloneDeep'
|
|
4
|
-
import keys from 'lodash-es/keys'
|
|
5
|
-
import get from 'lodash-es/get'
|
|
6
|
-
import uniqBy from 'lodash-es/uniqBy'
|
|
7
|
-
import isEqual from 'lodash-es/isEqual'
|
|
8
|
-
import each from 'lodash-es/each'
|
|
3
|
+
import cloneDeep from 'lodash-es/cloneDeep.js'
|
|
4
|
+
import keys from 'lodash-es/keys.js'
|
|
5
|
+
import get from 'lodash-es/get.js'
|
|
6
|
+
import uniqBy from 'lodash-es/uniqBy.js'
|
|
7
|
+
import isEqual from 'lodash-es/isEqual.js'
|
|
8
|
+
import each from 'lodash-es/each.js'
|
|
9
9
|
import genPm from 'wsemi/src/genPm.mjs'
|
|
10
10
|
import genID from 'wsemi/src/genID.mjs'
|
|
11
11
|
import haskey from 'wsemi/src/haskey.mjs'
|