@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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,61 @@
1
1
  # Change Log - @itwin/core-i18n
2
2
 
3
- This log was last generated on Wed, 02 Apr 2025 19:38:36 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 17 Jun 2025 18:33:52 GMT and should not be manually modified.
4
+
5
+ ## 5.0.1
6
+ Tue, 17 Jun 2025 18:33:52 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 5.0.0
11
+ Fri, 13 Jun 2025 20:25:38 GMT
12
+
13
+ ### Updates
14
+
15
+ - Upgrade compile target to ES2023 and module to ES2022
16
+ - Remove 3.x Deprecated APIs
17
+ - Bump `i18next-http-backend` dependency version to `^3.0.2`.
18
+ - Change core peer dependencies to strict version.
19
+
20
+ ## 4.11.6
21
+ Mon, 16 Jun 2025 15:00:15 GMT
22
+
23
+ _Version update only_
24
+
25
+ ## 4.11.5
26
+ Fri, 06 Jun 2025 13:41:18 GMT
27
+
28
+ _Version update only_
29
+
30
+ ## 4.11.4
31
+ Tue, 03 Jun 2025 16:15:19 GMT
32
+
33
+ _Version update only_
34
+
35
+ ## 4.11.3
36
+ Wed, 28 May 2025 13:56:22 GMT
37
+
38
+ _Version update only_
39
+
40
+ ## 4.11.2
41
+ Tue, 20 May 2025 20:14:45 GMT
42
+
43
+ _Version update only_
44
+
45
+ ## 4.11.1
46
+ Wed, 30 Apr 2025 13:13:21 GMT
47
+
48
+ _Version update only_
49
+
50
+ ## 4.11.0
51
+ Wed, 16 Apr 2025 15:50:28 GMT
52
+
53
+ _Version update only_
54
+
55
+ ## 4.10.13
56
+ Thu, 10 Apr 2025 17:47:21 GMT
57
+
58
+ _Version update only_
4
59
 
5
60
  ## 4.10.12
6
61
  Wed, 02 Apr 2025 19:35:47 GMT
@@ -18105,7 +18105,7 @@ var GeoServiceStatus;
18105
18105
  GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
18106
18106
  GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
18107
18107
  /**
18108
- * @deprecated in 5.0. This status is never returned.
18108
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. This status is never returned.
18109
18109
  */
18110
18110
  GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
18111
18111
  })(GeoServiceStatus || (GeoServiceStatus = {}));
@@ -18756,6 +18756,7 @@ function isSubclassOf(subclass, superclass) {
18756
18756
  __webpack_require__.r(__webpack_exports__);
18757
18757
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18758
18758
  /* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
18759
+ /* harmony export */ compareArrays: () => (/* binding */ compareArrays),
18759
18760
  /* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
18760
18761
  /* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
18761
18762
  /* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
@@ -18876,6 +18877,22 @@ function compareSimpleArrays(lhs, rhs) {
18876
18877
  }
18877
18878
  return cmp;
18878
18879
  }
18880
+ /** Compare two arrays of the same type `T` using the specified `compare` function to compare each pair of array elements.
18881
+ * @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.
18882
+ * @public
18883
+ */
18884
+ function compareArrays(lhs, rhs, compare) {
18885
+ let diff = compareNumbers(lhs.length, rhs.length);
18886
+ if (!diff) {
18887
+ for (let i = 0; i < lhs.length; i++) {
18888
+ diff = compare(lhs[i], rhs[i]);
18889
+ if (diff) {
18890
+ break;
18891
+ }
18892
+ }
18893
+ }
18894
+ return diff;
18895
+ }
18879
18896
 
18880
18897
 
18881
18898
  /***/ }),
@@ -19575,7 +19592,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
19575
19592
  Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
19576
19593
  /**
19577
19594
  * A type guard that checks whether the given argument implements `IDisposable` interface
19578
- * @deprecated in 5.0 Use isDisposable instead.
19595
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use isDisposable instead.
19579
19596
  * @public
19580
19597
  */
19581
19598
  function isIDisposable(obj) {
@@ -19614,7 +19631,7 @@ function disposeArray(list) {
19614
19631
  * of this function is equal to return value of func. If func throws, this function also throws (after
19615
19632
  * disposing the resource).
19616
19633
  * @public
19617
- * @deprecated in 5.0 Use `using` declarations instead.
19634
+ * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `using` declarations instead.
19618
19635
  */
19619
19636
  function using(resources, func) {
19620
19637
  if (!Array.isArray(resources))
@@ -21384,7 +21401,7 @@ class PerfLogger {
21384
21401
  [Symbol.dispose]() {
21385
21402
  this.logMessage();
21386
21403
  }
21387
- /** @deprecated in 5.0 Use [Symbol.dispose] instead. */
21404
+ /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
21388
21405
  dispose() {
21389
21406
  this[Symbol.dispose]();
21390
21407
  }
@@ -23119,7 +23136,7 @@ __webpack_require__.r(__webpack_exports__);
23119
23136
  /**
23120
23137
  * Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
23121
23138
  * @public
23122
- * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
23139
+ * @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.
23123
23140
  */
23124
23141
  var SpanKind;
23125
23142
  (function (SpanKind) {
@@ -23179,7 +23196,7 @@ function flattenObject(obj) {
23179
23196
  /**
23180
23197
  * Enables OpenTelemetry tracing in addition to traditional logging.
23181
23198
  * @public
23182
- * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
23199
+ * @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.
23183
23200
  */
23184
23201
  class Tracing {
23185
23202
  static _tracer;
@@ -23878,6 +23895,7 @@ __webpack_require__.r(__webpack_exports__);
23878
23895
  /* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
23879
23896
  /* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
23880
23897
  /* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
23898
+ /* harmony export */ compareArrays: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareArrays),
23881
23899
  /* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
23882
23900
  /* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
23883
23901
  /* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),