@zuplo/cli 6.70.29 → 6.70.31

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 (162) hide show
  1. package/node_modules/@protobufjs/fetch/CHANGELOG.md +8 -0
  2. package/node_modules/@protobufjs/fetch/index.d.ts +7 -7
  3. package/node_modules/@protobufjs/fetch/index.js +4 -7
  4. package/node_modules/@protobufjs/fetch/package.json +7 -5
  5. package/node_modules/@protobufjs/fetch/tests/data/file.txt +1 -0
  6. package/node_modules/@protobufjs/fetch/tests/index.js +150 -8
  7. package/node_modules/@protobufjs/fetch/util/fs.js +11 -0
  8. package/node_modules/@protobufjs/inquire/CHANGELOG.md +8 -0
  9. package/node_modules/@protobufjs/inquire/index.d.ts +1 -0
  10. package/node_modules/@protobufjs/inquire/index.js +1 -0
  11. package/node_modules/@protobufjs/inquire/package.json +1 -1
  12. package/node_modules/@zuplo/core/package.json +1 -1
  13. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +21 -17
  14. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -1
  15. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/index.js +65 -35
  16. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -1
  17. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
  18. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +3 -3
  19. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -1
  20. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/perf.js +1 -2
  21. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -1
  22. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/index.d.ts +21 -17
  23. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
  24. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/index.js +65 -35
  25. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
  26. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  27. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/index.min.js.map +3 -3
  28. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/index.d.ts +21 -17
  29. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -1
  30. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/index.js +65 -35
  31. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -1
  32. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
  33. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +3 -3
  34. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -1
  35. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/perf.js +1 -2
  36. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -1
  37. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -1
  38. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/perf.js +1 -2
  39. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -1
  40. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/index.d.ts +21 -17
  41. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -1
  42. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/index.js +65 -35
  43. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -1
  44. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
  45. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/index.min.js.map +3 -3
  46. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -1
  47. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/perf.js +1 -2
  48. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -1
  49. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/index.d.ts +21 -17
  50. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
  51. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/index.js +65 -35
  52. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/index.js.map +1 -1
  53. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  54. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/index.min.js.map +3 -3
  55. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/index.d.ts +21 -17
  56. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -1
  57. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/index.js +65 -35
  58. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/index.js.map +1 -1
  59. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
  60. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/index.min.js.map +3 -3
  61. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -1
  62. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/perf.js +1 -2
  63. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -1
  64. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -1
  65. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/perf.js +1 -2
  66. package/node_modules/@zuplo/editor/node_modules/lru-cache/dist/esm/perf.js.map +1 -1
  67. package/node_modules/@zuplo/editor/node_modules/lru-cache/package.json +8 -8
  68. package/node_modules/@zuplo/graphql/package.json +1 -1
  69. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  70. package/node_modules/@zuplo/otel/package.json +1 -1
  71. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +21 -21
  72. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  73. package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +2 -1
  74. package/node_modules/@zuplo/runtime/package.json +1 -1
  75. package/node_modules/pg-protocol/dist/buffer-reader.js.map +1 -1
  76. package/node_modules/pg-protocol/dist/serializer.d.ts +1 -0
  77. package/node_modules/pg-protocol/package.json +4 -4
  78. package/node_modules/pg-protocol/src/buffer-reader.ts +1 -1
  79. package/node_modules/protobufjs/dist/light/protobuf.js +187 -153
  80. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  81. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  82. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  83. package/node_modules/protobufjs/dist/minimal/protobuf.js +14 -5
  84. package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  85. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  86. package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  87. package/node_modules/protobufjs/dist/protobuf.js +207 -173
  88. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  89. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  90. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  91. package/node_modules/protobufjs/package.json +6 -3
  92. package/node_modules/protobufjs/src/util/fs.js +11 -0
  93. package/node_modules/protobufjs/src/util/minimal.js +10 -2
  94. package/node_modules/protobufjs/src/util.js +1 -1
  95. package/node_modules/qs/CHANGELOG.md +10 -0
  96. package/node_modules/qs/README.md +1 -1
  97. package/node_modules/qs/dist/qs.js +15 -15
  98. package/node_modules/qs/eslint.config.mjs +1 -0
  99. package/node_modules/qs/lib/parse.js +52 -22
  100. package/node_modules/qs/lib/stringify.js +11 -4
  101. package/node_modules/qs/package.json +2 -2
  102. package/node_modules/qs/test/parse.js +49 -0
  103. package/node_modules/qs/test/stringify.js +129 -0
  104. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +21 -17
  105. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -1
  106. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/index.js +65 -35
  107. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -1
  108. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
  109. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +3 -3
  110. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -1
  111. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/perf.js +1 -2
  112. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -1
  113. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts +21 -17
  114. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
  115. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js +65 -35
  116. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
  117. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  118. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js.map +3 -3
  119. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/index.d.ts +21 -17
  120. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -1
  121. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/index.js +65 -35
  122. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -1
  123. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
  124. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +3 -3
  125. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -1
  126. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/perf.js +1 -2
  127. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -1
  128. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -1
  129. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/perf.js +1 -2
  130. package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -1
  131. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/index.d.ts +21 -17
  132. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -1
  133. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/index.js +65 -35
  134. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -1
  135. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
  136. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/index.min.js.map +3 -3
  137. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -1
  138. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/perf.js +1 -2
  139. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -1
  140. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts +21 -17
  141. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
  142. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js +65 -35
  143. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js.map +1 -1
  144. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  145. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js.map +3 -3
  146. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/index.d.ts +21 -17
  147. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -1
  148. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/index.js +65 -35
  149. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/index.js.map +1 -1
  150. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
  151. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/index.min.js.map +3 -3
  152. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -1
  153. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/perf.js +1 -2
  154. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -1
  155. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -1
  156. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/perf.js +1 -2
  157. package/node_modules/rimraf/node_modules/lru-cache/dist/esm/perf.js.map +1 -1
  158. package/node_modules/rimraf/node_modules/lru-cache/package.json +8 -8
  159. package/node_modules/toad-cache/dist/toad-cache.cjs +185 -185
  160. package/node_modules/toad-cache/dist/toad-cache.mjs +181 -181
  161. package/node_modules/toad-cache/package.json +33 -31
  162. package/package.json +6 -6
