Skip to content

Commit

Permalink
[BNF-4] - Fixing Apollo dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
SalahAdDin committed Feb 2, 2021
1 parent 404ac33 commit 1395b73
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 44 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
Expand All @@ -31,7 +31,7 @@
"@nestjs/platform-fastify": "^7.6.9",
"@nestjs/typeorm": "^7.1.5",
"@types/mongodb": "^3.6.3",
"apollo-server-fastify": "^2.19.2",
"apollo-server-fastify": "^3.0.0-alpha.3",
"dayjs": "^1.10.4",
"fastify-cookie": "^5.1.0",
"fastify-csrf": "^3.0.1",
Expand Down
165 changes: 123 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
make-fetch-happen "^8.0.0"
pretty-format "^26.0.0"

"@apollo/protobufjs@^1.0.3":
"@apollo/protobufjs@^1.0.3", "@apollo/protobufjs@^1.0.4":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@apollo/protobufjs/-/protobufjs-1.0.5.tgz#a78b726147efc0795e74c8cb8a11aafc6e02f773"
integrity sha512-ZtyaBH1icCgqwIGb3zrtopV2D5Q8yxibkJzlaViM08eOhTQc7rACdYu0pfORFfhllvdMZ3aq69vifYHszY4gNA==
Expand All @@ -131,7 +131,7 @@
"@types/node" "^10.1.0"
long "^4.0.0"

"@apollographql/apollo-tools@^0.4.3":
"@apollographql/apollo-tools@^0.4.3", "@apollographql/apollo-tools@^0.4.8":
version "0.4.8"
resolved "https://registry.yarnpkg.com/@apollographql/apollo-tools/-/apollo-tools-0.4.8.tgz#d81da89ee880c2345eb86bddb92b35291f6135ed"
integrity sha512-W2+HB8Y7ifowcf3YyPHgDI05izyRtOeZ4MqIr7LbTArtmJ0ZHULWpn84SGMW7NAvTV1tFExpHlveHhnXuJfuGA==
Expand Down Expand Up @@ -1842,7 +1842,7 @@
dependencies:
"@types/node" "*"

"@types/ws@^7.0.0":
"@types/ws@^7.0.0", "@types/ws@^7.2.6":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.0.tgz#499690ea08736e05a8186113dac37769ab251a0e"
integrity sha512-Y29uQ3Uy+58bZrFLhX36hcI3Np37nqWE7ky5tjiDoy1GDZnIwVxS0CgF+s+1bXMzjKBFy+fqaRfb708iNzdinw==
Expand Down Expand Up @@ -2385,6 +2385,22 @@ apollo-cache-control@^0.11.1, apollo-cache-control@^0.11.6:
apollo-server-env "^3.0.0"
apollo-server-plugin-base "^0.10.4"

apollo-cache-control@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-cache-control/-/apollo-cache-control-0.300.0-alpha.3.tgz#a5e99be9be2811d035f59e8b8fe57324cdec6ea4"
integrity sha512-P7/LfJbJZBoGP3SF+e4DDbsqb73MeldIGtkujyTkkndQZ+/h9L118w5QCr4zgnRyR6jYJP6LMtRJLmHFBGDm3g==
dependencies:
apollo-server-env "^3.0.0-alpha.3"
apollo-server-plugin-base "^0.300.0-alpha.3"

apollo-datasource@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-datasource/-/apollo-datasource-0.300.0-alpha.3.tgz#a9f039a6a66ccdc7d3c12e3b36b59b90524a313d"
integrity sha512-o1voEQ5aWSTxRmtR9rDnhb0GomPxiywoYiyYgmAqnf35MzfX+aXyfrLNYhMG4wD9cvBS5adRt7unGmKc1CHlfQ==
dependencies:
apollo-server-caching "^0.300.0-alpha.3"
apollo-server-env "^3.0.0-alpha.3"

apollo-datasource@^0.7.2, apollo-datasource@^0.7.3:
version "0.7.3"
resolved "https://registry.yarnpkg.com/apollo-datasource/-/apollo-datasource-0.7.3.tgz#c824eb1457bdee5a3173ced0e35e594547e687a0"
Expand All @@ -2393,6 +2409,13 @@ apollo-datasource@^0.7.2, apollo-datasource@^0.7.3:
apollo-server-caching "^0.5.3"
apollo-server-env "^3.0.0"

