summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/protobufjs/src/index-minimal.js
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-09 11:15:19 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-09 11:15:19 +0800
commit8eff962cab608341a6f2fedc640a0e32d96f26e2 (patch)
tree05534d1a720ddc3691d346c69b4972555820a061 /frontend-old/node_modules/protobufjs/src/index-minimal.js
pain
Diffstat (limited to 'frontend-old/node_modules/protobufjs/src/index-minimal.js')
-rw-r--r--frontend-old/node_modules/protobufjs/src/index-minimal.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/frontend-old/node_modules/protobufjs/src/index-minimal.js b/frontend-old/node_modules/protobufjs/src/index-minimal.js
new file mode 100644
index 0000000..1f4aaea
--- /dev/null
+++ b/frontend-old/node_modules/protobufjs/src/index-minimal.js
@@ -0,0 +1,36 @@
+"use strict";
+var protobuf = exports;
+
+/**
+ * Build type, one of `"full"`, `"light"` or `"minimal"`.
+ * @name build
+ * @type {string}
+ * @const
+ */
+protobuf.build = "minimal";
+
+// Serialization
+protobuf.Writer = require("./writer");
+protobuf.BufferWriter = require("./writer_buffer");
+protobuf.Reader = require("./reader");
+protobuf.BufferReader = require("./reader_buffer");
+
+// Utility
+protobuf.util = require("./util/minimal");
+protobuf.rpc = require("./rpc");
+protobuf.roots = require("./roots");
+protobuf.configure = configure;
+
+/* istanbul ignore next */
+/**
+ * Reconfigures the library according to the environment.
+ * @returns {undefined}
+ */
+function configure() {
+ protobuf.util._configure();
+ protobuf.Writer._configure(protobuf.BufferWriter);
+ protobuf.Reader._configure(protobuf.BufferReader);
+}
+
+// Set up buffer utility according to the environment
+configure();