@dcl/sdk-commands 7.26.0 → 7.26.1-31707982174.commit-07a0182
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.
|
@@ -43,7 +43,10 @@ function tryListen(port) {
|
|
|
43
43
|
const server = net.createServer();
|
|
44
44
|
server.unref();
|
|
45
45
|
server.once('error', reject);
|
|
46
|
-
|
|
46
|
+
// probe the same address the servers bind (HTTP_SERVER_HOST=0.0.0.0): a hostless
|
|
47
|
+
// listen binds the IPv6 wildcard, which on macOS coexists with an IPv4 listener
|
|
48
|
+
// and reports ports as free that the real server then fails to bind (EADDRINUSE)
|
|
49
|
+
server.listen(port, '0.0.0.0', () => {
|
|
47
50
|
const address = server.address();
|
|
48
51
|
server.close(() => resolve(typeof address === 'object' && address ? address.port : port));
|
|
49
52
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-free-port.js","sourceRoot":"","sources":["../../src/logic/get-free-port.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-free-port.js","sourceRoot":"","sources":["../../src/logic/get-free-port.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,0BAeC;AApCD,yCAA0B;AAE1B,8FAA8F;AAC9F,MAAM,SAAS,GAAG,IAAI,CAAA;AACtB,MAAM,YAAY,GAAG,KAAK,CAAA;AAE1B,SAAS,SAAS,CAAC,IAAY;IAC7B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,MAAM,GAAG,GAAG,CAAC,YAAY,EAAE,CAAA;QACjC,MAAM,CAAC,KAAK,EAAE,CAAA;QACd,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;QAC5B,iFAAiF;QACjF,gFAAgF;QAChF,iFAAiF;QACjF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE;YAClC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,EAAE,CAAA;YAChC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;QAC3F,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC;AAEM,KAAK,UAAU,OAAO,CAAC,IAAY,EAAE,YAAY,GAAG,IAAI;IAC7D,MAAM,YAAY,GAAG,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;IAE/D,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,KAAK,IAAI,SAAS,GAAG,SAAS,EAAE,SAAS,IAAI,YAAY,EAAE,SAAS,EAAE,EAAE,CAAC;YACvE,IAAI,CAAC;gBACH,OAAO,MAAM,SAAS,CAAC,SAAS,CAAC,CAAA;YACnC,CAAC;YAAC,MAAM,CAAC;gBACP,yBAAyB;YAC3B,CAAC;QACH,CAAC;QACD,OAAO,YAAY,CAAA;IACrB,CAAC;IAED,OAAO,YAAY,CAAA;AACrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk-commands",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.26.
|
|
4
|
+
"version": "7.26.1-31707982174.commit-07a0182",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sdk-commands": "./dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@dcl/crypto": "^3.4.4",
|
|
11
|
-
"@dcl/ecs": "7.26.
|
|
11
|
+
"@dcl/ecs": "7.26.1-31707982174.commit-07a0182",
|
|
12
12
|
"@dcl/gltf-validator-ts": "1.0.14",
|
|
13
13
|
"@dcl/hashing": "1.1.3",
|
|
14
14
|
"@dcl/inspector": "7.36.3",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"displayName": "SDK",
|
|
75
75
|
"tsconfig": "./tsconfig.json"
|
|
76
76
|
},
|
|
77
|
-
"commit": "
|
|
77
|
+
"commit": "07a0182116e5abdd2a04b51b4ad3f261f569696a"
|
|
78
78
|
}
|