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.
@@ -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
  */
@@ -7561,7 +7561,14 @@ function pool(alloc, slice, size) {
7561
7561
  */
7562
7562
  var utf8 = exports,
7563
7563
  replacementChar = "\ufffd",
7564
+ strictDecoder;
7565
+
7566
+ try {
7564
7567
  strictDecoder = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
7568
+ } catch (err) {
7569
+ // "fatal" option is not supported on Node.js compiled without ICU
7570
+ strictDecoder = new TextDecoder("utf-8", { ignoreBOM: true });
7571
+ }
7565
7572
 
7566
7573
  /**
7567
7574
  * Calculates the UTF8 byte length of a string.