@itwin/core-i18n 5.11.0-dev.8 → 5.11.0
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 +16 -1
- package/lib/cjs/ITwinLocalization.js.map +1 -1
- package/lib/cjs/core-i18n.js.map +1 -1
- package/lib/cjs/test/ITwinLocalization.test.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +22 -9
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +19 -6
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/lib/esm/ITwinLocalization.js.map +1 -1
- package/lib/esm/core-i18n.js.map +1 -1
- package/lib/esm/test/ITwinLocalization.test.js.map +1 -1
- package/package.json +6 -6
|
@@ -15734,7 +15734,7 @@ var GeoServiceStatus;
|
|
|
15734
15734
|
GeoServiceStatus[GeoServiceStatus["VerticalDatumConvertError"] = 147460] = "VerticalDatumConvertError";
|
|
15735
15735
|
GeoServiceStatus[GeoServiceStatus["CSMapError"] = 147461] = "CSMapError";
|
|
15736
15736
|
/**
|
|
15737
|
-
* @deprecated in 5.0 -
|
|
15737
|
+
* @deprecated in 5.0 - might be removed in next major version. This status is never returned.
|
|
15738
15738
|
*/
|
|
15739
15739
|
GeoServiceStatus[GeoServiceStatus["Pending"] = 147462] = "Pending";
|
|
15740
15740
|
})(GeoServiceStatus || (GeoServiceStatus = {}));
|
|
@@ -16565,6 +16565,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16565
16565
|
*/
|
|
16566
16566
|
var CompressedId64Set;
|
|
16567
16567
|
(function (CompressedId64Set) {
|
|
16568
|
+
/** Returns `true` if `ids` is a valid [[CompressedId64Set]] — either an empty string
|
|
16569
|
+
* (representing an empty set) or a non-empty string beginning with `'+'`.
|
|
16570
|
+
* Useful as a type guard to distinguish a compressed set from an [[Id64String]] or other
|
|
16571
|
+
* value when the type of a string is not known statically.
|
|
16572
|
+
* @note This is a syntactic prefix check only — it does not validate the encoded content
|
|
16573
|
+
* after `'+'`. A value may pass this guard and still throw during [[CompressedId64Set.iterator]]
|
|
16574
|
+
* (e.g. `'+0'` or `'+garbage'`).
|
|
16575
|
+
* @see [[CompressedId64Set.iterable]] to iterate the Ids represented by a compressed string.
|
|
16576
|
+
*/
|
|
16577
|
+
function isValid(ids) {
|
|
16578
|
+
return typeof ids === "string" && (ids.length === 0 || ids[0] === "+");
|
|
16579
|
+
}
|
|
16580
|
+
CompressedId64Set.isValid = isValid;
|
|
16568
16581
|
function isHexDigit(ch) {
|
|
16569
16582
|
// ascii values:
|
|
16570
16583
|
// '0' = 48
|
|
@@ -17221,7 +17234,7 @@ Symbol.dispose ??= Symbol("Symbol.dispose");
|
|
|
17221
17234
|
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
17222
17235
|
/**
|
|
17223
17236
|
* A type guard that checks whether the given argument implements `IDisposable` interface
|
|
17224
|
-
* @deprecated in 5.0 -
|
|
17237
|
+
* @deprecated in 5.0 - might be removed in next major version. Use isDisposable instead.
|
|
17225
17238
|
* @public
|
|
17226
17239
|
*/
|
|
17227
17240
|
function isIDisposable(obj) {
|
|
@@ -17260,7 +17273,7 @@ function disposeArray(list) {
|
|
|
17260
17273
|
* of this function is equal to return value of func. If func throws, this function also throws (after
|
|
17261
17274
|
* disposing the resource).
|
|
17262
17275
|
* @public
|
|
17263
|
-
* @deprecated in 5.0 -
|
|
17276
|
+
* @deprecated in 5.0 - might be removed in next major version. Use `using` declarations instead.
|
|
17264
17277
|
*/
|
|
17265
17278
|
function using(resources, func) {
|
|
17266
17279
|
if (!Array.isArray(resources))
|
|
@@ -19103,7 +19116,7 @@ class PerfLogger {
|
|
|
19103
19116
|
[Symbol.dispose]() {
|
|
19104
19117
|
this.logMessage();
|
|
19105
19118
|
}
|
|
19106
|
-
/** @deprecated in 5.0 -
|
|
19119
|
+
/** @deprecated in 5.0 - might be removed in next major version. Use [Symbol.dispose] instead. */
|
|
19107
19120
|
dispose() {
|
|
19108
19121
|
this[Symbol.dispose]();
|
|
19109
19122
|
}
|
|
@@ -20874,7 +20887,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20874
20887
|
/**
|
|
20875
20888
|
* Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
|
|
20876
20889
|
* @public
|
|
20877
|
-
* @deprecated in 4.4 -
|
|
20890
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
20878
20891
|
*/
|
|
20879
20892
|
var SpanKind;
|
|
20880
20893
|
(function (SpanKind) {
|
|
@@ -20934,7 +20947,7 @@ function flattenObject(obj) {
|
|
|
20934
20947
|
/**
|
|
20935
20948
|
* Enables OpenTelemetry tracing in addition to traditional logging.
|
|
20936
20949
|
* @public
|
|
20937
|
-
* @deprecated in 4.4 -
|
|
20950
|
+
* @deprecated in 4.4 - might be removed in next major version. OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
|
|
20938
20951
|
*/
|
|
20939
20952
|
class Tracing {
|
|
20940
20953
|
static _tracer;
|