@@ -1268,7 +1268,8 @@ export declare interface McpUpstreamConnectionInboundPolicyOptions {
1268
1268
  * 3. Builds a new `Request` targeting the upstream's MCP HTTP endpoint
1269
1269
  * with the customer's body and headers, plus the resolved credential
1270
1270
  * translated to `Authorization` / custom request headers.
1271
- * 4. `fetch`-es the upstream and returns the response untouched.
1271
+ * 4. `fetch`-es the upstream, returning successful responses untouched and
1272
+ * mapping upstream error responses to problem+json responses.
1272
1273
  *
1273
1274
  * Use this for the common single-upstream pass-through case (the new
1274
1275
  * recommended shape). For multi-upstream aggregation or curated catalogs,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.70.29",
4
+ "version": "6.70.31",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {
@@ -1 +1 @@
1
- {"version":3,"file":"buffer-reader.js","sourceRoot":"","sources":["../src/buffer-reader.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAY;IAMvB,YAAoB,SAAiB,CAAC;QAAlB,WAAM,GAAN,MAAM,CAAY;QAL9B,WAAM,GAAW,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAE9C,wCAAwC;QAChC,aAAQ,GAAW,OAAO,CAAA;IAEO,CAAC;IAEnC,SAAS,CAAC,MAAc,EAAE,MAAc;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEM,KAAK;QACV,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnD,IAAI,CAAC,MAAM,IAAI,CAAC,CAAA;QAChB,OAAO,MAAM,CAAA;IACf,CAAC;IAEM,IAAI;QACT,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,MAAM,EAAE,CAAA;QACb,OAAO,MAAM,CAAA;IACf,CAAC;IAEM,KAAK;QACV,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,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,OAAO,MAAM,CAAA;IACf,CAAC;IAEM,OAAO;QACZ,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;QACzB,IAAI,GAAG,GAAG,KAAK,CAAA;QACf,oCAAoC;QACpC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,GAAE;QACnC,IAAI,CAAC,MAAM,GAAG,GAAG,CAAA;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,CAAC,CAAA;IAC5D,CAAC;IAEM,KAAK,CAAC,MAAc;QACzB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;QACnE,IAAI,CAAC,MAAM,IAAI,MAAM,CAAA;QACrB,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAzDD,oCAyDC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  declare type ParseOpts = {
2
3
  name?: string;
3
4
  types?: number[];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-protocol",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "The postgres client/server binary protocol, implemented in TypeScript",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "devDependencies": {
18
18
  "@types/chai": "^4.2.7",
19
19
  "@types/mocha": "^10.0.10",
20
- "@types/node": "^12.12.21",
20
+ "@types/node": "^16",
21
21
  "chai": "^4.2.0",
22
22
  "chunky": "^0.0.0",
23
23
  "mocha": "^11.7.5",
24
24
  "ts-node": "^8.5.4",
25
- "typescript": "^4.0.3"
25
+ "typescript": "^6.0.3"
26
26
  },
27
27
  "scripts": {
28
28
  "test": "mocha dist/**/*.test.js",
@@ -41,5 +41,5 @@
41
41
  "/src",
42
42
  "/esm"
43
43
  ],
44
- "gitHead": "c9070cc8d526fca65780cedc25c1966b57cf7532"
44
+ "gitHead": "544b1ce8152bc280e398dc1e8a66920abe6a640e"
45
45
  }
@@ -2,7 +2,7 @@ export class BufferReader {
2
2
  private buffer: Buffer = Buffer.allocUnsafe(0)
3
3
 
4
4
  // TODO(bmc): support non-utf8 encoding?
5
- private encoding: string = 'utf-8'
5
+ private encoding: BufferEncoding = 'utf-8'
6
6
 
7
7
  constructor(private offset: number = 0) {}
8
8