@abtnode/util 1.17.2-beta-20251111-114226-13276e42 → 1.17.2-beta-20251112-085154-0103b877
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/lib/ensure-endpoint-healthy.js +1 -1
- package/lib/port.js +1 -1
- package/package.json +7 -7
|
@@ -105,7 +105,7 @@ const ensureStarted = async ({
|
|
|
105
105
|
debug('ping if started', { port });
|
|
106
106
|
return true;
|
|
107
107
|
} catch (err) {
|
|
108
|
-
|
|
108
|
+
console.error('ping error, need to retry:', host, port, err.message);
|
|
109
109
|
await sleep(ONE_SECOND);
|
|
110
110
|
|
|
111
111
|
const spend = elapse + (Date.now() - startTime);
|
package/lib/port.js
CHANGED
|
@@ -69,7 +69,7 @@ const isPortTaken = async (port) => {
|
|
|
69
69
|
* }>
|
|
70
70
|
* }
|
|
71
71
|
*/
|
|
72
|
-
const refreshPorts = async (ports, { blackList = [], range = [10000,
|
|
72
|
+
const refreshPorts = async (ports, { blackList = [], range = [10000, 30000] } = {}) => {
|
|
73
73
|
const res = {};
|
|
74
74
|
const blackListPorts = [...Object.values(ports), ...blackList];
|
|
75
75
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.17.2-beta-
|
|
6
|
+
"version": "1.17.2-beta-20251112-085154-0103b877",
|
|
7
7
|
"description": "ArcBlock's JavaScript utility",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@abtnode/constant": "1.17.2-beta-
|
|
22
|
-
"@abtnode/db-cache": "1.17.2-beta-
|
|
21
|
+
"@abtnode/constant": "1.17.2-beta-20251112-085154-0103b877",
|
|
22
|
+
"@abtnode/db-cache": "1.17.2-beta-20251112-085154-0103b877",
|
|
23
23
|
"@arcblock/did": "^1.27.4",
|
|
24
24
|
"@arcblock/event-hub": "^1.27.4",
|
|
25
25
|
"@arcblock/pm2": "^6.0.12",
|
|
26
|
-
"@blocklet/constant": "1.17.2-beta-
|
|
26
|
+
"@blocklet/constant": "1.17.2-beta-20251112-085154-0103b877",
|
|
27
27
|
"@blocklet/error": "^0.3.2",
|
|
28
|
-
"@blocklet/meta": "1.17.2-beta-
|
|
29
|
-
"@blocklet/xss": "^0.3.
|
|
28
|
+
"@blocklet/meta": "1.17.2-beta-20251112-085154-0103b877",
|
|
29
|
+
"@blocklet/xss": "^0.3.7",
|
|
30
30
|
"@ocap/client": "^1.27.4",
|
|
31
31
|
"@ocap/mcrypto": "^1.27.4",
|
|
32
32
|
"@ocap/util": "^1.27.4",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"express": "^4.18.2",
|
|
91
91
|
"fs-extra": "^11.2.0"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "78509a648488c741e93d33b743ea2f6d65535c34"
|
|
94
94
|
}
|