@itwin/core-i18n 5.0.0-dev.99 → 5.0.1

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.
@@ -15627,7 +15627,7 @@ var GeoServiceStatus;
15627
15627
  GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
15628
15628
  GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
15629
15629
  /**
15630
- * @deprecated in 5.0. This status is never returned.
15630
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. This status is never returned.
15631
15631
  */
15632
15632
  GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
15633
15633
  })(GeoServiceStatus || (GeoServiceStatus = {}));
@@ -16278,6 +16278,7 @@ function isSubclassOf(subclass, superclass) {
16278
16278
  __webpack_require__.r(__webpack_exports__);
16279
16279
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16280
16280
  /* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
16281
+ /* harmony export */ compareArrays: () => (/* binding */ compareArrays),
16281
16282
  /* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
16282
16283
  /* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
16283
16284
  /* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
@@ -16398,6 +16399,22 @@ function compareSimpleArrays(lhs, rhs) {
16398
16399
  }
16399
16400
  return cmp;
16400
16401
  }
16402
+ /** Compare two arrays of the same type `T` using the specified `compare` function to compare each pair of array elements.
16403
+ * @returns 0 if the arrays have the same length and `compare` returns 0 for each pair of elements, or a non-zero value if the arrays differ in length or contents.
16404
+ * @public
16405
+ */
16406
+ function compareArrays(lhs, rhs, compare) {
16407
+ let diff = compareNumbers(lhs.length, rhs.length);
16408
+ if (!diff) {
16409
+ for (let i = 0; i < lhs.length; i++) {
16410
+ diff = compare(lhs[i], rhs[i]);
16411
+ if (diff) {
16412
+ break;
16413
+ }
16414
+ }
16415
+ }
16416
+ return diff;
16417
+ }
16401
16418
 
16402
16419
 
16403
16420
  /***/ }),
@@ -17097,7 +17114,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
17097
17114
  Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
17098
17115
  /**
17099
17116
  * A type guard that checks whether the given argument implements `IDisposable` interface
17100
- * @deprecated in 5.0 Use isDisposable instead.
17117
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use isDisposable instead.
17101
17118
  * @public
17102
17119
  */
17103
17120
  function isIDisposable(obj) {
@@ -17136,7 +17153,7 @@ function disposeArray(list) {
17136
17153
  * of this function is equal to return value of func. If func throws, this function also throws (after
17137
17154
  * disposing the resource).
17138
17155
  * @public
17139
- * @deprecated in 5.0 Use `using` declarations instead.
17156
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `using` declarations instead.
17140
17157
  */
17141
17158
  function using(resources, func) {
17142
17159
  if (!Array.isArray(resources))
@@ -18906,7 +18923,7 @@ class PerfLogger {
18906
18923
  [Symbol.dispose]() {
18907
18924
  this.logMessage();
18908
18925
  }
18909
- /** @deprecated in 5.0 Use [Symbol.dispose] instead. */
18926
+ /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
18910
18927
  dispose() {
18911
18928
  this[Symbol.dispose]();
18912
18929
  }
@@ -20641,7 +20658,7 @@ __webpack_require__.r(__webpack_exports__);
20641
20658
  /**
20642
20659
  * Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
20643
20660
  * @public
20644
- * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
20661
+ * @deprecated in 4.4 - will not be removed until after 2026-06-13. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
20645
20662
  */
20646
20663
  var SpanKind;
20647
20664
  (function (SpanKind) {
@@ -20701,7 +20718,7 @@ function flattenObject(obj) {
20701
20718
  /**
20702
20719
  * Enables OpenTelemetry tracing in addition to traditional logging.
20703
20720
  * @public
20704
- * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
20721
+ * @deprecated in 4.4 - will not be removed until after 2026-06-13. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
20705
20722
  */
20706
20723
  class Tracing {
20707
20724
  static _tracer;
@@ -21400,6 +21417,7 @@ __webpack_require__.r(__webpack_exports__);
21400
21417
  /* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
21401
21418
  /* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
21402
21419
  /* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
21420
+ /* harmony export */ compareArrays: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareArrays),
21403
21421
  /* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
21404
21422
  /* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
21405
21423
  /* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),