@abtnode/util 1.16.52-beta-20251005-235515-42ad5caf → 1.16.52-beta-20251008-094601-8a853b5b

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.
Files changed (2) hide show
  1. package/lib/port.js +1 -1
  2. package/package.json +6 -6
package/lib/port.js CHANGED
@@ -46,7 +46,7 @@ const isPortTaken = (port) =>
46
46
  .once('listening', () => {
47
47
  tester.once('close', () => resolve(false)).close();
48
48
  })
49
- .listen(port);
49
+ .listen(port, '127.0.0.1'); // 这里需要注意: 如果不加 host, 在某些时候端口占用了, 还是会返回 false
50
50
  });
51
51
 
52
52
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.52-beta-20251005-235515-42ad5caf",
6
+ "version": "1.16.52-beta-20251008-094601-8a853b5b",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,14 +18,14 @@
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.16.52-beta-20251005-235515-42ad5caf",
22
- "@abtnode/db-cache": "1.16.52-beta-20251005-235515-42ad5caf",
21
+ "@abtnode/constant": "1.16.52-beta-20251008-094601-8a853b5b",
22
+ "@abtnode/db-cache": "1.16.52-beta-20251008-094601-8a853b5b",
23
23
  "@arcblock/did": "1.25.6",
24
24
  "@arcblock/event-hub": "1.25.6",
25
25
  "@arcblock/pm2": "^6.0.12",
26
- "@blocklet/constant": "1.16.52-beta-20251005-235515-42ad5caf",
26
+ "@blocklet/constant": "1.16.52-beta-20251008-094601-8a853b5b",
27
27
  "@blocklet/error": "^0.2.5",
28
- "@blocklet/meta": "1.16.52-beta-20251005-235515-42ad5caf",
28
+ "@blocklet/meta": "1.16.52-beta-20251008-094601-8a853b5b",
29
29
  "@blocklet/xss": "^0.2.9",
30
30
  "@ocap/client": "1.25.6",
31
31
  "@ocap/mcrypto": "1.25.6",
@@ -91,5 +91,5 @@
91
91
  "fs-extra": "^11.2.0",
92
92
  "jest": "^29.7.0"
93
93
  },
94
- "gitHead": "7b295929a123edac2cb292c43f2edda0d3e3e6b8"
94
+ "gitHead": "355bb7832b143453d20acad991d728dac69fcf07"
95
95
  }