diff --git a/package-lock.json b/package-lock.json index 23f188dd..b6770c2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@fastify/error": "^4.0.0", "@fastify/http-proxy": "^9.5.0", "@platformatic/client": "^1.41.0", - "@platformatic/control": "^1.41.0", + "@platformatic/control": "^2.0.0", "@platformatic/sql-mapper": "^1.41.0", "@platformatic/ui-components": "^0.6.0", "@scalar/api-reference-react": "^0.1.15", @@ -2270,50 +2270,44 @@ "license": "MIT" }, "node_modules/@platformatic/control": { - "version": "1.53.3", - "resolved": "https://registry.npmjs.org/@platformatic/control/-/control-1.53.3.tgz", - "integrity": "sha512-Bc6WCESlQhyNu2L96Tv3YAck8JyV6YNEZObCOYN2ibwq7bZvw5EblrQ+DkaoBKkt+1KnRBHkkhD4DmbpPFSweQ==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@platformatic/control/-/control-2.2.1.tgz", + "integrity": "sha512-Wv4Iec7y4OswL7FyHKogANe016viA99IdKKWFP9DTcC3C2XP325FJkHt6PRCs1AUrFNybJeQbhUt51gubfI/6Q==", "license": "Apache-2.0", "dependencies": { - "@fastify/error": "^3.4.1", + "@fastify/error": "^4.0.0", + "@platformatic/utils": "2.2.1", "commist": "^3.2.0", "help-me": "^5.0.0", - "pino": "^8.21.0", - "pino-pretty": "^11.2.2", - "table": "^6.8.2", - "undici": "^6.19.8", - "ws": "^8.18.0" + "pino": "^9.0.0", + "pino-pretty": "^11.0.0", + "table": "^6.8.1", + "undici": "^6.9.0", + "ws": "^8.16.0" }, "bin": { "plt-ctl": "control.js" } }, - "node_modules/@platformatic/control/node_modules/@fastify/error": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@fastify/error/-/error-3.4.1.tgz", - "integrity": "sha512-wWSvph+29GR783IhmvdwWnN4bUxTD01Vm5Xad4i7i1VuAOItLvbPAb69sb0IQ2N57yprvhNIwAP5B6xfKTmjmQ==", + "node_modules/@platformatic/control/node_modules/@fastify/deepmerge": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@fastify/deepmerge/-/deepmerge-2.0.0.tgz", + "integrity": "sha512-fsaybTGDyQ5KpPsplQqb9yKdCf2x/pbNpMNk8Tvp3rRz7lVcupKysH4b2ELMN2P4Hak1+UqTYdTj/u4FNV2p0g==", "license": "MIT" }, - "node_modules/@platformatic/control/node_modules/pino": { - "version": "8.21.0", - "resolved": "https://registry.npmjs.org/pino/-/pino-8.21.0.tgz", - "integrity": "sha512-ip4qdzjkAyDDZklUaZkcRFb2iA118H9SgRh8yzTkSQK8HilsOJF7rSY8HoW5+I0M46AZgX/pxbprf2vvzQCE0Q==", - "license": "MIT", + "node_modules/@platformatic/control/node_modules/@platformatic/utils": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@platformatic/utils/-/utils-2.2.1.tgz", + "integrity": "sha512-UJIz9n5uIHI4qJtmit5ce5sQVqSRB23dE4yyDPvOnhoG4+dqcm0Dg5a8YU6nJfKxSsNjfcC96hAu+A1jNxa8FA==", + "license": "Apache-2.0", "dependencies": { - "atomic-sleep": "^1.0.0", - "fast-redact": "^3.1.1", - "on-exit-leak-free": "^2.1.0", - "pino-abstract-transport": "^1.2.0", - "pino-std-serializers": "^6.0.0", - "process-warning": "^3.0.0", - "quick-format-unescaped": "^4.0.3", - "real-require": "^0.2.0", - "safe-stable-stringify": "^2.3.1", - "sonic-boom": "^3.7.0", - "thread-stream": "^2.6.0" - }, - "bin": { - "pino": "bin.js" + "@fastify/deepmerge": "^2.0.0", + "@fastify/error": "^4.0.0", + "@watchable/unpromise": "^1.0.2", + "leven": "~3.1.0", + "minimatch": "^8.0.4", + "semver": "^7.6.3", + "undici": "^6.9.0" } }, "node_modules/@platformatic/sql-mapper": { @@ -4300,6 +4294,12 @@ } } }, + "node_modules/@watchable/unpromise": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@watchable/unpromise/-/unpromise-1.0.2.tgz", + "integrity": "sha512-yGCKYzCrAfJQ9yzm76r1bl4WUIWyqmh4vqidXn5LyOfPbgdiZrKOyvW2ivqIvtmsRVb7u3ModEpc4q901VRgXw==", + "license": "MIT" + }, "node_modules/@xmldom/xmldom": { "version": "0.8.10", "devOptional": true, @@ -12898,10 +12898,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/pino-std-serializers": { - "version": "6.2.2", - "license": "MIT" - }, "node_modules/pino/node_modules/pino-std-serializers": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-7.0.0.tgz", @@ -13379,6 +13375,7 @@ }, "node_modules/process-warning": { "version": "3.0.0", + "dev": true, "license": "MIT" }, "node_modules/progress": { @@ -14288,7 +14285,9 @@ "license": "BSD-3-Clause" }, "node_modules/semver": { - "version": "7.6.2", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -14557,13 +14556,6 @@ "node": ">= 10" } }, - "node_modules/sonic-boom": { - "version": "3.8.1", - "license": "MIT", - "dependencies": { - "atomic-sleep": "^1.0.0" - } - }, "node_modules/sort-keys": { "version": "1.1.2", "license": "MIT", @@ -15322,13 +15314,6 @@ "node": ">=0.8" } }, - "node_modules/thread-stream": { - "version": "2.7.0", - "license": "MIT", - "dependencies": { - "real-require": "^0.2.0" - } - }, "node_modules/tiny-invariant": { "version": "1.3.3", "license": "MIT" diff --git a/package.json b/package.json index ade12924..29af27e2 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@fastify/error": "^4.0.0", "@fastify/http-proxy": "^9.5.0", "@platformatic/client": "^1.41.0", - "@platformatic/control": "^1.41.0", + "@platformatic/control": "^2.0.0", "@platformatic/sql-mapper": "^1.41.0", "@platformatic/ui-components": "^0.6.0", "@scalar/api-reference-react": "^0.1.15",