apollo-engine-reporting-protobuf@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-engine-reporting-protobuf/-/apollo-engine-reporting-protobuf-0.300.0-alpha.3.tgz#286a146a4254c8371f551551f6abe76c76eedfd1"
integrity sha512-ev7XDw0EbIcX3EGcTlx/hyDcJGu+30dVBKgbueAdIdAHK/zZRRDmYad3uzPkEbXfzgE1DZkdnaajqMVj3XE/Dw==
dependencies:
"@apollo/protobufjs" "^1.0.4"

apollo-engine-reporting-protobuf@^0.5.2:
version "0.5.2"
resolved "https://registry.yarnpkg.com/apollo-engine-reporting-protobuf/-/apollo-engine-reporting-protobuf-0.5.2.tgz#b01812508a1c583328a8dc603769bc63b8895e7e"
Expand All @@ -2415,6 +2438,21 @@ apollo-engine-reporting@^2.3.0:
async-retry "^1.2.1"
uuid "^8.0.0"

apollo-engine-reporting@^3.0.0-alpha.3:
version "3.0.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-engine-reporting/-/apollo-engine-reporting-3.0.0-alpha.3.tgz#7238017bb3c562ea081a27250141caf5a682cbaa"
integrity sha512-cYEuj5EK9+O4wY+rvCvPns+np4StteuksacfVj6faAq9TeGJFDzqtbN1TP+3gK3WTRpowr1Qe6W6ZsgQXKOT8w==
dependencies:
apollo-engine-reporting-protobuf "^0.300.0-alpha.3"
apollo-graphql "^0.5.0"
apollo-server-caching "^0.300.0-alpha.3"
apollo-server-env "^3.0.0-alpha.3"
apollo-server-errors "^3.0.0-alpha.3"
apollo-server-plugin-base "^0.300.0-alpha.3"
apollo-server-types "^0.300.0-alpha.3"
async-retry "^1.3.1"
uuid "^8.3.0"

apollo-env@0.6.5, apollo-env@^0.6.1, apollo-env@^0.6.5:
version "0.6.5"
resolved "https://registry.yarnpkg.com/apollo-env/-/apollo-env-0.6.5.tgz#5a36e699d39e2356381f7203493187260fded9f3"
Expand Down Expand Up @@ -2466,6 +2504,13 @@ apollo-reporting-protobuf@^0.6.2:
dependencies:
"@apollo/protobufjs" "^1.0.3"

apollo-server-caching@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-server-caching/-/apollo-server-caching-0.300.0-alpha.3.tgz#27e225522638179f13505e329bce0e378f08276a"
integrity sha512-4lxa8gc7rd/MrWYuJUWjk69kA1KBLrkBNpoDlJgJLJhr8awstq5Q5zPjxIpPVDyEUi//dy689ziANF0zgVrD3A==
dependencies:
lru-cache "^6.0.0"

apollo-server-caching@^0.5.2, apollo-server-caching@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/apollo-server-caching/-/apollo-server-caching-0.5.3.tgz#cf42a77ad09a46290a246810075eaa029b5305e1"
Expand Down Expand Up @@ -2533,6 +2578,29 @@ apollo-server-core@^2.15.1, apollo-server-core@^2.19.2:
uuid "^8.0.0"
ws "^6.0.0"

apollo-server-core@^3.0.0-alpha.3:
version "3.0.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-3.0.0-alpha.3.tgz#6710ed3662daaee7cb769e35cca8610178f9ad80"
integrity sha512-HHxJ+3vZbUBQ91gDIpxTnaGfPwM6W3aLUFe7YysJSkbiD6ZOUS3tM/Ut7f1LR2b3V04O+ayuMzTt+awlZRxZQA==
dependencies:
"@apollographql/apollo-tools" "^0.4.8"
"@apollographql/graphql-playground-html" "1.6.26"
"@types/ws" "^7.2.6"
apollo-cache-control "^0.300.0-alpha.3"
apollo-datasource "^0.300.0-alpha.3"
apollo-engine-reporting "^3.0.0-alpha.3"
apollo-server-caching "^0.300.0-alpha.3"
apollo-server-env "^3.0.0-alpha.3"
apollo-server-errors "^3.0.0-alpha.3"
apollo-server-plugin-base "^0.300.0-alpha.3"
apollo-server-types "^0.300.0-alpha.3"
apollo-tracing "^0.300.0-alpha.3"
fast-json-stable-stringify "^2.1.0"
graphql-tag "^2.11.0"
graphql-tools "^4.0.0"
loglevel "^1.6.8"
sha.js "^2.4.11"

