@blackbelt-technology/pi-dashboard-document-converter 0.10.0 → 0.11.0
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.
|
@@ -26,7 +26,7 @@ def get_available_port() -> int:
|
|
|
26
26
|
An available port number.
|
|
27
27
|
"""
|
|
28
28
|
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
|
29
|
-
s.bind(('', 0))
|
|
29
|
+
s.bind(('127.0.0.1', 0)) # loopback probe only (CodeQL py/bind-socket-all-network-interfaces)
|
|
30
30
|
s.listen(1)
|
|
31
31
|
port = s.getsockname()[1]
|
|
32
32
|
return port
|
|
@@ -24,7 +24,7 @@ def get_available_port() -> int:
|
|
|
24
24
|
An available port number.
|
|
25
25
|
"""
|
|
26
26
|
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
|
27
|
-
s.bind(('', 0))
|
|
27
|
+
s.bind(('127.0.0.1', 0)) # loopback probe only (CodeQL py/bind-socket-all-network-interfaces)
|
|
28
28
|
s.listen(1)
|
|
29
29
|
port = s.getsockname()[1]
|
|
30
30
|
return port
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blackbelt-technology/pi-dashboard-document-converter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "TypeScript facade over a Dockerized Python document engine (pi-doc-engine). Bidirectional: ingest any format to provenance-stamped Markdown for kb, produce templated DOCX/PDF with diagrams. Engine quarantined in Docker; TS is the only call surface.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"test": "vitest run"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@blackbelt-technology/pi-dashboard-shared": "^0.
|
|
39
|
+
"@blackbelt-technology/pi-dashboard-shared": "^0.11.0"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist",
|