@platformatic/basic 3.15.0 → 3.17.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.
- package/lib/capability.js +1 -2
- package/package.json +5 -5
- package/schema.json +1 -1
package/lib/capability.js
CHANGED
|
@@ -632,7 +632,6 @@ export class BaseCapability extends EventEmitter {
|
|
|
632
632
|
if (this.reuseTcpPorts) {
|
|
633
633
|
if (!features.node.reusePort) {
|
|
634
634
|
this.reuseTcpPorts = false
|
|
635
|
-
this.logger.warn('Cannot enable reusePort as it is not available in your OS.')
|
|
636
635
|
} else {
|
|
637
636
|
this.#reuseTcpPortsSubscribers = {
|
|
638
637
|
asyncStart ({ options }) {
|
|
@@ -652,7 +651,7 @@ export class BaseCapability extends EventEmitter {
|
|
|
652
651
|
|
|
653
652
|
this.#metricsCollected = true
|
|
654
653
|
|
|
655
|
-
if (this.context.metricsConfig === false) {
|
|
654
|
+
if (this.context.metricsConfig === false || this.context.metricsConfig?.enabled === false) {
|
|
656
655
|
return
|
|
657
656
|
}
|
|
658
657
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/basic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"split2": "^4.2.0",
|
|
26
26
|
"undici": "^7.0.0",
|
|
27
27
|
"ws": "^8.18.0",
|
|
28
|
-
"@platformatic/foundation": "3.
|
|
29
|
-
"@platformatic/itc": "3.
|
|
30
|
-
"@platformatic/metrics": "3.
|
|
31
|
-
"@platformatic/telemetry": "3.
|
|
28
|
+
"@platformatic/foundation": "3.17.0",
|
|
29
|
+
"@platformatic/itc": "3.17.0",
|
|
30
|
+
"@platformatic/metrics": "3.17.0",
|
|
31
|
+
"@platformatic/telemetry": "3.17.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"cleaner-spec-reporter": "^0.5.0",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/basic/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/basic/3.17.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Basic Config",
|
|
5
5
|
"type": "object",
|