diff --git a/package-lock.json b/package-lock.json index 5a09b79..fad3a14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "validator": "^13.6.0" }, "devDependencies": { - "@graphql-yoga/node": "2.13.13", + "@graphql-yoga/node": "3.3.0", "apollo-server-express": "3.11.1", "coveralls": "3.1.1", "express": "4.18.2", @@ -468,83 +468,6 @@ "to-fast-properties": "^2.0.0" } }, - "node_modules/@envelop/core": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@envelop/core/-/core-2.6.0.tgz", - "integrity": "sha512-yTptKinJN//i6m1kXUbnLBl/FobzddI4ehURAMS08eRUOQwAuXqJU9r8VdTav8nIZLb4t6cuDWFb3n331LiwLw==", - "dev": true, - "dependencies": { - "@envelop/types": "2.4.0", - "tslib": "2.4.0" - }, - "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" - } - }, - "node_modules/@envelop/core/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, - "node_modules/@envelop/parser-cache": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@envelop/parser-cache/-/parser-cache-4.7.0.tgz", - "integrity": "sha512-63NfXDcW/vGn4U6NFxaZ0JbYWAcJb9A6jhTvghsSz1ZS+Dny/ci8bVSgVmM1q+N56hPyGsVPuyI+rIc71mPU5g==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0", - "tslib": "^2.4.0" - }, - "peerDependencies": { - "@envelop/core": "^2.6.0", - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" - } - }, - "node_modules/@envelop/parser-cache/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, - "node_modules/@envelop/types": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@envelop/types/-/types-2.4.0.tgz", - "integrity": "sha512-pjxS98cDQBS84X29VcwzH3aJ/KiLCGwyMxuj7/5FkdiaCXAD1JEvKEj9LARWlFYj1bY43uII4+UptFebrhiIaw==", - "dev": true, - "dependencies": { - "tslib": "^2.4.0" - }, - "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" - } - }, - "node_modules/@envelop/types/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, - "node_modules/@envelop/validation-cache": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@envelop/validation-cache/-/validation-cache-4.7.0.tgz", - "integrity": "sha512-PzL+GfWJRT+JjsJqZAIxHKEkvkM3hxkeytS5O0QLXT8kURNBV28r+Kdnn2RCF5+6ILhyGpiDb60vaquBi7g4lw==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0", - "tslib": "^2.4.0" - }, - "peerDependencies": { - "@envelop/core": "^2.6.0", - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" - } - }, - "node_modules/@envelop/validation-cache/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, "node_modules/@eslint/eslintrc": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", @@ -604,6 +527,40 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, + "node_modules/@graphql-tools/executor": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-0.0.11.tgz", + "integrity": "sha512-GjtXW0ZMGZGKad6A1HXFPArkfxE0AIpznusZuQdy4laQx+8Ut3Zx8SAFJNnDfZJ2V5kU29B5Xv3Fr0/DiMBHOQ==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "9.1.3", + "@graphql-typed-document-node/core": "3.1.1", + "@repeaterjs/repeater": "3.0.4", + "tslib": "^2.4.0", + "value-or-promise": "1.0.11" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/executor/node_modules/@graphql-tools/utils": { + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-9.1.3.tgz", + "integrity": "sha512-bbJyKhs6awp1/OmP+WKA1GOyu9UbgZGkhIj5srmiMGLHohEOKMjW784Sk0BZil1w2x95UPu0WHw6/d/HVCACCg==", + "dev": true, + "dependencies": { + "tslib": "^2.4.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/executor/node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true + }, "node_modules/@graphql-tools/merge": { "version": "8.3.1", "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.3.1.tgz", @@ -757,101 +714,19 @@ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" } }, - "node_modules/@graphql-yoga/common": { - "version": "2.12.12", - "resolved": "https://registry.npmjs.org/@graphql-yoga/common/-/common-2.12.12.tgz", - "integrity": "sha512-La2ygIw2qlIJZrRGT4nW70Nam7gQ2xZkOn0FDCnKWSJhQ4nHw4aFAkeHIJdZGK0u2TqtXRrNSAj5cb/TZoqUiQ==", - "dev": true, - "dependencies": { - "@envelop/core": "^2.5.0", - "@envelop/parser-cache": "^4.6.0", - "@envelop/validation-cache": "^4.6.0", - "@graphql-tools/schema": "^9.0.0", - "@graphql-tools/utils": "^8.8.0", - "@graphql-typed-document-node/core": "^3.1.1", - "@graphql-yoga/subscription": "^2.2.3", - "@whatwg-node/fetch": "^0.3.0", - "dset": "^3.1.1", - "tslib": "^2.3.1" - }, - "peerDependencies": { - "graphql": "^15.2.0 || ^16.0.0" - } - }, - "node_modules/@graphql-yoga/common/node_modules/@graphql-tools/utils": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.12.0.tgz", - "integrity": "sha512-TeO+MJWGXjUTS52qfK4R8HiPoF/R7X+qmgtOYd8DTH0l6b+5Y/tlg5aGeUJefqImRq7nvi93Ms40k/Uz4D5CWw==", - "dev": true, - "dependencies": { - "tslib": "^2.4.0" - }, - "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" - } - }, - "node_modules/@graphql-yoga/common/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, "node_modules/@graphql-yoga/node": { - "version": "2.13.13", - "resolved": "https://registry.npmjs.org/@graphql-yoga/node/-/node-2.13.13.tgz", - "integrity": "sha512-3NmdEq3BkuVLRbo5yUi401sBiwowSKgY8O1DN1RwYdHRr0nu2dXzlYEETf4XLymyP6mKsVfQgsy7HQjwsc1oNw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@graphql-yoga/node/-/node-3.3.0.tgz", + "integrity": "sha512-ix/jZZlFQrsSoRWKyZtbNNRA3kn0U3gXlCH+30R6Zqd2WtCH/c9tf5tNE4UW5KsXoCmlxPClFlYf3PSZHGE+FA==", "dev": true, "dependencies": { - "@envelop/core": "^2.5.0", - "@graphql-tools/utils": "^8.8.0", - "@graphql-yoga/common": "^2.12.12", - "@graphql-yoga/subscription": "^2.2.3", - "@whatwg-node/fetch": "^0.3.0", + "graphql-yoga": "3.3.0", "tslib": "^2.3.1" }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0" } }, - "node_modules/@graphql-yoga/node/node_modules/@graphql-tools/utils": { - "version": "8.13.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.13.1.tgz", - "integrity": "sha512-qIh9yYpdUFmctVqovwMdheVNJqFh+DQNWIhX87FJStfXYnmweBUDATok9fWPleKeFwxnW8IapKmY8m8toJEkAw==", - "dev": true, - "dependencies": { - "tslib": "^2.4.0" - }, - "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" - } - }, - "node_modules/@graphql-yoga/node/node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - }, - "node_modules/@graphql-yoga/subscription": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@graphql-yoga/subscription/-/subscription-2.2.3.tgz", - "integrity": "sha512-It/Dfh+nW2ClTtmOylAa+o7fbKIRYRTH6jfKLj3YB75tkv/rFZ70bjlChDCrEMa46I+zDMg7+cdkrQOXov2fDg==", - "dev": true, - "dependencies": { - "@graphql-yoga/typed-event-target": "^0.1.1", - "@repeaterjs/repeater": "^3.0.4", - "tslib": "^2.3.1" - } - }, - "node_modules/@graphql-yoga/typed-event-target": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@graphql-yoga/typed-event-target/-/typed-event-target-0.1.1.tgz", - "integrity": "sha512-l23kLKHKhfD7jmv4OUlzxMTihSqgIjGWCSb0KdlLkeiaF2jjuo8pRhX200hFTrtjRHGSYS1fx2lltK/xWci+vw==", - "dev": true, - "dependencies": { - "@repeaterjs/repeater": "^3.0.4", - "tslib": "^2.3.1" - } - }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -1159,9 +1034,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "17.0.21", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz", - "integrity": "sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==", + "version": "18.11.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==", "dev": true }, "node_modules/@types/qs": { @@ -1186,20 +1061,39 @@ "@types/node": "*" } }, - "node_modules/@whatwg-node/fetch": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.3.2.tgz", - "integrity": "sha512-Bs5zAWQs0tXsLa4mRmLw7Psps1EN78vPtgcLpw3qPY8s6UYPUM67zFZ9cy+7tZ64PXhfwzxJn+m7RH2Lq48RNQ==", + "node_modules/@whatwg-node/events": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.0.2.tgz", + "integrity": "sha512-WKj/lI4QjnLuPrim0cfO7i+HsDSXHxNv1y0CrJhdntuO3hxWZmnXCwNDnwOvry11OjRin6cgWNF+j/9Pn8TN4w==", + "dev": true + }, + "node_modules/@whatwg-node/server": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@whatwg-node/server/-/server-0.5.4.tgz", + "integrity": "sha512-JDMmRyyQXdXOzPY2hhJNR+n4K3F2+LuReHbnF81oi+pnNAgHiffr6s9ZGVI3bO9p/Hv/3v0ur3VaMmTPGtxdUA==", + "dev": true, + "dependencies": { + "@whatwg-node/fetch": "0.6.1", + "tslib": "^2.3.1" + }, + "peerDependencies": { + "@types/node": "^18.0.6" + } + }, + "node_modules/@whatwg-node/server/node_modules/@whatwg-node/fetch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.6.1.tgz", + "integrity": "sha512-sG39WLvcJxGZ+gDstnLSXR2IcnuvIOB51KxCFo0mEhFW0q2u8fZgolr0HPkL+zXwOJsnmT+9V3IRcqLnTXdqVQ==", "dev": true, "dependencies": { "@peculiar/webcrypto": "^1.4.0", "abort-controller": "^3.0.0", "busboy": "^1.6.0", - "event-target-polyfill": "^0.0.3", "form-data-encoder": "^1.7.1", "formdata-node": "^4.3.1", "node-fetch": "^2.6.7", - "undici": "^5.8.0", + "undici": "^5.12.0", + "urlpattern-polyfill": "^6.0.2", "web-streams-polyfill": "^3.2.0" } }, @@ -2966,12 +2860,6 @@ "node": ">= 0.6" } }, - "node_modules/event-target-polyfill": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/event-target-polyfill/-/event-target-polyfill-0.0.3.tgz", - "integrity": "sha512-ZMc6UuvmbinrCk4RzGyVmRyIsAyxMRlp4CqSrcQRO8Dy0A9ldbiRy5kdtBj4OtP7EClGdqGfIqo9JmOClMsGLQ==", - "dev": true - }, "node_modules/event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -3646,6 +3534,120 @@ "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" } }, + "node_modules/graphql-yoga": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/graphql-yoga/-/graphql-yoga-3.3.0.tgz", + "integrity": "sha512-xkxenHhwQ5RWmjp7iNVYl0oIsVzt3wZb2GRXESiFYoRMl8pRSzuVlGvdVejEVWi6TWYHvYAF2LvuKrm1on4Gzw==", + "dev": true, + "dependencies": { + "@envelop/core": "3.0.4", + "@envelop/parser-cache": "^5.0.4", + "@envelop/validation-cache": "^5.0.5", + "@graphql-tools/executor": "0.0.11", + "@graphql-tools/schema": "^9.0.0", + "@graphql-tools/utils": "^9.0.1", + "@graphql-yoga/subscription": "^3.0.0", + "@whatwg-node/fetch": "0.6.1", + "@whatwg-node/server": "0.5.4", + "dset": "^3.1.1", + "tslib": "^2.3.1" + }, + "peerDependencies": { + "graphql": "^15.2.0 || ^16.0.0" + } + }, + "node_modules/graphql-yoga/node_modules/@envelop/core": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@envelop/core/-/core-3.0.4.tgz", + "integrity": "sha512-AybIZxQsDlFQTWHy6YtX/MSQPVuw+eOFtTW90JsHn6EbmcQnD6N3edQfSiTGjggPRHLoC0+0cuYXp2Ly2r3vrQ==", + "dev": true, + "dependencies": { + "@envelop/types": "3.0.1", + "tslib": "2.4.0" + } + }, + "node_modules/graphql-yoga/node_modules/@envelop/parser-cache": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@envelop/parser-cache/-/parser-cache-5.0.4.tgz", + "integrity": "sha512-+kp6nzCVLYI2WQExQcE3FSy6n9ZGB5GYi+ntyjYdxaXU41U1f8RVwiLdyh0Ewn5D/s/zaLin09xkFKITVSAKDw==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@envelop/core": "^3.0.4", + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/graphql-yoga/node_modules/@envelop/types": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@envelop/types/-/types-3.0.1.tgz", + "integrity": "sha512-Ok62K1K+rlS+wQw77k8Pis8+1/h7+/9Wk5Fgcc2U6M5haEWsLFAHcHsk8rYlnJdEUl2Y3yJcCSOYbt1dyTaU5w==", + "dev": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/graphql-yoga/node_modules/@envelop/validation-cache": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@envelop/validation-cache/-/validation-cache-5.0.5.tgz", + "integrity": "sha512-69sq5H7hvxE+7VV60i0bgnOiV1PX9GEJHKrBrVvyEZAXqYojKO3DP9jnLGryiPgVaBjN5yw12ge0l0s2gXbolQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@envelop/core": "^3.0.4", + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/graphql-yoga/node_modules/@graphql-yoga/subscription": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@graphql-yoga/subscription/-/subscription-3.0.0.tgz", + "integrity": "sha512-Wy1m2fcCrSj2a/KbtlQUEJ8Go7M95jeUXEH1dqbS6T6wbReqQHqq5ecSUKNhL49Xziy2Sh6od8iWm7MBUIWAlQ==", + "dev": true, + "dependencies": { + "@graphql-yoga/typed-event-target": "^1.0.0", + "@repeaterjs/repeater": "^3.0.4", + "@whatwg-node/events": "0.0.2", + "tslib": "^2.3.1" + } + }, + "node_modules/graphql-yoga/node_modules/@graphql-yoga/typed-event-target": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@graphql-yoga/typed-event-target/-/typed-event-target-1.0.0.tgz", + "integrity": "sha512-Mqni6AEvl3VbpMtKw+TIjc9qS9a8hKhiAjFtqX488yq5oJtj9TkNlFTIacAVS3vnPiswNsmDiQqvwUOcJgi1DA==", + "dev": true, + "dependencies": { + "@repeaterjs/repeater": "^3.0.4", + "tslib": "^2.3.1" + } + }, + "node_modules/graphql-yoga/node_modules/@whatwg-node/fetch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.6.1.tgz", + "integrity": "sha512-sG39WLvcJxGZ+gDstnLSXR2IcnuvIOB51KxCFo0mEhFW0q2u8fZgolr0HPkL+zXwOJsnmT+9V3IRcqLnTXdqVQ==", + "dev": true, + "dependencies": { + "@peculiar/webcrypto": "^1.4.0", + "abort-controller": "^3.0.0", + "busboy": "^1.6.0", + "form-data-encoder": "^1.7.1", + "formdata-node": "^4.3.1", + "node-fetch": "^2.6.7", + "undici": "^5.12.0", + "urlpattern-polyfill": "^6.0.2", + "web-streams-polyfill": "^3.2.0" + } + }, + "node_modules/graphql-yoga/node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, "node_modules/har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", @@ -6756,9 +6758,9 @@ } }, "node_modules/undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.14.0.tgz", + "integrity": "sha512-yJlHYw6yXPPsuOH0x2Ib1Km61vu4hLiRRQoafs+WUgX1vO64vgnxiCEN9dpIrhZyHFsai3F0AEj4P9zy19enEQ==", "dev": true, "dependencies": { "busboy": "^1.6.0" @@ -6785,6 +6787,15 @@ "punycode": "^2.1.0" } }, + "node_modules/urlpattern-polyfill": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-6.0.2.tgz", + "integrity": "sha512-5vZjFlH9ofROmuWmXM9yj2wljYKgWstGwe8YTyiqM7hVum/g9LyCizPZtb3UqsuppVwety9QJmfc42VggLpTgg==", + "dev": true, + "dependencies": { + "braces": "^3.0.2" + } + }, "node_modules/utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", @@ -7504,77 +7515,6 @@ "to-fast-properties": "^2.0.0" } }, - "@envelop/core": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@envelop/core/-/core-2.6.0.tgz", - "integrity": "sha512-yTptKinJN//i6m1kXUbnLBl/FobzddI4ehURAMS08eRUOQwAuXqJU9r8VdTav8nIZLb4t6cuDWFb3n331LiwLw==", - "dev": true, - "requires": { - "@envelop/types": "2.4.0", - "tslib": "2.4.0" - }, - "dependencies": { - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } - } - }, - "@envelop/parser-cache": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@envelop/parser-cache/-/parser-cache-4.7.0.tgz", - "integrity": "sha512-63NfXDcW/vGn4U6NFxaZ0JbYWAcJb9A6jhTvghsSz1ZS+Dny/ci8bVSgVmM1q+N56hPyGsVPuyI+rIc71mPU5g==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0", - "tslib": "^2.4.0" - }, - "dependencies": { - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } - } - }, - "@envelop/types": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@envelop/types/-/types-2.4.0.tgz", - "integrity": "sha512-pjxS98cDQBS84X29VcwzH3aJ/KiLCGwyMxuj7/5FkdiaCXAD1JEvKEj9LARWlFYj1bY43uII4+UptFebrhiIaw==", - "dev": true, - "requires": { - "tslib": "^2.4.0" - }, - "dependencies": { - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } - } - }, - "@envelop/validation-cache": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@envelop/validation-cache/-/validation-cache-4.7.0.tgz", - "integrity": "sha512-PzL+GfWJRT+JjsJqZAIxHKEkvkM3hxkeytS5O0QLXT8kURNBV28r+Kdnn2RCF5+6ILhyGpiDb60vaquBi7g4lw==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0", - "tslib": "^2.4.0" - }, - "dependencies": { - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } - } - }, "@eslint/eslintrc": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", @@ -7619,6 +7559,36 @@ } } }, + "@graphql-tools/executor": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-0.0.11.tgz", + "integrity": "sha512-GjtXW0ZMGZGKad6A1HXFPArkfxE0AIpznusZuQdy4laQx+8Ut3Zx8SAFJNnDfZJ2V5kU29B5Xv3Fr0/DiMBHOQ==", + "dev": true, + "requires": { + "@graphql-tools/utils": "9.1.3", + "@graphql-typed-document-node/core": "3.1.1", + "@repeaterjs/repeater": "3.0.4", + "tslib": "^2.4.0", + "value-or-promise": "1.0.11" + }, + "dependencies": { + "@graphql-tools/utils": { + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-9.1.3.tgz", + "integrity": "sha512-bbJyKhs6awp1/OmP+WKA1GOyu9UbgZGkhIj5srmiMGLHohEOKMjW784Sk0BZil1w2x95UPu0WHw6/d/HVCACCg==", + "dev": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true + } + } + }, "@graphql-tools/merge": { "version": "8.3.1", "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.3.1.tgz", @@ -7755,90 +7725,13 @@ "dev": true, "requires": {} }, - "@graphql-yoga/common": { - "version": "2.12.12", - "resolved": "https://registry.npmjs.org/@graphql-yoga/common/-/common-2.12.12.tgz", - "integrity": "sha512-La2ygIw2qlIJZrRGT4nW70Nam7gQ2xZkOn0FDCnKWSJhQ4nHw4aFAkeHIJdZGK0u2TqtXRrNSAj5cb/TZoqUiQ==", - "dev": true, - "requires": { - "@envelop/core": "^2.5.0", - "@envelop/parser-cache": "^4.6.0", - "@envelop/validation-cache": "^4.6.0", - "@graphql-tools/schema": "^9.0.0", - "@graphql-tools/utils": "^8.8.0", - "@graphql-typed-document-node/core": "^3.1.1", - "@graphql-yoga/subscription": "^2.2.3", - "@whatwg-node/fetch": "^0.3.0", - "dset": "^3.1.1", - "tslib": "^2.3.1" - }, - "dependencies": { - "@graphql-tools/utils": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.12.0.tgz", - "integrity": "sha512-TeO+MJWGXjUTS52qfK4R8HiPoF/R7X+qmgtOYd8DTH0l6b+5Y/tlg5aGeUJefqImRq7nvi93Ms40k/Uz4D5CWw==", - "dev": true, - "requires": { - "tslib": "^2.4.0" - } - }, - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } - } - }, "@graphql-yoga/node": { - "version": "2.13.13", - "resolved": "https://registry.npmjs.org/@graphql-yoga/node/-/node-2.13.13.tgz", - "integrity": "sha512-3NmdEq3BkuVLRbo5yUi401sBiwowSKgY8O1DN1RwYdHRr0nu2dXzlYEETf4XLymyP6mKsVfQgsy7HQjwsc1oNw==", - "dev": true, - "requires": { - "@envelop/core": "^2.5.0", - "@graphql-tools/utils": "^8.8.0", - "@graphql-yoga/common": "^2.12.12", - "@graphql-yoga/subscription": "^2.2.3", - "@whatwg-node/fetch": "^0.3.0", - "tslib": "^2.3.1" - }, - "dependencies": { - "@graphql-tools/utils": { - "version": "8.13.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.13.1.tgz", - "integrity": "sha512-qIh9yYpdUFmctVqovwMdheVNJqFh+DQNWIhX87FJStfXYnmweBUDATok9fWPleKeFwxnW8IapKmY8m8toJEkAw==", - "dev": true, - "requires": { - "tslib": "^2.4.0" - } - }, - "tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - } - } - }, - "@graphql-yoga/subscription": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@graphql-yoga/subscription/-/subscription-2.2.3.tgz", - "integrity": "sha512-It/Dfh+nW2ClTtmOylAa+o7fbKIRYRTH6jfKLj3YB75tkv/rFZ70bjlChDCrEMa46I+zDMg7+cdkrQOXov2fDg==", - "dev": true, - "requires": { - "@graphql-yoga/typed-event-target": "^0.1.1", - "@repeaterjs/repeater": "^3.0.4", - "tslib": "^2.3.1" - } - }, - "@graphql-yoga/typed-event-target": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@graphql-yoga/typed-event-target/-/typed-event-target-0.1.1.tgz", - "integrity": "sha512-l23kLKHKhfD7jmv4OUlzxMTihSqgIjGWCSb0KdlLkeiaF2jjuo8pRhX200hFTrtjRHGSYS1fx2lltK/xWci+vw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@graphql-yoga/node/-/node-3.3.0.tgz", + "integrity": "sha512-ix/jZZlFQrsSoRWKyZtbNNRA3kn0U3gXlCH+30R6Zqd2WtCH/c9tf5tNE4UW5KsXoCmlxPClFlYf3PSZHGE+FA==", "dev": true, "requires": { - "@repeaterjs/repeater": "^3.0.4", + "graphql-yoga": "3.3.0", "tslib": "^2.3.1" } }, @@ -8119,9 +8012,9 @@ "dev": true }, "@types/node": { - "version": "17.0.21", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz", - "integrity": "sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==", + "version": "18.11.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==", "dev": true }, "@types/qs": { @@ -8146,21 +8039,39 @@ "@types/node": "*" } }, - "@whatwg-node/fetch": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.3.2.tgz", - "integrity": "sha512-Bs5zAWQs0tXsLa4mRmLw7Psps1EN78vPtgcLpw3qPY8s6UYPUM67zFZ9cy+7tZ64PXhfwzxJn+m7RH2Lq48RNQ==", + "@whatwg-node/events": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.0.2.tgz", + "integrity": "sha512-WKj/lI4QjnLuPrim0cfO7i+HsDSXHxNv1y0CrJhdntuO3hxWZmnXCwNDnwOvry11OjRin6cgWNF+j/9Pn8TN4w==", + "dev": true + }, + "@whatwg-node/server": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@whatwg-node/server/-/server-0.5.4.tgz", + "integrity": "sha512-JDMmRyyQXdXOzPY2hhJNR+n4K3F2+LuReHbnF81oi+pnNAgHiffr6s9ZGVI3bO9p/Hv/3v0ur3VaMmTPGtxdUA==", "dev": true, "requires": { - "@peculiar/webcrypto": "^1.4.0", - "abort-controller": "^3.0.0", - "busboy": "^1.6.0", - "event-target-polyfill": "^0.0.3", - "form-data-encoder": "^1.7.1", - "formdata-node": "^4.3.1", - "node-fetch": "^2.6.7", - "undici": "^5.8.0", - "web-streams-polyfill": "^3.2.0" + "@whatwg-node/fetch": "0.6.1", + "tslib": "^2.3.1" + }, + "dependencies": { + "@whatwg-node/fetch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.6.1.tgz", + "integrity": "sha512-sG39WLvcJxGZ+gDstnLSXR2IcnuvIOB51KxCFo0mEhFW0q2u8fZgolr0HPkL+zXwOJsnmT+9V3IRcqLnTXdqVQ==", + "dev": true, + "requires": { + "@peculiar/webcrypto": "^1.4.0", + "abort-controller": "^3.0.0", + "busboy": "^1.6.0", + "form-data-encoder": "^1.7.1", + "formdata-node": "^4.3.1", + "node-fetch": "^2.6.7", + "undici": "^5.12.0", + "urlpattern-polyfill": "^6.0.2", + "web-streams-polyfill": "^3.2.0" + } + } } }, "abort-controller": { @@ -9508,12 +9419,6 @@ "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", "dev": true }, - "event-target-polyfill": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/event-target-polyfill/-/event-target-polyfill-0.0.3.tgz", - "integrity": "sha512-ZMc6UuvmbinrCk4RzGyVmRyIsAyxMRlp4CqSrcQRO8Dy0A9ldbiRy5kdtBj4OtP7EClGdqGfIqo9JmOClMsGLQ==", - "dev": true - }, "event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -10020,6 +9925,111 @@ "tslib": "^2.1.0" } }, + "graphql-yoga": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/graphql-yoga/-/graphql-yoga-3.3.0.tgz", + "integrity": "sha512-xkxenHhwQ5RWmjp7iNVYl0oIsVzt3wZb2GRXESiFYoRMl8pRSzuVlGvdVejEVWi6TWYHvYAF2LvuKrm1on4Gzw==", + "dev": true, + "requires": { + "@envelop/core": "3.0.4", + "@envelop/parser-cache": "^5.0.4", + "@envelop/validation-cache": "^5.0.5", + "@graphql-tools/executor": "0.0.11", + "@graphql-tools/schema": "^9.0.0", + "@graphql-tools/utils": "^9.0.1", + "@graphql-yoga/subscription": "^3.0.0", + "@whatwg-node/fetch": "0.6.1", + "@whatwg-node/server": "0.5.4", + "dset": "^3.1.1", + "tslib": "^2.3.1" + }, + "dependencies": { + "@envelop/core": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@envelop/core/-/core-3.0.4.tgz", + "integrity": "sha512-AybIZxQsDlFQTWHy6YtX/MSQPVuw+eOFtTW90JsHn6EbmcQnD6N3edQfSiTGjggPRHLoC0+0cuYXp2Ly2r3vrQ==", + "dev": true, + "requires": { + "@envelop/types": "3.0.1", + "tslib": "2.4.0" + } + }, + "@envelop/parser-cache": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@envelop/parser-cache/-/parser-cache-5.0.4.tgz", + "integrity": "sha512-+kp6nzCVLYI2WQExQcE3FSy6n9ZGB5GYi+ntyjYdxaXU41U1f8RVwiLdyh0Ewn5D/s/zaLin09xkFKITVSAKDw==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0", + "tslib": "^2.4.0" + } + }, + "@envelop/types": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@envelop/types/-/types-3.0.1.tgz", + "integrity": "sha512-Ok62K1K+rlS+wQw77k8Pis8+1/h7+/9Wk5Fgcc2U6M5haEWsLFAHcHsk8rYlnJdEUl2Y3yJcCSOYbt1dyTaU5w==", + "dev": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "@envelop/validation-cache": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@envelop/validation-cache/-/validation-cache-5.0.5.tgz", + "integrity": "sha512-69sq5H7hvxE+7VV60i0bgnOiV1PX9GEJHKrBrVvyEZAXqYojKO3DP9jnLGryiPgVaBjN5yw12ge0l0s2gXbolQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0", + "tslib": "^2.4.0" + } + }, + "@graphql-yoga/subscription": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@graphql-yoga/subscription/-/subscription-3.0.0.tgz", + "integrity": "sha512-Wy1m2fcCrSj2a/KbtlQUEJ8Go7M95jeUXEH1dqbS6T6wbReqQHqq5ecSUKNhL49Xziy2Sh6od8iWm7MBUIWAlQ==", + "dev": true, + "requires": { + "@graphql-yoga/typed-event-target": "^1.0.0", + "@repeaterjs/repeater": "^3.0.4", + "@whatwg-node/events": "0.0.2", + "tslib": "^2.3.1" + } + }, + "@graphql-yoga/typed-event-target": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@graphql-yoga/typed-event-target/-/typed-event-target-1.0.0.tgz", + "integrity": "sha512-Mqni6AEvl3VbpMtKw+TIjc9qS9a8hKhiAjFtqX488yq5oJtj9TkNlFTIacAVS3vnPiswNsmDiQqvwUOcJgi1DA==", + "dev": true, + "requires": { + "@repeaterjs/repeater": "^3.0.4", + "tslib": "^2.3.1" + } + }, + "@whatwg-node/fetch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.6.1.tgz", + "integrity": "sha512-sG39WLvcJxGZ+gDstnLSXR2IcnuvIOB51KxCFo0mEhFW0q2u8fZgolr0HPkL+zXwOJsnmT+9V3IRcqLnTXdqVQ==", + "dev": true, + "requires": { + "@peculiar/webcrypto": "^1.4.0", + "abort-controller": "^3.0.0", + "busboy": "^1.6.0", + "form-data-encoder": "^1.7.1", + "formdata-node": "^4.3.1", + "node-fetch": "^2.6.7", + "undici": "^5.12.0", + "urlpattern-polyfill": "^6.0.2", + "web-streams-polyfill": "^3.2.0" + } + }, + "tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + } + } + }, "har-schema": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", @@ -12339,9 +12349,9 @@ } }, "undici": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.11.0.tgz", - "integrity": "sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.14.0.tgz", + "integrity": "sha512-yJlHYw6yXPPsuOH0x2Ib1Km61vu4hLiRRQoafs+WUgX1vO64vgnxiCEN9dpIrhZyHFsai3F0AEj4P9zy19enEQ==", "dev": true, "requires": { "busboy": "^1.6.0" @@ -12362,6 +12372,15 @@ "punycode": "^2.1.0" } }, + "urlpattern-polyfill": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-6.0.2.tgz", + "integrity": "sha512-5vZjFlH9ofROmuWmXM9yj2wljYKgWstGwe8YTyiqM7hVum/g9LyCizPZtb3UqsuppVwety9QJmfc42VggLpTgg==", + "dev": true, + "requires": { + "braces": "^3.0.2" + } + }, "utils-merge": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", diff --git a/package.json b/package.json index 154aa50..5e4accb 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "nyc": "15.1.0", "standard": "16.0.4", "supertest": "6.3.3", - "@graphql-yoga/node": "2.13.13" + "@graphql-yoga/node": "3.3.0" }, "dependencies": { "@graphql-tools/schema": "^9.0.0",