protobufjs 8.6.3 → 8.6.4

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.
package/dist/protobuf.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v8.6.3 (c) 2016, daniel wirtz
3
- * compiled thu, 11 jun 2026 00:02:30 utc
2
+ * protobuf.js v8.6.4 (c) 2016, daniel wirtz
3
+ * compiled tue, 16 jun 2026 14:35:46 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -9469,7 +9469,14 @@ function pool(alloc, slice, size) {
9469
9469
  */
9470
9470
  var utf8 = exports,
9471
9471
  replacementChar = "\ufffd",
9472
+ strictDecoder;
9473
+
9474
+ try {
9472
9475
  strictDecoder = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
9476
+ } catch (err) {
9477
+ // "fatal" option is not supported on Node.js compiled without ICU
9478
+ strictDecoder = new TextDecoder("utf-8", { ignoreBOM: true });
9479
+ }
9473
9480
 
9474
9481
  /**
9475
9482
  * Calculates the UTF8 byte length of a string.