@zuplo/cli 6.70.68 → 6.70.70

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 (38) hide show
  1. package/node_modules/@zuplo/core/package.json +1 -1
  2. package/node_modules/@zuplo/graphql/package.json +1 -1
  3. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  4. package/node_modules/@zuplo/otel/package.json +1 -1
  5. package/node_modules/@zuplo/runtime/out/esm/{chunk-34MOY5RI.js → chunk-GEVKFSKR.js} +2 -2
  6. package/node_modules/@zuplo/runtime/out/esm/{chunk-34MOY5RI.js.map → chunk-GEVKFSKR.js.map} +1 -1
  7. package/node_modules/@zuplo/runtime/out/esm/{chunk-IXLWCUYQ.js → chunk-MJPI3GFA.js} +105 -104
  8. package/node_modules/@zuplo/runtime/out/esm/chunk-MJPI3GFA.js.map +1 -0
  9. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  10. package/node_modules/@zuplo/runtime/out/esm/index.js.map +1 -1
  11. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +13 -13
  12. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  13. package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
  14. package/node_modules/@zuplo/runtime/out/types/index.d.ts +323 -0
  15. package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +3 -1
  16. package/node_modules/@zuplo/runtime/package.json +1 -1
  17. package/node_modules/protobufjs/dist/light/protobuf.js +18 -17
  18. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  19. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  20. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  21. package/node_modules/protobufjs/dist/minimal/protobuf.js +3 -3
  22. package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  23. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  24. package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  25. package/node_modules/protobufjs/dist/protobuf.js +18 -17
  26. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  27. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  28. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  29. package/node_modules/protobufjs/package.json +1 -1
  30. package/node_modules/protobufjs/src/converter.js +5 -4
  31. package/node_modules/protobufjs/src/decoder.js +1 -1
  32. package/node_modules/protobufjs/src/service.js +5 -7
  33. package/node_modules/protobufjs/src/type.js +3 -1
  34. package/node_modules/protobufjs/src/util/minimal.js +1 -1
  35. package/node_modules/protobufjs/src/verifier.js +1 -1
  36. package/package.json +6 -6
  37. package/node_modules/@zuplo/runtime/out/esm/chunk-IXLWCUYQ.js.map +0 -1
  38. /package/node_modules/@zuplo/runtime/out/esm/{chunk-IXLWCUYQ.js.LEGAL.txt → chunk-MJPI3GFA.js.LEGAL.txt} +0 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.6.2 (c) 2016, daniel wirtz
