From d856e0ef1978a3957fcf53a3da46d8c2190c0fd3 Mon Sep 17 00:00:00 2001 From: Josh Wulf Date: Wed, 10 Apr 2024 20:04:59 +1200 Subject: [PATCH] refactor: replace zeebe-node with @camunda8/sdk fixes #4109 --- app/lib/index.js | 4 +- app/lib/zeebe-api/zeebe-api.js | 38 +++-- app/package.json | 2 +- package-lock.json | 286 +++++++++++++++++++-------------- 4 files changed, 184 insertions(+), 146 deletions(-) diff --git a/app/lib/index.js b/app/lib/index.js index 87a0794bdc..695403031e 100644 --- a/app/lib/index.js +++ b/app/lib/index.js @@ -22,7 +22,7 @@ const path = require('path'); const fs = require('fs'); -const ZeebeNode = require('zeebe-node'); +const Camunda8 = require('@camunda8/sdk'); const Cli = require('./cli'); const Config = require('./config'); @@ -680,7 +680,7 @@ function bootstrap() { errorTracking.setTag(Sentry, 'plugins', generatePluginsTag(plugins)); // (9) zeebe API - const zeebeAPI = new ZeebeAPI({ readFile }, ZeebeNode, flags); + const zeebeAPI = new ZeebeAPI({ readFile }, Camunda8.ZeebeGrpcApiClient, flags); return { config, diff --git a/app/lib/zeebe-api/zeebe-api.js b/app/lib/zeebe-api/zeebe-api.js index 7dd06f57aa..7feafb0008 100644 --- a/app/lib/zeebe-api/zeebe-api.js +++ b/app/lib/zeebe-api/zeebe-api.js @@ -90,10 +90,10 @@ const RESOURCE_TYPES = { */ class ZeebeAPI { - constructor(fs, ZeebeNode, flags, log = createLog('app:zeebe-api')) { + constructor(fs, ZeebeGrpcApiClient, flags, log = createLog('app:zeebe-api')) { this._fs = fs; - this._ZeebeNode = ZeebeNode; + this._ZeebeGrpcApiClient = ZeebeGrpcApiClient; this._flags = flags; this._log = log; @@ -310,8 +310,9 @@ class ZeebeAPI { url } = endpoint; + /** @type {Camunda8PlatformConfiguration} */ let options = { - retry: false + zeebeGrpcSettings: { ZEEBE_GRPC_CLIENT_RETRY: false } }; if (!values(ENDPOINT_TYPES).includes(type)) { @@ -321,26 +322,23 @@ class ZeebeAPI { if (type === ENDPOINT_TYPES.OAUTH) { options = { ...options, - oAuth: { - url: endpoint.oauthURL, - audience: endpoint.audience, - scope: endpoint.scope, - clientId: endpoint.clientId, - clientSecret: endpoint.clientSecret, - cacheOnDisk: false - } + ZEEBE_ADDRESS: endpoint.oauthURL, + CAMUNDA_ZEEBE_OAUTH_AUDIENCE: endpoint.audience, + CAMUNDA_TOKEN_SCOPE: endpoint.scope, + CAMUNDA_ZEEBE_CLIENT_ID: endpoint.clientId, + CAMUNDA_ZEEBE_CLIENT_SECRET: endpoint.clientSecret, + CAMUNDA_TOKEN_DISK_CACHE_DISABLE: true }; } else if (type === ENDPOINT_TYPES.CAMUNDA_CLOUD) { options = { ...options, - camundaCloud: { - clientId: endpoint.clientId, - clientSecret: endpoint.clientSecret, - clusterId: endpoint.clusterId, - cacheOnDisk: false, - ...(endpoint.clusterRegion ? { clusterRegion: endpoint.clusterRegion } : {}) - }, - useTLS: true + ZEEBE_ADDRESS: endpoint.camundaCloudClusterUrl, + CAMUNDA_ZEEBE_OAUTH_AUDIENCE: endpoint.audience, + CAMUNDA_TOKEN_SCOPE: endpoint.scope, + CAMUNDA_ZEEBE_CLIENT_ID: endpoint.clientId, + CAMUNDA_ZEEBE_CLIENT_SECRET: endpoint.clientSecret, + CAMUNDA_TOKEN_DISK_CACHE_DISABLE: true, + CAMUNDA_SECURE_CONNECTION: true }; } @@ -357,7 +355,7 @@ class ZeebeAPI { ]) }); - return new this._ZeebeNode.ZBClient(url, options); + return new this._ZeebeGrpcApiClient({ config: options }); } async _withTLSConfig(url, options) { diff --git a/app/package.json b/app/package.json index e6e29072b3..fce7d48c15 100644 --- a/app/package.json +++ b/app/package.json @@ -20,7 +20,7 @@ "min-dash": "^4.1.1", "mri": "^1.1.6", "parents": "^1.0.1", - "zeebe-node": "^8.3.2" + "@camunda8/sdk": "^8.5.0" }, "homepage": "https://github.com/camunda/camunda-modeler", "repository": { diff --git a/package-lock.json b/package-lock.json index 40bcdf5c16..287950e129 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,6 +53,7 @@ "version": "5.22.0", "license": "MIT", "dependencies": { + "@camunda8/sdk": "^8.5.0", "@sentry/integrations": "^7.82.0", "@sentry/node": "^7.82.0", "epipebomb": "^1.0.0", @@ -61,8 +62,7 @@ "ids": "^1.0.0", "min-dash": "^4.1.1", "mri": "^1.1.6", - "parents": "^1.0.1", - "zeebe-node": "^8.3.2" + "parents": "^1.0.1" }, "optionalDependencies": { "vscode-windows-ca-certs": "^0.3.0" @@ -3139,6 +3139,56 @@ "resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.19.2.tgz", "integrity": "sha512-T0U6Ij3AS191KADumm5rXCVUYtKSFBiipexQL3lJHey1XmADmTGIqhAe8+iCyKqUaxixjv5Q/IkuFD2NqBoIpw==" }, + "node_modules/@camunda8/sdk": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@camunda8/sdk/-/sdk-8.5.0.tgz", + "integrity": "sha512-fyY5YME0revYwxko9bz7Cnndh18LOeDRugxG8rcyP71CFNRsg1h9qK2TD7IQHi+boU8+lXVhwIk4FrRX7BZ1XA==", + "dependencies": { + "@grpc/grpc-js": "1.9.7", + "@grpc/proto-loader": "0.7.10", + "chalk": "^2.4.2", + "console-stamp": "^3.0.2", + "dayjs": "^1.8.15", + "debug": "^4.3.4", + "fast-xml-parser": "^4.1.3", + "got": "^11.8.6", + "lodash.mergewith": "^4.6.2", + "long": "^4.0.0", + "lossless-json": "^4.0.1", + "neon-env": "^0.1.3", + "node-fetch": "^2.7.0", + "promise-retry": "^1.1.1", + "reflect-metadata": "^0.2.1", + "stack-trace": "0.0.10", + "typed-duration": "^1.0.12", + "uuid": "^7.0.3" + } + }, + "node_modules/@camunda8/sdk/node_modules/err-code": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", + "integrity": "sha512-CJAN+O0/yA1CKfRn9SXOGctSpEM7DCon/r/5r2eXFMY2zCCJBasFhcM5I+1kh3Ap11FsQCX+vGHceNPvpWKhoA==" + }, + "node_modules/@camunda8/sdk/node_modules/promise-retry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz", + "integrity": "sha512-StEy2osPr28o17bIW776GtwO6+Q+M9zPiZkYfosciUUMYqjhU/ffwRAH0zN2+uvGyUsn8/YICIHRzLbPacpZGw==", + "dependencies": { + "err-code": "^1.0.0", + "retry": "^0.10.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/@camunda8/sdk/node_modules/retry": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", + "integrity": "sha512-ZXUSQYTHdl3uS7IuCehYfMzKyIDBNoAuUblvy5oGO5UJSUTmStUUVPXbA9Qxd173Bgre53yCQczQuHgRWAdvJQ==", + "engines": { + "node": "*" + } + }, "node_modules/@carbon/grid": { "version": "11.22.0", "resolved": "https://registry.npmjs.org/@carbon/grid/-/grid-11.22.0.tgz", @@ -13102,7 +13152,6 @@ }, "node_modules/encoding": { "version": "0.1.13", - "dev": true, "license": "MIT", "optional": true, "dependencies": { @@ -14571,10 +14620,6 @@ "node": ">=0.4.x" } }, - "node_modules/fp-ts": { - "version": "2.12.3", - "license": "MIT" - }, "node_modules/fromentries": { "version": "1.3.2", "dev": true, @@ -15112,8 +15157,9 @@ } }, "node_modules/got": { - "version": "11.8.5", - "license": "MIT", + "version": "11.8.6", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz", + "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==", "dependencies": { "@sindresorhus/is": "^4.0.0", "@szmarczak/http-timer": "^4.0.5", @@ -15504,7 +15550,7 @@ }, "node_modules/iconv-lite": { "version": "0.6.3", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -18309,6 +18355,11 @@ "dev": true, "license": "MIT" }, + "node_modules/lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==" + }, "node_modules/lodash.union": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", @@ -18434,6 +18485,11 @@ "loose-envify": "cli.js" } }, + "node_modules/lossless-json": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lossless-json/-/lossless-json-4.0.1.tgz", + "integrity": "sha512-l0L+ppmgPDnb+JGxNLndPtJZGNf6+ZmVaQzoxQm3u6TXmhdnsA+YtdVR8DjzZd/em58686CQhOFDPewfJ4l7MA==" + }, "node_modules/loupe": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", @@ -20209,6 +20265,14 @@ "dev": true, "license": "MIT" }, + "node_modules/neon-env": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/neon-env/-/neon-env-0.1.3.tgz", + "integrity": "sha512-Zo+L6Nm19gJrjyfhxn/ZDm8eIIDzr75o64ZhijBau4LNuhLzjEAteRg3gchIvgaN8XTo5BxN6iTNP5clZQ0agA==", + "engines": { + "node": "^14.18 || >=16.0.0" + } + }, "node_modules/netmask": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", @@ -20299,10 +20363,9 @@ "optional": true }, "node_modules/node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", - "dev": true, + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -24201,6 +24264,11 @@ "node": ">=8" } }, + "node_modules/reflect-metadata": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==" + }, "node_modules/regenerate": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", @@ -27008,7 +27076,7 @@ }, "node_modules/safer-buffer": { "version": "2.1.2", - "dev": true, + "devOptional": true, "license": "MIT" }, "node_modules/sanitize-filename": { @@ -28729,8 +28797,7 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/trim-newlines": { "version": "3.0.1", @@ -30980,8 +31047,7 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/webpack": { "version": "5.90.2", @@ -31131,7 +31197,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -31590,55 +31655,6 @@ "resolved": "https://registry.npmjs.org/zeebe-bpmn-moddle/-/zeebe-bpmn-moddle-1.1.0.tgz", "integrity": "sha512-ES/UZFO0VmKvAzL4+cD3VcQpKvlmgLtnFKTyiv0DdDcxNrdQg1rI0OmUdrKMiybAbtAgPDkVXZCusE3kkXwEyQ==" }, - "node_modules/zeebe-node": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/zeebe-node/-/zeebe-node-8.3.2.tgz", - "integrity": "sha512-3/xbiTvhaa668JHtMEwELv5dN6HR7Qw8gzmCdjp3Brj6ekdhROVx8x/0JWKSV3Mx64ac3+eEc+9nB5+ZXcO/bg==", - "dependencies": { - "@grpc/grpc-js": "1.9.7", - "@grpc/proto-loader": "0.7.10", - "chalk": "^2.4.2", - "console-stamp": "^3.0.2", - "dayjs": "^1.8.15", - "debug": "^4.2.0", - "fast-xml-parser": "^4.1.3", - "fp-ts": "^2.5.1", - "got": "^11.8.5", - "long": "^4.0.0", - "promise-retry": "^1.1.1", - "stack-trace": "0.0.10", - "typed-duration": "^1.0.12", - "uuid": "^7.0.3" - }, - "bin": { - "zeebe-node": "bin/zeebe-node" - }, - "engines": { - "node": ">=16.6.1" - } - }, - "node_modules/zeebe-node/node_modules/err-code": { - "version": "1.1.2", - "license": "MIT" - }, - "node_modules/zeebe-node/node_modules/promise-retry": { - "version": "1.1.1", - "license": "MIT", - "dependencies": { - "err-code": "^1.0.0", - "retry": "^0.10.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/zeebe-node/node_modules/retry": { - "version": "0.10.1", - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/zip-stream": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-6.0.0.tgz", @@ -33474,6 +33490,52 @@ "resolved": "https://registry.npmjs.org/@camunda/zeebe-element-templates-json-schema/-/zeebe-element-templates-json-schema-0.19.2.tgz", "integrity": "sha512-T0U6Ij3AS191KADumm5rXCVUYtKSFBiipexQL3lJHey1XmADmTGIqhAe8+iCyKqUaxixjv5Q/IkuFD2NqBoIpw==" }, + "@camunda8/sdk": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@camunda8/sdk/-/sdk-8.5.0.tgz", + "integrity": "sha512-fyY5YME0revYwxko9bz7Cnndh18LOeDRugxG8rcyP71CFNRsg1h9qK2TD7IQHi+boU8+lXVhwIk4FrRX7BZ1XA==", + "requires": { + "@grpc/grpc-js": "1.9.7", + "@grpc/proto-loader": "0.7.10", + "chalk": "^2.4.2", + "console-stamp": "^3.0.2", + "dayjs": "^1.8.15", + "debug": "^4.3.4", + "fast-xml-parser": "^4.1.3", + "got": "^11.8.6", + "lodash.mergewith": "^4.6.2", + "long": "^4.0.0", + "lossless-json": "^4.0.1", + "neon-env": "^0.1.3", + "node-fetch": "^2.7.0", + "promise-retry": "^1.1.1", + "reflect-metadata": "^0.2.1", + "stack-trace": "0.0.10", + "typed-duration": "^1.0.12", + "uuid": "^7.0.3" + }, + "dependencies": { + "err-code": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", + "integrity": "sha512-CJAN+O0/yA1CKfRn9SXOGctSpEM7DCon/r/5r2eXFMY2zCCJBasFhcM5I+1kh3Ap11FsQCX+vGHceNPvpWKhoA==" + }, + "promise-retry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz", + "integrity": "sha512-StEy2osPr28o17bIW776GtwO6+Q+M9zPiZkYfosciUUMYqjhU/ffwRAH0zN2+uvGyUsn8/YICIHRzLbPacpZGw==", + "requires": { + "err-code": "^1.0.0", + "retry": "^0.10.0" + } + }, + "retry": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", + "integrity": "sha512-ZXUSQYTHdl3uS7IuCehYfMzKyIDBNoAuUblvy5oGO5UJSUTmStUUVPXbA9Qxd173Bgre53yCQczQuHgRWAdvJQ==" + } + } + }, "@carbon/grid": { "version": "11.22.0", "resolved": "https://registry.npmjs.org/@carbon/grid/-/grid-11.22.0.tgz", @@ -38040,6 +38102,7 @@ "camunda-modeler": { "version": "file:app", "requires": { + "@camunda8/sdk": "^8.5.0", "@sentry/integrations": "^7.82.0", "@sentry/node": "^7.82.0", "epipebomb": "^1.0.0", @@ -38049,8 +38112,7 @@ "min-dash": "^4.1.1", "mri": "^1.1.6", "parents": "^1.0.1", - "vscode-windows-ca-certs": "^0.3.0", - "zeebe-node": "^8.3.2" + "vscode-windows-ca-certs": "^0.3.0" }, "dependencies": { "form-data": { @@ -41304,7 +41366,6 @@ }, "encoding": { "version": "0.1.13", - "dev": true, "optional": true, "requires": { "iconv-lite": "^0.6.2" @@ -42348,9 +42409,6 @@ "version": "0.2.2", "dev": true }, - "fp-ts": { - "version": "2.12.3" - }, "fromentries": { "version": "1.3.2", "dev": true @@ -42726,7 +42784,9 @@ } }, "got": { - "version": "11.8.5", + "version": "11.8.6", + "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz", + "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==", "requires": { "@sindresorhus/is": "^4.0.0", "@szmarczak/http-timer": "^4.0.5", @@ -42977,7 +43037,7 @@ }, "iconv-lite": { "version": "0.6.3", - "dev": true, + "devOptional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -44932,6 +44992,11 @@ "version": "4.6.2", "dev": true }, + "lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==" + }, "lodash.union": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", @@ -45012,6 +45077,11 @@ "js-tokens": "^3.0.0 || ^4.0.0" } }, + "lossless-json": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lossless-json/-/lossless-json-4.0.1.tgz", + "integrity": "sha512-l0L+ppmgPDnb+JGxNLndPtJZGNf6+ZmVaQzoxQm3u6TXmhdnsA+YtdVR8DjzZd/em58686CQhOFDPewfJ4l7MA==" + }, "loupe": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", @@ -46124,6 +46194,11 @@ "version": "2.6.2", "dev": true }, + "neon-env": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/neon-env/-/neon-env-0.1.3.tgz", + "integrity": "sha512-Zo+L6Nm19gJrjyfhxn/ZDm8eIIDzr75o64ZhijBau4LNuhLzjEAteRg3gchIvgaN8XTo5BxN6iTNP5clZQ0agA==" + }, "netmask": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", @@ -46190,10 +46265,9 @@ "optional": true }, "node-fetch": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", - "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", - "dev": true, + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "requires": { "whatwg-url": "^5.0.0" } @@ -48936,6 +49010,11 @@ "strip-indent": "^3.0.0" } }, + "reflect-metadata": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==" + }, "regenerate": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", @@ -50836,7 +50915,7 @@ }, "safer-buffer": { "version": "2.1.2", - "dev": true + "devOptional": true }, "sanitize-filename": { "version": "1.6.3", @@ -52106,8 +52185,7 @@ "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "trim-newlines": { "version": "3.0.1", @@ -53612,8 +53690,7 @@ "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "webpack": { "version": "5.90.2", @@ -53713,7 +53790,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -54038,42 +54114,6 @@ "resolved": "https://registry.npmjs.org/zeebe-bpmn-moddle/-/zeebe-bpmn-moddle-1.1.0.tgz", "integrity": "sha512-ES/UZFO0VmKvAzL4+cD3VcQpKvlmgLtnFKTyiv0DdDcxNrdQg1rI0OmUdrKMiybAbtAgPDkVXZCusE3kkXwEyQ==" }, - "zeebe-node": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/zeebe-node/-/zeebe-node-8.3.2.tgz", - "integrity": "sha512-3/xbiTvhaa668JHtMEwELv5dN6HR7Qw8gzmCdjp3Brj6ekdhROVx8x/0JWKSV3Mx64ac3+eEc+9nB5+ZXcO/bg==", - "requires": { - "@grpc/grpc-js": "1.9.7", - "@grpc/proto-loader": "0.7.10", - "chalk": "^2.4.2", - "console-stamp": "^3.0.2", - "dayjs": "^1.8.15", - "debug": "^4.2.0", - "fast-xml-parser": "^4.1.3", - "fp-ts": "^2.5.1", - "got": "^11.8.5", - "long": "^4.0.0", - "promise-retry": "^1.1.1", - "stack-trace": "0.0.10", - "typed-duration": "^1.0.12", - "uuid": "^7.0.3" - }, - "dependencies": { - "err-code": { - "version": "1.1.2" - }, - "promise-retry": { - "version": "1.1.1", - "requires": { - "err-code": "^1.0.0", - "retry": "^0.10.0" - } - }, - "retry": { - "version": "0.10.1" - } - } - }, "zip-stream": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-6.0.0.tgz",