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.
@@ -9,7 +9,7 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- node-version: [14.x, 15.x]
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
  ![language](https://img.shields.io/badge/language-JavaScript-orange.svg)
5
5
  [![npm version](http://img.shields.io/npm/v/w-converhp.svg?style=flat)](https://npmjs.org/package/w-converhp)
6
- [![Build Status](https://travis-ci.org/yuda-lyu/w-converhp.svg?branch=master)](https://travis-ci.org/yuda-lyu/w-converhp)
7
6
  [![license](https://img.shields.io/npm/l/w-converhp.svg?style=flat)](https://npmjs.org/package/w-converhp)
8
7
  [![gzip file size](http://img.badgesize.io/yuda-lyu/w-converhp/master/dist/w-converhp-server.umd.js.svg?compression=gzip)](https://github.com/yuda-lyu/w-converhp)
9
8
  [![npm download](https://img.shields.io/npm/dt/w-converhp.svg)](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.31/dist/w-converhp-client.umd.js"></script>
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
@@ -0,0 +1,5 @@
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+
5
+ Please report security issues to `firsemisphere@gmail.com`
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * w-converhp-client v1.0.31
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.22.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
  */