apollo-server-env@^2.4.5:
version "2.4.5"
resolved "https://registry.yarnpkg.com/apollo-server-env/-/apollo-server-env-2.4.5.tgz#73730b4f0439094a2272a9d0caa4079d4b661d5f"
Expand All @@ -2541,7 +2609,7 @@ apollo-server-env@^2.4.5:
node-fetch "^2.1.2"
util.promisify "^1.0.0"

apollo-server-env@^3.0.0:
apollo-server-env@^3.0.0, apollo-server-env@^3.0.0-alpha.3:
version "3.0.0"
resolved "https://registry.yarnpkg.com/apollo-server-env/-/apollo-server-env-3.0.0.tgz#0157c51f52b63aee39af190760acf789ffc744d9"
integrity sha512-tPSN+VttnPsoQAl/SBVUpGbLA97MXG990XIwq6YUnJyAixrrsjW1xYG7RlaOqetxm80y5mBZKLrRDiiSsW/vog==
Expand All @@ -2554,18 +2622,21 @@ apollo-server-errors@^2.4.2:
resolved "https://registry.yarnpkg.com/apollo-server-errors/-/apollo-server-errors-2.4.2.tgz#1128738a1d14da989f58420896d70524784eabe5"
integrity sha512-FeGxW3Batn6sUtX3OVVUm7o56EgjxDlmgpTLNyWcLb0j6P8mw9oLNyAm3B+deHA4KNdNHO5BmHS2g1SJYjqPCQ==

apollo-server-fastify@^2.19.2:
version "2.19.2"
resolved "https://registry.yarnpkg.com/apollo-server-fastify/-/apollo-server-fastify-2.19.2.tgz#9770f700120092dcec284380b144b0329b6d8a08"
integrity sha512-RIdFi47v0CreYeU7sl2yenBoaR6v/ReR52XKDeBrQiDE/4B/VCaoRt3S/l0fznMGUhy3Cqq6xSGl5wsYXBGLiQ==
apollo-server-errors@^3.0.0-alpha.3:
version "3.0.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-server-errors/-/apollo-server-errors-3.0.0-alpha.3.tgz#b45a82c69dbd9116eafa3077bfbd1941663ef825"
integrity sha512-AQxyV2vX3zdqhuORPXhzVYyBov7viKWjG3TJ8jLHI0+fWxiVGDk11dL74VJnkcW0oeok+l5600P21IVZw8JuXQ==

apollo-server-fastify@^3.0.0-alpha.3:
version "3.0.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-server-fastify/-/apollo-server-fastify-3.0.0-alpha.3.tgz#82bc8cef6e62ed6d2d744d5e5b391412e37949eb"
integrity sha512-y7BuvbMt/7kFqLZ16KS6P9z0exOt9slH9neQcsyHZPjbBtFX9uJzm2Nbin3x1I1hC3NnlRbElxS6tjot0txIQA==
dependencies:
"@apollographql/graphql-playground-html" "1.6.26"
apollo-server-core "^2.19.2"
apollo-server-types "^0.6.3"
fastify-accepts "^1.0.0"
fastify-cors "^0.2.0"
graphql-subscriptions "^1.0.0"
graphql-tools "^4.0.0"
apollo-server-core "^3.0.0-alpha.3"
apollo-server-types "^0.300.0-alpha.3"
fastify-accepts "^2.0.1"
fastify-cors "^4.1.0"

apollo-server-plugin-base@^0.10.1, apollo-server-plugin-base@^0.10.4:
version "0.10.4"
Expand All @@ -2574,6 +2645,13 @@ apollo-server-plugin-base@^0.10.1, apollo-server-plugin-base@^0.10.4:
dependencies:
apollo-server-types "^0.6.3"

apollo-server-plugin-base@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-server-plugin-base/-/apollo-server-plugin-base-0.300.0-alpha.3.tgz#0938f3325bcde77dd2374090d420e33fcfc42e42"
integrity sha512-88cKr93xQbsgVd1OiDKsyqYtBu6STEBH4oX/7u4pgcbJ8iX3NEtpt7spCKQNpjdhRJCVC7qdpQyzlsRVy+epiw==
dependencies:
apollo-server-types "^0.300.0-alpha.3"

