w-converhp 1.0.31 → 1.0.32
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 +2 -1
- package/README.md +1 -2
- package/SECURITY.md +5 -0
- package/dist/w-converhp-client.umd.js +22 -4
- package/dist/w-converhp-client.umd.js.map +1 -1
- package/dist/w-converhp-server.umd.js +76 -55
- package/dist/w-converhp-server.umd.js.map +1 -1
- package/docs/WConverhpClient.html +1 -1
- package/docs/WConverhpClient.mjs.html +1 -1
- package/docs/WConverhpServer.html +1 -1
- package/docs/WConverhpServer.mjs.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +5 -5
|
@@ -9,7 +9,7 @@ jobs:
|
|
|
9
9
|
|
|
10
10
|
strategy:
|
|
11
11
|
matrix:
|
|
12
|
-
node-version: [
|
|
12
|
+
node-version: [16.x]
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
15
|
- uses: actions/checkout@v2
|
|
@@ -17,6 +17,7 @@ jobs:
|
|
|
17
17
|
uses: actions/setup-node@v1
|
|
18
18
|
with:
|
|
19
19
|
node-version: ${{ matrix.node-version }}
|
|
20
|
+
- run: npm cache clean -f
|
|
20
21
|
- run: npm install
|
|
21
22
|
- run: npm test
|
|
22
23
|
env:
|
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@ An operator for hapi in nodejs and browser.
|
|
|
3
3
|
|
|
4
4
|

|
|
5
5
|
[](https://npmjs.org/package/w-converhp)
|
|
6
|
-
[](https://travis-ci.org/yuda-lyu/w-converhp)
|
|
7
6
|
[](https://npmjs.org/package/w-converhp)
|
|
8
7
|
[](https://github.com/yuda-lyu/w-converhp)
|
|
9
8
|
[](https://npmjs.org/package/w-converhp)
|
|
@@ -225,7 +224,7 @@ wo.on('deliver', function(data) {
|
|
|
225
224
|
|
|
226
225
|
[Necessary] Add script for w-converhp-client.
|
|
227
226
|
```alias
|
|
228
|
-
<script src="https://cdn.jsdelivr.net/npm/w-converhp@1.0.
|
|
227
|
+
<script src="https://cdn.jsdelivr.net/npm/w-converhp@1.0.32/dist/w-converhp-client.umd.js"></script>
|
|
229
228
|
```
|
|
230
229
|
#### Example for w-converhp-client:
|
|
231
230
|
> **Link:** [[dev source code](https://github.com/yuda-lyu/w-converhp/blob/master/web.html)]
|
package/SECURITY.md
ADDED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* w-converhp-client v1.0.
|
|
2
|
+
* w-converhp-client v1.0.32
|
|
3
3
|
* (c) 2018-2021 yuda-lyu(semisphere)
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1699,7 +1699,7 @@
|
|
|
1699
1699
|
|
|
1700
1700
|
|
|
1701
1701
|
request.ontimeout = function handleTimeout() {
|
|
1702
|
-
var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
|
|
1702
|
+
var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
1703
1703
|
var transitional = config.transitional || defaults_1.transitional;
|
|
1704
1704
|
|
|
1705
1705
|
if (config.timeoutErrorMessage) {
|
|
@@ -2078,7 +2078,7 @@
|
|
|
2078
2078
|
};
|
|
2079
2079
|
|
|
2080
2080
|
var data = {
|
|
2081
|
-
"version": "0.
|
|
2081
|
+
"version": "0.24.0"
|
|
2082
2082
|
};
|
|
2083
2083
|
|
|
2084
2084
|
var VERSION = data.version;
|
|
@@ -5014,13 +5014,31 @@
|
|
|
5014
5014
|
* console.log(ispint(0))
|
|
5015
5015
|
* // => false
|
|
5016
5016
|
*
|
|
5017
|
+
* console.log(ispint('0'))
|
|
5018
|
+
* // => false
|
|
5019
|
+
*
|
|
5017
5020
|
* console.log(ispint(125))
|
|
5018
5021
|
* // => true
|
|
5019
5022
|
*
|
|
5023
|
+
* console.log(ispint(1.25))
|
|
5024
|
+
* // => false
|
|
5025
|
+
*
|
|
5020
5026
|
* console.log(ispint('125'))
|
|
5021
5027
|
* // => true
|
|
5022
5028
|
*
|
|
5023
|
-
* console.log(ispint(1.25))
|
|
5029
|
+
* console.log(ispint('1.25'))
|
|
5030
|
+
* // => false
|
|
5031
|
+
|
|
5032
|
+
* console.log(ispint(-125))
|
|
5033
|
+
* // => false
|
|
5034
|
+
*
|
|
5035
|
+
* console.log(ispint(-1.25))
|
|
5036
|
+
* // => false
|
|
5037
|
+
*
|
|
5038
|
+
* console.log(ispint('-125'))
|
|
5039
|
+
* // => false
|
|
5040
|
+
*
|
|
5041
|
+
* console.log(ispint('-1.25'))
|
|
5024
5042
|
* // => false
|
|
5025
5043
|
*
|
|
5026
5044
|
*/
|