From df4a28972217240145bba0ac862ed6693aef1b2a Mon Sep 17 00:00:00 2001 From: simvalery Date: Tue, 2 Apr 2024 16:32:12 +0400 Subject: [PATCH] Feature/test fix mime definitions and doc correction (#3422) * fix Signed-off-by: simvalery * fix Signed-off-by: simvalery * fix serialize schema Signed-off-by: Stepan Kiryakov * GITBOOK-115: Updated Frameworks * GITBOOK-116: Added Auto Suggestion images * GITBOOK-117: Example data screens updated * Update readme.md of AMS-III.AV * Add files via upload * GITBOOK-118: policy diff screens corrected * fix destroy worker client Signed-off-by: artembuslaev * tests fixes and enchancement * fixes for tests and reporters * test check fix * small fixes for tokens tests * GITBOOK-119: Added AMS-I.D guide * Create readme.md of AMS-I.D * add expected tokens count Signed-off-by: simvalery * api tests scheduler Signed-off-by: simvalery * fix pipeline and generation test data Signed-off-by: simvalery * bump version Signed-off-by: simvalery * [skip ci] Add swagger.yaml * GITBOOK-120: AMS-III.F Guide added * GITBOOK-121: Updated demo link * fix verification schema Signed-off-by: Stepan Kiryakov * GITBOOK-122: Added AMS-III.H Demo guide * Update readme.md of AMS-III.H * Update readme.md of AMS-III.F * GITBOOK-123: Added note for calculateMathAddonblock * GITBOOK-124: Added table for CalculateMathAddoonblock * Add files via upload * GITBOOK-125: ACM0002 Demo guide added * Update readme.md of ACM0002 * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update readme.md * GITBOOK-126: Added descriptions * GITBOOK-127: added pre build containers * Update readme.md of ACM0006 * upload i.d policy [skip ci] Signed-off-by: Artem Buslaev * Update readme.md of ACM0007 * Update readme.md of AMS-I.D * Update readMe.md of AMS-II.G * Update readme.md of CDM-III.AR * Update readme.md of AMS III.BB * Update readme.md of AMS-III.D * Update readme.md of AMS-III.D * Update readme.md of AMS-III.F * Update readme.md of AMS-III.H * Create readme.md of Tools * Update readme.md of AMS-II.J * Update readme.md of ACM0002 * Update readme.md of ACM0001 * Update readme.md of Tools * Create readme.md of Tool 7 * Update readme.md of AMS-II.J * Create readme.md of Tool 1 * Create readme.md of Tool 2 * Create readme.md of Tool 3 * Create readme.md of Tool 4 * Create readme.md of Tool 5 * Create readme.md of Tool 6 * Create readme.md of Tool 8 * Create readme.md of Tool 9 * Create readme.md of Tool 10 * Create readme.md of tool 12 * Create readme.md of Tool 32 * Update readme.md of ACM0001 * Updated worker-service to use replicas; updated external dependencies; Signed-off-by: Giuseppe Bertone * Create readme.md of Tool 13 * Create readme.md of Tool 14 * Create readme.md of Tool 16 * Create readme.md of Tool 19 * Create readme.md of Tool 21 * Create readme.md of Tool 22 * Create readme.md of Tool 30 * Create readme.md of Tool 33 * Update readme.md of Tool 13 * Update readme.md of Tool 14 * Update readme.md of Tool 16 * Update readme.md of Tool 19 * Update readme.md of Tool 21 * Update readme.md of Tool 22 * Update readme.md of Tool 30 * Update readme.md of Tool 32 * Update readme.md of Tool 33 * Update readme.md of ACM0002 * Update readme.md of ACM0006 * Update readme.md of ACM0007 * Update readme.md of ACM0018 * Update readme.md of AMS-I.A * Update readme.md of AMS-I.C * Update readme.md of AMS-I.D * Update readme.md of AMS-I.F * Update readMe.md of AMS-II.G * Update readme.md of AMS-III.AR * Update readme.md of AMS-III.AV * Update readme.md of AMS-III.BB * Update readme.md of AMS-III.D * Update readme.md of AMS-III.F * Update readme.md of AMS-III.H * GITBOOK-128: updated screens of BYOD * Create readme.md of Tool 11 * Update readme.md of ACM0018 * Update readme.md of Tools with Timestamps * Add files via upload * Add files via upload * fix tools naming Signed-off-by: simvalery * Update readme.md of ACM0001 * Update readme.md of ACM0002 * Update readme.md of ACM0006 * Update readme.md of ACM0007 * Update readme.md of ACM0018 * Update readme.md of AMS-I.A * Update readme.md of AMS-I.C * Update readme.md of AMS-I.D * Update readme.md of AMS-I.F * Update readme.md of AMS-II.J * Update readme.md of III.AR * Update readme.md of AMS-III.AV * Update readme.md of AMS-III.BB * Update readme.md of III.D * Update readme.md of III.F * Update readme.md of III.H * GITBOOK-129: Added AMS-III.D Guide * GITBOOK-130: Added demo link for AMS-III.D * Update readme.md of AMS-III.D * Create readme.md of Verra Tools * Update readme.md of Verra Tools * GITBOOK-131: Added Demo link for BYOD * GITBOOK-132: Added flow to BYOD * fix schema form view Signed-off-by: artembuslaev * renaming, refactoring and accounts api test updating * GITBOOK-133: Updated Topics mapping architecture * added tests for analytics * provide CI creds to API tests * provide CI creds to API tests * added tests for analytics * Update README.md This commit introduces a minor but important adjustment in the README documentation to enhance clarity regarding service updates. Specifically, we have moved the note about the web3.storage upload API sunsetting to a new, separate line below the list of account setup links. This change ensures there is no confusion that the sunsetting of the upload API is related specifically to Filebase. The intention is to clearly differentiate between the services listed and the general update about web3.storage's API transition. * update tests and add new workflow * Update api-manual.yml * Update api-manual.yml * fixed tests and updating cypress version * update CI pipeline for manual run * upd vm0044 [skip ci] Signed-off-by: artembuslaev * fix import schemas Signed-off-by: Stepan Kiryakov * fix import schemas Signed-off-by: Stepan Kiryakov * upload pwrm0002 [skip ci] Signed-off-by: artembuslaev * fix 3237 Signed-off-by: simvalery * fix 3202 Signed-off-by: simvalery * fix OPENAI_API_KEY validation Signed-off-by: simvalery * remove ai-service deps Signed-off-by: simvalery * disable creation of tool schema without tool selected Signed-off-by: simvalery * rename ai-service config files Signed-off-by: simvalery * fix service error while scaling Signed-off-by: simvalery * update pwrm0002 [skip ci] Signed-off-by: artembuslaev * update mint Signed-off-by: artembuslaev * added multiple property to compare Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * fix lint Signed-off-by: artembuslaev * changed name for exporting policy, tools, modules Signed-off-by: artembuslaev * dynamic token dialog Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * fix env setting validation Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * update token dialog Signed-off-by: artembuslaev * change export schema name Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * remove console log Signed-off-by: artembuslaev * added displaying transfer token Signed-off-by: artembuslaev * fix error handling in mint block Signed-off-by: artembuslaev * fix notification reciever Signed-off-by: artembuslaev * fix notifications clicking Signed-off-by: artembuslaev * added retry interval Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * change name for env variable Signed-off-by: artembuslaev * fix timeout error Signed-off-by: artembuslaev * fix resolving nft mint transactions Signed-off-by: artembuslaev * fix multi policy mint Signed-off-by: artembuslaev * change notification order Signed-off-by: artembuslaev * added check for amount Signed-off-by: artembuslaev * update setting env variables Signed-off-by: artembuslaev * fix transactions serials amount Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * fix mint errors Signed-off-by: artembuslaev * fix typo [skip ci] Signed-off-by: artembuslaev * fix transfer amount Signed-off-by: artembuslaev * added irec 4 retry mint policy [skip ci] Signed-off-by: artembuslaev * fix Nobinding schema error disable creation of schema without policy binded Signed-off-by: simvalery * enable creation of schema without policy binded Signed-off-by: simvalery * disable policy dropdown for editing schemas Signed-off-by: simvalery * fix image upload bug Signed-off-by: simvalery * fix image upload bug Signed-off-by: simvalery * load images into database in dryRun mode Signed-off-by: simvalery * [skip ci] Add swagger.yaml * remove console.log Signed-off-by: simvalery * GITBOOK-134: Added PWRM0002 Demo guide * GITBOOK-135: 3311 ticket changes updated * Create Readme.md of PWRM0002 * Update timestamps of Tool 13, 14 16 * Create readme.md of Hackathon * Add files via upload * fix file upload issue fix clear dry run files Signed-off-by: simvalery * apply only image upload Signed-off-by: simvalery * fix draft schemas in wisard Signed-off-by: simvalery * fix amount Signed-off-by: artembuslaev * fix Signed-off-by: artembuslaev * use global common and interfaces modules Signed-off-by: simvalery * Add files via upload * bump version Signed-off-by: simvalery * [skip ci] Add swagger.yaml * increase timeout for import tool * fix mime definitions error Signed-off-by: simvalery * Update README.md --------- Signed-off-by: simvalery Signed-off-by: Stepan Kiryakov Signed-off-by: artembuslaev Signed-off-by: Artem Buslaev Signed-off-by: Giuseppe Bertone Co-authored-by: Stepan Kiryakov Co-authored-by: prernaa.agarwal Co-authored-by: artembuslaev Co-authored-by: Celiant Co-authored-by: envision-ci-agent Co-authored-by: Giuseppe Bertone Co-authored-by: Kichen Co-authored-by: Andrey (Envision Blockchain) <32775532+anvabr@users.noreply.github.com> --- README.md | 2 +- ai-service/package.json | 71 ++++++------ analytics-service/package.json | 3 +- api-gateway/package.json | 5 +- api-tests/package.json | 3 + auth-service/package.json | 5 +- common/package.json | 179 +++++++++++++++--------------- guardian-service/package.json | 5 +- interfaces/package.json | 7 +- logger-service/package.json | 5 +- mrv-sender/package.json | 5 +- notification-service/package.json | 5 +- package.json | 5 + policy-service/package.json | 3 +- topic-viewer/package.json | 5 +- tree-viewer/package.json | 5 +- worker-service/package.json | 5 +- 17 files changed, 175 insertions(+), 143 deletions(-) diff --git a/README.md b/README.md index 291a52266c..0b792298ae 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Guardian is a modular open-source solution that includes best-in-class identity management and decentralized ledger technology (DLT) libraries. At the heart of Guardian solution is a sophisticated Policy Workflow Engine (PWE) that enables applications to offer a digital (or digitized) Measurement, Reporting, and Verification requirements-based tokenization implementation. -[HIP-19](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-19.md) · [HIP-28](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-28.md) · [HIP-29](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-29.md) · [Report a Bug](CONTRIBUTING#bug-reports) · [Request a Policy or a Feature](CONTRIBUTING#new-policy-or-feature-requests) +[HIP-19](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-19.md) · [HIP-28](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-28.md) · [HIP-29](https://github.com/hashgraph/hedera-improvement-proposal/blob/master/HIP/hip-29.md) · [Report a Bug](CONTRIBUTING.md#bug-reports) · [Request a Policy or a Feature](CONTRIBUTING.md#new-policy-or-feature-requests) ## Discovering Digital Environmental Assets assets on Hedera diff --git a/ai-service/package.json b/ai-service/package.json index 80167a9558..59c60d7e0f 100644 --- a/ai-service/package.json +++ b/ai-service/package.json @@ -1,35 +1,38 @@ { - "name": "ai-service", - "version": "2.23.0", - "main": "dist/app.js", - "license": "Apache-2.0", - "dependencies": { - "@guardian/common": "^2.23.0", - "@guardian/interfaces": "^2.23.0", - "@mikro-orm/core": "5.7.12", - "@mikro-orm/mongodb": "5.7.12", - "@nestjs/common": "^9.4.1", - "@nestjs/core": "^9.4.1", - "@types/express": "^4.17.18", - "@types/node": "^20.8.0", - "dotenv": "^16.3.1", - "module-alias": "^2.2.2", - "express": "^4.18.2", - "faiss-node": "^0.3.0", - "langchain": "^0.0.136", - "prebuild": "^12.1.0", - "typescript": "^5.2.2", - "rxjs": "^7.8.1" - }, - "scripts": { - "build": "tsc", - "build:prod": "tsc --project tsconfig.production.json", - "debug": "nodemon dist/index.js", - "dev:docker": "nodemon .", - "dev": "tsc -w", - "start": "node dist/index.js" - }, - "devDependencies": { - "nodemon": "^3.0.1" - } -} + "name": "ai-service", + "version": "2.23.0", + "main": "dist/app.js", + "license": "Apache-2.0", + "dependencies": { + "@guardian/common": "^2.23.0", + "@guardian/interfaces": "^2.23.0", + "@mikro-orm/core": "5.7.12", + "@mikro-orm/mongodb": "5.7.12", + "@nestjs/common": "^9.4.1", + "@nestjs/core": "^9.4.1", + "@types/express": "^4.17.18", + "@types/node": "^20.8.0", + "dotenv": "^16.3.1", + "module-alias": "^2.2.2", + "express": "^4.18.2", + "faiss-node": "^0.3.0", + "langchain": "^0.0.136", + "prebuild": "^12.1.0", + "typescript": "^5.2.2", + "rxjs": "^7.8.1" + }, + "scripts": { + "build": "tsc", + "build:prod": "tsc --project tsconfig.production.json", + "debug": "nodemon dist/index.js", + "dev:docker": "nodemon .", + "dev": "tsc -w", + "start": "node dist/index.js" + }, + "devDependencies": { + "nodemon": "^3.0.1" + }, + "resolutions": { + "@types/mime": "3.0.4" + } +} \ No newline at end of file diff --git a/analytics-service/package.json b/analytics-service/package.json index 123007036f..a75f8f6df5 100644 --- a/analytics-service/package.json +++ b/analytics-service/package.json @@ -9,7 +9,8 @@ }, "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "author": "Envision Blockchain Solutions ", "dependencies": { diff --git a/api-gateway/package.json b/api-gateway/package.json index 8fc691826f..dd388d155f 100644 --- a/api-gateway/package.json +++ b/api-gateway/package.json @@ -8,7 +8,8 @@ }, "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "author": "Envision Blockchain Solutions ", "dependencies": { @@ -83,4 +84,4 @@ "test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml" }, "version": "2.23.0" -} +} \ No newline at end of file diff --git a/api-tests/package.json b/api-tests/package.json index 126f729746..f96023f1bb 100644 --- a/api-tests/package.json +++ b/api-tests/package.json @@ -25,5 +25,8 @@ "gulp-rename": "^2.0.0", "gulp-sourcemaps": "^3.0.0", "gulp-typescript": "^6.0.0-alpha.1" + }, + "resolutions": { + "@types/mime": "3.0.4" } } diff --git a/auth-service/package.json b/auth-service/package.json index 493c2c1778..8f15e6fb39 100644 --- a/auth-service/package.json +++ b/auth-service/package.json @@ -7,7 +7,8 @@ "author": "Envision Blockchain Solutions ", "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "dependencies": { "@guardian/common": "^2.23.0", @@ -75,4 +76,4 @@ "test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/ui-service.xml" }, "version": "2.23.0" -} +} \ No newline at end of file diff --git a/common/package.json b/common/package.json index d8b90b56d6..e436085374 100644 --- a/common/package.json +++ b/common/package.json @@ -1,90 +1,91 @@ { - "author": "Envision Blockchain Solutions ", - "dependencies": { - "@aws-sdk/client-secrets-manager": "^3.319.0", - "@azure/identity": "^3.2.2", - "@azure/keyvault-secrets": "^4.7.0", - "@google-cloud/secret-manager": "^4.2.2", - "@guardian/interfaces": "^2.23.0", - "@hashgraph/sdk": "2.34.1", - "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", - "@meeco/cryppo": "^2.0.2", - "@mikro-orm/core": "5.7.12", - "@mikro-orm/migrations-mongodb": "5.7.12", - "@mikro-orm/mongodb": "5.7.12", - "@nestjs/common": "^9.4.1", - "@nestjs/core": "^9.4.1", - "@nestjs/microservices": "^9.4.1", - "jsonld-signatures": "7.0.0", - "@transmute/credentials-context": "0.7.0-unstable.80", - "@transmute/did-context": "0.7.0-unstable.80", - "@transmute/ed25519-signature-2018": "0.7.0-unstable.80", - "@transmute/json-web-signature": "0.7.0-unstable.80", - "@transmute/jsonld-schema": "0.7.0-unstable.80", - "@transmute/security-context": "0.7.0-unstable.80", - "@transmute/vc.js": "0.7.0-unstable.80", - "@noble/curves": "^1.3.0", - "ajv": "^8.10.0", - "ajv-formats": "^2.1.1", - "axios": "^1.3.6", - "bs58": "^4.0.1", - "bson": "^5.3.0", - "dotenv": "^16.0.0", - "exceljs": "^4.4.0", - "express": "^4.17.1", - "fast-xml-parser": "^4.2.6", - "gulp": "^4.0.2", - "gulp-copy": "^4.0.1", - "gulp-rename": "^2.0.0", - "gulp-sourcemaps": "^3.0.0", - "gulp-typescript": "^6.0.0-alpha.1", - "js-base64": "^3.6.1", - "jszip": "^3.7.1", - "lodash.get": "^4.4.2", - "lodash.set": "^4.3.2", - "mathjs": "^10.1.0", - "moment": "^2.29.2", - "mongodb": "5.6.0", - "nats": "^2.6.1", - "node-vault": "^0.9.22", - "reflect-metadata": "^0.1.13", - "winston": "^3.8.1", - "ws": "^8.2.1", - "zlib": "^1.0.5", - "@formulajs/formulajs": "^4.4.0" - }, - "description": "Common package share cross all services", - "devDependencies": { - "@types/express": "^4.17.13", - "@types/gulp": "^4", - "@types/gulp-rename": "^2", - "@types/jszip": "^3.4.1", - "@types/node": "^18.16.0", - "@types/winston": "^2.4.4", - "mocha-junit-reporter": "^2.0.2", - "tslint": "^6.1.3", - "typescript": "^4.5.5" - }, - "files": [ - "dist" - ], - "license": "Apache-2.0", - "main": "dist/index.js", - "module": "dist/index.js", - "name": "@guardian/common", - "resolutions": { - "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" - }, - "scripts": { - "build": "tsc", - "build:prod": "tsc --project tsconfig.production.json", - "dev": "tsc -w", - "lint": "tslint --config ../tslint.json --project .", - "prepack": "npm run build:prod", - "test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/common.xml --exit", - "test:local": "mocha tests/**/*.test.js --exit", - "test:stability": "mocha tests/stability.test.js" - }, - "version": "2.23.0" -} + "author": "Envision Blockchain Solutions ", + "dependencies": { + "@aws-sdk/client-secrets-manager": "^3.319.0", + "@azure/identity": "^3.2.2", + "@azure/keyvault-secrets": "^4.7.0", + "@google-cloud/secret-manager": "^4.2.2", + "@guardian/interfaces": "^2.23.0", + "@hashgraph/sdk": "2.34.1", + "@mattrglobal/jsonld-signatures-bbs": "^1.1.2", + "@meeco/cryppo": "^2.0.2", + "@mikro-orm/core": "5.7.12", + "@mikro-orm/migrations-mongodb": "5.7.12", + "@mikro-orm/mongodb": "5.7.12", + "@nestjs/common": "^9.4.1", + "@nestjs/core": "^9.4.1", + "@nestjs/microservices": "^9.4.1", + "jsonld-signatures": "7.0.0", + "@transmute/credentials-context": "0.7.0-unstable.80", + "@transmute/did-context": "0.7.0-unstable.80", + "@transmute/ed25519-signature-2018": "0.7.0-unstable.80", + "@transmute/json-web-signature": "0.7.0-unstable.80", + "@transmute/jsonld-schema": "0.7.0-unstable.80", + "@transmute/security-context": "0.7.0-unstable.80", + "@transmute/vc.js": "0.7.0-unstable.80", + "@noble/curves": "^1.3.0", + "ajv": "^8.10.0", + "ajv-formats": "^2.1.1", + "axios": "^1.3.6", + "bs58": "^4.0.1", + "bson": "^5.3.0", + "dotenv": "^16.0.0", + "exceljs": "^4.4.0", + "express": "^4.17.1", + "fast-xml-parser": "^4.2.6", + "gulp": "^4.0.2", + "gulp-copy": "^4.0.1", + "gulp-rename": "^2.0.0", + "gulp-sourcemaps": "^3.0.0", + "gulp-typescript": "^6.0.0-alpha.1", + "js-base64": "^3.6.1", + "jszip": "^3.7.1", + "lodash.get": "^4.4.2", + "lodash.set": "^4.3.2", + "mathjs": "^10.1.0", + "moment": "^2.29.2", + "mongodb": "5.6.0", + "nats": "^2.6.1", + "node-vault": "^0.9.22", + "reflect-metadata": "^0.1.13", + "winston": "^3.8.1", + "ws": "^8.2.1", + "zlib": "^1.0.5", + "@formulajs/formulajs": "^4.4.0" + }, + "description": "Common package share cross all services", + "devDependencies": { + "@types/express": "^4.17.13", + "@types/gulp": "^4", + "@types/gulp-rename": "^2", + "@types/jszip": "^3.4.1", + "@types/node": "^18.16.0", + "@types/winston": "^2.4.4", + "mocha-junit-reporter": "^2.0.2", + "tslint": "^6.1.3", + "typescript": "^4.5.5" + }, + "files": [ + "dist" + ], + "license": "Apache-2.0", + "main": "dist/index.js", + "module": "dist/index.js", + "name": "@guardian/common", + "resolutions": { + "@azure/core-rest-pipeline": "1.12.1", + "image-size": "1.0.2", + "@types/mime": "3.0.4" + }, + "scripts": { + "build": "tsc", + "build:prod": "tsc --project tsconfig.production.json", + "dev": "tsc -w", + "lint": "tslint --config ../tslint.json --project .", + "prepack": "npm run build:prod", + "test": "mocha tests/**/*.test.js --reporter mocha-junit-reporter --reporter-options mochaFile=../test_results/common.xml --exit", + "test:local": "mocha tests/**/*.test.js --exit", + "test:stability": "mocha tests/stability.test.js" + }, + "version": "2.23.0" +} \ No newline at end of file diff --git a/guardian-service/package.json b/guardian-service/package.json index cf467f1d12..5cf8e43842 100644 --- a/guardian-service/package.json +++ b/guardian-service/package.json @@ -13,7 +13,8 @@ "author": "Envision Blockchain Solutions ", "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "dependencies": { "@guardian/common": "^2.23.0", @@ -99,4 +100,4 @@ "test:stability": "mocha tests/stability.test.js" }, "version": "2.23.0" -} +} \ No newline at end of file diff --git a/interfaces/package.json b/interfaces/package.json index 5e05f40c9d..1f5a13300f 100644 --- a/interfaces/package.json +++ b/interfaces/package.json @@ -32,5 +32,8 @@ "prepack": "npm run build", "test": "echo \"Error: no test specified\" && exit 1" }, - "version": "2.23.0" -} + "version": "2.23.0", + "resolutions": { + "@types/mime": "3.0.4" + } +} \ No newline at end of file diff --git a/logger-service/package.json b/logger-service/package.json index 79cae6fcdc..11f611e76c 100644 --- a/logger-service/package.json +++ b/logger-service/package.json @@ -2,7 +2,8 @@ "author": "Envision Blockchain Solutions ", "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "dependencies": { "@guardian/common": "^2.23.0", @@ -54,4 +55,4 @@ "watch": "nodemon src/index.ts" }, "version": "2.23.0" -} +} \ No newline at end of file diff --git a/mrv-sender/package.json b/mrv-sender/package.json index 9bfcde49e4..b97435f5fb 100644 --- a/mrv-sender/package.json +++ b/mrv-sender/package.json @@ -2,7 +2,8 @@ "author": "Envision Blockchain Solutions ", "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "dependencies": { "@guardian/common": "^2.23.0", @@ -44,4 +45,4 @@ "start": "node dist/index.js" }, "version": "2.23.0" -} +} \ No newline at end of file diff --git a/notification-service/package.json b/notification-service/package.json index a14c746ce5..f9ed34777d 100644 --- a/notification-service/package.json +++ b/notification-service/package.json @@ -2,7 +2,8 @@ "author": "Envision Blockchain Solutions ", "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "dependencies": { "@guardian/common": "^2.23.0", @@ -53,4 +54,4 @@ "watch": "nodemon src/index.ts" }, "version": "2.23.0" -} +} \ No newline at end of file diff --git a/package.json b/package.json index e7ff21523d..cd3439020f 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,11 @@ "devDependencies": { "detect-secrets": "^1.0.6" }, + "resolutions": { + "@azure/core-rest-pipeline": "1.12.1", + "image-size": "1.0.2", + "@types/mime": "3.0.4" + }, "scripts": { "detect-secrets": "detect-secrets-launcher --word-list exclude-secrets.txt k8s-manifests/**/* */src/**.ts **/.env*", "publish-policies": "guardian-cli publish-policies \"Methodology Library\" -c \"configs/automatic-publish-policies.config.json\" -o \"published-policies.txt\"" diff --git a/policy-service/package.json b/policy-service/package.json index 108809ead2..c6dc6e8b34 100644 --- a/policy-service/package.json +++ b/policy-service/package.json @@ -12,7 +12,8 @@ "author": "Envision Blockchain Solutions ", "resolutions": { "@azure/core-rest-pipeline": "1.12.1", - "image-size": "1.0.2" + "image-size": "1.0.2", + "@types/mime": "3.0.4" }, "dependencies": { "@guardian/common": "2.23.0", diff --git a/topic-viewer/package.json b/topic-viewer/package.json index 2ba4632f2e..a86fa36a87 100644 --- a/topic-viewer/package.json +++ b/topic-viewer/package.json @@ -29,5 +29,8 @@ "dev": "tsc -w", "start": "node dist/index.js" }, - "version": "2.23.0" + "version": "2.23.0", + "resolutions": { + "@types/mime": "3.0.4" + } } diff --git a/tree-viewer/package.json b/tree-viewer/package.json index 73abcbb9ae..ed67dfb996 100644 --- a/tree-viewer/package.json +++ b/tree-viewer/package.json @@ -27,5 +27,8 @@ "dev": "tsc -w", "start": "node dist/index.js" }, - "version": "2.23.0" + "version": "2.23.0", + "resolutions": { + "@types/mime": "3.0.4" + } } diff --git a/worker-service/package.json b/worker-service/package.json index 78420af620..8eed82c7f4 100644 --- a/worker-service/package.json +++ b/worker-service/package.json @@ -65,5 +65,8 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "2.23.0" + "version": "2.23.0", + "resolutions": { + "@types/mime": "3.0.4" + } }