apollo-server-plugin-base@^0.9.1:
version "0.9.1"
resolved "https://registry.yarnpkg.com/apollo-server-plugin-base/-/apollo-server-plugin-base-0.9.1.tgz#a62ae9ab4e89790fd4cc5d123bb616da34e8e5fb"
Expand All @@ -2588,6 +2666,15 @@ apollo-server-testing@^2.16.1:
dependencies:
apollo-server-core "^2.19.2"

apollo-server-types@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-server-types/-/apollo-server-types-0.300.0-alpha.3.tgz#c695c79c6458697c43cd65dfaba6a80a401ecb74"
integrity sha512-Wmlo5ERqoZ8BKEA+IKteQS9SMiNwtN0kkEsRVT0C+rUi/xkin9jQVgGUJGPhaZKYgGrEDpm3pXVrE5gRv9edCw==
dependencies:
apollo-engine-reporting-protobuf "^0.300.0-alpha.3"
apollo-server-caching "^0.300.0-alpha.3"
apollo-server-env "^3.0.0-alpha.3"

apollo-server-types@^0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/apollo-server-types/-/apollo-server-types-0.5.1.tgz#091c09652894d6532db9ba873574443adabf85b9"
Expand Down Expand Up @@ -2622,6 +2709,14 @@ apollo-tracing@^0.12.2:
apollo-server-env "^3.0.0"
apollo-server-plugin-base "^0.10.4"

apollo-tracing@^0.300.0-alpha.3:
version "0.300.0-alpha.3"
resolved "https://registry.yarnpkg.com/apollo-tracing/-/apollo-tracing-0.300.0-alpha.3.tgz#ed997f1fa1885650c00f35a57b593dd2f8ba9495"
integrity sha512-9x5rVAWHqRHPEfxsiVW5ryV9s4QAu7RqfyIF94abEEUV8HCVV4t8sTGGp7NPaEkCbCtscb7NAa4yYcQwzzDSoA==
dependencies:
apollo-server-env "^3.0.0-alpha.3"
apollo-server-plugin-base "^0.300.0-alpha.3"

apollo-upload-client@14.1.2:
version "14.1.2"
resolved "https://registry.yarnpkg.com/apollo-upload-client/-/apollo-upload-client-14.1.2.tgz#7a72b000f1cd67eaf8f12b4bda2796d0898c0dae"
Expand Down Expand Up @@ -2762,7 +2857,7 @@ async-limiter@~1.0.0:
resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==

async-retry@^1.2.1:
async-retry@^1.2.1, async-retry@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/async-retry/-/async-retry-1.3.1.tgz#139f31f8ddce50c0870b0ba558a6079684aaed55"
integrity sha512-aiieFW/7h3hY0Bq5d+ktDBejxuwR78vRu9hDUdR8rNhSaQ29VzPL4AoIRG7D/c7tdenwOcKvgPM6tIxB3cB6HA==
Expand Down Expand Up @@ -4580,7 +4675,7 @@ fast-glob@3.2.5, fast-glob@^3.1.1, fast-glob@^3.2.4:
micromatch "^4.0.2"
picomatch "^2.2.1"

fast-json-stable-stringify@2.1.0, fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0:
fast-json-stable-stringify@2.1.0, fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
Expand Down Expand Up @@ -4614,13 +4709,13 @@ fast-xml-parser@3.17.6:
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-3.17.6.tgz#4f5df8cf927c3e59a10362abcfb7335c34bc5c5f"
integrity sha512-40WHI/5d2MOzf1sD2bSaTXlPn1lueJLAX6j1xH5dSAr6tNeut8B9ktEL6sjAK9yVON4uNj9//axOdBJUuruCzw==

