@zuplo/cli 7.15.32 → 7.15.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/node_modules/@hono/node-server/dist/index.cjs +5 -2
  2. package/node_modules/@hono/node-server/dist/index.mjs +5 -2
  3. package/node_modules/@hono/node-server/package.json +1 -1
  4. package/node_modules/@zuplo/core/package.json +1 -1
  5. package/node_modules/@zuplo/graphql/package.json +1 -1
  6. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  7. package/node_modules/@zuplo/otel/package.json +1 -1
  8. package/node_modules/@zuplo/runtime/out/esm/{chunk-C4ZTXG6P.js → chunk-552QIZSP.js} +86 -86
  9. package/node_modules/@zuplo/runtime/out/esm/chunk-552QIZSP.js.map +1 -0
  10. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  11. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
  12. package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
  13. package/node_modules/@zuplo/runtime/out/types/index.d.ts +15 -3
  14. package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +13 -1
  15. package/node_modules/@zuplo/runtime/package.json +1 -1
  16. package/node_modules/fast-copy/README.md +34 -34
  17. package/node_modules/fast-copy/dist/cjs/index.cjs +72 -24
  18. package/node_modules/fast-copy/dist/cjs/index.cjs.map +1 -1
  19. package/node_modules/fast-copy/dist/es/index.mjs +72 -24
  20. package/node_modules/fast-copy/dist/es/index.mjs.map +1 -1
  21. package/node_modules/fast-copy/dist/umd/index.js +72 -24
  22. package/node_modules/fast-copy/dist/umd/index.js.map +1 -1
  23. package/node_modules/fast-copy/package.json +13 -13
  24. package/node_modules/pkce-challenge/package.json +5 -4
  25. package/package.json +11 -11
  26. package/node_modules/@zuplo/runtime/out/esm/chunk-C4ZTXG6P.js.map +0 -1
  27. package/node_modules/pkce-challenge/CHANGELOG.md +0 -114
  28. /package/node_modules/@zuplo/runtime/out/esm/{chunk-C4ZTXG6P.js.LEGAL.txt → chunk-552QIZSP.js.LEGAL.txt} +0 -0
@@ -1222,10 +1222,13 @@ const setupWebSocket = (options) => {
1222
1222
  });
1223
1223
  };
1224
1224
  server.on("upgrade", async (request, socket, head) => {
1225
- if (request.headers.upgrade?.toLowerCase() !== "websocket") return;
1226
1225
  const ignoreSocketError = () => {};
1227
- const reclaimWaiterOnClose = () => rejectWaiter(request);
1228
1226
  socket.on("error", ignoreSocketError);
1227
+ if (request.headers.upgrade?.toLowerCase() !== "websocket") {
1228
+ if (server.listenerCount("upgrade") === 1) rejectUpgradeRequest(socket, 400);
1229
+ return;
1230
+ }
1231
+ const reclaimWaiterOnClose = () => rejectWaiter(request);
1229
1232
  socket.once("close", reclaimWaiterOnClose);
1230
1233
  const env = {
1231
1234
  incoming: request,
@@ -1221,10 +1221,13 @@ const setupWebSocket = (options) => {
1221
1221
  });
1222
1222
  };
1223
1223
  server.on("upgrade", async (request, socket, head) => {
1224
- if (request.headers.upgrade?.toLowerCase() !== "websocket") return;
1225
1224
  const ignoreSocketError = () => {};
1226
- const reclaimWaiterOnClose = () => rejectWaiter(request);
1227
1225
  socket.on("error", ignoreSocketError);
1226
+ if (request.headers.upgrade?.toLowerCase() !== "websocket") {
1227
+ if (server.listenerCount("upgrade") === 1) rejectUpgradeRequest(socket, 400);
1228
+ return;
1229
+ }
1230
+ const reclaimWaiterOnClose = () => rejectWaiter(request);
1228
1231
  socket.once("close", reclaimWaiterOnClose);
1229
1232
  const env = {
1230
1233
  incoming: request,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hono/node-server",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
4
4
  "description": "Node.js Adapter for Hono",
5
5
  "main": "dist/index.mjs",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/core",
3
- "version": "7.15.32",
3
+ "version": "7.15.34",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/graphql",
3
3
  "type": "module",
4
- "version": "7.15.32",
4
+ "version": "7.15.34",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {
@@ -2,7 +2,7 @@
2
2
  "name": "@zuplo/openapi-tools",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "7.15.32",
5
+ "version": "7.15.34",
6
6
  "description": "Tooling for OpenAPI files",
7
7
  "repository": {
8
8
  "type": "git",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/otel",
3
3
  "type": "module",
4
- "version": "7.15.32",
4
+ "version": "7.15.34",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {