From c200f030ec55f2e01e24dace8204ca0b0b71c617 Mon Sep 17 00:00:00 2001 From: vivienfan Date: Thu, 4 Aug 2022 01:06:51 -0400 Subject: [PATCH 1/2] replace product obj with hash link in creation, transformation, transfer and transport events --- lib/events/dto/createProduct/create.dto.d.ts | 1 + lib/events/dto/createProduct/create.dto.js | 6 ++ .../event.credentialSubject.d.ts | 3 +- .../createProduct/event.credentialSubject.js | 4 +- .../transfer/event.credentialSubject.dto.d.ts | 3 +- .../transfer/event.credentialSubject.dto.js | 4 +- lib/events/dto/transfer/transfer.dto.d.ts | 3 +- lib/events/dto/transfer/transfer.dto.js | 14 ++-- .../event.credentialSubject.dto.d.ts | 4 +- .../transform/event.credentialSubject.dto.js | 9 +-- lib/events/dto/transform/transform.dto.d.ts | 5 +- lib/events/dto/transform/transform.dto.js | 3 +- .../transformProductSuccessor.dto.d.ts | 1 + .../transformProductSuccessor.dto.js | 5 ++ .../event.credentialSubject.dto.d.ts | 6 +- .../transport/event.credentialSubject.dto.js | 26 ++++++++ lib/general/dto/index.d.ts | 1 + lib/general/dto/index.js | 1 + lib/general/dto/productHash.dto.d.ts | 4 ++ lib/general/dto/productHash.dto.js | 26 ++++++++ src/events/dto/createProduct/create.dto.ts | 5 ++ .../createProduct/event.credentialSubject.ts | 8 +-- .../transfer/event.credentialSubject.dto.ts | 9 ++- src/events/dto/transfer/transfer.dto.ts | 12 ++-- .../transform/event.credentialSubject.dto.ts | 13 ++-- src/events/dto/transform/transform.dto.ts | 7 +- .../transformProductSuccessor.dto.ts | 6 +- .../transport/event.credentialSubject.dto.ts | 65 ++++++++----------- src/general/dto/index.ts | 1 + src/general/dto/productHash.dto.ts | 11 ++++ 30 files changed, 164 insertions(+), 102 deletions(-) create mode 100644 lib/general/dto/productHash.dto.d.ts create mode 100644 lib/general/dto/productHash.dto.js create mode 100644 src/general/dto/productHash.dto.ts diff --git a/lib/events/dto/createProduct/create.dto.d.ts b/lib/events/dto/createProduct/create.dto.d.ts index b171f25a..60b6332c 100644 --- a/lib/events/dto/createProduct/create.dto.d.ts +++ b/lib/events/dto/createProduct/create.dto.d.ts @@ -25,6 +25,7 @@ export declare class AGENT_CreateProductDTO extends CreateProductDTOBase { export declare class CORE_CreateProductDTO extends CreateProductDTOBase { productId: string; productVC: ProductVCDTO; + productVCHash: string; eventId: string; eventVC: CreationEventDetailsDTO; } diff --git a/lib/events/dto/createProduct/create.dto.js b/lib/events/dto/createProduct/create.dto.js index ad500598..e0993c8f 100644 --- a/lib/events/dto/createProduct/create.dto.js +++ b/lib/events/dto/createProduct/create.dto.js @@ -126,6 +126,12 @@ __decorate([ (0, class_transformer_1.Type)(() => products_1.ProductVCDTO), __metadata("design:type", products_1.ProductVCDTO) ], CORE_CreateProductDTO.prototype, "productVC", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + (0, swagger_1.ApiProperty)(), + (0, class_validator_1.IsString)(), + __metadata("design:type", String) +], CORE_CreateProductDTO.prototype, "productVCHash", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)(), (0, swagger_1.ApiProperty)(), diff --git a/lib/events/dto/createProduct/event.credentialSubject.d.ts b/lib/events/dto/createProduct/event.credentialSubject.d.ts index c50a5e60..401c5f28 100644 --- a/lib/events/dto/createProduct/event.credentialSubject.d.ts +++ b/lib/events/dto/createProduct/event.credentialSubject.d.ts @@ -1,11 +1,10 @@ import { PlaceDTO, OrganizationDTO } from '../../../general'; -import { ProductDTO } from '../../../products'; import { EVENT_TYPE } from '../../../events'; export declare class AGENT_CreationEventCredentialSubjectDTO { eventType: EVENT_TYPE; place: PlaceDTO; actor: OrganizationDTO[]; - products: ProductDTO[]; + products: string[]; } export declare class CORE_CreationEventCredentialSubjectDTO extends AGENT_CreationEventCredentialSubjectDTO { eventId: string; diff --git a/lib/events/dto/createProduct/event.credentialSubject.js b/lib/events/dto/createProduct/event.credentialSubject.js index a808524c..2e76641c 100644 --- a/lib/events/dto/createProduct/event.credentialSubject.js +++ b/lib/events/dto/createProduct/event.credentialSubject.js @@ -13,7 +13,6 @@ exports.CORE_CreationEventCredentialSubjectDTO = exports.AGENT_CreationEventCred const class_validator_1 = require("class-validator"); const class_transformer_1 = require("class-transformer"); const general_1 = require("../../../general"); -const products_1 = require("../../../products"); const swagger_1 = require("@nestjs/swagger"); const events_1 = require("../../../events"); class AGENT_CreationEventCredentialSubjectDTO { @@ -43,8 +42,7 @@ __decorate([ (0, swagger_1.ApiProperty)(), (0, class_validator_1.IsArray)(), (0, class_validator_1.ArrayMinSize)(1), - (0, class_validator_1.ValidateNested)({ each: true }), - (0, class_transformer_1.Type)(() => products_1.ProductDTO), + (0, class_validator_1.IsUrl)({ each: true }), __metadata("design:type", Array) ], AGENT_CreationEventCredentialSubjectDTO.prototype, "products", void 0); exports.AGENT_CreationEventCredentialSubjectDTO = AGENT_CreationEventCredentialSubjectDTO; diff --git a/lib/events/dto/transfer/event.credentialSubject.dto.d.ts b/lib/events/dto/transfer/event.credentialSubject.dto.d.ts index 5f7e2489..79bb1602 100644 --- a/lib/events/dto/transfer/event.credentialSubject.dto.d.ts +++ b/lib/events/dto/transfer/event.credentialSubject.dto.d.ts @@ -1,9 +1,8 @@ import { TRANSFER_EVENT_TYPE } from '../../constants'; import { PlaceDTO, OrganizationDTO } from '../../../general'; -import { ProductDTO } from '../../../products'; export declare class AGENT_TransferEventCredentialSubjectDTO { place: PlaceDTO; - products: ProductDTO[]; + products: string[]; actor: OrganizationDTO[]; initiator: string; receiver: string; diff --git a/lib/events/dto/transfer/event.credentialSubject.dto.js b/lib/events/dto/transfer/event.credentialSubject.dto.js index c0fe1652..017af22b 100644 --- a/lib/events/dto/transfer/event.credentialSubject.dto.js +++ b/lib/events/dto/transfer/event.credentialSubject.dto.js @@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator"); const class_transformer_1 = require("class-transformer"); const constants_1 = require("../../constants"); const general_1 = require("../../../general"); -const products_1 = require("../../../products"); class AGENT_TransferEventCredentialSubjectDTO { } __decorate([ @@ -26,8 +25,7 @@ __decorate([ __decorate([ (0, class_validator_1.IsArray)(), (0, class_validator_1.ArrayMinSize)(1), - (0, class_validator_1.ValidateNested)({ each: true }), - (0, class_transformer_1.Type)(() => products_1.ProductDTO), + (0, class_validator_1.IsUrl)({ each: true }), __metadata("design:type", Array) ], AGENT_TransferEventCredentialSubjectDTO.prototype, "products", void 0); __decorate([ diff --git a/lib/events/dto/transfer/transfer.dto.d.ts b/lib/events/dto/transfer/transfer.dto.d.ts index 4be980d9..031bf612 100644 --- a/lib/events/dto/transfer/transfer.dto.d.ts +++ b/lib/events/dto/transfer/transfer.dto.d.ts @@ -1,6 +1,5 @@ import { PlaceDTO, OrganizationDTO } from '../../../general'; import { CORE_TransferEventDetailsDTO } from './event.vc.dto'; -import { ProductDTO } from '../../../products'; export declare class CORE_TransferProductDTO { requestId: number; productId: string; @@ -10,6 +9,7 @@ export declare class CORE_TransferProductDTO { export declare class AGENT_TransferProductDTO { requestId: number; productId: string; + productVCHash: string; place: PlaceDTO; portOfEntry?: PlaceDTO; portOfArrival?: PlaceDTO; @@ -18,6 +18,5 @@ export declare class AGENT_TransferProductDTO { receiptLocation?: PlaceDTO; receiver: string; price: string; - products: ProductDTO[]; actor: OrganizationDTO[]; } diff --git a/lib/events/dto/transfer/transfer.dto.js b/lib/events/dto/transfer/transfer.dto.js index ad2a8d0f..904726a7 100644 --- a/lib/events/dto/transfer/transfer.dto.js +++ b/lib/events/dto/transfer/transfer.dto.js @@ -15,7 +15,6 @@ const swagger_1 = require("@nestjs/swagger"); const general_1 = require("../../../general"); const class_transformer_1 = require("class-transformer"); const event_vc_dto_1 = require("./event.vc.dto"); -const products_1 = require("../../../products"); class CORE_TransferProductDTO { } __decorate([ @@ -58,6 +57,12 @@ __decorate([ (0, class_validator_1.IsUUID)(), __metadata("design:type", String) ], AGENT_TransferProductDTO.prototype, "productId", void 0); +__decorate([ + (0, swagger_1.ApiProperty)(), + (0, class_validator_1.IsNotEmpty)(), + (0, class_validator_1.IsString)(), + __metadata("design:type", String) +], AGENT_TransferProductDTO.prototype, "productVCHash", void 0); __decorate([ (0, swagger_1.ApiProperty)(), (0, class_validator_1.IsNotEmptyObject)(), @@ -111,13 +116,6 @@ __decorate([ (0, class_validator_1.IsString)(), __metadata("design:type", String) ], AGENT_TransferProductDTO.prototype, "price", void 0); -__decorate([ - (0, class_validator_1.IsArray)(), - (0, class_validator_1.ArrayMinSize)(1), - (0, class_validator_1.ValidateNested)({ each: true }), - (0, class_transformer_1.Type)(() => products_1.ProductDTO), - __metadata("design:type", Array) -], AGENT_TransferProductDTO.prototype, "products", void 0); __decorate([ (0, class_validator_1.IsArray)(), (0, class_validator_1.ArrayMinSize)(1), diff --git a/lib/events/dto/transform/event.credentialSubject.dto.d.ts b/lib/events/dto/transform/event.credentialSubject.dto.d.ts index 2e73df5f..f2419e70 100644 --- a/lib/events/dto/transform/event.credentialSubject.dto.d.ts +++ b/lib/events/dto/transform/event.credentialSubject.dto.d.ts @@ -1,6 +1,5 @@ import { PlaceDTO, OrganizationDTO } from '../../../general'; import { TRANSFORMATION_EVENT_TYPE } from '../../constants/transformationEventType'; -import { ProductDTO } from '../../../products'; export declare class AGENT_TransformationEventCredentialSubjectDTO { eventType: TRANSFORMATION_EVENT_TYPE; place: PlaceDTO; @@ -9,7 +8,6 @@ export declare class AGENT_TransformationEventCredentialSubjectDTO { export declare class CORE_TransformationEventCredentialSubjectDTO extends AGENT_TransformationEventCredentialSubjectDTO { eventId: string; eventTime: string; - products: ProductDTO[]; + products: string[]; consumedProducts: string[]; - newProducts: string[]; } diff --git a/lib/events/dto/transform/event.credentialSubject.dto.js b/lib/events/dto/transform/event.credentialSubject.dto.js index fcfa3503..accc39df 100644 --- a/lib/events/dto/transform/event.credentialSubject.dto.js +++ b/lib/events/dto/transform/event.credentialSubject.dto.js @@ -15,7 +15,6 @@ const class_transformer_1 = require("class-transformer"); const general_1 = require("../../../general"); const transformationEventType_1 = require("../../constants/transformationEventType"); const swagger_1 = require("@nestjs/swagger"); -const products_1 = require("../../../products"); class AGENT_TransformationEventCredentialSubjectDTO { } __decorate([ @@ -57,8 +56,7 @@ __decorate([ (0, swagger_1.ApiProperty)(), (0, class_validator_1.IsArray)(), (0, class_validator_1.ArrayMinSize)(1), - (0, class_validator_1.ValidateNested)({ each: true }), - (0, class_transformer_1.Type)(() => products_1.ProductDTO), + (0, class_validator_1.IsUrl)({ each: true }), __metadata("design:type", Array) ], CORE_TransformationEventCredentialSubjectDTO.prototype, "products", void 0); __decorate([ @@ -66,9 +64,4 @@ __decorate([ (0, class_validator_1.ArrayMinSize)(1), __metadata("design:type", Array) ], CORE_TransformationEventCredentialSubjectDTO.prototype, "consumedProducts", void 0); -__decorate([ - (0, class_validator_1.IsArray)(), - (0, class_validator_1.ArrayMinSize)(1), - __metadata("design:type", Array) -], CORE_TransformationEventCredentialSubjectDTO.prototype, "newProducts", void 0); exports.CORE_TransformationEventCredentialSubjectDTO = CORE_TransformationEventCredentialSubjectDTO; diff --git a/lib/events/dto/transform/transform.dto.d.ts b/lib/events/dto/transform/transform.dto.d.ts index 69aa499b..ed319b68 100644 --- a/lib/events/dto/transform/transform.dto.d.ts +++ b/lib/events/dto/transform/transform.dto.d.ts @@ -2,7 +2,8 @@ import { TransformProductSuccessorDTO } from './transformProductSuccessor.dto'; import { AGENT_TransformationEventCredentialSubjectDTO } from './event.credentialSubject.dto'; import { AGENT_COMPACT_CreateProductDTO } from '../createProduct'; import { CORE_TransformationEventDetailsDTO } from './event.vc.dto'; -import { ProductCredentialSubjectDTO, ProductDTO } from '../../../products'; +import { ProductCredentialSubjectDTO } from '../../../products'; +import { ProductHashDTO } from '../../../general'; export declare class AGENT_COMPACT_TransformProductDTO { newProducts: AGENT_COMPACT_CreateProductDTO[]; sku?: string; @@ -13,7 +14,7 @@ export declare class CORE_TransformProductsDTO { successors: TransformProductSuccessorDTO[]; } export declare class AGENT_TransformProductsDTO { - consumedProducts: ProductDTO[]; + consumedProducts: ProductHashDTO[]; newProducts: ProductCredentialSubjectDTO[]; eventCredentialSubject: AGENT_TransformationEventCredentialSubjectDTO; } diff --git a/lib/events/dto/transform/transform.dto.js b/lib/events/dto/transform/transform.dto.js index a36af891..bab47058 100644 --- a/lib/events/dto/transform/transform.dto.js +++ b/lib/events/dto/transform/transform.dto.js @@ -18,6 +18,7 @@ const event_credentialSubject_dto_1 = require("./event.credentialSubject.dto"); const createProduct_1 = require("../createProduct"); const event_vc_dto_1 = require("./event.vc.dto"); const products_1 = require("../../../products"); +const general_1 = require("../../../general"); class AGENT_COMPACT_TransformProductDTO { } __decorate([ @@ -65,7 +66,7 @@ __decorate([ (0, class_validator_1.IsArray)(), (0, class_validator_1.ArrayMinSize)(1), (0, class_validator_1.ValidateNested)({ each: true }), - (0, class_transformer_1.Type)(() => products_1.ProductDTO), + (0, class_transformer_1.Type)(() => general_1.ProductHashDTO), __metadata("design:type", Array) ], AGENT_TransformProductsDTO.prototype, "consumedProducts", void 0); __decorate([ diff --git a/lib/events/dto/transform/transformProductSuccessor.dto.d.ts b/lib/events/dto/transform/transformProductSuccessor.dto.d.ts index 99afb488..2db2cd3b 100644 --- a/lib/events/dto/transform/transformProductSuccessor.dto.d.ts +++ b/lib/events/dto/transform/transformProductSuccessor.dto.d.ts @@ -2,4 +2,5 @@ import { ProductVCDTO } from '../../../products/dto/product.vc.dto'; export declare class TransformProductSuccessorDTO { productId: string; productVC: ProductVCDTO; + productVCHash: string; } diff --git a/lib/events/dto/transform/transformProductSuccessor.dto.js b/lib/events/dto/transform/transformProductSuccessor.dto.js index 41face77..19fc96c0 100644 --- a/lib/events/dto/transform/transformProductSuccessor.dto.js +++ b/lib/events/dto/transform/transformProductSuccessor.dto.js @@ -26,4 +26,9 @@ __decorate([ (0, class_transformer_1.Type)(() => product_vc_dto_1.ProductVCDTO), __metadata("design:type", product_vc_dto_1.ProductVCDTO) ], TransformProductSuccessorDTO.prototype, "productVC", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + (0, class_validator_1.IsString)(), + __metadata("design:type", String) +], TransformProductSuccessorDTO.prototype, "productVCHash", void 0); exports.TransformProductSuccessorDTO = TransformProductSuccessorDTO; diff --git a/lib/events/dto/transport/event.credentialSubject.dto.d.ts b/lib/events/dto/transport/event.credentialSubject.dto.d.ts index deff833b..68139f6c 100644 --- a/lib/events/dto/transport/event.credentialSubject.dto.d.ts +++ b/lib/events/dto/transport/event.credentialSubject.dto.d.ts @@ -1,6 +1,10 @@ -import { EventDTO } from '../../../general'; +import { EventDTO, ProductHashDTO, PlaceDTO, OrganizationDTO } from '../../../general'; import { TRANSPORTATION_TYPE, TRANSPORT_EVENT_TYPE } from '../../constants'; export declare class AGENT_TransportationEventCredentialSubjectDTO { + eventType: TRANSPORT_EVENT_TYPE; + place: PlaceDTO; + actor: OrganizationDTO[]; + products: ProductHashDTO[]; deliveryMethod: TRANSPORTATION_TYPE; trackingNumber: string; scn: string; diff --git a/lib/events/dto/transport/event.credentialSubject.dto.js b/lib/events/dto/transport/event.credentialSubject.dto.js index aa5c6305..8aa8a15c 100644 --- a/lib/events/dto/transport/event.credentialSubject.dto.js +++ b/lib/events/dto/transport/event.credentialSubject.dto.js @@ -11,11 +11,37 @@ var __metadata = (this && this.__metadata) || function (k, v) { Object.defineProperty(exports, "__esModule", { value: true }); exports.CORE_TransportationEventCredentialSubjectDTO = exports.AGENT_TransportationEventCredentialSubjectDTO = void 0; const class_validator_1 = require("class-validator"); +const class_transformer_1 = require("class-transformer"); const general_1 = require("../../../general"); const constants_1 = require("../../constants"); const constants_2 = require("../../../products/constants"); class AGENT_TransportationEventCredentialSubjectDTO { } +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + (0, class_validator_1.IsEnum)(constants_1.TRANSPORT_EVENT_TYPE), + __metadata("design:type", String) +], AGENT_TransportationEventCredentialSubjectDTO.prototype, "eventType", void 0); +__decorate([ + (0, class_validator_1.IsNotEmptyObject)(), + (0, class_validator_1.ValidateNested)(), + (0, class_transformer_1.Type)(() => general_1.PlaceDTO), + __metadata("design:type", general_1.PlaceDTO) +], AGENT_TransportationEventCredentialSubjectDTO.prototype, "place", void 0); +__decorate([ + (0, class_validator_1.IsArray)(), + (0, class_validator_1.ArrayMinSize)(1), + (0, class_validator_1.ValidateNested)({ each: true }), + (0, class_transformer_1.Type)(() => general_1.OrganizationDTO), + __metadata("design:type", Array) +], AGENT_TransportationEventCredentialSubjectDTO.prototype, "actor", void 0); +__decorate([ + (0, class_validator_1.IsArray)(), + (0, class_validator_1.ArrayMinSize)(1), + (0, class_validator_1.ValidateNested)({ each: true }), + (0, class_transformer_1.Type)(() => general_1.ProductHashDTO), + __metadata("design:type", Array) +], AGENT_TransportationEventCredentialSubjectDTO.prototype, "products", void 0); __decorate([ (0, class_validator_1.IsNotEmpty)(), (0, class_validator_1.IsEnum)(constants_1.TRANSPORTATION_TYPE), diff --git a/lib/general/dto/index.d.ts b/lib/general/dto/index.d.ts index 8e56f2bf..3aafd868 100644 --- a/lib/general/dto/index.d.ts +++ b/lib/general/dto/index.d.ts @@ -11,5 +11,6 @@ export * from './parcelDelivery.dto'; export * from './physicalSpecs.dto'; export * from './place.dto'; export * from './postalAddress.dto'; +export * from './productHash.dto'; export * from './property.dto'; export * from './proof.dto'; diff --git a/lib/general/dto/index.js b/lib/general/dto/index.js index cffffd03..f7aa8ace 100644 --- a/lib/general/dto/index.js +++ b/lib/general/dto/index.js @@ -27,5 +27,6 @@ __exportStar(require("./parcelDelivery.dto"), exports); __exportStar(require("./physicalSpecs.dto"), exports); __exportStar(require("./place.dto"), exports); __exportStar(require("./postalAddress.dto"), exports); +__exportStar(require("./productHash.dto"), exports); __exportStar(require("./property.dto"), exports); __exportStar(require("./proof.dto"), exports); diff --git a/lib/general/dto/productHash.dto.d.ts b/lib/general/dto/productHash.dto.d.ts new file mode 100644 index 00000000..60b07305 --- /dev/null +++ b/lib/general/dto/productHash.dto.d.ts @@ -0,0 +1,4 @@ +export declare class ProductHashDTO { + productId: string; + productVCHash: string; +} diff --git a/lib/general/dto/productHash.dto.js b/lib/general/dto/productHash.dto.js new file mode 100644 index 00000000..6f502605 --- /dev/null +++ b/lib/general/dto/productHash.dto.js @@ -0,0 +1,26 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ProductHashDTO = void 0; +const class_validator_1 = require("class-validator"); +class ProductHashDTO { +} +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + (0, class_validator_1.IsUUID)(), + __metadata("design:type", String) +], ProductHashDTO.prototype, "productId", void 0); +__decorate([ + (0, class_validator_1.IsNotEmpty)(), + (0, class_validator_1.IsString)(), + __metadata("design:type", String) +], ProductHashDTO.prototype, "productVCHash", void 0); +exports.ProductHashDTO = ProductHashDTO; diff --git a/src/events/dto/createProduct/create.dto.ts b/src/events/dto/createProduct/create.dto.ts index 2a1df90b..3185579d 100644 --- a/src/events/dto/createProduct/create.dto.ts +++ b/src/events/dto/createProduct/create.dto.ts @@ -111,6 +111,11 @@ export class CORE_CreateProductDTO extends CreateProductDTOBase { @Type(() => ProductVCDTO) productVC: ProductVCDTO + @IsNotEmpty() + @ApiProperty() + @IsString() + productVCHash: string + @IsNotEmpty() @ApiProperty() @IsUUID() diff --git a/src/events/dto/createProduct/event.credentialSubject.ts b/src/events/dto/createProduct/event.credentialSubject.ts index 39792f5c..8d6cbf31 100644 --- a/src/events/dto/createProduct/event.credentialSubject.ts +++ b/src/events/dto/createProduct/event.credentialSubject.ts @@ -1,7 +1,6 @@ -import { IsNotEmpty, IsNotEmptyObject, IsEnum, IsUUID, IsArray, ValidateNested, ArrayMinSize, IsDateString } from 'class-validator' +import { IsNotEmpty, IsNotEmptyObject, IsEnum, IsUUID, IsArray, ValidateNested, ArrayMinSize, IsDateString, IsUrl } from 'class-validator' import { Type } from 'class-transformer' import { PlaceDTO, OrganizationDTO } from '../../../general' -import { ProductDTO } from '../../../products' import { ApiProperty } from '@nestjs/swagger' import { EVENT_TYPE } from '../../../events' @@ -27,9 +26,8 @@ export class AGENT_CreationEventCredentialSubjectDTO { @ApiProperty() @IsArray() @ArrayMinSize(1) - @ValidateNested({ each: true }) - @Type(() => ProductDTO) - products: ProductDTO[] + @IsUrl({ each: true }) + products: string[] } export class CORE_CreationEventCredentialSubjectDTO extends AGENT_CreationEventCredentialSubjectDTO { diff --git a/src/events/dto/transfer/event.credentialSubject.dto.ts b/src/events/dto/transfer/event.credentialSubject.dto.ts index 30fe0c01..2549f353 100644 --- a/src/events/dto/transfer/event.credentialSubject.dto.ts +++ b/src/events/dto/transfer/event.credentialSubject.dto.ts @@ -9,12 +9,12 @@ import { Matches, IsArray, ArrayMinSize, - IsDateString + IsDateString, + IsUrl } from 'class-validator' import { Type } from 'class-transformer' import { TRANSFER_EVENT_TYPE } from '../../constants' import { PlaceDTO, OrganizationDTO } from '../../../general' -import { ProductDTO } from '../../../products' export class AGENT_TransferEventCredentialSubjectDTO { @IsNotEmptyObject() @@ -24,9 +24,8 @@ export class AGENT_TransferEventCredentialSubjectDTO { @IsArray() @ArrayMinSize(1) - @ValidateNested({ each: true }) - @Type(() => ProductDTO) - products: ProductDTO[] + @IsUrl({ each: true }) + products: string[] @IsArray() @ArrayMinSize(1) diff --git a/src/events/dto/transfer/transfer.dto.ts b/src/events/dto/transfer/transfer.dto.ts index 51c4a8fa..42f51a4f 100644 --- a/src/events/dto/transfer/transfer.dto.ts +++ b/src/events/dto/transfer/transfer.dto.ts @@ -14,7 +14,6 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger' import { PlaceDTO, OrganizationDTO } from '../../../general' import { Type } from 'class-transformer' import { CORE_TransferEventDetailsDTO } from './event.vc.dto' -import { ProductDTO } from '../../../products' export class CORE_TransferProductDTO { @IsNotEmpty() @@ -50,6 +49,11 @@ export class AGENT_TransferProductDTO { @IsUUID() productId: string + @ApiProperty() + @IsNotEmpty() + @IsString() + productVCHash: string + @ApiProperty() @IsNotEmptyObject() @ValidateNested() @@ -95,12 +99,6 @@ export class AGENT_TransferProductDTO { @IsString() price: string - @IsArray() - @ArrayMinSize(1) - @ValidateNested({ each: true }) - @Type(() => ProductDTO) - products: ProductDTO[] - @IsArray() @ArrayMinSize(1) @ValidateNested({ each: true }) diff --git a/src/events/dto/transform/event.credentialSubject.dto.ts b/src/events/dto/transform/event.credentialSubject.dto.ts index 9ffeef49..c4b822c2 100644 --- a/src/events/dto/transform/event.credentialSubject.dto.ts +++ b/src/events/dto/transform/event.credentialSubject.dto.ts @@ -6,13 +6,13 @@ import { IsArray, ArrayMinSize, ValidateNested, - IsDateString + IsDateString, + IsUrl } from 'class-validator' import { Type } from 'class-transformer' import { PlaceDTO, OrganizationDTO } from '../../../general' import { TRANSFORMATION_EVENT_TYPE } from '../../constants/transformationEventType' import { ApiProperty } from '@nestjs/swagger' -import { ProductDTO } from '../../../products' export class AGENT_TransformationEventCredentialSubjectDTO { @ApiProperty() @@ -47,15 +47,10 @@ export class CORE_TransformationEventCredentialSubjectDTO extends AGENT_Transfor @ApiProperty() @IsArray() @ArrayMinSize(1) - @ValidateNested({ each: true }) - @Type(() => ProductDTO) - products: ProductDTO[] + @IsUrl({ each: true }) + products: string[] @IsArray() @ArrayMinSize(1) consumedProducts: string[] - - @IsArray() - @ArrayMinSize(1) - newProducts: string[] } diff --git a/src/events/dto/transform/transform.dto.ts b/src/events/dto/transform/transform.dto.ts index c4113fd1..fc00524b 100644 --- a/src/events/dto/transform/transform.dto.ts +++ b/src/events/dto/transform/transform.dto.ts @@ -5,7 +5,8 @@ import { TransformProductSuccessorDTO } from './transformProductSuccessor.dto' import { AGENT_TransformationEventCredentialSubjectDTO } from './event.credentialSubject.dto' import { AGENT_COMPACT_CreateProductDTO } from '../createProduct' import { CORE_TransformationEventDetailsDTO } from './event.vc.dto' -import { ProductCredentialSubjectDTO, ProductDTO } from '../../../products' +import { ProductCredentialSubjectDTO } from '../../../products' +import { ProductHashDTO } from '../../../general' export class AGENT_COMPACT_TransformProductDTO { @ApiProperty() @@ -45,8 +46,8 @@ export class AGENT_TransformProductsDTO { @IsArray() @ArrayMinSize(1) @ValidateNested({ each: true }) - @Type(() => ProductDTO) - consumedProducts: ProductDTO[] + @Type(() => ProductHashDTO) + consumedProducts: ProductHashDTO[] @ApiProperty() @IsArray() diff --git a/src/events/dto/transform/transformProductSuccessor.dto.ts b/src/events/dto/transform/transformProductSuccessor.dto.ts index 750769d0..b41f0d90 100644 --- a/src/events/dto/transform/transformProductSuccessor.dto.ts +++ b/src/events/dto/transform/transformProductSuccessor.dto.ts @@ -1,4 +1,4 @@ -import { IsNotEmpty, IsUUID, ValidateNested } from 'class-validator' +import { IsNotEmpty, IsUUID, IsString, ValidateNested } from 'class-validator' import { Type } from 'class-transformer' import { ProductVCDTO } from '../../../products/dto/product.vc.dto' @@ -11,4 +11,8 @@ export class TransformProductSuccessorDTO { @ValidateNested() @Type(() => ProductVCDTO) productVC: ProductVCDTO + + @IsNotEmpty() + @IsString() + productVCHash: string } diff --git a/src/events/dto/transport/event.credentialSubject.dto.ts b/src/events/dto/transport/event.credentialSubject.dto.ts index 6cf44849..abdd8692 100644 --- a/src/events/dto/transport/event.credentialSubject.dto.ts +++ b/src/events/dto/transport/event.credentialSubject.dto.ts @@ -2,13 +2,39 @@ import { IsNotEmpty, IsEnum, IsString, - ValidateIf + ValidateIf, + IsArray, + ArrayMinSize, + ValidateNested, + IsNotEmptyObject } from 'class-validator' -import { EventDTO } from '../../../general' +import { Type } from 'class-transformer' +import { EventDTO, ProductHashDTO, PlaceDTO, OrganizationDTO } from '../../../general' import { TRANSPORTATION_TYPE, TRANSPORT_EVENT_TYPE } from '../../constants' import { PRODUCT_CATEGORY_TYPE } from '../../../products/constants' export class AGENT_TransportationEventCredentialSubjectDTO { + @IsNotEmpty() + @IsEnum(TRANSPORT_EVENT_TYPE) + eventType: TRANSPORT_EVENT_TYPE + + @IsNotEmptyObject() + @ValidateNested() + @Type(() => PlaceDTO) + place: PlaceDTO + + @IsArray() + @ArrayMinSize(1) + @ValidateNested({ each: true }) + @Type(() => OrganizationDTO) + actor: OrganizationDTO[] + + @IsArray() + @ArrayMinSize(1) + @ValidateNested({ each: true }) + @Type(() => ProductHashDTO) + products: ProductHashDTO[] + @IsNotEmpty() @IsEnum(TRANSPORTATION_TYPE) @ValidateIf((o) => o.eventType === TRANSPORT_EVENT_TYPE.START && o.category !== PRODUCT_CATEGORY_TYPE.GAS) @@ -45,38 +71,3 @@ export class CORE_TransportationEventCredentialSubjectDTO extends EventDTO { @ValidateIf((o) => o.eventType === TRANSPORT_EVENT_TYPE.START && o.category !== PRODUCT_CATEGORY_TYPE.GAS) deliveryMethod: TRANSPORTATION_TYPE } - -// @IsNotEmpty() -// productId: string - -// @IsNotEmpty() -// @IsEnum(TRANSPORT_EVENT_TYPE) -// eventType: TRANSPORT_EVENT_TYPE - -// @IsOptional() -// @IsString() -// description: string - -// @IsNotEmpty() -// @IsString() -// @Matches(/^did:/) -// eventCreator: string - -// @IsNotEmpty() -// @IsString() -// @ValidateIf( -// (o) => -// o.eventType === TRANSPORT_EVENT_TYPE.START && -// o.deliveryMethod === TRANSPORTATION_TYPE.RAIL && -// o.category !== PRODUCT_CATEGORY_TYPE.GAS -// ) -// bol: string - -// @IsNotEmpty() -// @IsEnum(PRODUCT_CATEGORY_TYPE) -// category: PRODUCT_CATEGORY_TYPE - -// @IsNotEmpty() -// @IsString() -// @ValidateIf((o) => o.eventType === TRANSPORT_EVENT_TYPE.START && o.category === PRODUCT_CATEGORY_TYPE.GAS) -// displacementId: string diff --git a/src/general/dto/index.ts b/src/general/dto/index.ts index 0af83a94..19d6d383 100644 --- a/src/general/dto/index.ts +++ b/src/general/dto/index.ts @@ -11,5 +11,6 @@ export * from './parcelDelivery.dto' export * from './physicalSpecs.dto' // to remove export * from './place.dto' export * from './postalAddress.dto' +export * from './productHash.dto' export * from './property.dto' export * from './proof.dto' diff --git a/src/general/dto/productHash.dto.ts b/src/general/dto/productHash.dto.ts new file mode 100644 index 00000000..c31bf878 --- /dev/null +++ b/src/general/dto/productHash.dto.ts @@ -0,0 +1,11 @@ +import { IsNotEmpty, IsString, IsUUID } from 'class-validator' + +export class ProductHashDTO { + @IsNotEmpty() + @IsUUID() + productId: string + + @IsNotEmpty() + @IsString() + productVCHash: string +} From e432d1526c4e2106a0851b87ead394c8cdf03915 Mon Sep 17 00:00:00 2001 From: vivienfan Date: Mon, 8 Aug 2022 12:27:20 -0400 Subject: [PATCH 2/2] upgrade --- package-lock.json | 657 ++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 311 insertions(+), 348 deletions(-) diff --git a/package-lock.json b/package-lock.json index edcf7992..9b9447f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.54", "license": "ISC", "dependencies": { - "@mavennet/traceability-dto": "^1.0.69", + "@mavennet/traceability-dto": "^1.0.71", "@nestjs/cli": "^8.2.5", "@nestjs/common": "^8.4.4", "@nestjs/core": "^8.4.4", @@ -36,13 +36,12 @@ }, "../mavennet-dto": { "name": "@mavennet/traceability-dto", - "version": "1.0.68", - "extraneous": true, + "version": "1.0.71", "license": "ISC", "dependencies": { "@nestjs/common": "^8.4.4", "@nestjs/swagger": "^5.2.1", - "rxjs": "^7.2.0", + "rxjs": "^7.5.5", "stream": "0.0.2" }, "devDependencies": { @@ -60,7 +59,7 @@ "typescript": "^4.3.3" }, "peerDependencies": { - "class-transformer": ">=0.3.1", + "class-transformer": ">=0.4.0", "class-validator": "^0.13.1" } }, @@ -90,26 +89,6 @@ } } }, - "node_modules/@angular-devkit/core/node_modules/ajv": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", - "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@angular-devkit/core/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/@angular-devkit/core/node_modules/rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -341,6 +320,22 @@ "node": "^10.12.0 || >=12.0.0" } }, + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@eslint/eslintrc/node_modules/ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", @@ -350,6 +345,12 @@ "node": ">= 4" } }, + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, "node_modules/@humanwhocodes/config-array": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz", @@ -423,20 +424,8 @@ } }, "node_modules/@mavennet/traceability-dto": { - "version": "1.0.69", - "resolved": "https://npm.pkg.github.com/download/@mavennet/traceability-dto/1.0.69/1dd4077fe12ad245c9585f8d2a9fd8355caeab3686377878361d6e02528b4f40", - "integrity": "sha512-w3FuM8Qb7dK7KoC5B5M/nm/eP47XD4mylwm1GkR7nKhFzAHFeoEvxSpP6G0AwXFweqo5YlwXk2lPNGmOt9MtkQ==", - "license": "ISC", - "dependencies": { - "@nestjs/common": "^8.4.4", - "@nestjs/swagger": "^5.2.1", - "rxjs": "^7.2.0", - "stream": "0.0.2" - }, - "peerDependencies": { - "class-transformer": ">=0.3.1", - "class-validator": "^0.13.1" - } + "resolved": "../mavennet-dto", + "link": true }, "node_modules/@nestjs/cli": { "version": "8.2.8", @@ -622,26 +611,6 @@ "yarn": ">= 1.13.0" } }, - "node_modules/@nestjs/schematics/node_modules/ajv": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", - "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@nestjs/schematics/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "node_modules/@nestjs/schematics/node_modules/rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -784,9 +753,9 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" }, "node_modules/@types/node": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", - "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==" + "version": "18.6.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.3.tgz", + "integrity": "sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg==" }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -1092,9 +1061,10 @@ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" }, "node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true, "bin": { "acorn": "bin/acorn" }, @@ -1102,14 +1072,6 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "peerDependencies": { - "acorn": "^8" - } - }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -1120,13 +1082,13 @@ } }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", + "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", "dependencies": { "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", "uri-js": "^4.2.2" }, "funding": { @@ -1150,34 +1112,6 @@ } } }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, "node_modules/ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", @@ -1386,9 +1320,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz", + "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==", "funding": [ { "type": "opencollective", @@ -1400,10 +1334,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", - "update-browserslist-db": "^1.0.4" + "caniuse-lite": "^1.0.30001370", + "electron-to-chromium": "^1.4.202", + "node-releases": "^2.0.6", + "update-browserslist-db": "^1.0.5" }, "bin": { "browserslist": "cli.js" @@ -1462,9 +1396,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001363", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001363.tgz", - "integrity": "sha512-HpQhpzTGGPVMnCjIomjt+jvyUu8vNFo3TaDiZ/RcoTrlOq/5+tC8zHdsbgFB6MxmaY+jCpsH09aD80Bb4Ow3Sg==", + "version": "1.0.30001373", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz", + "integrity": "sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==", "funding": [ { "type": "opencollective", @@ -1530,12 +1464,14 @@ "node_modules/class-transformer": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz", - "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==" + "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==", + "devOptional": true }, "node_modules/class-validator": { "version": "0.13.2", "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.13.2.tgz", "integrity": "sha512-yBUcQy07FPlGzUjoLuUfIOXzgynnQPPruyK1Ge2B74k9ROwnle1E+NxLWnUv5OLU8hA/qL5leAE9XnXq3byaBw==", + "devOptional": true, "dependencies": { "libphonenumber-js": "^1.9.43", "validator": "^13.7.0" @@ -1553,9 +1489,9 @@ } }, "node_modules/cli-spinners": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", + "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", "engines": { "node": ">=6" }, @@ -1754,14 +1690,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.182", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.182.tgz", - "integrity": "sha512-OpEjTADzGoXABjqobGhpy0D2YsTncAax7IkER68ycc4adaq0dqEG9//9aenKPy7BGA90bqQdLac0dPp6uMkcSg==" - }, - "node_modules/emitter-component": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/emitter-component/-/emitter-component-1.1.1.tgz", - "integrity": "sha512-G+mpdiAySMuB7kesVRLuyvYRqDmshB7ReKEVuyBPkzQlmiDiLrt7hHHIy4Aff552bgknVN7B2/d3lzhGO5dvpQ==" + "version": "1.4.210", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.210.tgz", + "integrity": "sha512-kSiX4tuyZijV7Cz0MWVmGT8K2siqaOA4Z66K5dCttPPRh0HicOcOAEj1KlC8O8J1aOS/1M8rGofOzksLKaHWcQ==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2239,6 +2170,22 @@ "node": ">=10" } }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/eslint/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -2288,6 +2235,12 @@ "node": ">= 4" } }, + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, "node_modules/espree": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", @@ -2302,18 +2255,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/espree/node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/espree/node_modules/eslint-visitor-keys": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", @@ -2802,9 +2743,9 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, "node_modules/globals": { - "version": "13.16.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.16.0.tgz", - "integrity": "sha512-A1lrQfpNF+McdPOnnFqY3kSN0AFTy485bTi1bkLk4mVPODIUEcSfhHgRqA+QdXPksrSTTztYXx37NFV+GpGk3Q==", + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -3377,9 +3318,9 @@ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -3428,9 +3369,10 @@ } }, "node_modules/libphonenumber-js": { - "version": "1.10.7", - "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.7.tgz", - "integrity": "sha512-jZXLCCWMe1b/HXkjiLeYt2JsytZMcqH26jLFIdzFDFF0xvSUWrYKyvPlyPG+XJzEyKUFbcZxLdWGMwQsWaHDxQ==" + "version": "1.10.11", + "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.11.tgz", + "integrity": "sha512-ehoihx4HpRXO6FH/uJ0EnaEV4dVU+FDny+jv0S6k9JPyPsAIr0eXDAFvGRMBKE1daCtyHAaFSKCiuCxrOjVAzQ==", + "devOptional": true }, "node_modules/lines-and-columns": { "version": "1.2.4", @@ -3666,9 +3608,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" }, "node_modules/normalize-path": { "version": "3.0.0", @@ -4209,9 +4151,9 @@ } }, "node_modules/rxjs": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", - "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz", + "integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==", "dependencies": { "tslib": "^2.1.0" } @@ -4257,6 +4199,34 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/schema-utils/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/schema-utils/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, "node_modules/semver": { "version": "7.3.7", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", @@ -4395,14 +4365,6 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, - "node_modules/stream": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/stream/-/stream-0.0.2.tgz", - "integrity": "sha512-gCq3NDI2P35B2n6t76YJuOp7d6cN/C7Rt0577l91wllh0sY9ZBuw9KaSGqH/b0hzn3CWWJbpbW0W0WvQ1H/Q7g==", - "dependencies": { - "emitter-component": "^1.1.1" - } - }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -4537,28 +4499,6 @@ "node": ">=10.0.0" } }, - "node_modules/table/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/table/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, "node_modules/tapable": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", @@ -4568,9 +4508,9 @@ } }, "node_modules/terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "dependencies": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", @@ -4617,6 +4557,17 @@ } } }, + "node_modules/terser/node_modules/acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/terser/node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -4790,9 +4741,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", - "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", + "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", "funding": [ { "type": "opencollective", @@ -4845,6 +4796,7 @@ "version": "13.7.0", "resolved": "https://registry.npmjs.org/validator/-/validator-13.7.0.tgz", "integrity": "sha512-nYXQLCBkpJ8X6ltALua9dRrZDHVYxjJ1wgskNt1lH9fzGjs3tgojGSCBjmEPwkWS1y29+DrizMTW19Pr9uB2nw==", + "devOptional": true, "engines": { "node": ">= 0.10" } @@ -4936,6 +4888,25 @@ "node": ">=10.13.0" } }, + "node_modules/webpack/node_modules/acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/webpack/node_modules/acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "peerDependencies": { + "acorn": "^8" + } + }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", @@ -5031,22 +5002,6 @@ "source-map": "0.7.3" }, "dependencies": { - "ajv": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", - "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -5231,11 +5186,29 @@ "strip-json-comments": "^3.1.1" }, "dependencies": { + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, "ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true } } }, @@ -5300,14 +5273,24 @@ } }, "@mavennet/traceability-dto": { - "version": "1.0.69", - "resolved": "https://npm.pkg.github.com/download/@mavennet/traceability-dto/1.0.69/1dd4077fe12ad245c9585f8d2a9fd8355caeab3686377878361d6e02528b4f40", - "integrity": "sha512-w3FuM8Qb7dK7KoC5B5M/nm/eP47XD4mylwm1GkR7nKhFzAHFeoEvxSpP6G0AwXFweqo5YlwXk2lPNGmOt9MtkQ==", + "version": "file:../mavennet-dto", "requires": { "@nestjs/common": "^8.4.4", "@nestjs/swagger": "^5.2.1", - "rxjs": "^7.2.0", - "stream": "0.0.2" + "@types/node": "^16.4.5", + "@typescript-eslint/eslint-plugin": "^4.27.0", + "@typescript-eslint/parser": "^4.27.0", + "class-transformer": ">=0.3.1", + "class-validator": "^0.13.1", + "eslint": "^7.28.0", + "eslint-config-standard-with-typescript": "^20.0.0", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^5.1.0", + "rimraf": "^3.0.2", + "rxjs": "^7.5.5", + "stream": "0.0.2", + "typescript": "^4.3.3" } }, "@nestjs/cli": { @@ -5407,22 +5390,6 @@ "rxjs": "6.6.7" } }, - "ajv": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", - "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - }, "rxjs": { "version": "6.6.7", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", @@ -5529,9 +5496,9 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" }, "@types/node": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", - "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==" + "version": "18.6.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.3.tgz", + "integrity": "sha512-6qKpDtoaYLM+5+AFChLhHermMQxc3TOEFIDzrZLPRGHPrLEwqFkkT5Kx3ju05g6X7uDPazz3jHbKPX0KzCjntg==" }, "@types/parse-json": { "version": "4.0.0", @@ -5763,15 +5730,10 @@ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" }, "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==" - }, - "acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", - "requires": {} + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "dev": true }, "acorn-jsx": { "version": "5.3.2", @@ -5781,13 +5743,13 @@ "requires": {} }, "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.9.0.tgz", + "integrity": "sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==", "requires": { "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", "uri-js": "^4.2.2" } }, @@ -5797,32 +5759,8 @@ "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", "requires": { "ajv": "^8.0.0" - }, - "dependencies": { - "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" - } } }, - "ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "requires": {} - }, "ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", @@ -5968,14 +5906,14 @@ } }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz", + "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", - "update-browserslist-db": "^1.0.4" + "caniuse-lite": "^1.0.30001370", + "electron-to-chromium": "^1.4.202", + "node-releases": "^2.0.6", + "update-browserslist-db": "^1.0.5" } }, "buffer": { @@ -6008,9 +5946,9 @@ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "caniuse-lite": { - "version": "1.0.30001363", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001363.tgz", - "integrity": "sha512-HpQhpzTGGPVMnCjIomjt+jvyUu8vNFo3TaDiZ/RcoTrlOq/5+tC8zHdsbgFB6MxmaY+jCpsH09aD80Bb4Ow3Sg==" + "version": "1.0.30001373", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz", + "integrity": "sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==" }, "chalk": { "version": "3.0.0", @@ -6049,12 +5987,14 @@ "class-transformer": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz", - "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==" + "integrity": "sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw==", + "devOptional": true }, "class-validator": { "version": "0.13.2", "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.13.2.tgz", "integrity": "sha512-yBUcQy07FPlGzUjoLuUfIOXzgynnQPPruyK1Ge2B74k9ROwnle1E+NxLWnUv5OLU8hA/qL5leAE9XnXq3byaBw==", + "devOptional": true, "requires": { "libphonenumber-js": "^1.9.43", "validator": "^13.7.0" @@ -6069,9 +6009,9 @@ } }, "cli-spinners": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", + "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==" }, "cli-table3": { "version": "0.6.2", @@ -6212,14 +6152,9 @@ } }, "electron-to-chromium": { - "version": "1.4.182", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.182.tgz", - "integrity": "sha512-OpEjTADzGoXABjqobGhpy0D2YsTncAax7IkER68ycc4adaq0dqEG9//9aenKPy7BGA90bqQdLac0dPp6uMkcSg==" - }, - "emitter-component": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/emitter-component/-/emitter-component-1.1.1.tgz", - "integrity": "sha512-G+mpdiAySMuB7kesVRLuyvYRqDmshB7ReKEVuyBPkzQlmiDiLrt7hHHIy4Aff552bgknVN7B2/d3lzhGO5dvpQ==" + "version": "1.4.210", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.210.tgz", + "integrity": "sha512-kSiX4tuyZijV7Cz0MWVmGT8K2siqaOA4Z66K5dCttPPRh0HicOcOAEj1KlC8O8J1aOS/1M8rGofOzksLKaHWcQ==" }, "emoji-regex": { "version": "8.0.0", @@ -6375,6 +6310,18 @@ "v8-compile-cache": "^2.0.3" }, "dependencies": { + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -6407,6 +6354,12 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true } } }, @@ -6622,12 +6575,6 @@ "eslint-visitor-keys": "^1.3.0" }, "dependencies": { - "acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true - }, "eslint-visitor-keys": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", @@ -6979,9 +6926,9 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" }, "globals": { - "version": "13.16.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.16.0.tgz", - "integrity": "sha512-A1lrQfpNF+McdPOnnFqY3kSN0AFTy485bTi1bkLk4mVPODIUEcSfhHgRqA+QdXPksrSTTztYXx37NFV+GpGk3Q==", + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", "dev": true, "requires": { "type-fest": "^0.20.2" @@ -7367,9 +7314,9 @@ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, "json-stable-stringify-without-jsonify": { "version": "1.0.1", @@ -7410,9 +7357,10 @@ } }, "libphonenumber-js": { - "version": "1.10.7", - "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.7.tgz", - "integrity": "sha512-jZXLCCWMe1b/HXkjiLeYt2JsytZMcqH26jLFIdzFDFF0xvSUWrYKyvPlyPG+XJzEyKUFbcZxLdWGMwQsWaHDxQ==" + "version": "1.10.11", + "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.11.tgz", + "integrity": "sha512-ehoihx4HpRXO6FH/uJ0EnaEV4dVU+FDny+jv0S6k9JPyPsAIr0eXDAFvGRMBKE1daCtyHAaFSKCiuCxrOjVAzQ==", + "devOptional": true }, "lines-and-columns": { "version": "1.2.4", @@ -7591,9 +7539,9 @@ } }, "node-releases": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", + "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==" }, "normalize-path": { "version": "3.0.0", @@ -7954,9 +7902,9 @@ } }, "rxjs": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", - "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz", + "integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==", "requires": { "tslib": "^2.1.0" } @@ -7979,6 +7927,30 @@ "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" + }, + "dependencies": { + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "requires": {} + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + } } }, "semver": { @@ -8085,14 +8057,6 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, - "stream": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/stream/-/stream-0.0.2.tgz", - "integrity": "sha512-gCq3NDI2P35B2n6t76YJuOp7d6cN/C7Rt0577l91wllh0sY9ZBuw9KaSGqH/b0hzn3CWWJbpbW0W0WvQ1H/Q7g==", - "requires": { - "emitter-component": "^1.1.1" - } - }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -8186,26 +8150,6 @@ "slice-ansi": "^4.0.0", "string-width": "^4.2.3", "strip-ansi": "^6.0.1" - }, - "dependencies": { - "ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - } } }, "tapable": { @@ -8214,9 +8158,9 @@ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", @@ -8224,6 +8168,11 @@ "source-map-support": "~0.5.20" }, "dependencies": { + "acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==" + }, "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -8372,9 +8321,9 @@ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" }, "update-browserslist-db": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", - "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", + "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" @@ -8407,7 +8356,8 @@ "validator": { "version": "13.7.0", "resolved": "https://registry.npmjs.org/validator/-/validator-13.7.0.tgz", - "integrity": "sha512-nYXQLCBkpJ8X6ltALua9dRrZDHVYxjJ1wgskNt1lH9fzGjs3tgojGSCBjmEPwkWS1y29+DrizMTW19Pr9uB2nw==" + "integrity": "sha512-nYXQLCBkpJ8X6ltALua9dRrZDHVYxjJ1wgskNt1lH9fzGjs3tgojGSCBjmEPwkWS1y29+DrizMTW19Pr9uB2nw==", + "devOptional": true }, "watchpack": { "version": "2.4.0", @@ -8460,6 +8410,19 @@ "terser-webpack-plugin": "^5.1.3", "watchpack": "^2.3.1", "webpack-sources": "^3.2.3" + }, + "dependencies": { + "acorn": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==" + }, + "acorn-import-assertions": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", + "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "requires": {} + } } }, "webpack-node-externals": { diff --git a/package.json b/package.json index 27a43c03..d37add9f 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "typescript": "^4.4.3" }, "dependencies": { - "@mavennet/traceability-dto": "^1.0.69", + "@mavennet/traceability-dto": "^1.0.71", "@nestjs/cli": "^8.2.5", "@nestjs/common": "^8.4.4", "@nestjs/core": "^8.4.4",