From 62c21857a0242bf5968fc7f7800d64ccbfc4fbd9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 May 2026 21:37:17 +0000 Subject: [PATCH 1/2] Bump the npm_and_yarn group across 5 directories with 1 update Bumps the npm_and_yarn group with 1 update in the /examples/deterministic-roundtrip directory: [protobufjs](https://github.com/protobufjs/protobuf.js). Bumps the npm_and_yarn group with 1 update in the /examples/large-documents directory: [protobufjs](https://github.com/protobufjs/protobuf.js). Bumps the npm_and_yarn group with 1 update in the /examples/logging-example directory: [protobufjs](https://github.com/protobufjs/protobuf.js). Bumps the npm_and_yarn group with 1 update in the /examples/rekey-example directory: [protobufjs](https://github.com/protobufjs/protobuf.js). Bumps the npm_and_yarn group with 1 update in the /examples/simple-roundtrip directory: [protobufjs](https://github.com/protobufjs/protobuf.js). Updates `protobufjs` from 7.5.6 to 7.6.1 - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.6.1/CHANGELOG.md) - [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.6...protobufjs-v7.6.1) Updates `protobufjs` from 7.5.6 to 7.6.1 - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.6.1/CHANGELOG.md) - [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.6...protobufjs-v7.6.1) Updates `protobufjs` from 7.5.6 to 7.6.1 - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.6.1/CHANGELOG.md) - [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.6...protobufjs-v7.6.1) Updates `protobufjs` from 7.5.6 to 7.6.1 - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.6.1/CHANGELOG.md) - [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.6...protobufjs-v7.6.1) Updates `protobufjs` from 7.5.6 to 7.6.1 - [Release notes](https://github.com/protobufjs/protobuf.js/releases) - [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.6.1/CHANGELOG.md) - [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.6...protobufjs-v7.6.1) --- updated-dependencies: - dependency-name: protobufjs dependency-version: 7.6.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: protobufjs dependency-version: 7.6.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: protobufjs dependency-version: 7.6.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: protobufjs dependency-version: 7.6.1 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: protobufjs dependency-version: 7.6.1 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] --- examples/deterministic-roundtrip/yarn.lock | 52 ++++++++++------------ examples/large-documents/yarn.lock | 46 +++++++++---------- examples/logging-example/yarn.lock | 46 +++++++++---------- examples/rekey-example/yarn.lock | 46 +++++++++---------- examples/simple-roundtrip/yarn.lock | 46 +++++++++---------- yarn.lock | 19 ++++---- 6 files changed, 112 insertions(+), 143 deletions(-) diff --git a/examples/deterministic-roundtrip/yarn.lock b/examples/deterministic-roundtrip/yarn.lock index 7fa7f5e..dd81fc3 100644 --- a/examples/deterministic-roundtrip/yarn.lock +++ b/examples/deterministic-roundtrip/yarn.lock @@ -62,33 +62,27 @@ resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.5.tgz#d9315ad7cf3f30aac70bda3c068443dc6f143659" integrity sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g== -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== +"@protobufjs/eventemitter@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz#d512cb26c0ae026091ee2c1167f1be6faf5c842a" + integrity sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg== -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== +"@protobufjs/fetch@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.1.tgz#4d6fc00c8fb64016a5c81b469d549046350f1065" + integrity sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw== dependencies: "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== - -"@protobufjs/inquire@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.1.tgz#6cb936f4ac50965230af1e9d0bbfd57ea3675aa4" - integrity sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew== +"@protobufjs/inquire@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.2.tgz#ae64fbc014ff44c8bfad03dd4c93cd2d6a4c82db" + integrity sha512-pa0vFRuws4wkvaXKK1uXZMAwAX4/t8ANaJo45iw/oQHNQ9q5xUzwgFmVJGXiga2BeN+zpX7Vf9vmsiIa2J+MUw== "@protobufjs/path@^1.1.2": version "1.1.2" @@ -138,10 +132,10 @@ joi@^18.0.2: "@hapi/topo" "^6.0.2" "@standard-schema/spec" "^1.1.0" -long@^5.0.0: - version "5.2.3" - resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" - integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== +long@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" + integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== miscreant@^0.3.2: version "0.3.2" @@ -156,22 +150,22 @@ node-fetch@2.6.12: whatwg-url "^5.0.0" protobufjs@^7.2.5: - version "7.5.6" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.6.tgz#11af832ebc4b4326f658a5b1308e6141eb57edfd" - integrity sha512-M71sTMB146U3u0di3yup8iM+zv8yPRNQVr1KK4tyBitl3qFvEGucq/rGDRShD2rsJhtN02RJaJ7j5X5hmy8SJg== + version "7.6.1" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.6.1.tgz#6320bb08c3be7dcfc6f9193ee03d3a4643f1eb37" + integrity sha512-4K0myLaWL5EteuSAro91EGFgcfVgxb64Jx+7oDAY6GOkXD4M69yuSEljNcInGVCA5sOPxmZ/EqDLj2x0Q0+Ygg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" "@protobufjs/codegen" "^2.0.5" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" + "@protobufjs/eventemitter" "^1.1.1" + "@protobufjs/fetch" "^1.1.1" "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.1" + "@protobufjs/inquire" "^1.1.2" "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.1" "@types/node" ">=13.7.0" - long "^5.0.0" + long "^5.3.2" tr46@~0.0.3: version "0.0.3" diff --git a/examples/large-documents/yarn.lock b/examples/large-documents/yarn.lock index 8e8a909..dd81fc3 100644 --- a/examples/large-documents/yarn.lock +++ b/examples/large-documents/yarn.lock @@ -62,33 +62,27 @@ resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.5.tgz#d9315ad7cf3f30aac70bda3c068443dc6f143659" integrity sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g== -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== +"@protobufjs/eventemitter@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz#d512cb26c0ae026091ee2c1167f1be6faf5c842a" + integrity sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg== -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== +"@protobufjs/fetch@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.1.tgz#4d6fc00c8fb64016a5c81b469d549046350f1065" + integrity sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw== dependencies: "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== - -"@protobufjs/inquire@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.1.tgz#6cb936f4ac50965230af1e9d0bbfd57ea3675aa4" - integrity sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew== +"@protobufjs/inquire@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.2.tgz#ae64fbc014ff44c8bfad03dd4c93cd2d6a4c82db" + integrity sha512-pa0vFRuws4wkvaXKK1uXZMAwAX4/t8ANaJo45iw/oQHNQ9q5xUzwgFmVJGXiga2BeN+zpX7Vf9vmsiIa2J+MUw== "@protobufjs/path@^1.1.2": version "1.1.2" @@ -138,7 +132,7 @@ joi@^18.0.2: "@hapi/topo" "^6.0.2" "@standard-schema/spec" "^1.1.0" -long@^5.0.0: +long@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== @@ -156,22 +150,22 @@ node-fetch@2.6.12: whatwg-url "^5.0.0" protobufjs@^7.2.5: - version "7.5.6" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.6.tgz#11af832ebc4b4326f658a5b1308e6141eb57edfd" - integrity sha512-M71sTMB146U3u0di3yup8iM+zv8yPRNQVr1KK4tyBitl3qFvEGucq/rGDRShD2rsJhtN02RJaJ7j5X5hmy8SJg== + version "7.6.1" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.6.1.tgz#6320bb08c3be7dcfc6f9193ee03d3a4643f1eb37" + integrity sha512-4K0myLaWL5EteuSAro91EGFgcfVgxb64Jx+7oDAY6GOkXD4M69yuSEljNcInGVCA5sOPxmZ/EqDLj2x0Q0+Ygg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" "@protobufjs/codegen" "^2.0.5" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" + "@protobufjs/eventemitter" "^1.1.1" + "@protobufjs/fetch" "^1.1.1" "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.1" + "@protobufjs/inquire" "^1.1.2" "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.1" "@types/node" ">=13.7.0" - long "^5.0.0" + long "^5.3.2" tr46@~0.0.3: version "0.0.3" diff --git a/examples/logging-example/yarn.lock b/examples/logging-example/yarn.lock index 8e8a909..dd81fc3 100644 --- a/examples/logging-example/yarn.lock +++ b/examples/logging-example/yarn.lock @@ -62,33 +62,27 @@ resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.5.tgz#d9315ad7cf3f30aac70bda3c068443dc6f143659" integrity sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g== -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== +"@protobufjs/eventemitter@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz#d512cb26c0ae026091ee2c1167f1be6faf5c842a" + integrity sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg== -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== +"@protobufjs/fetch@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.1.tgz#4d6fc00c8fb64016a5c81b469d549046350f1065" + integrity sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw== dependencies: "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== - -"@protobufjs/inquire@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.1.tgz#6cb936f4ac50965230af1e9d0bbfd57ea3675aa4" - integrity sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew== +"@protobufjs/inquire@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.2.tgz#ae64fbc014ff44c8bfad03dd4c93cd2d6a4c82db" + integrity sha512-pa0vFRuws4wkvaXKK1uXZMAwAX4/t8ANaJo45iw/oQHNQ9q5xUzwgFmVJGXiga2BeN+zpX7Vf9vmsiIa2J+MUw== "@protobufjs/path@^1.1.2": version "1.1.2" @@ -138,7 +132,7 @@ joi@^18.0.2: "@hapi/topo" "^6.0.2" "@standard-schema/spec" "^1.1.0" -long@^5.0.0: +long@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== @@ -156,22 +150,22 @@ node-fetch@2.6.12: whatwg-url "^5.0.0" protobufjs@^7.2.5: - version "7.5.6" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.6.tgz#11af832ebc4b4326f658a5b1308e6141eb57edfd" - integrity sha512-M71sTMB146U3u0di3yup8iM+zv8yPRNQVr1KK4tyBitl3qFvEGucq/rGDRShD2rsJhtN02RJaJ7j5X5hmy8SJg== + version "7.6.1" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.6.1.tgz#6320bb08c3be7dcfc6f9193ee03d3a4643f1eb37" + integrity sha512-4K0myLaWL5EteuSAro91EGFgcfVgxb64Jx+7oDAY6GOkXD4M69yuSEljNcInGVCA5sOPxmZ/EqDLj2x0Q0+Ygg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" "@protobufjs/codegen" "^2.0.5" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" + "@protobufjs/eventemitter" "^1.1.1" + "@protobufjs/fetch" "^1.1.1" "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.1" + "@protobufjs/inquire" "^1.1.2" "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.1" "@types/node" ">=13.7.0" - long "^5.0.0" + long "^5.3.2" tr46@~0.0.3: version "0.0.3" diff --git a/examples/rekey-example/yarn.lock b/examples/rekey-example/yarn.lock index e9b1786..15b3c3a 100644 --- a/examples/rekey-example/yarn.lock +++ b/examples/rekey-example/yarn.lock @@ -62,33 +62,27 @@ resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.5.tgz#d9315ad7cf3f30aac70bda3c068443dc6f143659" integrity sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g== -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== +"@protobufjs/eventemitter@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz#d512cb26c0ae026091ee2c1167f1be6faf5c842a" + integrity sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg== -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== +"@protobufjs/fetch@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.1.tgz#4d6fc00c8fb64016a5c81b469d549046350f1065" + integrity sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw== dependencies: "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== - -"@protobufjs/inquire@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.1.tgz#6cb936f4ac50965230af1e9d0bbfd57ea3675aa4" - integrity sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew== +"@protobufjs/inquire@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.2.tgz#ae64fbc014ff44c8bfad03dd4c93cd2d6a4c82db" + integrity sha512-pa0vFRuws4wkvaXKK1uXZMAwAX4/t8ANaJo45iw/oQHNQ9q5xUzwgFmVJGXiga2BeN+zpX7Vf9vmsiIa2J+MUw== "@protobufjs/path@^1.1.2": version "1.1.2" @@ -138,7 +132,7 @@ joi@^18.0.2: "@hapi/topo" "^6.0.2" "@standard-schema/spec" "^1.1.0" -long@^5.0.0: +long@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== @@ -156,22 +150,22 @@ node-fetch@2.6.12: whatwg-url "^5.0.0" protobufjs@^7.2.5: - version "7.5.6" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.6.tgz#11af832ebc4b4326f658a5b1308e6141eb57edfd" - integrity sha512-M71sTMB146U3u0di3yup8iM+zv8yPRNQVr1KK4tyBitl3qFvEGucq/rGDRShD2rsJhtN02RJaJ7j5X5hmy8SJg== + version "7.6.1" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.6.1.tgz#6320bb08c3be7dcfc6f9193ee03d3a4643f1eb37" + integrity sha512-4K0myLaWL5EteuSAro91EGFgcfVgxb64Jx+7oDAY6GOkXD4M69yuSEljNcInGVCA5sOPxmZ/EqDLj2x0Q0+Ygg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" "@protobufjs/codegen" "^2.0.5" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" + "@protobufjs/eventemitter" "^1.1.1" + "@protobufjs/fetch" "^1.1.1" "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.1" + "@protobufjs/inquire" "^1.1.2" "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.1" "@types/node" ">=13.7.0" - long "^5.0.0" + long "^5.3.2" tr46@~0.0.3: version "0.0.3" diff --git a/examples/simple-roundtrip/yarn.lock b/examples/simple-roundtrip/yarn.lock index 8e8a909..dd81fc3 100644 --- a/examples/simple-roundtrip/yarn.lock +++ b/examples/simple-roundtrip/yarn.lock @@ -62,33 +62,27 @@ resolved "https://registry.yarnpkg.com/@protobufjs/codegen/-/codegen-2.0.5.tgz#d9315ad7cf3f30aac70bda3c068443dc6f143659" integrity sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g== -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" - integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== +"@protobufjs/eventemitter@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz#d512cb26c0ae026091ee2c1167f1be6faf5c842a" + integrity sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg== -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" - integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== +"@protobufjs/fetch@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@protobufjs/fetch/-/fetch-1.1.1.tgz#4d6fc00c8fb64016a5c81b469d549046350f1065" + integrity sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw== dependencies: "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" "@protobufjs/float@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" - integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== - -"@protobufjs/inquire@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.1.tgz#6cb936f4ac50965230af1e9d0bbfd57ea3675aa4" - integrity sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew== +"@protobufjs/inquire@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@protobufjs/inquire/-/inquire-1.1.2.tgz#ae64fbc014ff44c8bfad03dd4c93cd2d6a4c82db" + integrity sha512-pa0vFRuws4wkvaXKK1uXZMAwAX4/t8ANaJo45iw/oQHNQ9q5xUzwgFmVJGXiga2BeN+zpX7Vf9vmsiIa2J+MUw== "@protobufjs/path@^1.1.2": version "1.1.2" @@ -138,7 +132,7 @@ joi@^18.0.2: "@hapi/topo" "^6.0.2" "@standard-schema/spec" "^1.1.0" -long@^5.0.0: +long@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== @@ -156,22 +150,22 @@ node-fetch@2.6.12: whatwg-url "^5.0.0" protobufjs@^7.2.5: - version "7.5.6" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.6.tgz#11af832ebc4b4326f658a5b1308e6141eb57edfd" - integrity sha512-M71sTMB146U3u0di3yup8iM+zv8yPRNQVr1KK4tyBitl3qFvEGucq/rGDRShD2rsJhtN02RJaJ7j5X5hmy8SJg== + version "7.6.1" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.6.1.tgz#6320bb08c3be7dcfc6f9193ee03d3a4643f1eb37" + integrity sha512-4K0myLaWL5EteuSAro91EGFgcfVgxb64Jx+7oDAY6GOkXD4M69yuSEljNcInGVCA5sOPxmZ/EqDLj2x0Q0+Ygg== dependencies: "@protobufjs/aspromise" "^1.1.2" "@protobufjs/base64" "^1.1.2" "@protobufjs/codegen" "^2.0.5" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" + "@protobufjs/eventemitter" "^1.1.1" + "@protobufjs/fetch" "^1.1.1" "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.1" + "@protobufjs/inquire" "^1.1.2" "@protobufjs/path" "^1.1.2" "@protobufjs/pool" "^1.1.0" "@protobufjs/utf8" "^1.1.1" "@types/node" ">=13.7.0" - long "^5.0.0" + long "^5.3.2" tr46@~0.0.3: version "0.0.3" diff --git a/yarn.lock b/yarn.lock index 661a235..d6bc6c7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -823,7 +823,7 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@>=13.7.0": +"@types/node@*": version "17.0.39" resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.39.tgz#3652d82e2a16b4ea679d5ea3143b816c91b7e113" integrity sha512-JDU3YLlnPK3WDao6/DlXLOgSNpG13ct+CwIO17V8q0/9fWJyeMJJ/VyZ1lv8kDprihvZMydzVwf0tQOqGiY2Nw== @@ -3310,10 +3310,10 @@ lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.21, lodash@^4.7. resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c" integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q== -long@^5.0.0: - version "5.2.3" - resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" - integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== +long@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/long/-/long-5.3.2.tgz#1d84463095999262d7d7b7f8bfd4a8cc55167f83" + integrity sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA== lru-cache@^6.0.0: version "6.0.0" @@ -3868,12 +3868,11 @@ protobufjs-cli@^2.2.0: uglify-js "^3.7.7" protobufjs@^8.1.0: - version "8.2.0" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-8.2.0.tgz#b062ced7379d1363180473093aeac9a8048e30e7" - integrity sha512-oI+GC9iPxrQEr6wragljFKH46/r3rNsm6eg7F2fp6kBUMnf6/mesDRdBuF4gK+OyaKJ8N4C1B9s9cCeYdqFikg== + version "8.4.2" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-8.4.2.tgz#758b5ed274b8d859f95174cbdb569f359a804e29" + integrity sha512-64rfNzkWOZAIazXzpBFPWq6F9up6gMvTzjE2oWIzApx2N/dqVUEE7+bCn2+40780dFVtKOUab8QfxJ6KJDWbqA== dependencies: - "@types/node" ">=13.7.0" - long "^5.0.0" + long "^5.3.2" psl@^1.1.33: version "1.8.0" From cf04f4a3e1ace1a6f376d3bfafde4475b4409e00 Mon Sep 17 00:00:00 2001 From: Craig Colegrove Date: Thu, 28 May 2026 15:15:59 -0700 Subject: [PATCH 2/2] Bump protobufjs-cli as well --- package.json | 2 +- proto/ts/DocumentHeader.d.ts | 211 ++++++++++++++++++++++------------- proto/ts/DocumentHeader.js | 177 +++++++++++++++++++++-------- yarn.lock | 8 +- 4 files changed, 265 insertions(+), 133 deletions(-) diff --git a/package.json b/package.json index bf39ec7..387d1d2 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "jest": "^26.4.1", "jest-extended": "^0.11.5", "prompt": "^1.0.0", - "protobufjs-cli": "^2.2.0", + "protobufjs-cli": "^2.4.2", "shelljs": "^0.10.0", "ts-jest": "^26.2.0", "ts-node": "^8.10.2", diff --git a/proto/ts/DocumentHeader.d.ts b/proto/ts/DocumentHeader.d.ts index d243b97..69b0ecd 100644 --- a/proto/ts/DocumentHeader.d.ts +++ b/proto/ts/DocumentHeader.d.ts @@ -1,48 +1,44 @@ import * as $protobuf from "protobufjs"; import Long = require("long"); + /** Namespace ironcorelabs. */ export namespace ironcorelabs { /** Namespace proto. */ namespace proto { - /** Properties of a DataControlPlatformHeader. */ - interface IDataControlPlatformHeader { - - /** DataControlPlatformHeader documentId */ - documentId?: (string|null); - - /** DataControlPlatformHeader segmentId */ - segmentId?: (number|Long|null); - - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** + * Properties of a DataControlPlatformHeader. + * @deprecated Use ironcorelabs.proto.DataControlPlatformHeader.$Properties instead. + */ + interface IDataControlPlatformHeader extends ironcorelabs.proto.DataControlPlatformHeader.$Properties { } /** Represents a DataControlPlatformHeader. */ - class DataControlPlatformHeader implements IDataControlPlatformHeader { + class DataControlPlatformHeader { /** * Constructs a new DataControlPlatformHeader. * @param [properties] Properties to set */ - constructor(properties?: ironcorelabs.proto.IDataControlPlatformHeader); + constructor(properties?: ironcorelabs.proto.DataControlPlatformHeader.$Properties); /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; + $unknowns?: Uint8Array[]; /** DataControlPlatformHeader documentId. */ - public documentId: string; + documentId: string; /** DataControlPlatformHeader segmentId. */ - public segmentId: (number|Long); + segmentId: (number|Long); /** * Creates a new DataControlPlatformHeader instance using the specified properties. * @param [properties] Properties to set * @returns DataControlPlatformHeader instance */ - public static create(properties?: ironcorelabs.proto.IDataControlPlatformHeader): ironcorelabs.proto.DataControlPlatformHeader; + static create(properties: ironcorelabs.proto.DataControlPlatformHeader.$Shape): ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape; + static create(properties?: ironcorelabs.proto.DataControlPlatformHeader.$Properties): ironcorelabs.proto.DataControlPlatformHeader; /** * Encodes the specified DataControlPlatformHeader message. Does not implicitly {@link ironcorelabs.proto.DataControlPlatformHeader.verify|verify} messages. @@ -50,7 +46,7 @@ export namespace ironcorelabs { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: ironcorelabs.proto.IDataControlPlatformHeader, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: ironcorelabs.proto.DataControlPlatformHeader.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DataControlPlatformHeader message, length delimited. Does not implicitly {@link ironcorelabs.proto.DataControlPlatformHeader.verify|verify} messages. @@ -58,40 +54,40 @@ export namespace ironcorelabs { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: ironcorelabs.proto.IDataControlPlatformHeader, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: ironcorelabs.proto.DataControlPlatformHeader.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DataControlPlatformHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DataControlPlatformHeader + * @returns {ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape} DataControlPlatformHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ironcorelabs.proto.DataControlPlatformHeader; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape; /** * Decodes a DataControlPlatformHeader message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns DataControlPlatformHeader + * @returns {ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape} DataControlPlatformHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ironcorelabs.proto.DataControlPlatformHeader; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape; /** * Verifies a DataControlPlatformHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a DataControlPlatformHeader message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DataControlPlatformHeader */ - public static fromObject(object: { [k: string]: any }): ironcorelabs.proto.DataControlPlatformHeader; + static fromObject(object: { [k: string]: any }): ironcorelabs.proto.DataControlPlatformHeader; /** * Creates a plain object from a DataControlPlatformHeader message. Also converts values to other types if specified. @@ -99,53 +95,70 @@ export namespace ironcorelabs { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: ironcorelabs.proto.DataControlPlatformHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: ironcorelabs.proto.DataControlPlatformHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DataControlPlatformHeader to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** * Gets the type url for DataControlPlatformHeader * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` * @returns The type url */ - public static getTypeUrl(prefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a SaaSShieldHeader. */ - interface ISaaSShieldHeader { + namespace DataControlPlatformHeader { - /** SaaSShieldHeader tenantId */ - tenantId?: (string|null); + /** Properties of a DataControlPlatformHeader. */ + interface $Properties { - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** DataControlPlatformHeader documentId */ + documentId?: (string|null); + + /** DataControlPlatformHeader segmentId */ + segmentId?: (number|Long|null); + + /** Unknown fields preserved while decoding */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a DataControlPlatformHeader. */ + type $Shape = ironcorelabs.proto.DataControlPlatformHeader.$Properties; + } + + /** + * Properties of a SaaSShieldHeader. + * @deprecated Use ironcorelabs.proto.SaaSShieldHeader.$Properties instead. + */ + interface ISaaSShieldHeader extends ironcorelabs.proto.SaaSShieldHeader.$Properties { } /** Represents a SaaSShieldHeader. */ - class SaaSShieldHeader implements ISaaSShieldHeader { + class SaaSShieldHeader { /** * Constructs a new SaaSShieldHeader. * @param [properties] Properties to set */ - constructor(properties?: ironcorelabs.proto.ISaaSShieldHeader); + constructor(properties?: ironcorelabs.proto.SaaSShieldHeader.$Properties); /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; + $unknowns?: Uint8Array[]; /** SaaSShieldHeader tenantId. */ - public tenantId: string; + tenantId: string; /** * Creates a new SaaSShieldHeader instance using the specified properties. * @param [properties] Properties to set * @returns SaaSShieldHeader instance */ - public static create(properties?: ironcorelabs.proto.ISaaSShieldHeader): ironcorelabs.proto.SaaSShieldHeader; + static create(properties: ironcorelabs.proto.SaaSShieldHeader.$Shape): ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape; + static create(properties?: ironcorelabs.proto.SaaSShieldHeader.$Properties): ironcorelabs.proto.SaaSShieldHeader; /** * Encodes the specified SaaSShieldHeader message. Does not implicitly {@link ironcorelabs.proto.SaaSShieldHeader.verify|verify} messages. @@ -153,7 +166,7 @@ export namespace ironcorelabs { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: ironcorelabs.proto.ISaaSShieldHeader, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: ironcorelabs.proto.SaaSShieldHeader.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SaaSShieldHeader message, length delimited. Does not implicitly {@link ironcorelabs.proto.SaaSShieldHeader.verify|verify} messages. @@ -161,40 +174,40 @@ export namespace ironcorelabs { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: ironcorelabs.proto.ISaaSShieldHeader, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: ironcorelabs.proto.SaaSShieldHeader.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SaaSShieldHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SaaSShieldHeader + * @returns {ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape} SaaSShieldHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ironcorelabs.proto.SaaSShieldHeader; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape; /** * Decodes a SaaSShieldHeader message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SaaSShieldHeader + * @returns {ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape} SaaSShieldHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ironcorelabs.proto.SaaSShieldHeader; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape; /** * Verifies a SaaSShieldHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SaaSShieldHeader message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SaaSShieldHeader */ - public static fromObject(object: { [k: string]: any }): ironcorelabs.proto.SaaSShieldHeader; + static fromObject(object: { [k: string]: any }): ironcorelabs.proto.SaaSShieldHeader; /** * Creates a plain object from a SaaSShieldHeader message. Also converts values to other types if specified. @@ -202,68 +215,76 @@ export namespace ironcorelabs { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: ironcorelabs.proto.SaaSShieldHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: ironcorelabs.proto.SaaSShieldHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SaaSShieldHeader to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** * Gets the type url for SaaSShieldHeader * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` * @returns The type url */ - public static getTypeUrl(prefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a v3DocumentHeader. */ - interface Iv3DocumentHeader { + namespace SaaSShieldHeader { - /** v3DocumentHeader sig */ - sig?: (Uint8Array|null); + /** Properties of a SaaSShieldHeader. */ + interface $Properties { - /** v3DocumentHeader dataControl */ - dataControl?: (ironcorelabs.proto.IDataControlPlatformHeader|null); + /** SaaSShieldHeader tenantId */ + tenantId?: (string|null); - /** v3DocumentHeader saasShield */ - saasShield?: (ironcorelabs.proto.ISaaSShieldHeader|null); + /** Unknown fields preserved while decoding */ + $unknowns?: Uint8Array[]; + } - /** Unknown fields preserved while decoding */ - $unknowns?: Uint8Array[]; + /** Shape of a SaaSShieldHeader. */ + type $Shape = ironcorelabs.proto.SaaSShieldHeader.$Properties; + } + + /** + * Properties of a v3DocumentHeader. + * @deprecated Use ironcorelabs.proto.v3DocumentHeader.$Properties instead. + */ + interface Iv3DocumentHeader extends ironcorelabs.proto.v3DocumentHeader.$Properties { } /** Represents a v3DocumentHeader. */ - class v3DocumentHeader implements Iv3DocumentHeader { + class v3DocumentHeader { /** * Constructs a new v3DocumentHeader. * @param [properties] Properties to set */ - constructor(properties?: ironcorelabs.proto.Iv3DocumentHeader); + constructor(properties?: ironcorelabs.proto.v3DocumentHeader.$Properties); /** Unknown fields preserved while decoding */ - public $unknowns?: Uint8Array[]; + $unknowns?: Uint8Array[]; /** v3DocumentHeader sig. */ - public sig: Uint8Array; + sig: Uint8Array; /** v3DocumentHeader dataControl. */ - public dataControl?: (ironcorelabs.proto.IDataControlPlatformHeader|null); + dataControl?: (ironcorelabs.proto.DataControlPlatformHeader.$Properties|null); /** v3DocumentHeader saasShield. */ - public saasShield?: (ironcorelabs.proto.ISaaSShieldHeader|null); + saasShield?: (ironcorelabs.proto.SaaSShieldHeader.$Properties|null); /** v3DocumentHeader header. */ - public header?: ("dataControl"|"saasShield"); + header?: ("dataControl"|"saasShield"); /** * Creates a new v3DocumentHeader instance using the specified properties. * @param [properties] Properties to set * @returns v3DocumentHeader instance */ - public static create(properties?: ironcorelabs.proto.Iv3DocumentHeader): ironcorelabs.proto.v3DocumentHeader; + static create(properties: ironcorelabs.proto.v3DocumentHeader.$Shape): ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape; + static create(properties?: ironcorelabs.proto.v3DocumentHeader.$Properties): ironcorelabs.proto.v3DocumentHeader; /** * Encodes the specified v3DocumentHeader message. Does not implicitly {@link ironcorelabs.proto.v3DocumentHeader.verify|verify} messages. @@ -271,7 +292,7 @@ export namespace ironcorelabs { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: ironcorelabs.proto.Iv3DocumentHeader, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: ironcorelabs.proto.v3DocumentHeader.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified v3DocumentHeader message, length delimited. Does not implicitly {@link ironcorelabs.proto.v3DocumentHeader.verify|verify} messages. @@ -279,40 +300,40 @@ export namespace ironcorelabs { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: ironcorelabs.proto.Iv3DocumentHeader, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: ironcorelabs.proto.v3DocumentHeader.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a v3DocumentHeader message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns v3DocumentHeader + * @returns {ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape} v3DocumentHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ironcorelabs.proto.v3DocumentHeader; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape; /** * Decodes a v3DocumentHeader message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns v3DocumentHeader + * @returns {ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape} v3DocumentHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ironcorelabs.proto.v3DocumentHeader; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape; /** * Verifies a v3DocumentHeader message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a v3DocumentHeader message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns v3DocumentHeader */ - public static fromObject(object: { [k: string]: any }): ironcorelabs.proto.v3DocumentHeader; + static fromObject(object: { [k: string]: any }): ironcorelabs.proto.v3DocumentHeader; /** * Creates a plain object from a v3DocumentHeader message. Also converts values to other types if specified. @@ -320,20 +341,52 @@ export namespace ironcorelabs { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: ironcorelabs.proto.v3DocumentHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: ironcorelabs.proto.v3DocumentHeader, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this v3DocumentHeader to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** * Gets the type url for v3DocumentHeader * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` * @returns The type url */ - public static getTypeUrl(prefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace v3DocumentHeader { + + /** Properties of a v3DocumentHeader. */ + interface $Properties { + + /** v3DocumentHeader sig */ + sig?: (Uint8Array|null); + + /** v3DocumentHeader dataControl */ + dataControl?: (ironcorelabs.proto.DataControlPlatformHeader.$Properties|null); + + /** v3DocumentHeader saasShield */ + saasShield?: (ironcorelabs.proto.SaaSShieldHeader.$Properties|null); + + /** v3DocumentHeader header */ + header?: ("dataControl"|"saasShield"); + + /** Unknown fields preserved while decoding */ + $unknowns?: Uint8Array[]; + } + + /** Narrowed shape of a v3DocumentHeader. */ + type $Shape = { + sig?: Uint8Array|null; + dataControl?: ironcorelabs.proto.DataControlPlatformHeader.$Shape|null; + saasShield?: ironcorelabs.proto.SaaSShieldHeader.$Shape|null; + $unknowns?: Uint8Array[]; +} & ( + ({ header?: undefined; dataControl?: null; saasShield?: null }|{ header?: "dataControl"; dataControl: ironcorelabs.proto.DataControlPlatformHeader.$Shape; saasShield?: null }|{ header?: "saasShield"; dataControl?: null; saasShield: ironcorelabs.proto.SaaSShieldHeader.$Shape }) +); } } } diff --git a/proto/ts/DocumentHeader.js b/proto/ts/DocumentHeader.js index f52c172..81f4970 100644 --- a/proto/ts/DocumentHeader.js +++ b/proto/ts/DocumentHeader.js @@ -1,4 +1,4 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, default-case, jsdoc/require-param*/ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-mixed-operators, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, default-case, jsdoc/require-param*/ "use strict"; var $protobuf = require("protobufjs/minimal"); @@ -31,20 +31,31 @@ $root.ironcorelabs = (function() { /** * Properties of a DataControlPlatformHeader. - * @memberof ironcorelabs.proto - * @interface IDataControlPlatformHeader + * @typedef {Object} ironcorelabs.proto.DataControlPlatformHeader.$Properties * @property {string|null} [documentId] DataControlPlatformHeader documentId * @property {number|Long|null} [segmentId] DataControlPlatformHeader segmentId * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ + /** + * Properties of a DataControlPlatformHeader. + * @memberof ironcorelabs.proto + * @interface IDataControlPlatformHeader + * @augments ironcorelabs.proto.DataControlPlatformHeader.$Properties + * @deprecated Use ironcorelabs.proto.DataControlPlatformHeader.$Properties instead. + */ + + /** + * Shape of a DataControlPlatformHeader. + * @typedef {ironcorelabs.proto.DataControlPlatformHeader.$Properties} ironcorelabs.proto.DataControlPlatformHeader.$Shape + */ + /** * Constructs a new DataControlPlatformHeader. * @memberof ironcorelabs.proto * @classdesc Represents a DataControlPlatformHeader. - * @implements IDataControlPlatformHeader * @constructor - * @param {ironcorelabs.proto.IDataControlPlatformHeader=} [properties] Properties to set + * @param {ironcorelabs.proto.DataControlPlatformHeader.$Properties=} [properties] Properties to set * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function DataControlPlatformHeader(properties) { @@ -75,8 +86,12 @@ $root.ironcorelabs = (function() { * @function create * @memberof ironcorelabs.proto.DataControlPlatformHeader * @static - * @param {ironcorelabs.proto.IDataControlPlatformHeader=} [properties] Properties to set + * @param {ironcorelabs.proto.DataControlPlatformHeader.$Properties=} [properties] Properties to set * @returns {ironcorelabs.proto.DataControlPlatformHeader} DataControlPlatformHeader instance + * @type {{ + * (properties: ironcorelabs.proto.DataControlPlatformHeader.$Shape): ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape; + * (properties?: ironcorelabs.proto.DataControlPlatformHeader.$Properties): ironcorelabs.proto.DataControlPlatformHeader; + * }} */ DataControlPlatformHeader.create = function create(properties) { return new DataControlPlatformHeader(properties); @@ -87,13 +102,17 @@ $root.ironcorelabs = (function() { * @function encode * @memberof ironcorelabs.proto.DataControlPlatformHeader * @static - * @param {ironcorelabs.proto.IDataControlPlatformHeader} message DataControlPlatformHeader message or plain object to encode + * @param {ironcorelabs.proto.DataControlPlatformHeader.$Properties} message DataControlPlatformHeader message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DataControlPlatformHeader.encode = function encode(message, writer) { + DataControlPlatformHeader.encode = function encode(message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw Error("max depth exceeded"); if (message.documentId != null && Object.hasOwnProperty.call(message, "documentId")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.documentId); if (message.segmentId != null && Object.hasOwnProperty.call(message, "segmentId")) @@ -109,12 +128,12 @@ $root.ironcorelabs = (function() { * @function encodeDelimited * @memberof ironcorelabs.proto.DataControlPlatformHeader * @static - * @param {ironcorelabs.proto.IDataControlPlatformHeader} message DataControlPlatformHeader message or plain object to encode + * @param {ironcorelabs.proto.DataControlPlatformHeader.$Properties} message DataControlPlatformHeader message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ DataControlPlatformHeader.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim(); }; /** @@ -124,7 +143,7 @@ $root.ironcorelabs = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {ironcorelabs.proto.DataControlPlatformHeader} DataControlPlatformHeader + * @returns {ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape} DataControlPlatformHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -179,7 +198,7 @@ $root.ironcorelabs = (function() { * @memberof ironcorelabs.proto.DataControlPlatformHeader * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ironcorelabs.proto.DataControlPlatformHeader} DataControlPlatformHeader + * @returns {ironcorelabs.proto.DataControlPlatformHeader & ironcorelabs.proto.DataControlPlatformHeader.$Shape} DataControlPlatformHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -235,7 +254,7 @@ $root.ironcorelabs = (function() { if (object.segmentId != null) if (typeof object.segmentId === "object" ? object.segmentId.low || object.segmentId.high : Number(object.segmentId) !== 0) if ($util.Long) - (message.segmentId = $util.Long.fromValue(object.segmentId)).unsigned = true; + message.segmentId = $util.Long.fromValue(object.segmentId, true); else if (typeof object.segmentId === "string") message.segmentId = parseInt(object.segmentId, 10); else if (typeof object.segmentId === "number") @@ -254,22 +273,28 @@ $root.ironcorelabs = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - DataControlPlatformHeader.toObject = function toObject(message, options) { + DataControlPlatformHeader.toObject = function toObject(message, options, _depth) { if (!options) options = {}; + if (_depth === undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw Error("max depth exceeded"); var object = {}; if (options.defaults) { object.documentId = ""; if ($util.Long) { var long = new $util.Long(0, 0, true); - object.segmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.segmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long; } else - object.segmentId = options.longs === String ? "0" : 0; + object.segmentId = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0; } if (message.documentId != null && message.hasOwnProperty("documentId")) object.documentId = message.documentId; if (message.segmentId != null && message.hasOwnProperty("segmentId")) - if (typeof message.segmentId === "number") + if (typeof BigInt !== "undefined" && options.longs === BigInt) + object.segmentId = typeof message.segmentId === "number" ? BigInt(message.segmentId) : $util.Long.fromBits(message.segmentId.low >>> 0, message.segmentId.high >>> 0, true).toBigInt(); + else if (typeof message.segmentId === "number") object.segmentId = options.longs === String ? String(message.segmentId) : message.segmentId; else object.segmentId = options.longs === String ? $util.Long.prototype.toString.call(message.segmentId) : options.longs === Number ? new $util.LongBits(message.segmentId.low >>> 0, message.segmentId.high >>> 0).toNumber(true) : message.segmentId; @@ -308,19 +333,30 @@ $root.ironcorelabs = (function() { /** * Properties of a SaaSShieldHeader. - * @memberof ironcorelabs.proto - * @interface ISaaSShieldHeader + * @typedef {Object} ironcorelabs.proto.SaaSShieldHeader.$Properties * @property {string|null} [tenantId] SaaSShieldHeader tenantId * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ + /** + * Properties of a SaaSShieldHeader. + * @memberof ironcorelabs.proto + * @interface ISaaSShieldHeader + * @augments ironcorelabs.proto.SaaSShieldHeader.$Properties + * @deprecated Use ironcorelabs.proto.SaaSShieldHeader.$Properties instead. + */ + + /** + * Shape of a SaaSShieldHeader. + * @typedef {ironcorelabs.proto.SaaSShieldHeader.$Properties} ironcorelabs.proto.SaaSShieldHeader.$Shape + */ + /** * Constructs a new SaaSShieldHeader. * @memberof ironcorelabs.proto * @classdesc Represents a SaaSShieldHeader. - * @implements ISaaSShieldHeader * @constructor - * @param {ironcorelabs.proto.ISaaSShieldHeader=} [properties] Properties to set + * @param {ironcorelabs.proto.SaaSShieldHeader.$Properties=} [properties] Properties to set * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function SaaSShieldHeader(properties) { @@ -343,8 +379,12 @@ $root.ironcorelabs = (function() { * @function create * @memberof ironcorelabs.proto.SaaSShieldHeader * @static - * @param {ironcorelabs.proto.ISaaSShieldHeader=} [properties] Properties to set + * @param {ironcorelabs.proto.SaaSShieldHeader.$Properties=} [properties] Properties to set * @returns {ironcorelabs.proto.SaaSShieldHeader} SaaSShieldHeader instance + * @type {{ + * (properties: ironcorelabs.proto.SaaSShieldHeader.$Shape): ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape; + * (properties?: ironcorelabs.proto.SaaSShieldHeader.$Properties): ironcorelabs.proto.SaaSShieldHeader; + * }} */ SaaSShieldHeader.create = function create(properties) { return new SaaSShieldHeader(properties); @@ -355,13 +395,17 @@ $root.ironcorelabs = (function() { * @function encode * @memberof ironcorelabs.proto.SaaSShieldHeader * @static - * @param {ironcorelabs.proto.ISaaSShieldHeader} message SaaSShieldHeader message or plain object to encode + * @param {ironcorelabs.proto.SaaSShieldHeader.$Properties} message SaaSShieldHeader message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SaaSShieldHeader.encode = function encode(message, writer) { + SaaSShieldHeader.encode = function encode(message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw Error("max depth exceeded"); if (message.tenantId != null && Object.hasOwnProperty.call(message, "tenantId")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.tenantId); if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) @@ -375,12 +419,12 @@ $root.ironcorelabs = (function() { * @function encodeDelimited * @memberof ironcorelabs.proto.SaaSShieldHeader * @static - * @param {ironcorelabs.proto.ISaaSShieldHeader} message SaaSShieldHeader message or plain object to encode + * @param {ironcorelabs.proto.SaaSShieldHeader.$Properties} message SaaSShieldHeader message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ SaaSShieldHeader.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim(); }; /** @@ -390,7 +434,7 @@ $root.ironcorelabs = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {ironcorelabs.proto.SaaSShieldHeader} SaaSShieldHeader + * @returns {ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape} SaaSShieldHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -436,7 +480,7 @@ $root.ironcorelabs = (function() { * @memberof ironcorelabs.proto.SaaSShieldHeader * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ironcorelabs.proto.SaaSShieldHeader} SaaSShieldHeader + * @returns {ironcorelabs.proto.SaaSShieldHeader & ironcorelabs.proto.SaaSShieldHeader.$Shape} SaaSShieldHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -498,9 +542,13 @@ $root.ironcorelabs = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SaaSShieldHeader.toObject = function toObject(message, options) { + SaaSShieldHeader.toObject = function toObject(message, options, _depth) { if (!options) options = {}; + if (_depth === undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw Error("max depth exceeded"); var object = {}; if (options.defaults) object.tenantId = ""; @@ -541,21 +589,40 @@ $root.ironcorelabs = (function() { /** * Properties of a v3DocumentHeader. - * @memberof ironcorelabs.proto - * @interface Iv3DocumentHeader + * @typedef {Object} ironcorelabs.proto.v3DocumentHeader.$Properties * @property {Uint8Array|null} [sig] v3DocumentHeader sig - * @property {ironcorelabs.proto.IDataControlPlatformHeader|null} [dataControl] v3DocumentHeader dataControl - * @property {ironcorelabs.proto.ISaaSShieldHeader|null} [saasShield] v3DocumentHeader saasShield + * @property {ironcorelabs.proto.DataControlPlatformHeader.$Properties|null} [dataControl] v3DocumentHeader dataControl + * @property {ironcorelabs.proto.SaaSShieldHeader.$Properties|null} [saasShield] v3DocumentHeader saasShield + * @property {"dataControl"|"saasShield"} [header] v3DocumentHeader header * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ + /** + * Properties of a v3DocumentHeader. + * @memberof ironcorelabs.proto + * @interface Iv3DocumentHeader + * @augments ironcorelabs.proto.v3DocumentHeader.$Properties + * @deprecated Use ironcorelabs.proto.v3DocumentHeader.$Properties instead. + */ + + /** + * Narrowed shape of a v3DocumentHeader. + * @typedef {{ + * sig?: Uint8Array|null; + * dataControl?: ironcorelabs.proto.DataControlPlatformHeader.$Shape|null; + * saasShield?: ironcorelabs.proto.SaaSShieldHeader.$Shape|null; + * $unknowns?: Array.; + * } & ( + * ({ header?: undefined; dataControl?: null; saasShield?: null }|{ header?: "dataControl"; dataControl: ironcorelabs.proto.DataControlPlatformHeader.$Shape; saasShield?: null }|{ header?: "saasShield"; dataControl?: null; saasShield: ironcorelabs.proto.SaaSShieldHeader.$Shape }) + * )} ironcorelabs.proto.v3DocumentHeader.$Shape + */ + /** * Constructs a new v3DocumentHeader. * @memberof ironcorelabs.proto * @classdesc Represents a v3DocumentHeader. - * @implements Iv3DocumentHeader * @constructor - * @param {ironcorelabs.proto.Iv3DocumentHeader=} [properties] Properties to set + * @param {ironcorelabs.proto.v3DocumentHeader.$Properties=} [properties] Properties to set * @property {Array.} [$unknowns] Unknown fields preserved while decoding */ function v3DocumentHeader(properties) { @@ -575,7 +642,7 @@ $root.ironcorelabs = (function() { /** * v3DocumentHeader dataControl. - * @member {ironcorelabs.proto.IDataControlPlatformHeader|null|undefined} dataControl + * @member {ironcorelabs.proto.DataControlPlatformHeader.$Properties|null|undefined} dataControl * @memberof ironcorelabs.proto.v3DocumentHeader * @instance */ @@ -583,7 +650,7 @@ $root.ironcorelabs = (function() { /** * v3DocumentHeader saasShield. - * @member {ironcorelabs.proto.ISaaSShieldHeader|null|undefined} saasShield + * @member {ironcorelabs.proto.SaaSShieldHeader.$Properties|null|undefined} saasShield * @memberof ironcorelabs.proto.v3DocumentHeader * @instance */ @@ -608,8 +675,12 @@ $root.ironcorelabs = (function() { * @function create * @memberof ironcorelabs.proto.v3DocumentHeader * @static - * @param {ironcorelabs.proto.Iv3DocumentHeader=} [properties] Properties to set + * @param {ironcorelabs.proto.v3DocumentHeader.$Properties=} [properties] Properties to set * @returns {ironcorelabs.proto.v3DocumentHeader} v3DocumentHeader instance + * @type {{ + * (properties: ironcorelabs.proto.v3DocumentHeader.$Shape): ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape; + * (properties?: ironcorelabs.proto.v3DocumentHeader.$Properties): ironcorelabs.proto.v3DocumentHeader; + * }} */ v3DocumentHeader.create = function create(properties) { return new v3DocumentHeader(properties); @@ -620,19 +691,23 @@ $root.ironcorelabs = (function() { * @function encode * @memberof ironcorelabs.proto.v3DocumentHeader * @static - * @param {ironcorelabs.proto.Iv3DocumentHeader} message v3DocumentHeader message or plain object to encode + * @param {ironcorelabs.proto.v3DocumentHeader.$Properties} message v3DocumentHeader message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - v3DocumentHeader.encode = function encode(message, writer) { + v3DocumentHeader.encode = function encode(message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw Error("max depth exceeded"); if (message.sig != null && Object.hasOwnProperty.call(message, "sig")) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.sig); if (message.dataControl != null && Object.hasOwnProperty.call(message, "dataControl")) - $root.ironcorelabs.proto.DataControlPlatformHeader.encode(message.dataControl, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + $root.ironcorelabs.proto.DataControlPlatformHeader.encode(message.dataControl, writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); if (message.saasShield != null && Object.hasOwnProperty.call(message, "saasShield")) - $root.ironcorelabs.proto.SaaSShieldHeader.encode(message.saasShield, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + $root.ironcorelabs.proto.SaaSShieldHeader.encode(message.saasShield, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns")) for (var i = 0; i < message.$unknowns.length; ++i) writer.raw(message.$unknowns[i]); @@ -644,12 +719,12 @@ $root.ironcorelabs = (function() { * @function encodeDelimited * @memberof ironcorelabs.proto.v3DocumentHeader * @static - * @param {ironcorelabs.proto.Iv3DocumentHeader} message v3DocumentHeader message or plain object to encode + * @param {ironcorelabs.proto.v3DocumentHeader.$Properties} message v3DocumentHeader message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ v3DocumentHeader.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim(); }; /** @@ -659,7 +734,7 @@ $root.ironcorelabs = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {ironcorelabs.proto.v3DocumentHeader} v3DocumentHeader + * @returns {ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape} v3DocumentHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -719,7 +794,7 @@ $root.ironcorelabs = (function() { * @memberof ironcorelabs.proto.v3DocumentHeader * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {ironcorelabs.proto.v3DocumentHeader} v3DocumentHeader + * @returns {ironcorelabs.proto.v3DocumentHeader & ironcorelabs.proto.v3DocumentHeader.$Shape} v3DocumentHeader * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ @@ -813,9 +888,13 @@ $root.ironcorelabs = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - v3DocumentHeader.toObject = function toObject(message, options) { + v3DocumentHeader.toObject = function toObject(message, options, _depth) { if (!options) options = {}; + if (_depth === undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw Error("max depth exceeded"); var object = {}; if (options.defaults) if (options.bytes === String) @@ -828,12 +907,12 @@ $root.ironcorelabs = (function() { if (message.sig != null && message.hasOwnProperty("sig")) object.sig = options.bytes === String ? $util.base64.encode(message.sig, 0, message.sig.length) : options.bytes === Array ? Array.prototype.slice.call(message.sig) : message.sig; if (message.dataControl != null && message.hasOwnProperty("dataControl")) { - object.dataControl = $root.ironcorelabs.proto.DataControlPlatformHeader.toObject(message.dataControl, options); + object.dataControl = $root.ironcorelabs.proto.DataControlPlatformHeader.toObject(message.dataControl, options, _depth + 1); if (options.oneofs) object.header = "dataControl"; } if (message.saasShield != null && message.hasOwnProperty("saasShield")) { - object.saasShield = $root.ironcorelabs.proto.SaaSShieldHeader.toObject(message.saasShield, options); + object.saasShield = $root.ironcorelabs.proto.SaaSShieldHeader.toObject(message.saasShield, options, _depth + 1); if (options.oneofs) object.header = "saasShield"; } diff --git a/yarn.lock b/yarn.lock index d6bc6c7..6b80d08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3851,10 +3851,10 @@ prompts@^2.0.1: kleur "^3.0.3" sisteransi "^1.0.4" -protobufjs-cli@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/protobufjs-cli/-/protobufjs-cli-2.2.0.tgz#7b0fe72ca26dd9e454674871097a09377df2156a" - integrity sha512-vpGt6STprj8FFm5x5w0mOrIISgtmoMKZt0X74N7Lyd0VWNHX6pDPp0iF0MEegSnwkeErh0wdFfIQfbhcgUaBdw== +protobufjs-cli@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/protobufjs-cli/-/protobufjs-cli-2.4.2.tgz#32ad31d601a2426597fd0e3c1e1a2c3117185f51" + integrity sha512-dz7TvVs+tf0CQqS7wU+MsUH/5mNZAXmRD6PxxbjBk7DaL0AbjAJzVnV+B1w4qslCnL5TwlwCfPchd/us8AmfBQ== dependencies: chalk "^4.0.0" escodegen "^1.13.0"