fastify-accepts@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fastify-accepts/-/fastify-accepts-1.0.0.tgz#8475d1e4c4eaf777eb916144ddc904f92d3c726a"
integrity sha512-JVI/zKXjVfwIAdXDZvNKM7CCEWkbTFSZQUEQxrH4KBprbopGxq3R4RSIsVxqhdkVanm90yyVcPtgEa2MnDwPyg==
fastify-accepts@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/fastify-accepts/-/fastify-accepts-2.0.1.tgz#adfff78c700e23eb59c79cc3ab40b45980ae13a7"
integrity sha512-L7yOz/NQ4WMd6RP3eDz1bEBDXRT0Xw7ij8cNUhIw5IwDnKxnpPiX8NZd4HU+N28GEK+X5V3OrbRSYXM1upWdDg==
dependencies:
accepts "^1.3.5"
fastify-plugin "^1.2.0"
fastify-plugin "^2.0.0"

fastify-cookie@^5.1.0:
version "5.1.0"
Expand All @@ -4639,12 +4734,12 @@ fastify-cors@5.2.0:
fastify-plugin "^3.0.0"
vary "^1.1.2"

fastify-cors@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/fastify-cors/-/fastify-cors-0.2.0.tgz#8fce0a2a5ba05ac08c7d6f2ca4c501b0ae638e39"
integrity sha512-bw14FmjHm8oF4TDLkwj2TpssH6O2gE0NpsRqLe7F1Gh9Jf30Lx9ZzIznhqaAKOYS+LJqLIt5snurv7urgqYntA==
fastify-cors@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/fastify-cors/-/fastify-cors-4.1.0.tgz#ae6e2533f42b033a35da85ed3d585aafd56c2210"
integrity sha512-Vr4AgypDkRwG16cs1ORnYItZx6FMN+gCpHvP3/nzNZL1HFzf7U/NaSgmC784VqtK8yiqSXZEoTGCsmzeSp8JVw==
dependencies:
fastify-plugin "^1.2.0"
fastify-plugin "^2.0.0"
vary "^1.1.2"

fastify-csrf@^3.0.1:
Expand All @@ -4668,14 +4763,7 @@ fastify-formbody@5.0.0:
dependencies:
fastify-plugin "^2.3.2"

fastify-plugin@^1.2.0:
version "1.6.1"
resolved "https://registry.yarnpkg.com/fastify-plugin/-/fastify-plugin-1.6.1.tgz#122f5a5eeb630d55c301713145a9d188e6d5dd5b"
integrity sha512-APBcb27s+MjaBIerFirYmBLatoPCgmHZM6XP0K+nDL9k0yX8NJPWDY1RAC3bh6z+AB5ULS2j31BUfLMT3uaZ4A==
dependencies:
semver "^6.3.0"

fastify-plugin@^2.3.2:
fastify-plugin@^2.0.0, fastify-plugin@^2.3.2:
version "2.3.4"
resolved "https://registry.yarnpkg.com/fastify-plugin/-/fastify-plugin-2.3.4.tgz#b17abdc36a97877d88101fb86ad8a07f2c07de87"
integrity sha512-I+Oaj6p9oiRozbam30sh39BiuiqBda7yK2nmSPVwDCfIBlKnT8YB3MY+pRQc2Fcd07bf6KPGklHJaQ2Qu81TYQ==
Expand Down Expand Up @@ -5162,13 +5250,6 @@ graphql-extensions@^0.12.4, graphql-extensions@^0.12.8:
apollo-server-env "^3.0.0"
apollo-server-types "^0.6.3"

graphql-subscriptions@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-1.1.0.tgz#5f2fa4233eda44cf7570526adfcf3c16937aef11"
integrity sha512-6WzlBFC0lWmXJbIVE8OgFgXIP4RJi3OQgTPa0DVMsDXdpRDjTsM1K9wfl5HSYX7R87QAGlvcv2Y4BIZa/ItonA==
dependencies:
iterall "^1.2.1"

graphql-tag@^2.11.0, graphql-tag@^2.9.2:
version "2.11.0"
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.11.0.tgz#1deb53a01c46a7eb401d6cb59dec86fa1cccbffd"
Expand Down Expand Up @@ -6882,7 +6963,7 @@ log-update@^4.0.0:
slice-ansi "^4.0.0"
wrap-ansi "^6.2.0"

loglevel@^1.6.1, loglevel@^1.6.7:
loglevel@^1.6.1, loglevel@^1.6.7, loglevel@^1.6.8:
version "1.7.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.1.tgz#005fde2f5e6e47068f935ff28573e125ef72f197"
integrity sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw==
Expand Down

0 comments on commit 1395b73

Please sign in to comment.