@platformatic/basic 2.43.0 → 2.44.1
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/worker/child-process.js +0 -5
- package/package.json +6 -6
- package/schema.json +1 -1
|
@@ -8,7 +8,6 @@ import { ServerResponse } from 'node:http'
|
|
|
8
8
|
import { register } from 'node:module'
|
|
9
9
|
import { hostname, platform, tmpdir } from 'node:os'
|
|
10
10
|
import { basename, resolve } from 'node:path'
|
|
11
|
-
import { fileURLToPath } from 'node:url'
|
|
12
11
|
import { isMainThread } from 'node:worker_threads'
|
|
13
12
|
import pino from 'pino'
|
|
14
13
|
import { Agent, Pool, setGlobalDispatcher } from 'undici'
|
|
@@ -371,10 +370,6 @@ async function main () {
|
|
|
371
370
|
globalThis.platformatic = data
|
|
372
371
|
globalThis.platformatic.events = new EventEmitter()
|
|
373
372
|
|
|
374
|
-
if (data.root && isMainThread) {
|
|
375
|
-
process.chdir(fileURLToPath(data.root))
|
|
376
|
-
}
|
|
377
|
-
|
|
378
373
|
if (loader) {
|
|
379
374
|
register(loader, { data })
|
|
380
375
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/basic",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.44.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"split2": "^4.2.0",
|
|
25
25
|
"undici": "^7.0.0",
|
|
26
26
|
"ws": "^8.18.0",
|
|
27
|
-
"@platformatic/config": "2.
|
|
28
|
-
"@platformatic/
|
|
29
|
-
"@platformatic/
|
|
30
|
-
"@platformatic/
|
|
31
|
-
"@platformatic/
|
|
27
|
+
"@platformatic/config": "2.44.1",
|
|
28
|
+
"@platformatic/telemetry": "2.44.1",
|
|
29
|
+
"@platformatic/metrics": "2.44.1",
|
|
30
|
+
"@platformatic/utils": "2.44.1",
|
|
31
|
+
"@platformatic/itc": "2.44.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"borp": "^0.19.0",
|
package/schema.json
CHANGED