@itwin/core-i18n 5.0.0-dev.99 → 5.1.0-dev.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,11 @@
|
|
|
1
1
|
# Change Log - @itwin/core-i18n
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 10 Apr 2025 17:50:15 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.10.13
|
|
6
|
+
Thu, 10 Apr 2025 17:47:21 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 4.10.12
|
|
6
11
|
Wed, 02 Apr 2025 19:35:47 GMT
|
|
@@ -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
|
/***/ }),
|
|
@@ -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),
|