From 832b7134bbc12e213150a460c551804487389c47 Mon Sep 17 00:00:00 2001 From: Eric Camellini Date: Wed, 5 Jun 2024 15:06:25 +0200 Subject: [PATCH 1/6] IMN-600 - Fixing return value for activate agreement (#609) --- .../services/agreementActivationProcessor.ts | 32 ++------- .../src/services/agreementService.ts | 72 +++++++++++++++---- .../services/agreementSubmissionProcessor.ts | 36 +--------- 3 files changed, 66 insertions(+), 74 deletions(-) diff --git a/packages/agreement-process/src/services/agreementActivationProcessor.ts b/packages/agreement-process/src/services/agreementActivationProcessor.ts index b13304ba54..0f928fdfdc 100644 --- a/packages/agreement-process/src/services/agreementActivationProcessor.ts +++ b/packages/agreement-process/src/services/agreementActivationProcessor.ts @@ -27,7 +27,6 @@ import { toCreateEventAgreementUnsuspendedByProducer, } from "../model/domain/toEvent.js"; import { UpdateAgreementSeed } from "../model/domain/models.js"; -import { apiAgreementDocumentToAgreementDocument } from "../model/domain/apiConverter.js"; import { createStamp, suspendedByConsumerStamp, @@ -35,10 +34,9 @@ import { } from "./agreementStampUtils.js"; import { createAgreementArchivedByUpgradeEvent } from "./agreementService.js"; import { ReadModelService } from "./readModelService.js"; -import { ContractBuilder } from "./agreementContractBuilder.js"; export function createActivationUpdateAgreementSeed({ - firstActivation, + isFirstActivation, newState, descriptor, consumer, @@ -49,7 +47,7 @@ export function createActivationUpdateAgreementSeed({ suspendedByProducer, suspendedByPlatform, }: { - firstActivation: boolean; + isFirstActivation: boolean; newState: AgreementState; descriptor: Descriptor; consumer: Tenant; @@ -62,7 +60,7 @@ export function createActivationUpdateAgreementSeed({ }): UpdateAgreementSeed { const stamp = createStamp(authData.userId); - return firstActivation + return isFirstActivation ? { state: newState, certifiedAttributes: matchingCertifiedAttributes(descriptor, consumer), @@ -108,36 +106,20 @@ export function createActivationUpdateAgreementSeed({ } export async function createActivationEvent( - firstActivation: boolean, + isFirstActivation: boolean, updatedAgreement: Agreement, - updatedAgreementSeed: UpdateAgreementSeed, - eservice: EService, - consumer: Tenant, - producer: Tenant, originalSuspendedByPlatform: boolean | undefined, suspendedByPlatformChanged: boolean, agreementEventStoreVersion: number, authData: AuthData, - correlationId: string, - contractBuilder: ContractBuilder + correlationId: string ): Promise>> { - if (firstActivation) { + if (isFirstActivation) { // Pending >>> Active - const agreementContract = await contractBuilder.createContract( - authData.selfcareId, - updatedAgreement, - eservice, - consumer, - producer, - updatedAgreementSeed - ); return [ toCreateEventAgreementActivated( - { - ...updatedAgreement, - contract: apiAgreementDocumentToAgreementDocument(agreementContract), - }, + updatedAgreement, agreementEventStoreVersion, correlationId ), diff --git a/packages/agreement-process/src/services/agreementService.ts b/packages/agreement-process/src/services/agreementService.ts index 33249765dc..213e7adc98 100644 --- a/packages/agreement-process/src/services/agreementService.ts +++ b/packages/agreement-process/src/services/agreementService.ts @@ -1,5 +1,6 @@ import { AppContext, + AuthData, CreateEvent, DB, FileManager, @@ -109,7 +110,10 @@ import { createActivationEvent, createActivationUpdateAgreementSeed, } from "./agreementActivationProcessor.js"; -import { contractBuilder } from "./agreementContractBuilder.js"; +import { + ContractBuilder, + contractBuilder, +} from "./agreementContractBuilder.js"; import { createStamp } from "./agreementStampUtils.js"; import { agreementStateByFlags, @@ -120,7 +124,6 @@ import { suspendedByProducerFlag, } from "./agreementStateProcessor.js"; import { - addContractOnFirstActivation, createSubmissionUpdateAgreementSeed, isActiveOrSuspended, validateConsumerEmail, @@ -468,15 +471,19 @@ export function agreementServiceBuilder( logger ); + const isFirstActivation = + updatedAgreement.state === agreementState.active && + !hasRelatedAgreements; + const submittedAgreement = await addContractOnFirstActivation( + isFirstActivation, contractBuilderInstance, eservice, consumer, producer, updateSeed, - authData, updatedAgreement, - hasRelatedAgreements + authData ); const agreementEvent = @@ -979,13 +986,13 @@ export function agreementServiceBuilder( failOnActivationFailure(newState, agreement.data); - const firstActivation = + const isFirstActivation = agreement.data.state === agreementState.pending && newState === agreementState.active; const updatedAgreementSeed: UpdateAgreementSeed = createActivationUpdateAgreementSeed({ - firstActivation, + isFirstActivation, newState, descriptor, consumer, @@ -997,27 +1004,34 @@ export function agreementServiceBuilder( suspendedByPlatform, }); - const updatedAgreement: Agreement = { + const updatedAgreementWithoutContract: Agreement = { ...agreement.data, ...updatedAgreementSeed, }; + const updatedAgreement: Agreement = await addContractOnFirstActivation( + isFirstActivation, + contractBuilderInstance, + eservice, + consumer, + producer, + updatedAgreementSeed, + updatedAgreementWithoutContract, + authData + ); + const suspendedByPlatformChanged = agreement.data.suspendedByPlatform !== updatedAgreement.suspendedByPlatform; + const activationEvents = await createActivationEvent( - firstActivation, + isFirstActivation, updatedAgreement, - updatedAgreementSeed, - eservice, - consumer, - producer, agreement.data.suspendedByPlatform, suspendedByPlatformChanged, agreement.metadata.version, authData, - correlationId, - contractBuilderInstance + correlationId ); const archiveEvents = await archiveRelatedToAgreements( @@ -1176,3 +1190,33 @@ function maybeCreateSetToMissingCertifiedAttributesByPlatformEvent( } return undefined; } + +// eslint-disable-next-line max-params +async function addContractOnFirstActivation( + isFirstActivation: boolean, + contractBuilder: ContractBuilder, + eservice: EService, + consumer: Tenant, + producer: Tenant, + updateSeed: UpdateAgreementSeed, + agreement: Agreement, + authData: AuthData +): Promise { + if (isFirstActivation) { + const contract = await contractBuilder.createContract( + authData.selfcareId, + agreement, + eservice, + consumer, + producer, + updateSeed + ); + + return { + ...agreement, + contract: apiAgreementDocumentToAgreementDocument(contract), + }; + } + + return agreement; +} diff --git a/packages/agreement-process/src/services/agreementSubmissionProcessor.ts b/packages/agreement-process/src/services/agreementSubmissionProcessor.ts index 28e64be4b6..c039b50e04 100644 --- a/packages/agreement-process/src/services/agreementSubmissionProcessor.ts +++ b/packages/agreement-process/src/services/agreementSubmissionProcessor.ts @@ -1,5 +1,5 @@ /* eslint-disable max-params */ -import { AuthData, CreateEvent } from "pagopa-interop-commons"; +import { CreateEvent } from "pagopa-interop-commons"; import { Agreement, AgreementEvent, @@ -14,7 +14,6 @@ import { tenantMailKind, } from "pagopa-interop-models"; import { match } from "ts-pattern"; -import { apiAgreementDocumentToAgreementDocument } from "../model/domain/apiConverter.js"; import { agreementNotInExpectedState, consumerWithNotValidEmail, @@ -26,7 +25,6 @@ import { matchingVerifiedAttributes, } from "../model/domain/validators.js"; import { ApiAgreementSubmissionPayload } from "../model/types.js"; -import { ContractBuilder } from "./agreementContractBuilder.js"; import { retrieveTenant } from "./agreementService.js"; import { createStamp } from "./agreementStampUtils.js"; import { ReadModelService } from "./readModelService.js"; @@ -117,35 +115,3 @@ export const calculateStamps = ( .otherwise(() => { throw agreementNotInExpectedState(agreement.id, state); }); - -export const addContractOnFirstActivation = async ( - contractBuilder: ContractBuilder, - eservice: EService, - consumer: Tenant, - producer: Tenant, - updateSeed: UpdateAgreementSeed, - authData: AuthData, - agreement: Agreement, - hasRelatedAgreements: boolean -): Promise => { - const isFirstActivation = - agreement.state === agreementState.active && !hasRelatedAgreements; - - if (isFirstActivation) { - const contract = await contractBuilder.createContract( - authData.selfcareId, - agreement, - eservice, - consumer, - producer, - updateSeed - ); - - return { - ...agreement, - contract: apiAgreementDocumentToAgreementDocument(contract), - }; - } - - return agreement; -}; From ab845eded5cbe86dfd820d40dbdad604610f146a Mon Sep 17 00:00:00 2001 From: Carmine Porricelli Date: Wed, 5 Jun 2024 15:15:24 +0200 Subject: [PATCH 2/6] Updated build command in purpose-process (#613) --- packages/purpose-process/package.json | 3 +- pnpm-lock.yaml | 279 ++------------------------ 2 files changed, 21 insertions(+), 261 deletions(-) diff --git a/packages/purpose-process/package.json b/packages/purpose-process/package.json index ed18e1f15d..48e886f243 100644 --- a/packages/purpose-process/package.json +++ b/packages/purpose-process/package.json @@ -11,7 +11,7 @@ "format:check": "prettier --check src", "format:write": "prettier --write src", "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", - "build": "tsc", + "build": "tsc && pnpm cpx './src/resources/**/*' './dist/resources'", "check": "tsc --project tsconfig.check.json", "generate-model": "mkdir -p ./src/model/generated && pnpm openapi-zod-client './open-api/purpose-service-spec.yml' -o './src/model/generated/api.ts'", "clean-generated": "pnpm exec rm ./src/model/generated/api.ts" @@ -23,6 +23,7 @@ "@pagopa/eslint-config": "3.0.0", "@types/express": "4.17.21", "@types/node": "20.14.1", + "cpx2": "7.0.1", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72330926e4..d540352088 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -800,7 +800,7 @@ importers: dependencies: aws-msk-iam-sasl-signer-js: specifier: ^1.0.0 - version: 1.0.0(@aws-sdk/client-sso-oidc@3.587.0) + version: 1.0.0(@aws-sdk/client-sso-oidc@3.590.0) kafkajs: specifier: 2.2.4 version: 2.2.4 @@ -979,6 +979,9 @@ importers: '@types/node': specifier: 20.14.1 version: 20.14.1 + cpx2: + specifier: 7.0.1 + version: 7.0.1 pagopa-interop-commons-test: specifier: workspace:* version: link:../commons-test @@ -1652,54 +1655,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso-oidc@3.587.0: - resolution: {integrity: sha512-ISDgHcGmXLdSJjVk8X6dPHRdlaURDbSyZ7b8sQyXCrBt8EQ/d/sEQLEaJJJrdB6Z2fYRDupWQq7+s42bH2FLjA==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/core': 3.587.0 - '@aws-sdk/credential-provider-node': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/middleware-host-header': 3.577.0 - '@aws-sdk/middleware-logger': 3.577.0 - '@aws-sdk/middleware-recursion-detection': 3.577.0 - '@aws-sdk/middleware-user-agent': 3.587.0 - '@aws-sdk/region-config-resolver': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@aws-sdk/util-endpoints': 3.587.0 - '@aws-sdk/util-user-agent-browser': 3.577.0 - '@aws-sdk/util-user-agent-node': 3.587.0 - '@smithy/config-resolver': 3.0.1 - '@smithy/core': 2.1.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.3 - '@smithy/util-defaults-mode-node': 3.0.3 - '@smithy/util-endpoints': 2.0.1 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - /@aws-sdk/client-sso-oidc@3.590.0(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-3yCLPjq6WFfDpdUJKk/gSz4eAPDTjVknXaveMPi2QoVBCshneOnJsV16uNKlpVF1frTHrrDRfKYmbaVh6nFBvQ==} engines: {node: '>=16.0.0'} @@ -1839,52 +1794,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso@3.587.0: - resolution: {integrity: sha512-J62SsEaJ5DbsLOl9ICvyNYcDH5je557v2YECt6wxvMLCCVOKmT8WPrPcGFKti8N4BotRLWyifC74sXh7oek8CQ==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.587.0 - '@aws-sdk/middleware-host-header': 3.577.0 - '@aws-sdk/middleware-logger': 3.577.0 - '@aws-sdk/middleware-recursion-detection': 3.577.0 - '@aws-sdk/middleware-user-agent': 3.587.0 - '@aws-sdk/region-config-resolver': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@aws-sdk/util-endpoints': 3.587.0 - '@aws-sdk/util-user-agent-browser': 3.577.0 - '@aws-sdk/util-user-agent-node': 3.587.0 - '@smithy/config-resolver': 3.0.1 - '@smithy/core': 2.1.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.3 - '@smithy/util-defaults-mode-node': 3.0.3 - '@smithy/util-endpoints': 2.0.1 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - /@aws-sdk/client-sso@3.590.0: resolution: {integrity: sha512-6xbC6oQVJKBRTyXyR3C15ksUsPOyW4p+uCj7dlKYWGJvh4vGTV8KhZKS53oPG8t4f1+OMJWjr5wKuXRoaFsmhQ==} engines: {node: '>=16.0.0'} @@ -2027,55 +1936,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts@3.587.0(@aws-sdk/client-sso-oidc@3.587.0): - resolution: {integrity: sha512-fnOa7bHuvoOHULZlVE4LgSAiKmXWZFkI42m1XV2XjeW9jtEQDTyTD678My6tGQi2T3Jwrgk6c7h2rOO3wLl9tg==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.587.0 - '@aws-sdk/core': 3.587.0 - '@aws-sdk/credential-provider-node': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/middleware-host-header': 3.577.0 - '@aws-sdk/middleware-logger': 3.577.0 - '@aws-sdk/middleware-recursion-detection': 3.577.0 - '@aws-sdk/middleware-user-agent': 3.587.0 - '@aws-sdk/region-config-resolver': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@aws-sdk/util-endpoints': 3.587.0 - '@aws-sdk/util-user-agent-browser': 3.577.0 - '@aws-sdk/util-user-agent-node': 3.587.0 - '@smithy/config-resolver': 3.0.1 - '@smithy/core': 2.1.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.3 - '@smithy/util-defaults-mode-node': 3.0.3 - '@smithy/util-endpoints': 2.0.1 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/client-sts@3.590.0: resolution: {integrity: sha512-f4R1v1LSn4uLYZ5qj4DyL6gp7PXXzJeJsm2seheiJX+53LSF5L7XSDnQVtX1p9Tevv0hp2YUWUTg6QYwIVSuGg==} engines: {node: '>=16.0.0'} @@ -2144,19 +2004,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/core@3.587.0: - resolution: {integrity: sha512-Yoa7ZyjFgcLIoXuug+bIKxpjEG54/Z+u5FfbSq1dGiRv2rFmOeD0C6sBnSRd7N8yG2886DnvOkdYFd1vvwkHAg==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/core': 2.1.1 - '@smithy/protocol-http': 4.0.0 - '@smithy/signature-v4': 3.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - fast-xml-parser: 4.2.5 - tslib: 2.6.2 - dev: false - /@aws-sdk/core@3.588.0: resolution: {integrity: sha512-O1c2+9ce46Z+iiid+W3iC1IvPbfIo5ev9CBi54GdNB9SaI8/3+f8MJcux0D6c9toCF0ArMersN/gp8ek57e9uQ==} engines: {node: '>=16.0.0'} @@ -2311,7 +2158,7 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-ini@3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0): + /@aws-sdk/credential-provider-ini@3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0): resolution: {integrity: sha512-8I0oWNg/yps6ctjhEeL/qJ9BIa/+xXP7RPDQqFKZ2zBkWbmLLOoMWXRvl8uKUBD6qCe+DGmcu9skfVXeXSesEQ==} engines: {node: '>=16.0.0'} peerDependencies: @@ -2320,7 +2167,7 @@ packages: '@aws-sdk/client-sts': 3.583.0 '@aws-sdk/credential-provider-env': 3.577.0 '@aws-sdk/credential-provider-process': 3.577.0 - '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.0.0 @@ -2333,29 +2180,6 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-ini@3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0): - resolution: {integrity: sha512-rjRPF1mmMGiPdQsIba/PRknGPWpQZJ06EpEn91wftW5szfJkStadRTIfYYwSfuSO/xIwT11/KQiDVP9hclnSFg==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@aws-sdk/client-sts': ^3.587.0 - dependencies: - '@aws-sdk/client-sts': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/credential-provider-env': 3.587.0 - '@aws-sdk/credential-provider-http': 3.587.0 - '@aws-sdk/credential-provider-process': 3.587.0 - '@aws-sdk/credential-provider-sso': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.1.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/credential-provider-ini@3.590.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-Y5cFciAK38VIvRgZeND7HvFNR32thGtQb8Xop6cMn33FC78uwcRIu9Hc9699XTclCZqz4+Xl1WU+dZ+rnFn2AA==} engines: {node: '>=16.0.0'} @@ -2420,15 +2244,15 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0): + /@aws-sdk/credential-provider-node@3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0): resolution: {integrity: sha512-yBNypBXny7zJH85SzxDj8s1mbLXv9c/Vbq0qR3R3POj2idZ6ywB/qlIRC1XwBuv49Wvg8kA1wKXk3K3jrpcVIw==} engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/credential-provider-env': 3.577.0 '@aws-sdk/credential-provider-http': 3.582.0 - '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0) + '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0) '@aws-sdk/credential-provider-process': 3.577.0 - '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.1.0 @@ -2442,28 +2266,6 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0): - resolution: {integrity: sha512-ZMbRCHdSsTzDV1+wPdF0A+umWji9BFPFeICG0gkisZR9Tj9rkb20jIYqD280BpCsKd8Ep7rpFZepyoeNZqI6Nw==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-sdk/credential-provider-env': 3.587.0 - '@aws-sdk/credential-provider-http': 3.587.0 - '@aws-sdk/credential-provider-ini': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/credential-provider-process': 3.587.0 - '@aws-sdk/credential-provider-sso': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.1.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - '@aws-sdk/client-sts' - - aws-crt - dev: false - /@aws-sdk/credential-provider-node@3.590.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-Ky38mNFoXobGrDQ11P3dU1e+q1nRJ7eZl8l15KUpvZCe/hOudbxQi/epQrCazD/gRYV2fTyczdLlZzB5ZZ8DhQ==} engines: {node: '>=16.0.0'} @@ -2550,12 +2352,12 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-sso@3.583.0(@aws-sdk/client-sso-oidc@3.587.0): + /@aws-sdk/credential-provider-sso@3.583.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-G/1EvL9tBezSiU+06tG4K/kOvFfPjnheT4JSXqjPM7+vjKzgp2jxp1J9MMd69zs4jVWon932zMeGgjrCplzMEg==} engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/client-sso': 3.583.0 - '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 @@ -2566,22 +2368,6 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-sso@3.587.0(@aws-sdk/client-sso-oidc@3.587.0): - resolution: {integrity: sha512-7ADd1HV3fmdMB2+DdFMtZGep5qubhtTenfo2BpDdADUkZ0HCpXx7mPLJ2mAww9sQpJsX8dDbc38+pi+bcsPWeA==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-sdk/client-sso': 3.587.0 - '@aws-sdk/token-providers': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/credential-provider-sso@3.590.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-v+0j/I+je9okfwXsgmLppmwIE+TuMp5WqLz7r7PHz9KjzLyKaKTDvfllFD+8oPpBqnmOWiJ9qTGPkrfhB7a/fQ==} engines: {node: '>=16.0.0'} @@ -2621,19 +2407,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.587.0): - resolution: {integrity: sha512-XqIx/I2PG7kyuw3WjAP9wKlxy8IvFJwB8asOFT1xPFoVfZYKIogjG9oLP5YiRtfvDkWIztHmg5MlVv3HdJDGRw==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@aws-sdk/client-sts': ^3.587.0 - dependencies: - '@aws-sdk/client-sts': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-XqIx/I2PG7kyuw3WjAP9wKlxy8IvFJwB8asOFT1xPFoVfZYKIogjG9oLP5YiRtfvDkWIztHmg5MlVv3HdJDGRw==} engines: {node: '>=16.0.0'} @@ -2671,7 +2444,7 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-providers@3.583.0(@aws-sdk/client-sso-oidc@3.587.0): + /@aws-sdk/credential-providers@3.583.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-aD/lw6LJW51f+LgdR54UxyGvXqWZs4HCT310Qf794qFItDWXqhHK4EgS1x41BgAvXPUx0+HSO8OI4eb+AklckA==} engines: {node: '>=16.0.0'} dependencies: @@ -2681,10 +2454,10 @@ packages: '@aws-sdk/credential-provider-cognito-identity': 3.583.0 '@aws-sdk/credential-provider-env': 3.577.0 '@aws-sdk/credential-provider-http': 3.582.0 - '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0) - '@aws-sdk/credential-provider-node': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0) + '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0) + '@aws-sdk/credential-provider-node': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0) '@aws-sdk/credential-provider-process': 3.577.0 - '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.0.0 @@ -3027,13 +2800,13 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.587.0): + /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-0CkIZpcC3DNQJQ1hDjm2bdSy/Xjs7Ny5YvSsacasGOkNfk+FdkiQy6N67bZX3Zbc9KIx+Nz4bu3iDeNSNplnnQ==} engines: {node: '>=16.0.0'} peerDependencies: '@aws-sdk/client-sso-oidc': ^3.577.0 dependencies: - '@aws-sdk/client-sso-oidc': 3.587.0 + '@aws-sdk/client-sso-oidc': 3.590.0(@aws-sdk/client-sts@3.590.0) '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 @@ -3041,20 +2814,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.587.0): - resolution: {integrity: sha512-ULqhbnLy1hmJNRcukANBWJmum3BbjXnurLPSFXoGdV0llXYlG55SzIla2VYqdveQEEjmsBuTZdFvXAtNpmS5Zg==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@aws-sdk/client-sso-oidc': ^3.587.0 - dependencies: - '@aws-sdk/client-sso-oidc': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-ULqhbnLy1hmJNRcukANBWJmum3BbjXnurLPSFXoGdV0llXYlG55SzIla2VYqdveQEEjmsBuTZdFvXAtNpmS5Zg==} engines: {node: '>=16.0.0'} @@ -5682,13 +5441,13 @@ packages: engines: {node: '>= 0.4'} dev: true - /aws-msk-iam-sasl-signer-js@1.0.0(@aws-sdk/client-sso-oidc@3.587.0): + /aws-msk-iam-sasl-signer-js@1.0.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-L0Jk0k2XNHMSGipJ8rRdTq51KrH/gwrfZ39iKY9BWHGOAv7EygsG4qJC7lIRsbu5/ZHB886Z3WsOsFxqR2R4XQ==} engines: {node: '>=14.x'} dependencies: '@aws-crypto/sha256-js': 4.0.0 '@aws-sdk/client-sts': 3.583.0 - '@aws-sdk/credential-providers': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-providers': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/util-format-url': 3.577.0 '@smithy/signature-v4': 2.3.0 '@types/buffers': 0.1.31 From c35e9cbfbd2a7ba33380966f1fe57dcecfd2e3b6 Mon Sep 17 00:00:00 2001 From: Eric Camellini Date: Wed, 5 Jun 2024 15:24:03 +0200 Subject: [PATCH 3/6] IMN-601 Fixing contract name creation date (#610) --- .../src/services/agreementContractBuilder.ts | 14 +++++++++----- .../src/services/agreementService.ts | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/agreement-process/src/services/agreementContractBuilder.ts b/packages/agreement-process/src/services/agreementContractBuilder.ts index 41ffc38555..8fcfe1ef34 100644 --- a/packages/agreement-process/src/services/agreementContractBuilder.ts +++ b/packages/agreement-process/src/services/agreementContractBuilder.ts @@ -27,6 +27,7 @@ import { genericError, tenantAttributeType, unsafeBrandId, + AgreementDocument, } from "pagopa-interop-models"; import { UserResponse, @@ -40,7 +41,6 @@ import { userNotFound, } from "../model/domain/errors.js"; import { UpdateAgreementSeed } from "../model/domain/models.js"; -import { ApiAgreementDocumentSeed } from "../model/types.js"; import { AgreementProcessConfig } from "../utilities/config.js"; import { ReadModelService } from "./readModelService.js"; @@ -64,10 +64,11 @@ const retrieveUser = async ( const createAgreementDocumentName = ( consumerId: TenantId, - producerId: TenantId + producerId: TenantId, + documentCreatedAt: Date ): string => `${consumerId}_${producerId}_${formatDateyyyyMMddHHmmss( - new Date() + documentCreatedAt )}_agreement_contract.pdf`; const getAttributeInvolved = async ( @@ -314,7 +315,7 @@ export const contractBuilder = ( consumer: Tenant, producer: Tenant, seed: UpdateAgreementSeed - ): Promise => { + ): Promise => { const templateFilePath = path.resolve( dirname, "..", @@ -338,9 +339,11 @@ export const contractBuilder = ( ); const documentId = generateId(); + const documentCreatedAt = new Date(); const documentName = createAgreementDocumentName( agreement.consumerId, - agreement.producerId + agreement.producerId, + documentCreatedAt ); const documentPath = await fileManager.storeBytes( @@ -358,6 +361,7 @@ export const contractBuilder = ( contentType: CONTENT_TYPE_PDF, prettyName: AGREEMENT_CONTRACT_PRETTY_NAME, path: documentPath, + createdAt: documentCreatedAt, }; }, }; diff --git a/packages/agreement-process/src/services/agreementService.ts b/packages/agreement-process/src/services/agreementService.ts index 213e7adc98..a1e5ecde22 100644 --- a/packages/agreement-process/src/services/agreementService.ts +++ b/packages/agreement-process/src/services/agreementService.ts @@ -1214,7 +1214,7 @@ async function addContractOnFirstActivation( return { ...agreement, - contract: apiAgreementDocumentToAgreementDocument(contract), + contract, }; } From b1da93b515380f88043381c62c9b5ee7d8bbbd96 Mon Sep 17 00:00:00 2001 From: Eric Camellini Date: Wed, 5 Jun 2024 15:30:39 +0200 Subject: [PATCH 4/6] IMN-608 - Fixing error in contract creation in case of attribute not found (#612) --- packages/agreement-process/src/model/domain/errors.ts | 11 +++++++++++ .../src/services/agreementContractBuilder.ts | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/agreement-process/src/model/domain/errors.ts b/packages/agreement-process/src/model/domain/errors.ts index badc7b0486..65fcfcbbd1 100644 --- a/packages/agreement-process/src/model/domain/errors.ts +++ b/packages/agreement-process/src/model/domain/errors.ts @@ -10,6 +10,7 @@ import { makeApiProblemBuilder, UserId, SelfcareId, + AttributeId, } from "pagopa-interop-models"; export const errorCodes = { @@ -297,3 +298,13 @@ export function userNotFound( title: "User not found", }); } + +export function attributeNotFound( + attributeId: AttributeId +): ApiError { + return new ApiError({ + detail: `Attribute ${attributeId} not found`, + code: "attributeNotFound", + title: "Attribute not found", + }); +} diff --git a/packages/agreement-process/src/services/agreementContractBuilder.ts b/packages/agreement-process/src/services/agreementContractBuilder.ts index 8fcfe1ef34..d2a09562be 100644 --- a/packages/agreement-process/src/services/agreementContractBuilder.ts +++ b/packages/agreement-process/src/services/agreementContractBuilder.ts @@ -24,7 +24,6 @@ import { VerifiedTenantAttribute, UserId, generateId, - genericError, tenantAttributeType, unsafeBrandId, AgreementDocument, @@ -38,6 +37,7 @@ import { agreementMissingUserInfo, agreementSelfcareIdNotFound, agreementStampNotFound, + attributeNotFound, userNotFound, } from "../model/domain/errors.js"; import { UpdateAgreementSeed } from "../model/domain/models.js"; @@ -105,7 +105,7 @@ const getAttributeInvolved = async ( tenantAttribute.id ); if (!attribute) { - throw genericError(`Attribute ${tenantAttribute.id} not found`); + throw attributeNotFound(tenantAttribute.id); } return [attribute, tenantAttribute as unknown as T]; }) From 30118d2328321d938dc6de92108199f85683fcca Mon Sep 17 00:00:00 2001 From: "renovate-pagopa[bot]" <164534245+renovate-pagopa[bot]@users.noreply.github.com> Date: Thu, 6 Jun 2024 05:42:01 +0000 Subject: [PATCH 5/6] Update dependency @types/node to v20.14.2 (#616) Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com> --- packages/agreement-process/package.json | 2 +- .../agreement-readmodel-writer/package.json | 2 +- .../attribute-registry-process/package.json | 2 +- .../package.json | 2 +- packages/authorization-updater/package.json | 2 +- packages/catalog-process/package.json | 2 +- .../catalog-readmodel-writer/package.json | 2 +- packages/commons/package.json | 2 +- .../package.json | 2 +- packages/event-migration/package.json | 2 +- packages/models/package.json | 2 +- packages/notifier-seeder/package.json | 2 +- packages/purpose-process/package.json | 2 +- .../purpose-readmodel-writer/package.json | 2 +- packages/selfcare-v2-client/package.json | 2 +- packages/tenant-process/package.json | 2 +- packages/tenant-readmodel-writer/package.json | 2 +- pnpm-lock.yaml | 174 +++++++++--------- 18 files changed, 104 insertions(+), 104 deletions(-) diff --git a/packages/agreement-process/package.json b/packages/agreement-process/package.json index f3a041f854..028e688865 100644 --- a/packages/agreement-process/package.json +++ b/packages/agreement-process/package.json @@ -24,7 +24,7 @@ "@anatine/zod-mock": "3.13.4", "@pagopa/eslint-config": "3.0.0", "@types/express": "4.17.21", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "cpx2": "7.0.1", "openapi-zod-client": "1.18.1", diff --git a/packages/agreement-readmodel-writer/package.json b/packages/agreement-readmodel-writer/package.json index ac1427de0d..a381c3ac6c 100644 --- a/packages/agreement-readmodel-writer/package.json +++ b/packages/agreement-readmodel-writer/package.json @@ -21,7 +21,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", diff --git a/packages/attribute-registry-process/package.json b/packages/attribute-registry-process/package.json index 2fac1c8761..d2e444a098 100644 --- a/packages/attribute-registry-process/package.json +++ b/packages/attribute-registry-process/package.json @@ -25,7 +25,7 @@ "@pagopa/eslint-config": "3.0.0", "@protobuf-ts/runtime": "2.9.4", "@types/express": "4.17.21", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", diff --git a/packages/attribute-registry-readmodel-writer/package.json b/packages/attribute-registry-readmodel-writer/package.json index 53c414638f..449f7420c7 100644 --- a/packages/attribute-registry-readmodel-writer/package.json +++ b/packages/attribute-registry-readmodel-writer/package.json @@ -20,7 +20,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", diff --git a/packages/authorization-updater/package.json b/packages/authorization-updater/package.json index f5209aae49..4187be5b56 100644 --- a/packages/authorization-updater/package.json +++ b/packages/authorization-updater/package.json @@ -26,7 +26,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "openapi-zod-client": "1.18.1", "pagopa-interop-commons-test": "workspace:*", diff --git a/packages/catalog-process/package.json b/packages/catalog-process/package.json index 0a552a6492..886df8d7e5 100644 --- a/packages/catalog-process/package.json +++ b/packages/catalog-process/package.json @@ -26,7 +26,7 @@ "@pagopa/eslint-config": "3.0.0", "@protobuf-ts/runtime": "2.9.4", "@types/express": "4.17.21", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "date-fns": "3.6.0", "pagopa-interop-commons-test": "workspace:*", diff --git a/packages/catalog-readmodel-writer/package.json b/packages/catalog-readmodel-writer/package.json index 3c09670532..3a8f801f9d 100644 --- a/packages/catalog-readmodel-writer/package.json +++ b/packages/catalog-readmodel-writer/package.json @@ -21,7 +21,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "date-fns": "3.6.0", "pagopa-interop-commons-test": "workspace:*", diff --git a/packages/commons/package.json b/packages/commons/package.json index c1138abf0c..438dff870b 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -45,7 +45,7 @@ "devDependencies": { "@types/express": "4.17.21", "@types/jsonwebtoken": "9.0.6", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "eslint": "8.57.0", "cpx2": "7.0.1", diff --git a/packages/eservice-descriptors-archiver/package.json b/packages/eservice-descriptors-archiver/package.json index bba19ff919..155b153eb0 100644 --- a/packages/eservice-descriptors-archiver/package.json +++ b/packages/eservice-descriptors-archiver/package.json @@ -24,7 +24,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "openapi-endpoint-trimmer": "2.0.0", "openapi-zod-client": "1.18.1", diff --git a/packages/event-migration/package.json b/packages/event-migration/package.json index a8af8e36d3..6f60d7a26e 100644 --- a/packages/event-migration/package.json +++ b/packages/event-migration/package.json @@ -18,7 +18,7 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "@types/node": "20.14.1", + "@types/node": "20.14.2", "connection-string": "4.4.0", "dotenv-flow": "4.1.0", "json-diff": "1.0.6", diff --git a/packages/models/package.json b/packages/models/package.json index 23da964b61..dddc3e92c0 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -25,7 +25,7 @@ "@protobuf-ts/plugin": "2.9.4", "@protobuf-ts/protoc": "2.9.4", "@protobuf-ts/runtime": "2.9.4", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "ts-pattern": "5.1.2", "uuid": "9.0.1", diff --git a/packages/notifier-seeder/package.json b/packages/notifier-seeder/package.json index b28a20e1e4..4c3eec15f1 100644 --- a/packages/notifier-seeder/package.json +++ b/packages/notifier-seeder/package.json @@ -24,7 +24,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "prettier": "2.8.8", "ts-node": "10.9.2", "typescript": "5.4.5", diff --git a/packages/purpose-process/package.json b/packages/purpose-process/package.json index 48e886f243..3e841aa3e9 100644 --- a/packages/purpose-process/package.json +++ b/packages/purpose-process/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@pagopa/eslint-config": "3.0.0", "@types/express": "4.17.21", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "cpx2": "7.0.1", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", diff --git a/packages/purpose-readmodel-writer/package.json b/packages/purpose-readmodel-writer/package.json index a49f952781..5b6858819d 100644 --- a/packages/purpose-readmodel-writer/package.json +++ b/packages/purpose-readmodel-writer/package.json @@ -21,7 +21,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "@types/uuid": "9.0.8", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", diff --git a/packages/selfcare-v2-client/package.json b/packages/selfcare-v2-client/package.json index c6ffd6d949..5c6fb7af69 100644 --- a/packages/selfcare-v2-client/package.json +++ b/packages/selfcare-v2-client/package.json @@ -27,7 +27,7 @@ "devDependencies": { "eslint": "8.57.0", "prettier": "2.8.8", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "openapi-zod-client": "1.18.1", "typescript": "5.4.5" } diff --git a/packages/tenant-process/package.json b/packages/tenant-process/package.json index 5c50facd9c..5057ae7091 100644 --- a/packages/tenant-process/package.json +++ b/packages/tenant-process/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@pagopa/eslint-config": "3.0.0", "@types/express": "4.17.21", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "pagopa-interop-commons-test": "workspace:*", "pg-promise": "11.7.8", "prettier": "2.8.8", diff --git a/packages/tenant-readmodel-writer/package.json b/packages/tenant-readmodel-writer/package.json index 21fdb9b1fd..54b056fe54 100644 --- a/packages/tenant-readmodel-writer/package.json +++ b/packages/tenant-readmodel-writer/package.json @@ -19,7 +19,7 @@ "license": "Apache-2.0", "devDependencies": { "@pagopa/eslint-config": "3.0.0", - "@types/node": "20.14.1", + "@types/node": "20.14.2", "prettier": "2.8.8", "ts-node": "10.9.2", "typescript": "5.4.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d540352088..87ac29494f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -64,8 +64,8 @@ importers: specifier: 4.17.21 version: 4.17.21 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -89,13 +89,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/agreement-readmodel-writer: dependencies: @@ -134,8 +134,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -150,7 +150,7 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 @@ -159,7 +159,7 @@ importers: version: 9.0.1 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/attribute-registry-process: dependencies: @@ -222,8 +222,8 @@ importers: specifier: 4.17.21 version: 4.17.21 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -238,13 +238,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/attribute-registry-readmodel-writer: dependencies: @@ -283,8 +283,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 pagopa-interop-commons-test: specifier: workspace:* version: link:../commons-test @@ -296,13 +296,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/authorization-updater: dependencies: @@ -347,8 +347,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -363,13 +363,13 @@ importers: version: 2.8.8 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/catalog-process: dependencies: @@ -426,8 +426,8 @@ importers: specifier: 4.17.21 version: 4.17.21 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -448,13 +448,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/catalog-readmodel-writer: dependencies: @@ -490,8 +490,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -509,7 +509,7 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 @@ -518,7 +518,7 @@ importers: version: 9.0.1 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/commons: dependencies: @@ -593,8 +593,8 @@ importers: specifier: 9.0.6 version: 9.0.6 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -666,7 +666,7 @@ importers: version: 9.0.1 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) zod: specifier: 3.23.8 version: 3.23.8 @@ -708,8 +708,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -727,19 +727,19 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/event-migration: dependencies: '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 connection-string: specifier: 4.4.0 version: 4.4.0 @@ -788,13 +788,13 @@ importers: version: 2.8.8 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/kafka-iam-auth: dependencies: @@ -827,8 +827,8 @@ importers: specifier: 2.9.4 version: 2.9.4 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -901,8 +901,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -923,13 +923,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/purpose-process: dependencies: @@ -977,8 +977,8 @@ importers: specifier: 4.17.21 version: 4.17.21 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 cpx2: specifier: 7.0.1 version: 7.0.1 @@ -993,13 +993,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/purpose-readmodel-writer: dependencies: @@ -1035,8 +1035,8 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 '@types/uuid': specifier: 9.0.8 version: 9.0.8 @@ -1051,13 +1051,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/selfcare-v2-client: dependencies: @@ -1072,8 +1072,8 @@ importers: version: 3.23.8 devDependencies: '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 eslint: specifier: 8.57.0 version: 8.57.0 @@ -1136,8 +1136,8 @@ importers: specifier: 4.17.21 version: 4.17.21 '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 pagopa-interop-commons-test: specifier: workspace:* version: link:../commons-test @@ -1152,13 +1152,13 @@ importers: version: 10.9.0 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 vitest: specifier: 1.6.0 - version: 1.6.0(@types/node@20.14.1) + version: 1.6.0(@types/node@20.14.2) packages/tenant-readmodel-writer: dependencies: @@ -1194,14 +1194,14 @@ importers: specifier: 3.0.0 version: 3.0.0(typescript@5.4.5) '@types/node': - specifier: 20.14.1 - version: 20.14.1 + specifier: 20.14.2 + version: 20.14.2 prettier: specifier: 2.8.8 version: 2.8.8 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: 5.4.5 version: 5.4.5 @@ -4843,23 +4843,23 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 20.14.1 + '@types/node': 20.14.2 /@types/buffers@0.1.31: resolution: {integrity: sha512-wEZBb3o0Kh5RAj3V172vJCcxaCV8C2HJ7YLBBlG5Mwue0g4uRg5LWv8C6ap8MyFbXE6UbYEuvtHY7oTWAPeXEw==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 dev: false /@types/connect@3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 /@types/docker-modem@3.0.6: resolution: {integrity: sha512-yKpAGEuKRSS8wwx0joknWxsmLha78wNMe9R2S3UNsVOkZded8UqOrV8KoeDXoXsjndxwyF3eIhyClGbO1SEhEg==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 '@types/ssh2': 0.5.52 dev: true @@ -4867,7 +4867,7 @@ packages: resolution: {integrity: sha512-/K+I9bGhRO2SvyIHisGeOsy/ypxnWLz8+Rde9S2tNNEKa3r91e0XMYIEq2D+kb7srm7xrmpAR0CDKfXoZOr4OA==} dependencies: '@types/docker-modem': 3.0.6 - '@types/node': 20.14.1 + '@types/node': 20.14.2 dev: true /@types/estree@1.0.5: @@ -4877,7 +4877,7 @@ packages: /@types/express-serve-static-core@4.17.35: resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 '@types/send': 0.17.1 @@ -4893,7 +4893,7 @@ packages: /@types/fs-extra@9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 /@types/json-diff@1.0.3: resolution: {integrity: sha512-Qvxm8fpRMv/1zZR3sQWImeRK2mBYJji20xF51Fq9Gt//Ed18u0x6/FNLogLS1xhfUWTEmDyqveJqn95ltB6Kvw==} @@ -4910,7 +4910,7 @@ packages: /@types/jsonwebtoken@9.0.6: resolution: {integrity: sha512-/5hndP5dCjloafCXns6SZyESp3Ldq7YjH3zwzwczYnjxIT0Fqzk5ROSYVGfFyczIue7IUEj8hkvLbPoLQ18vQw==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 /@types/lodash.isequal@4.5.8: resolution: {integrity: sha512-uput6pg4E/tj2LGxCZo9+y27JNyB2OZuuI/T5F+ylVDYuqICLG2/ktjxx0v6GvVntAf8TvEzeQLcV0ffRirXuA==} @@ -4928,8 +4928,8 @@ packages: /@types/mime@3.0.1: resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==} - /@types/node@20.14.1: - resolution: {integrity: sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==} + /@types/node@20.14.2: + resolution: {integrity: sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==} dependencies: undici-types: 5.26.5 @@ -4947,24 +4947,24 @@ packages: resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} dependencies: '@types/mime': 1.3.2 - '@types/node': 20.14.1 + '@types/node': 20.14.2 /@types/serve-static@1.15.1: resolution: {integrity: sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==} dependencies: '@types/mime': 3.0.1 - '@types/node': 20.14.1 + '@types/node': 20.14.2 /@types/ssh2-streams@0.1.12: resolution: {integrity: sha512-Sy8tpEmCce4Tq0oSOYdfqaBpA3hDM8SoxoFh5vzFsu2oL+znzGz8oVWW7xb4K920yYMUY+PIG31qZnFMfPWNCg==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 dev: true /@types/ssh2@0.5.52: resolution: {integrity: sha512-lbLLlXxdCZOSJMCInKH2+9V/77ET2J6NPQHpFI0kda61Dd1KglJs+fPQBchizmzYSOJBgdTajhPqBO1xxLywvg==} dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 '@types/ssh2-streams': 0.1.12 dev: true @@ -4989,7 +4989,7 @@ packages: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 dev: false optional: true @@ -9041,7 +9041,7 @@ packages: resolution: {integrity: sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==} dev: false - /ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5): + /ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -9060,7 +9060,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.14.1 + '@types/node': 20.14.2 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -9314,7 +9314,7 @@ packages: engines: {node: '>= 0.8'} dev: false - /vite-node@1.6.0(@types/node@20.14.1): + /vite-node@1.6.0(@types/node@20.14.2): resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} dependencies: @@ -9322,7 +9322,7 @@ packages: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.9(@types/node@20.14.1) + vite: 5.2.9(@types/node@20.14.2) transitivePeerDependencies: - '@types/node' - less @@ -9334,7 +9334,7 @@ packages: - terser dev: true - /vite@5.2.9(@types/node@20.14.1): + /vite@5.2.9(@types/node@20.14.2): resolution: {integrity: sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -9362,7 +9362,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.14.3 @@ -9370,7 +9370,7 @@ packages: fsevents: 2.3.3 dev: true - /vitest@1.6.0(@types/node@20.14.1): + /vitest@1.6.0(@types/node@20.14.2): resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -9395,7 +9395,7 @@ packages: jsdom: optional: true dependencies: - '@types/node': 20.14.1 + '@types/node': 20.14.2 '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 '@vitest/snapshot': 1.6.0 @@ -9413,8 +9413,8 @@ packages: strip-literal: 2.1.0 tinybench: 2.7.0 tinypool: 0.8.4 - vite: 5.2.9(@types/node@20.14.1) - vite-node: 1.6.0(@types/node@20.14.1) + vite: 5.2.9(@types/node@20.14.2) + vite-node: 1.6.0(@types/node@20.14.2) why-is-node-running: 2.2.2 transitivePeerDependencies: - less From bb2268170b40183348d8a43ec0a0805e22d4ffc0 Mon Sep 17 00:00:00 2001 From: "renovate-pagopa[bot]" <164534245+renovate-pagopa[bot]@users.noreply.github.com> Date: Thu, 6 Jun 2024 10:03:24 +0200 Subject: [PATCH 6/6] Update dependency @aws-sdk/client-s3 to v3.591.0 (#617) Co-authored-by: renovate-pagopa[bot] <164534245+renovate-pagopa[bot]@users.noreply.github.com> --- packages/commons/package.json | 2 +- pnpm-lock.yaml | 243 ++++++++-------------------------- 2 files changed, 55 insertions(+), 190 deletions(-) diff --git a/packages/commons/package.json b/packages/commons/package.json index 438dff870b..7971eb3a40 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -21,7 +21,7 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-kms": "3.590.0", - "@aws-sdk/client-s3": "3.590.0", + "@aws-sdk/client-s3": "3.591.0", "@zodios/core": "10.9.6", "@zodios/express": "10.6.1", "axios": "1.7.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 87ac29494f..e146589c1e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -526,8 +526,8 @@ importers: specifier: 3.590.0 version: 3.590.0 '@aws-sdk/client-s3': - specifier: 3.590.0 - version: 3.590.0 + specifier: 3.591.0 + version: 3.591.0 '@zodios/core': specifier: 10.9.6 version: 10.9.6(axios@1.7.2)(zod@3.23.8) @@ -1410,28 +1410,28 @@ packages: '@aws-sdk/util-endpoints': 3.583.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 + '@smithy/config-resolver': 3.0.1 + '@smithy/core': 2.1.1 '@smithy/fetch-http-handler': 3.0.1 '@smithy/hash-node': 3.0.0 '@smithy/invalid-dependency': 3.0.0 '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-endpoint': 3.0.1 + '@smithy/middleware-retry': 3.0.3 '@smithy/middleware-serde': 3.0.0 '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 + '@smithy/node-config-provider': 3.1.0 '@smithy/node-http-handler': 3.0.0 '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 + '@smithy/smithy-client': 3.1.1 '@smithy/types': 3.0.0 '@smithy/url-parser': 3.0.0 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 + '@smithy/util-defaults-mode-browser': 3.0.3 + '@smithy/util-defaults-mode-node': 3.0.3 + '@smithy/util-endpoints': 2.0.1 '@smithy/util-middleware': 3.0.0 '@smithy/util-retry': 3.0.0 '@smithy/util-utf8': 3.0.0 @@ -1489,8 +1489,8 @@ packages: - aws-crt dev: false - /@aws-sdk/client-s3@3.590.0: - resolution: {integrity: sha512-so+pNua0ihsHaSdskw8HCwruoYTAfYSEs3ix4GD1++83C96KaJp3udAutYiCA+84JXg9zitFa7eK7ORJAVZmTw==} + /@aws-sdk/client-s3@3.591.0: + resolution: {integrity: sha512-YmMQpOdBak+0OZh0LfbK+3u1MA0csAok9yDP5/tD1am7hCg1+zPimHSmpjLBHoKELVpsW5QRuBdCi0dn95uxmg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha1-browser': 3.0.0 @@ -1764,28 +1764,28 @@ packages: '@aws-sdk/util-endpoints': 3.583.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 + '@smithy/config-resolver': 3.0.1 + '@smithy/core': 2.1.1 '@smithy/fetch-http-handler': 3.0.1 '@smithy/hash-node': 3.0.0 '@smithy/invalid-dependency': 3.0.0 '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-endpoint': 3.0.1 + '@smithy/middleware-retry': 3.0.3 '@smithy/middleware-serde': 3.0.0 '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 + '@smithy/node-config-provider': 3.1.0 '@smithy/node-http-handler': 3.0.0 '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 + '@smithy/smithy-client': 3.1.1 '@smithy/types': 3.0.0 '@smithy/url-parser': 3.0.0 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 + '@smithy/util-defaults-mode-browser': 3.0.3 + '@smithy/util-defaults-mode-node': 3.0.3 + '@smithy/util-endpoints': 2.0.1 '@smithy/util-middleware': 3.0.0 '@smithy/util-retry': 3.0.0 '@smithy/util-utf8': 3.0.0 @@ -1906,28 +1906,28 @@ packages: '@aws-sdk/util-endpoints': 3.583.0 '@aws-sdk/util-user-agent-browser': 3.577.0 '@aws-sdk/util-user-agent-node': 3.577.0 - '@smithy/config-resolver': 3.0.0 - '@smithy/core': 2.0.1 + '@smithy/config-resolver': 3.0.1 + '@smithy/core': 2.1.1 '@smithy/fetch-http-handler': 3.0.1 '@smithy/hash-node': 3.0.0 '@smithy/invalid-dependency': 3.0.0 '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.0 - '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-endpoint': 3.0.1 + '@smithy/middleware-retry': 3.0.3 '@smithy/middleware-serde': 3.0.0 '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.0.0 + '@smithy/node-config-provider': 3.1.0 '@smithy/node-http-handler': 3.0.0 '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 + '@smithy/smithy-client': 3.1.1 '@smithy/types': 3.0.0 '@smithy/url-parser': 3.0.0 '@smithy/util-base64': 3.0.0 '@smithy/util-body-length-browser': 3.0.0 '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.1 - '@smithy/util-defaults-mode-node': 3.0.1 - '@smithy/util-endpoints': 2.0.0 + '@smithy/util-defaults-mode-browser': 3.0.3 + '@smithy/util-defaults-mode-node': 3.0.3 + '@smithy/util-endpoints': 2.0.1 '@smithy/util-middleware': 3.0.0 '@smithy/util-retry': 3.0.0 '@smithy/util-utf8': 3.0.0 @@ -2036,7 +2036,7 @@ packages: dependencies: '@aws-sdk/client-cognito-identity': 3.583.0 '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 + '@smithy/property-provider': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: @@ -2058,7 +2058,7 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 + '@smithy/property-provider': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false @@ -2095,9 +2095,9 @@ packages: '@aws-sdk/types': 3.577.0 '@smithy/fetch-http-handler': 3.0.1 '@smithy/node-http-handler': 3.0.0 - '@smithy/property-provider': 3.0.0 + '@smithy/property-provider': 3.1.0 '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.0.1 + '@smithy/smithy-client': 3.1.1 '@smithy/types': 3.0.0 '@smithy/util-stream': 3.0.1 tslib: 2.6.2 @@ -2148,9 +2148,9 @@ packages: '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.583.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/credential-provider-imds': 3.1.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: @@ -2170,9 +2170,9 @@ packages: '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/credential-provider-imds': 3.1.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: @@ -2304,8 +2304,8 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false @@ -2343,8 +2343,8 @@ packages: '@aws-sdk/client-sso': 3.583.0 '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.583.0) '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: @@ -2359,8 +2359,8 @@ packages: '@aws-sdk/client-sso': 3.583.0 '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: @@ -2402,7 +2402,7 @@ packages: dependencies: '@aws-sdk/client-sts': 3.583.0 '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 + '@smithy/property-provider': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false @@ -2460,8 +2460,8 @@ packages: '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.0.0 - '@smithy/property-provider': 3.0.0 + '@smithy/credential-provider-imds': 3.1.0 + '@smithy/property-provider': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: @@ -2794,8 +2794,8 @@ packages: dependencies: '@aws-sdk/client-sso-oidc': 3.583.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false @@ -2808,8 +2808,8 @@ packages: dependencies: '@aws-sdk/client-sso-oidc': 3.590.0(@aws-sdk/client-sts@3.590.0) '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.0.0 - '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/property-provider': 3.1.0 + '@smithy/shared-ini-file-loader': 3.1.0 '@smithy/types': 3.0.0 tslib: 2.6.2 dev: false @@ -3823,17 +3823,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/config-resolver@3.0.0: - resolution: {integrity: sha512-2GzOfADwYLQugYkKQhIyZyQlM05K+tMKvRnc6eFfZcpJGRfKoMUMYdPlBKmqHwQFXQKBrGV6cxL9oymWgDzvFw==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/node-config-provider': 3.1.0 - '@smithy/types': 3.0.0 - '@smithy/util-config-provider': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/config-resolver@3.0.1: resolution: {integrity: sha512-hbkYJc20SBDz2qqLzttjI/EqXemtmWk0ooRznLsiXp3066KQRTvuKHa7U4jCZCJq6Dozqvy0R1/vNESC9inPJg==} engines: {node: '>=16.0.0'} @@ -3845,20 +3834,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/core@2.0.1: - resolution: {integrity: sha512-rcMkjvwxH/bER+oZUPR0yTA0ELD6m3A+d92+CFkdF6HJFCBB1bXo7P5pm21L66XwTN01B6bUhSCQ7cymWRD8zg==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/core@2.1.1: resolution: {integrity: sha512-0vbIwwUcg0FMhTVJgMhbsRSAFL0rwduy/OQz7Xq1pJXJOyaGv+PGjj1iGawRlzBUPA5BkJv7S6q+YU2U8gk/WA==} engines: {node: '>=16.0.0'} @@ -3884,17 +3859,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/credential-provider-imds@3.0.0: - resolution: {integrity: sha512-lfmBiFQcA3FsDAPxNfY0L7CawcWtbyWsBOHo34nF095728JLkBX4Y9q/VPPE2r7fqMVK+drmDigqE2/SSQeVRA==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/node-config-provider': 3.0.0 - '@smithy/property-provider': 3.0.0 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/credential-provider-imds@3.1.0: resolution: {integrity: sha512-q4A4d38v8pYYmseu/jTS3Z5I3zXlEOe5Obi+EJreVKgSVyWUHOd7/yaVCinC60QG4MRyCs98tcxBH1IMC0bu7Q==} engines: {node: '>=16.0.0'} @@ -4101,19 +4065,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/middleware-endpoint@3.0.0: - resolution: {integrity: sha512-aXOAWztw/5qAfp0NcA2OWpv6ZI/E+Dh9mByif7i91D/0iyYNUcKvskmXiowKESFkuZ7PIMd3VOR4fTibZDs2OQ==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/middleware-serde': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-middleware': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/middleware-endpoint@3.0.1: resolution: {integrity: sha512-lQ/UOdGD4KM5kLZiAl0q8Qy3dPbynvAXKAdXnYlrA1OpaUwr+neSsVokDZpY6ZVb5Yx8jnus29uv6XWpM9P4SQ==} engines: {node: '>=16.0.0'} @@ -4142,21 +4093,6 @@ packages: uuid: 9.0.1 dev: false - /@smithy/middleware-retry@3.0.1: - resolution: {integrity: sha512-hBhSEuL841FhJBK/19WpaGk5YWSzFk/P2UaVjANGKRv3eYNO8Y1lANWgqnuPWjOyCEWMPr58vELFDWpxvRKANw==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/node-config-provider': 3.1.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/service-error-classification': 3.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - tslib: 2.6.2 - uuid: 9.0.1 - dev: false - /@smithy/middleware-retry@3.0.3: resolution: {integrity: sha512-Wve1qzJb83VEU/6q+/I0cQdAkDnuzELC6IvIBwDzUEiGpKqXgX1v10FUuZGbRS6Ov/P+HHthcAoHOJZQvZNAkA==} engines: {node: '>=16.0.0'} @@ -4214,16 +4150,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/node-config-provider@3.0.0: - resolution: {integrity: sha512-buqfaSdDh0zo62EPLf8rGDvcpKwGpO5ho4bXS2cdFhlOta7tBkWJt+O5uiaAeICfIOfPclNOndshDNSanX2X9g==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/node-config-provider@3.1.0: resolution: {integrity: sha512-ngfB8QItUfTFTfHMvKuc2g1W60V1urIgZHqD1JNFZC2tTWXahqf2XvKXqcBS7yZqR7GqkQQZy11y/lNOUWzq7Q==} engines: {node: '>=16.0.0'} @@ -4264,14 +4190,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/property-provider@3.0.0: - resolution: {integrity: sha512-LmbPgHBswdXCrkWWuUwBm9w72S2iLWyC/5jet9/Y9cGHtzqxi+GVjfCfahkvNV4KXEwgnH8EMpcrD9RUYe0eLQ==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/property-provider@3.1.0: resolution: {integrity: sha512-Tj3+oVhqdZgemjCiWjFlADfhvLF4C/uKDuKo7/tlEsRQ9+3emCreR2xndj970QSRSsiCEU8hZW3/8JQu+n5w4Q==} engines: {node: '>=16.0.0'} @@ -4352,14 +4270,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/shared-ini-file-loader@3.0.0: - resolution: {integrity: sha512-REVw6XauXk8xE4zo5aGL7Rz4ywA8qNMUn8RtWeTRQsgAlmlvbJ7CEPBcaXU2NDC3AYBgYAXrGyWD8XrN8UGDog==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/shared-ini-file-loader@3.1.0: resolution: {integrity: sha512-dAM7wSX0NR3qTNyGVN/nwwpEDzfV9T/3AN2eABExWmda5VqZKSsjlINqomO5hjQWGv+IIkoXfs3u2vGSNz8+Rg==} engines: {node: '>=16.0.0'} @@ -4420,18 +4330,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/smithy-client@3.0.1: - resolution: {integrity: sha512-KAiFY4Y4jdHxR+4zerH/VBhaFKM8pbaVmJZ/CWJRwtM/CmwzTfXfvYwf6GoUwiHepdv+lwiOXCuOl6UBDUEINw==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-stack': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/types': 3.0.0 - '@smithy/util-stream': 3.0.1 - tslib: 2.6.2 - dev: false - /@smithy/smithy-client@3.1.1: resolution: {integrity: sha512-tj4Ku7MpzZR8cmVuPcSbrLFVxmptWktmJMwST/uIEq4sarabEdF8CbmQdYB7uJ/X51Qq2EYwnRsoS7hdR4B7rA==} engines: {node: '>=16.0.0'} @@ -4574,17 +4472,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/util-defaults-mode-browser@3.0.1: - resolution: {integrity: sha512-nW5kEzdJn1Bn5TF+gOPHh2rcPli8JU9vSSXLbfg7uPnfR1TMRQqs9zlYRhIb87NeSxIbpdXOI94tvXSy+fvDYg==} - engines: {node: '>= 10.0.0'} - dependencies: - '@smithy/property-provider': 3.1.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - bowser: 2.11.0 - tslib: 2.6.2 - dev: false - /@smithy/util-defaults-mode-browser@3.0.3: resolution: {integrity: sha512-3DFON2bvXJAukJe+qFgPV/rorG7ZD3m4gjCXHD1V5z/tgKQp5MCTCLntrd686tX6tj8Uli3lefWXJudNg5WmCA==} engines: {node: '>= 10.0.0'} @@ -4609,19 +4496,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/util-defaults-mode-node@3.0.1: - resolution: {integrity: sha512-TFk+Qb+elLc/MOhtSp+50fstyfZ6avQbgH2d96xUBpeScu+Al9elxv+UFAjaTHe0HQe5n+wem8ZLpXvU8lwV6Q==} - engines: {node: '>= 10.0.0'} - dependencies: - '@smithy/config-resolver': 3.0.1 - '@smithy/credential-provider-imds': 3.1.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/property-provider': 3.1.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/util-defaults-mode-node@3.0.3: resolution: {integrity: sha512-D0b8GJXecT00baoSQ3Iieu3k3mZ7GY8w1zmg8pdogYrGvWJeLcIclqk2gbkG4K0DaBGWrO6v6r20iwIFfDYrmA==} engines: {node: '>= 10.0.0'} @@ -4644,15 +4518,6 @@ packages: tslib: 2.6.2 dev: false - /@smithy/util-endpoints@2.0.0: - resolution: {integrity: sha512-+exaXzEY3DNt2qtA2OtRNSDlVrE4p32j1JSsQkzA5AdP0YtJNjkYbYhJxkFmPYcjI1abuwopOZCwUmv682QkiQ==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/node-config-provider': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@smithy/util-endpoints@2.0.1: resolution: {integrity: sha512-ZRT0VCOnKlVohfoABMc8lWeQo/JEFuPWctfNRXgTHbyOVssMOLYFUNWukxxiHRGVAhV+n3c0kPW+zUqckjVPEA==} engines: {node: '>=16.0.0'}