@itwin/core-i18n 5.11.0-dev.9 → 5.12.0-dev.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # Change Log - @itwin/core-i18n
2
2
 
3
- This log was last generated on Mon, 08 Jun 2026 18:47:31 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 16 Jun 2026 13:00:23 GMT and should not be manually modified.
4
+
5
+ ## 5.10.3
6
+ Tue, 16 Jun 2026 12:58:32 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 5.10.2
11
+ Thu, 11 Jun 2026 21:09:38 GMT
12
+
13
+ _Version update only_
4
14
 
5
15
  ## 5.10.1
6
16
  Mon, 08 Jun 2026 18:45:58 GMT
@@ -19043,6 +19043,19 @@ __webpack_require__.r(__webpack_exports__);
19043
19043
  */
19044
19044
  var CompressedId64Set;
19045
19045
  (function (CompressedId64Set) {
19046
+ /** Returns `true` if `ids` is a valid [[CompressedId64Set]] — either an empty string
19047
+ * (representing an empty set) or a non-empty string beginning with `'+'`.
19048
+ * Useful as a type guard to distinguish a compressed set from an [[Id64String]] or other
19049
+ * value when the type of a string is not known statically.
19050
+ * @note This is a syntactic prefix check only — it does not validate the encoded content
19051
+ * after `'+'`. A value may pass this guard and still throw during [[CompressedId64Set.iterator]]
19052
+ * (e.g. `'+0'` or `'+garbage'`).
19053
+ * @see [[CompressedId64Set.iterable]] to iterate the Ids represented by a compressed string.
19054
+ */
19055
+ function isValid(ids) {
19056
+ return typeof ids === "string" && (ids.length === 0 || ids[0] === "+");
19057
+ }
19058
+ CompressedId64Set.isValid = isValid;
19046
19059
  function isHexDigit(ch) {
19047
19060
  // ascii values:
19048
19061
  // '0' = 48