3
- * compiled sat, 30 may 2026 21:57:57 utc
2
+ * protobuf.js v7.6.3 (c) 2016, daniel wirtz
3
+ * compiled tue, 09 jun 2026 20:47:47 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1674,14 +1674,15 @@ converter.fromObject = function fromObject(mtype) {
1674
1674
  var fields = mtype.fieldsArray;
1675
1675
  var gen = util.codegen(["d", "n"], mtype.name + "$fromObject")
1676
1676
  ("if(d instanceof this.ctor)")
1677
- ("return d")
1677
+ ("return d");
1678
+ if (!fields.length) return gen
1679
+ ("return new this.ctor");
1680
+ gen
1678
1681
  ("if(!util.isObject(d))")
1679
1682
  ("throw TypeError(%j)", mtype.fullName + ": object expected")
1680
1683
  ("if(n===undefined)n=0")
1681
1684
  ("if(n>util.recursionLimit)")
1682
1685
  ("throw Error(\"maximum nesting depth exceeded\")");
1683
- if (!fields.length) return gen
1684
- ("return new this.ctor");
1685
1686
  gen
1686
1687
  ("var m=new this.ctor");
1687
1688
  for (var i = 0; i < fields.length; ++i) {
@@ -1869,7 +1870,7 @@ converter.toObject = function toObject(mtype) {
1869
1870
  genValuePartial_toObject(gen, field, /* sorted */ index, prop + "[j]")
1870
1871
  ("}");
1871
1872
  } else { gen
1872
- ("if(m%s!=null&&m.hasOwnProperty(%j)){", prop, field.name); // !== undefined && !== null
1873
+ ("if(m%s!=null&&Object.hasOwnProperty.call(m,%j)){", prop, field.name); // !== undefined && !== null
1873
1874
  genValuePartial_toObject(gen, field, /* sorted */ index, prop);
1874
1875
  if (field.partOf) gen
1875
1876
  ("if(o.oneofs)")
@@ -2011,7 +2012,7 @@ function decoder(mtype) {
2011
2012
  for (i = 0; i < mtype._fieldsArray.length; ++i) {
2012
2013
  var rfield = mtype._fieldsArray[i];
2013
2014
  if (rfield.required) gen
2014
- ("if(!m.hasOwnProperty(%j))", rfield.name)
2015
+ ("if(!Object.hasOwnProperty.call(m,%j))", rfield.name)
2015
2016
  ("throw util.ProtocolError(%j,{instance:m})", missing(rfield));
2016
2017
  }
2017
2018
 
@@ -6669,8 +6670,6 @@ var Method = require(24),
6669
6670
  util = require(39),
6670
6671
  rpc = require(33);
6671
6672
 
6672
- var reservedRe = util.patterns.reservedRe;
6673
-
6674
6673
  /**
6675
6674
  * Constructs a new service instance.
6676
6675
  * @classdesc Reflected service.
@@ -6845,11 +6844,11 @@ Service.prototype.create = function create(rpcImpl, requestDelimited, responseDe
6845
6844
  var rpcService = new rpc.Service(rpcImpl, requestDelimited, responseDelimited);
6846
6845
  for (var i = 0, method; i < /* initializes */ this.methodsArray.length; ++i) {
6847
6846
  var methodName = util.lcFirst((method = this._methodsArray[i]).resolve().name).replace(/[^$\w_]/g, "");
6848
- rpcService[methodName] = util.codegen(["r","c"], reservedRe.test(methodName) ? methodName + "_" : methodName)("return this.rpcCall(m,q,s,r,c)")({
6849
- m: method,
6850
- q: method.resolvedRequestType.ctor,
6851
- s: method.resolvedResponseType.ctor
6852
- });
6847
+ rpcService[methodName] = (function(method, requestType, responseType) {
6848
+ return function rpcMethod(request, callback) {
6849
+ return rpc.Service.prototype.rpcCall.call(this, method, requestType, responseType, request, callback);
6850
+ };
6851
+ })(method, method.resolvedRequestType.ctor, method.resolvedResponseType.ctor);
6853
6852
  }
6854
6853
  return rpcService;
6855
6854
  };
@@ -7648,7 +7647,7 @@ Type.prototype.add = function add(object) {
7648
7647
  throw Error("duplicate id " + object.id + " in " + this);
7649
7648
  if (this.isReservedId(object.id))
7650
7649
  throw Error("id " + object.id + " is reserved in " + this);
7651
- if (this.isReservedName(object.name))
7650
+ if (this.isReservedName(object.name) || object.name.charAt(0) === "$")
7652
7651
  throw Error("name '" + object.name + "' is reserved in " + this);
7653
7652
  if (object.name === "__proto__")
7654
7653
  return this;
@@ -7661,6 +7660,8 @@ Type.prototype.add = function add(object) {
7661
7660
  return clearCache(this);
7662
7661
  }
7663
7662
  if (object instanceof OneOf) {
7663
+ if (object.name.charAt(0) === "$")
7664
+ throw Error("name '" + object.name + "' is reserved in " + this);
7664
7665
  if (object.name === "__proto__")
7665
7666
  return this;
7666
7667
  if (!this.oneofs)
@@ -8671,7 +8672,7 @@ util.isset =
8671
8672
  */
8672
8673
  util.isSet = function isSet(obj, prop) {
8673
8674
  var value = obj[prop];
8674
- if (value != null && obj.hasOwnProperty(prop)) // eslint-disable-line eqeqeq, no-prototype-builtins
8675
+ if (value != null && Object.hasOwnProperty.call(obj, prop)) // eslint-disable-line eqeqeq
8675
8676
  return typeof value !== "object" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;
8676
8677
  return false;
8677
8678
  };
@@ -9195,7 +9196,7 @@ function verifier(mtype) {
9195
9196
  ref = "m" + util.safeProp(field.name);
9196
9197
 
9197
9198
  if (field.optional) gen
9198
- ("if(%s!=null&&m.hasOwnProperty(%j)){", ref, field.name); // !== undefined && !== null
9199
+ ("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){", ref, field.name); // !== undefined && !== null
9199
9200
 
9200
9201
  // map fields
9201
9202
  if (field.map) { gen