diff --git a/extensions/graphql/package.json b/extensions/graphql/package.json index 8ebe8b4b4fb3..3385262b87db 100644 --- a/extensions/graphql/package.json +++ b/extensions/graphql/package.json @@ -54,7 +54,7 @@ "graphql": "^16.11.0", "graphql-subscriptions": "^2.0.0", "graphql-ws": "^5.16.2", - "type-graphql": "^2.0.0-beta.2", + "type-graphql": "^2.0.0-rc.2", "ws": "^8.18.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index e2da140d9003..dc9e5a4266ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1585,7 +1585,7 @@ "graphql": "^16.11.0", "graphql-subscriptions": "^2.0.0", "graphql-ws": "^5.16.2", - "type-graphql": "^2.0.0-beta.2", + "type-graphql": "^2.0.0-rc.2", "ws": "^8.18.3" }, "devDependencies": { @@ -1614,7 +1614,8 @@ "extensions/graphql/node_modules/@types/node": { "version": "16.18.126", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.126.tgz", - "integrity": "sha512-OTcgaiwfGFBKacvfwuHzzn1KLxH/er8mluiy8/uM3sGXHaRe73RrSIj01jow9t4kJEW633Ov+cOexXeiApTyAw==" + "integrity": "sha512-OTcgaiwfGFBKacvfwuHzzn1KLxH/er8mluiy8/uM3sGXHaRe73RrSIj01jow9t4kJEW633Ov+cOexXeiApTyAw==", + "dev": true }, "extensions/graphql/node_modules/debug": { "version": "4.4.1", @@ -1632,41 +1633,6 @@ } } }, - "extensions/graphql/node_modules/type-graphql": { - "version": "2.0.0-beta.2", - "resolved": "https://registry.npmjs.org/type-graphql/-/type-graphql-2.0.0-beta.2.tgz", - "integrity": "sha512-MCGxRvNADu5Wp9QEudI/WQgiqHJfjanGcKRk/ErCow6IaG04NNI7o3bjjxQVWC+qDundSOhmaquNdjDiiTbcqQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/TypeGraphQL" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/typegraphql" - } - ], - "dependencies": { - "@types/node": "*", - "@types/semver": "^7.5.0", - "graphql-query-complexity": "^0.12.0", - "graphql-subscriptions": "^2.0.0", - "semver": "^7.5.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">= 14.5.0" - }, - "peerDependencies": { - "class-validator": ">=0.14.0", - "graphql": "^16.6.0" - }, - "peerDependenciesMeta": { - "class-validator": { - "optional": true - } - } - }, "extensions/health": { "name": "@loopback/health", "version": "0.15.2", @@ -3489,6 +3455,34 @@ "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 || ^17.0.0" } }, + "node_modules/@graphql-yoga/subscription": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@graphql-yoga/subscription/-/subscription-5.0.5.tgz", + "integrity": "sha512-oCMWOqFs6QV96/NZRt/ZhTQvzjkGB4YohBOpKM4jH/lDT4qb7Lex/aGCxpi/JD9njw3zBBtMqxbaC22+tFHVvw==", + "license": "MIT", + "dependencies": { + "@graphql-yoga/typed-event-target": "^3.0.2", + "@repeaterjs/repeater": "^3.0.4", + "@whatwg-node/events": "^0.1.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@graphql-yoga/typed-event-target": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@graphql-yoga/typed-event-target/-/typed-event-target-3.0.2.tgz", + "integrity": "sha512-ZpJxMqB+Qfe3rp6uszCQoag4nSw42icURnBRfFYSOmTgEeOe4rD0vYlbA8spvCu2TlCesNTlEN9BLWtQqLxabA==", + "license": "MIT", + "dependencies": { + "@repeaterjs/repeater": "^3.0.4", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@grpc/grpc-js": { "version": "1.13.4", "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.4.tgz", @@ -7976,6 +7970,12 @@ "streamx": "^2.15.0" } }, + "node_modules/@repeaterjs/repeater": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@repeaterjs/repeater/-/repeater-3.0.6.tgz", + "integrity": "sha512-Javneu5lsuhwNCryN+pXH93VPQ8g0dBX7wItHFgYiwQmzE1sVdg5tWHiOgHywzL2W21XQopa7IwIEnNbmeUJYA==", + "license": "MIT" + }, "node_modules/@rushstack/node-core-library": { "version": "5.13.1", "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.13.1.tgz", @@ -10069,6 +10069,18 @@ } } }, + "node_modules/@whatwg-node/events": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.1.2.tgz", + "integrity": "sha512-ApcWxkrs1WmEMS2CaLLFUEem/49erT3sxIVjpzU5f6zmVcnijtDSrhoK2zVobOIikZJdH63jdAXOrvjf6eOUNQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.3" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@whatwg-node/promise-helpers": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@whatwg-node/promise-helpers/-/promise-helpers-1.3.2.tgz", @@ -17691,6 +17703,22 @@ "graphql": "^14.6.0 || ^15.0.0 || ^16.0.0" } }, + "node_modules/graphql-scalars": { + "version": "1.24.2", + "resolved": "https://registry.npmjs.org/graphql-scalars/-/graphql-scalars-1.24.2.tgz", + "integrity": "sha512-FoZ11yxIauEnH0E5rCUkhDXHVn/A6BBfovJdimRZCQlFCl+h7aVvarKmI15zG4VtQunmCDdqdtNs6ixThy3uAg==", + "license": "MIT", + "peer": true, + "dependencies": { + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "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-subscriptions": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/graphql-subscriptions/-/graphql-subscriptions-2.0.0.tgz", @@ -33787,6 +33815,43 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/type-graphql": { + "version": "2.0.0-rc.2", + "resolved": "https://registry.npmjs.org/type-graphql/-/type-graphql-2.0.0-rc.2.tgz", + "integrity": "sha512-DJ8erG1cmjteMrOhFIkBHOqRM+L+wCJxvNjbbj1Y+q2r4HZkB1qOSS4ZD4AaoAfRPAp1yU23gMtmzf0jen/FFA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/TypeGraphQL" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/typegraphql" + } + ], + "license": "MIT", + "dependencies": { + "@graphql-yoga/subscription": "^5.0.0", + "@types/node": "*", + "@types/semver": "^7.5.6", + "graphql-query-complexity": "^0.12.0", + "semver": "^7.5.4", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">= 18.12.0" + }, + "peerDependencies": { + "class-validator": ">=0.14.0", + "graphql": "^16.8.1", + "graphql-scalars": "^1.23.0" + }, + "peerDependenciesMeta": { + "class-validator": { + "optional": true + } + } + }, "node_modules/type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",