@platformatic/runtime 3.62.0 → 3.62.2
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/runtime.js +7 -1
- package/package.json +16 -16
- package/schema.json +1 -1
package/lib/runtime.js
CHANGED
|
@@ -651,7 +651,13 @@ export class Runtime extends EventEmitter {
|
|
|
651
651
|
|
|
652
652
|
const removed = []
|
|
653
653
|
for (const application of applications) {
|
|
654
|
-
|
|
654
|
+
if (!this.#applications.has(application)) {
|
|
655
|
+
throw new ApplicationNotFoundError(application, this.getApplicationsIds().join(', '))
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
// Use allowUnloaded so that applications without a live worker
|
|
659
|
+
// (stopped or crashed with restartOnError: 0) can still be removed.
|
|
660
|
+
const details = await this.getApplicationDetails(application, true)
|
|
655
661
|
details.status = 'removed'
|
|
656
662
|
removed.push(details)
|
|
657
663
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "3.62.
|
|
3
|
+
"version": "3.62.2",
|
|
4
4
|
"description": "Platformatic runtime",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"undici-oidc-interceptor": "^0.9.0",
|
|
41
41
|
"why-is-node-running": "^2.2.2",
|
|
42
|
-
"@platformatic/db": "3.62.
|
|
43
|
-
"@platformatic/
|
|
44
|
-
"@platformatic/node": "3.62.
|
|
45
|
-
"@platformatic/service": "3.62.
|
|
46
|
-
"@platformatic/
|
|
47
|
-
"@platformatic/
|
|
48
|
-
"@platformatic/sql-
|
|
49
|
-
"@platformatic/
|
|
42
|
+
"@platformatic/db": "3.62.2",
|
|
43
|
+
"@platformatic/gateway": "3.62.2",
|
|
44
|
+
"@platformatic/node": "3.62.2",
|
|
45
|
+
"@platformatic/service": "3.62.2",
|
|
46
|
+
"@platformatic/composer": "3.62.2",
|
|
47
|
+
"@platformatic/sql-graphql": "3.62.2",
|
|
48
|
+
"@platformatic/sql-mapper": "3.62.2",
|
|
49
|
+
"@platformatic/wattpm-pprof-capture": "3.62.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@fastify/accepts": "^5.0.0",
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"undici": "^7.27.2",
|
|
78
78
|
"undici-thread-interceptor": "^1.3.1",
|
|
79
79
|
"ws": "^8.16.0",
|
|
80
|
-
"@platformatic/basic": "3.62.
|
|
81
|
-
"@platformatic/foundation": "3.62.
|
|
82
|
-
"@platformatic/
|
|
83
|
-
"@platformatic/globals": "3.62.
|
|
84
|
-
"@platformatic/
|
|
85
|
-
"@platformatic/metrics": "3.62.
|
|
86
|
-
"@platformatic/telemetry": "3.62.
|
|
80
|
+
"@platformatic/basic": "3.62.2",
|
|
81
|
+
"@platformatic/foundation": "3.62.2",
|
|
82
|
+
"@platformatic/itc": "3.62.2",
|
|
83
|
+
"@platformatic/globals": "3.62.2",
|
|
84
|
+
"@platformatic/generators": "3.62.2",
|
|
85
|
+
"@platformatic/metrics": "3.62.2",
|
|
86
|
+
"@platformatic/telemetry": "3.62.2"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
89
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.62.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/runtime/3.62.2.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Runtime Config",
|
|
5
5
|
"type": "object",
|