File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' graphql-ws ' : minor
3+ ---
4+
5+ Define optional peer dependencies and least supported versions
6+
7+ Using the [ ` peerDependencies ` ] ( https://docs.npmjs.com/cli/v11/configuring-npm/package-json#peerdependencies ) in combination with [ ` peerDependenciesMeta ` ] ( https://docs.npmjs.com/cli/v11/configuring-npm/package-json#peerdependenciesmeta ) configuration in ` package.json ` .
Original file line number Diff line number Diff line change 9090 "test" : " vitest"
9191 },
9292 "peerDependencies" : {
93- "graphql" : " ^15.10.1 || ^16.10.0"
93+ "@fastify/websocket" : " ^10 || ^11" ,
94+ "graphql" : " ^15.10.1 || ^16" ,
95+ "uWebSockets.js" : " ^20" ,
96+ "ws" : " ^8"
97+ },
98+ "peerDependenciesMeta" : {
99+ "@fastify/websocket" : {
100+ "optional" : true
101+ },
102+ "uWebSockets.js" : {
103+ "optional" : true
104+ },
105+ "ws" : {
106+ "optional" : true
107+ }
94108 },
95109 "devDependencies" : {
96110 "@changesets/changelog-github" : " ^0.5.0" ,
114128 "typedoc" : " ^0.27.6" ,
115129 "typedoc-plugin-markdown" : " ^4.4.1" ,
116130 "typescript" : " ^5.7.3" ,
117- "uWebSockets.js" : " uNetworking/uWebSockets.js#v20 .51.0" ,
131+ "uWebSockets.js" : " uNetworking/uWebSockets.js#semver:^20 .51.0" ,
118132 "vitest" : " ^2.1.8" ,
119133 "ws" : " ^8.18.0"
120134 },
Original file line number Diff line number Diff line change @@ -2534,11 +2534,21 @@ __metadata:
25342534 typedoc : " npm:^0.27.6"
25352535 typedoc-plugin-markdown : " npm:^4.4.1"
25362536 typescript : " npm:^5.7.3"
2537- uWebSockets.js : " uNetworking/uWebSockets.js#v20 .51.0"
2537+ uWebSockets.js : " uNetworking/uWebSockets.js#semver:^20 .51.0"
25382538 vitest : " npm:^2.1.8"
25392539 ws : " npm:^8.18.0"
25402540 peerDependencies :
2541- graphql : ^15.10.1 || ^16.10.0
2541+ " @fastify/websocket " : ^10 || ^11
2542+ graphql : ^15.10.1 || ^16
2543+ uWebSockets.js : ^20
2544+ ws : ^8
2545+ peerDependenciesMeta :
2546+ " @fastify/websocket " :
2547+ optional : true
2548+ uWebSockets.js :
2549+ optional : true
2550+ ws :
2551+ optional : true
25422552 languageName : unknown
25432553 linkType : soft
25442554
@@ -4320,7 +4330,7 @@ __metadata:
43204330 languageName : node
43214331 linkType : hard
43224332
4323- " uWebSockets.js@uNetworking/uWebSockets.js#v20 .51.0 " :
4333+ " uWebSockets.js@uNetworking/uWebSockets.js#semver:^20 .51.0 " :
43244334 version : 20.51.0
43254335 resolution : " uWebSockets.js@https://github.com/uNetworking/uWebSockets.js.git#commit=6609a88ffa9a16ac5158046761356ce03250a0df"
43264336 checksum : 10c0/25bd18780ee0582981bf40f40a56dd1d38d528c0d22806c4295d6ab165aae10e90438ca910952ca32d86e264d851325104051b3339e46c8df8633661192d7131
You can’t perform that action at this time.
0 commit comments