From d838b2cfaf93599cc51a18840135ee584e535afb Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 22 Jan 2024 19:37:23 +0100 Subject: [PATCH] chore: updated document drive server deps --- api/package.json | 110 +++++++++++++++++++++++------------------------ api/yarn.lock | 78 +++++++++++++++++++++++++++------ 2 files changed, 120 insertions(+), 68 deletions(-) diff --git a/api/package.json b/api/package.json index afa5cebf..a6414dce 100644 --- a/api/package.json +++ b/api/package.json @@ -6,64 +6,64 @@ "type": "module", "license": "AGPL-3", "scripts": { - "preinstall": "cd ../module-example && npm ci", - "dev": "vite-node -w src/index.ts", - "start": "NODE_ENV=production vite-node src/index.ts", - "debug": "DEBUG=1 npm run dev", - "lint": "eslint \"./**/*.{ts,tsx}\" --max-warnings=0", - "typecheck": "tsc --noEmit", - "test": "vitest run && vitest run --config ./vitest.modules.config.ts", - "watch": "vitest watch" + "preinstall": "cd ../module-example && npm ci", + "dev": "vite-node -w src/index.ts", + "start": "NODE_ENV=production vite-node src/index.ts", + "debug": "DEBUG=1 npm run dev", + "lint": "eslint \"./**/*.{ts,tsx}\" --max-warnings=0", + "typecheck": "tsc --noEmit", + "test": "vitest run && vitest run --config ./vitest.modules.config.ts", + "watch": "vitest watch" }, "dependencies": { - "@acaldas/document-model-libs": "^1.0.15", - "@apollo/server": "^4.5.0", - "@prisma/client": "^4.11.0", - "@types/cookie-parser": "^1.4.3", - "body-parser": "^1.20.2", - "cookie-parser": "^1.4.6", - "cors": "^2.8.5", - "document-drive": "powerhouse-inc/document-drive#51b1256", - "document-model": "^1.0.19", - "document-model-libs": "^1.1.23", - "dotenv": "^16.0.3", - "ethers": "^5.7.2", - "express": "^4.18.2", - "graphql": "^16.7.1", - "graphql-middleware": "^6.1.33", - "graphql-playground-middleware-express": "^1.7.23", - "jsonwebtoken": "^9.0.0", - "ms": "^2.1.3", - "nexus": "^1.3.0", - "nexus-validation-plugin": "^0.2.0", - "pino": "^8.11.0", - "pino-http": "^8.3.3", - "pino-pretty": "^10.0.0", - "module-example": "file:../module-example", - "siwe": "^2.1.4", - "vite-node": "^0.29.2", - "vitest": "^0.29.2", - "wildcard-match": "^5.1.2", - "zod": "^3.21.4" + "@acaldas/document-model-libs": "^1.0.15", + "@apollo/server": "^4.5.0", + "@prisma/client": "^5.7.1", + "@types/cookie-parser": "^1.4.3", + "body-parser": "^1.20.2", + "cookie-parser": "^1.4.6", + "cors": "^2.8.5", + "document-drive": "powerhouse-inc/document-drive#871ec06", + "document-model": "^1.0.19", + "document-model-libs": "^1.1.23", + "dotenv": "^16.0.3", + "ethers": "^5.7.2", + "express": "^4.18.2", + "graphql": "^16.7.1", + "graphql-middleware": "^6.1.33", + "graphql-playground-middleware-express": "^1.7.23", + "jsonwebtoken": "^9.0.0", + "ms": "^2.1.3", + "nexus": "^1.3.0", + "nexus-validation-plugin": "^0.2.0", + "pino": "^8.11.0", + "pino-http": "^8.3.3", + "pino-pretty": "^10.0.0", + "module-example": "file:../module-example", + "siwe": "^2.1.4", + "vite-node": "^0.29.2", + "vitest": "^0.29.2", + "wildcard-match": "^5.1.2", + "zod": "^3.21.4" }, "devDependencies": { - "@types/bcrypt": "^5.0.0", - "@types/cors": "^2.8.13", - "@types/express": "^4.17.17", - "@types/jsonwebtoken": "^9.0.1", - "@types/ms": "^0.7.31", - "@types/node": "^18.14.2", - "@typescript-eslint/eslint-plugin": "^5.54.0", - "@typescript-eslint/parser": "^5.54.0", - "@vitest/coverage-istanbul": "^0.29.2", - "eslint": "^8.35.0", - "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-airbnb-typescript": "^17.0.0", - "gql-query-builder": "^3.8.0", - "graphql-request": "^5.2.0", - "node-fetch": "^3.3.1", - "prisma": "^4.11.0", - "typescript": "^4.9.5", - "vitest-mock-extended": "^1.1.3" + "@types/bcrypt": "^5.0.0", + "@types/cors": "^2.8.13", + "@types/express": "^4.17.17", + "@types/jsonwebtoken": "^9.0.1", + "@types/ms": "^0.7.31", + "@types/node": "^18.14.2", + "@typescript-eslint/eslint-plugin": "^5.54.0", + "@typescript-eslint/parser": "^5.54.0", + "@vitest/coverage-istanbul": "^0.29.2", + "eslint": "^8.35.0", + "eslint-config-airbnb-base": "^15.0.0", + "eslint-config-airbnb-typescript": "^17.0.0", + "gql-query-builder": "^3.8.0", + "graphql-request": "^5.2.0", + "node-fetch": "^3.3.1", + "prisma": "^5.7.1", + "typescript": "^4.9.5", + "vitest-mock-extended": "^1.1.3" } } diff --git a/api/yarn.lock b/api/yarn.lock index 8862ba38..b04d19d4 100644 --- a/api/yarn.lock +++ b/api/yarn.lock @@ -916,7 +916,7 @@ "@graphql-typed-document-node/core" "^3.1.1" tslib "^2.4.0" -"@graphql-typed-document-node/core@^3.1.1": +"@graphql-typed-document-node/core@^3.1.1", "@graphql-typed-document-node/core@^3.2.0": version "3.2.0" resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== @@ -1008,6 +1008,11 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" +"@prisma/client@5.7.1": + version "5.7.1" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.7.1.tgz#a124afd05663267f7255a639a81d28303684a063" + integrity sha512-TUSa4nUcC4nf/e7X3jyO1pEd6XcI/TLRCA0KjkA46RDIpxUaRsBYEOqITwXRW2c0bMFyKcCRXrH4f7h4q9oOlg== + "@prisma/client@^4.11.0": version "4.16.2" resolved "https://registry.yarnpkg.com/@prisma/client/-/client-4.16.2.tgz#3bb9ebd49b35c8236b3d468d0215192267016e2b" @@ -1015,15 +1020,51 @@ dependencies: "@prisma/engines-version" "4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81" +"@prisma/client@^5.7.1": + version "5.8.1" + resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.8.1.tgz#7815ec51c0ca2a6de219c02e7846701ae3baf240" + integrity sha512-xQtMPfbIwLlbm0VVIVQY2yqQVOxPwRQhvIp7Z3m2900g1bu/zRHKhYZJQWELqmjl6d8YwBy0K2NvMqh47v1ubw== + +"@prisma/debug@5.8.1": + version "5.8.1" + resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.8.1.tgz#704daa36919b0fc4d227260ecebfa1c94b155b07" + integrity sha512-tjuw7eA0Us3T42jx9AmAgL58rzwzpFGYc3R7Y4Ip75EBYrKMBA1YihuWMcBC92ILmjlQ/u3p8VxcIE0hr+fZfg== + "@prisma/engines-version@4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81": version "4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81" resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81.tgz#d3b5dcf95b6d220e258cbf6ae19b06d30a7e9f14" integrity sha512-q617EUWfRIDTriWADZ4YiWRZXCa/WuhNgLTVd+HqWLffjMSPzyM5uOWoauX91wvQClSKZU4pzI4JJLQ9Kl62Qg== -"@prisma/engines@4.16.2": - version "4.16.2" - resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-4.16.2.tgz#5ec8dd672c2173d597e469194916ad4826ce2e5f" - integrity sha512-vx1nxVvN4QeT/cepQce68deh/Turxy5Mr+4L4zClFuK1GlxN3+ivxfuv+ej/gvidWn1cE1uAhW7ALLNlYbRUAw== +"@prisma/engines-version@5.8.1-1.78caf6feeaed953168c64e15a249c3e9a033ebe2": + version "5.8.1-1.78caf6feeaed953168c64e15a249c3e9a033ebe2" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.8.1-1.78caf6feeaed953168c64e15a249c3e9a033ebe2.tgz#f600a45afc4cf0c0356b6ed90add6050fa3f3239" + integrity sha512-f5C3JM3l9yhGr3cr4FMqWloFaSCpNpMi58Om22rjD2DOz3owci2mFdFXMgnAGazFPKrCbbEhcxdsRfspEYRoFQ== + +"@prisma/engines@5.8.1": + version "5.8.1" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.8.1.tgz#b850751f5bf7d5e570b9fe16cefdc2b1fd2c02c3" + integrity sha512-TJgYLRrZr56uhqcXO4GmP5be+zjCIHtLDK20Cnfg+o9d905hsN065QOL+3Z0zQAy6YD31Ol4u2kzSfRmbJv/uA== + dependencies: + "@prisma/debug" "5.8.1" + "@prisma/engines-version" "5.8.1-1.78caf6feeaed953168c64e15a249c3e9a033ebe2" + "@prisma/fetch-engine" "5.8.1" + "@prisma/get-platform" "5.8.1" + +"@prisma/fetch-engine@5.8.1": + version "5.8.1" + resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.8.1.tgz#38bb92f1fbd3669340a3cc49fce403ab4df671dd" + integrity sha512-+bgjjoSFa6uYEbAPlklfoVSStOEfcpheOjoBoNsNNSQdSzcwE2nM4Q0prun0+P8/0sCHo18JZ9xqa8gObvgOUw== + dependencies: + "@prisma/debug" "5.8.1" + "@prisma/engines-version" "5.8.1-1.78caf6feeaed953168c64e15a249c3e9a033ebe2" + "@prisma/get-platform" "5.8.1" + +"@prisma/get-platform@5.8.1": + version "5.8.1" + resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.8.1.tgz#8cd450b65a52a5a6ed5b2f52457136a492c0f251" + integrity sha512-wnA+6HTFcY+tkykMokix9GiAkaauPC5W/gg0O5JB0J8tCTNWrqpnQ7AsaGRfkYUbeOIioh6woDjQrGTTRf1Zag== + dependencies: + "@prisma/debug" "5.8.1" "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" @@ -1951,10 +1992,13 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -document-drive@powerhouse-inc/document-drive#51b1256: +document-drive@powerhouse-inc/document-drive#e72a721: version "0.0.22" - resolved "https://codeload.github.com/powerhouse-inc/document-drive/tar.gz/51b1256e01596c7eb1c1e30a5945b08dec4acb02" + resolved "https://codeload.github.com/powerhouse-inc/document-drive/tar.gz/e72a721713bb947b0ba93be1c38797e209865e5c" dependencies: + "@prisma/client" "5.7.1" + graphql "^16.8.1" + graphql-request "^6.1.0" sanitize-filename "^1.6.3" document-model-libs@^1.1.23: @@ -2670,7 +2714,15 @@ graphql-request@^5.2.0: extract-files "^9.0.0" form-data "^3.0.0" -graphql@^16.7.1: +graphql-request@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.1.0.tgz#f4eb2107967af3c7a5907eb3131c671eac89be4f" + integrity sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw== + dependencies: + "@graphql-typed-document-node/core" "^3.2.0" + cross-fetch "^3.1.5" + +graphql@^16.7.1, graphql@^16.8.1: version "16.8.1" resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== @@ -3640,12 +3692,12 @@ pretty-format@^27.5.1: ansi-styles "^5.0.0" react-is "^17.0.1" -prisma@^4.11.0: - version "4.16.2" - resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.16.2.tgz#469e0a0991c6ae5bcde289401726bb012253339e" - integrity sha512-SYCsBvDf0/7XSJyf2cHTLjLeTLVXYfqp7pG5eEVafFLeT0u/hLFz/9W196nDRGUOo1JfPatAEb+uEnTQImQC1g== +prisma@^5.7.1: + version "5.8.1" + resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.8.1.tgz#1f101793a8831c0719dfbed5f85a96ea4888c9d3" + integrity sha512-N6CpjzECnUHZ5beeYpDzkt2rYpEdAeqXX2dweu6BoQaeYkNZrC/WJHM+5MO/uidFHTak8QhkPKBWck1o/4MD4A== dependencies: - "@prisma/engines" "4.16.2" + "@prisma/engines" "5.8.1" process-nextick-args@~2.0.0: version "2.0.1"