@itwin/ecschema-rpcinterface-tests 3.3.0-dev.20 → 3.3.0-dev.23

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.
@@ -45151,6 +45151,145 @@ class StopWatch {
45151
45151
  }
45152
45152
 
45153
45153
 
45154
+ /***/ }),
45155
+
45156
+ /***/ "../../core/bentley/lib/esm/Tracing.js":
45157
+ /*!*****************************************************!*\
45158
+ !*** D:/vsts_a/9/s/core/bentley/lib/esm/Tracing.js ***!
45159
+ \*****************************************************/
45160
+ /*! exports provided: SpanKind, Tracing */
45161
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
45162
+
45163
+ "use strict";
45164
+ __webpack_require__.r(__webpack_exports__);
45165
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpanKind", function() { return SpanKind; });
45166
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tracing", function() { return Tracing; });
45167
+ /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../core/bentley/lib/esm/Logger.js");
45168
+
45169
+ // re-export so that consumers can construct full SpanOptions object without external dependencies
45170
+ /**
45171
+ * Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js-api/enums/spankind)
45172
+ * @alpha
45173
+ */
45174
+ var SpanKind;
45175
+ (function (SpanKind) {
45176
+ SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL";
45177
+ SpanKind[SpanKind["SERVER"] = 1] = "SERVER";
45178
+ SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT";
45179
+ SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER";
45180
+ SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
45181
+ })(SpanKind || (SpanKind = {}));
45182
+ function isValidPrimitive(val) {
45183
+ return typeof val === "string" || typeof val === "number" || typeof val === "boolean";
45184
+ }
45185
+ // Only _homogenous_ arrays of strings, numbers, or booleans are supported as OpenTelemetry Attribute values.
45186
+ // Per the spec (https://opentelemetry.io/docs/reference/specification/common/common/#attribute), empty arrays and null values are supported too.
45187
+ function isValidPrimitiveArray(val) {
45188
+ if (!Array.isArray(val))
45189
+ return false;
45190
+ let itemType;
45191
+ for (const x of val) {
45192
+ if (x === undefined || x === null)
45193
+ continue;
45194
+ if (!itemType) {
45195
+ itemType = typeof x;
45196
+ if (!isValidPrimitive(x))
45197
+ return false;
45198
+ }
45199
+ if (typeof x !== itemType)
45200
+ return false;
45201
+ }
45202
+ return true;
45203
+ }
45204
+ function isPlainObject(obj) {
45205
+ return typeof obj === "object" && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
45206
+ }
45207
+ function* getFlatEntries(obj, path = "") {
45208
+ if (isValidPrimitiveArray(obj)) {
45209
+ yield [path, obj];
45210
+ return;
45211
+ }
45212
+ // Prefer JSON serialization over flattening for any non-POJO types.
45213
+ // There's just too many ways trying to flatten those can go wrong (Dates, Buffers, TypedArrays, etc.)
45214
+ if (!isPlainObject(obj) && !Array.isArray(obj)) {
45215
+ yield [path, isValidPrimitive(obj) ? obj : JSON.stringify(obj)];
45216
+ return;
45217
+ }
45218
+ // Always serialize empty objects/arrays as empty array values
45219
+ const entries = Object.entries(obj);
45220
+ if (entries.length === 0)
45221
+ yield [path, []];
45222
+ for (const [key, val] of entries)
45223
+ yield* getFlatEntries(val, (path === "") ? key : `${path}.${key}`);
45224
+ }
45225
+ function flattenObject(obj) {
45226
+ return Object.fromEntries(getFlatEntries(obj));
45227
+ }
45228
+ /**
45229
+ * Enables OpenTelemetry tracing in addition to traditional logging.
45230
+ * @alpha
45231
+ */
45232
+ class Tracing {
45233
+ /**
45234
+ * If OpenTelemetry tracing is enabled, creates a new span and runs the provided function in it.
45235
+ * If OpenTelemetry tracing is _not_ enabled, runs the provided function.
45236
+ * @param name name of the new span
45237
+ * @param fn function to run inside the new span
45238
+ * @param options span options
45239
+ * @param parentContext optional context used to retrieve parent span id
45240
+ */
45241
+ static async withSpan(name, fn, options, parentContext) {
45242
+ if (Tracing._tracer === undefined || Tracing._openTelemetry === undefined)
45243
+ return fn();
45244
+ // this case is for context propagation - parentContext is typically constructed from HTTP headers
45245
+ const parent = parentContext === undefined
45246
+ ? Tracing._openTelemetry.context.active()
45247
+ : Tracing._openTelemetry.trace.setSpanContext(Tracing._openTelemetry.context.active(), parentContext);
45248
+ return Tracing._openTelemetry.context.with(Tracing._openTelemetry.trace.setSpan(parent, Tracing._tracer.startSpan(name, options, Tracing._openTelemetry.context.active())), async () => {
45249
+ var _a, _b, _c, _d;
45250
+ try {
45251
+ return await fn();
45252
+ }
45253
+ catch (err) {
45254
+ if (err instanceof Error) // ignore non-Error throws, such as RpcControlResponse
45255
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttribute("error", true);
45256
+ throw err;
45257
+ }
45258
+ finally {
45259
+ (_d = (_c = Tracing._openTelemetry) === null || _c === void 0 ? void 0 : _c.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _d === void 0 ? void 0 : _d.end();
45260
+ }
45261
+ });
45262
+ }
45263
+ /**
45264
+ * Enable logging to OpenTelemetry. [[Tracing.withSpan]] will be enabled, all log entries will be attached to active span as span events.
45265
+ * [[IModelHost.startup]] will call this automatically if it succeeds in requiring `@opentelemetry/api`.
45266
+ * @note Node.js OpenTelemetry SDK should be initialized by the user.
45267
+ */
45268
+ static enableOpenTelemetry(tracer, api) {
45269
+ Tracing._tracer = tracer;
45270
+ Tracing._openTelemetry = api;
45271
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logTrace = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logTrace);
45272
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logInfo = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logInfo);
45273
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logWarning = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logWarning);
45274
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError);
45275
+ }
45276
+ static withOpenTelemetry(base, isError = false) {
45277
+ return (category, message, metaData) => {
45278
+ var _a, _b;
45279
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].getMetaData(metaData)), error: isError });
45280
+ base(category, message, metaData);
45281
+ };
45282
+ }
45283
+ /** Set attributes on currently active openTelemetry span. Doesn't do anything if openTelemetry logging is not initialized.
45284
+ * @param attributes The attributes to set
45285
+ */
45286
+ static setAttributes(attributes) {
45287
+ var _a, _b;
45288
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttributes(attributes);
45289
+ }
45290
+ }
45291
+
45292
+
45154
45293
  /***/ }),
45155
45294
 
45156
45295
  /***/ "../../core/bentley/lib/esm/UnexpectedErrors.js":
@@ -45313,7 +45452,7 @@ class YieldManager {
45313
45452
  /*!**********************************************************!*\
45314
45453
  !*** D:/vsts_a/9/s/core/bentley/lib/esm/core-bentley.js ***!
45315
45454
  \**********************************************************/
45316
- /*! exports provided: assert, AsyncMutex, BeEvent, BeUiEvent, BeEventList, BentleyStatus, IModelStatus, BriefcaseStatus, RpcInterfaceStatus, ChangeSetStatus, RepositoryStatus, HttpStatus, IModelHubStatus, AuthStatus, GeoServiceStatus, RealityDataStatus, BentleyError, BentleyLoggerCategory, StatusCategory, SuccessCategory, ErrorCategory, OpenMode, DbOpcode, DbResult, ByteStream, isProperSubclassOf, isSubclassOf, compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined, CompressedId64Set, OrderedId64Array, MutableCompressedId64Set, Dictionary, isIDisposable, dispose, disposeArray, using, DisposableList, Id64, TransientIdSequence, Guid, IndexedValue, IndexMap, JsonUtils, LogLevel, Logger, PerfLogger, Entry, LRUCache, LRUMap, LRUDictionary, ObservableSet, AbandonedError, OneAtATimeAction, OrderedId64Iterable, ReadonlyOrderedSet, OrderedSet, partitionArray, PriorityQueue, ProcessDetector, shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray, utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array, BeDuration, BeTimePoint, StopWatch, UnexpectedErrors, isInstanceOf, asInstanceOf, YieldManager */
45455
+ /*! exports provided: assert, AsyncMutex, BeEvent, BeUiEvent, BeEventList, BentleyStatus, IModelStatus, BriefcaseStatus, RpcInterfaceStatus, ChangeSetStatus, RepositoryStatus, HttpStatus, IModelHubStatus, AuthStatus, GeoServiceStatus, RealityDataStatus, BentleyError, BentleyLoggerCategory, StatusCategory, SuccessCategory, ErrorCategory, OpenMode, DbOpcode, DbResult, ByteStream, isProperSubclassOf, isSubclassOf, compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined, CompressedId64Set, OrderedId64Array, MutableCompressedId64Set, Dictionary, isIDisposable, dispose, disposeArray, using, DisposableList, Id64, TransientIdSequence, Guid, IndexedValue, IndexMap, JsonUtils, LogLevel, Logger, PerfLogger, Entry, LRUCache, LRUMap, LRUDictionary, ObservableSet, AbandonedError, OneAtATimeAction, OrderedId64Iterable, ReadonlyOrderedSet, OrderedSet, partitionArray, PriorityQueue, ProcessDetector, shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray, utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array, BeDuration, BeTimePoint, StopWatch, SpanKind, Tracing, UnexpectedErrors, isInstanceOf, asInstanceOf, YieldManager */
45317
45456
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
45318
45457
 
45319
45458
  "use strict";
@@ -45504,16 +45643,21 @@ __webpack_require__.r(__webpack_exports__);
45504
45643
 
45505
45644
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StopWatch", function() { return _Time__WEBPACK_IMPORTED_MODULE_29__["StopWatch"]; });
45506
45645
 
45507
- /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../core/bentley/lib/esm/UnexpectedErrors.js");
45508
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_30__["UnexpectedErrors"]; });
45646
+ /* harmony import */ var _Tracing__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Tracing */ "../../core/bentley/lib/esm/Tracing.js");
45647
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SpanKind", function() { return _Tracing__WEBPACK_IMPORTED_MODULE_30__["SpanKind"]; });
45509
45648
 
45510
- /* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UtilityTypes */ "../../core/bentley/lib/esm/UtilityTypes.js");
45511
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_31__["isInstanceOf"]; });
45649
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Tracing", function() { return _Tracing__WEBPACK_IMPORTED_MODULE_30__["Tracing"]; });
45512
45650
 
45513
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_31__["asInstanceOf"]; });
45651
+ /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../core/bentley/lib/esm/UnexpectedErrors.js");
45652
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_31__["UnexpectedErrors"]; });
45514
45653
 
45515
- /* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./YieldManager */ "../../core/bentley/lib/esm/YieldManager.js");
45516
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "YieldManager", function() { return _YieldManager__WEBPACK_IMPORTED_MODULE_32__["YieldManager"]; });
45654
+ /* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./UtilityTypes */ "../../core/bentley/lib/esm/UtilityTypes.js");
45655
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_32__["isInstanceOf"]; });
45656
+
45657
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_32__["asInstanceOf"]; });
45658
+
45659
+ /* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./YieldManager */ "../../core/bentley/lib/esm/YieldManager.js");
45660
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "YieldManager", function() { return _YieldManager__WEBPACK_IMPORTED_MODULE_33__["YieldManager"]; });
45517
45661
 
45518
45662
  /*---------------------------------------------------------------------------------------------
45519
45663
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -45550,6 +45694,7 @@ __webpack_require__.r(__webpack_exports__);
45550
45694
 
45551
45695
 
45552
45696
 
45697
+
45553
45698
 
45554
45699
 
45555
45700
  /** @docs-package-description
@@ -70527,6 +70672,7 @@ class IModelNotFoundResponse extends _core_RpcControl__WEBPACK_IMPORTED_MODULE_4
70527
70672
  constructor() {
70528
70673
  super(...arguments);
70529
70674
  this.isIModelNotFoundResponse = true;
70675
+ this.message = "iModel not found";
70530
70676
  }
70531
70677
  }
70532
70678
  /** The RPC interface for reading from an iModel.
@@ -71237,6 +71383,9 @@ __webpack_require__.r(__webpack_exports__);
71237
71383
  * @public
71238
71384
  */
71239
71385
  class RpcControlResponse {
71386
+ constructor() {
71387
+ this.message = "RpcControlResponse";
71388
+ }
71240
71389
  }
71241
71390
  /** A pending RPC operation response.
71242
71391
  * @public
@@ -71252,6 +71401,10 @@ class RpcPendingResponse extends RpcControlResponse {
71252
71401
  * @public
71253
71402
  */
71254
71403
  class RpcNotFoundResponse extends RpcControlResponse {
71404
+ constructor() {
71405
+ super(...arguments);
71406
+ this.message = "Not found";
71407
+ }
71255
71408
  }
71256
71409
  /** Manages requests and responses for an RPC configuration.
71257
71410
  * @internal
@@ -71479,10 +71632,17 @@ class RpcInvocation {
71479
71632
  const impl = _RpcRegistry__WEBPACK_IMPORTED_MODULE_10__["RpcRegistry"].instance.getImplForInterface(this.operation.interfaceDefinition);
71480
71633
  impl[_RpcRegistry__WEBPACK_IMPORTED_MODULE_10__["CURRENT_INVOCATION"]] = this;
71481
71634
  const op = this.lookupOperationFunction(impl);
71482
- return await RpcInvocation.runActivity(activity, async () => op.call(impl, ...parameters));
71635
+ return await RpcInvocation.runActivity(activity, async () => op.call(impl, ...parameters)
71636
+ .catch(async (error) => {
71637
+ // this catch block is intentionally placed inside `runActivity` to attach the right logging metadata and use the correct openTelemetry span.
71638
+ if (!(error instanceof _RpcControl__WEBPACK_IMPORTED_MODULE_6__["RpcPendingResponse"])) {
71639
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__["CommonLoggerCategory"].RpcInterfaceBackend, "Error in RPC operation", { error: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["BentleyError"].getErrorProps(error) });
71640
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Tracing"].setAttributes({ error: true });
71641
+ }
71642
+ throw error;
71643
+ }));
71483
71644
  }
71484
71645
  catch (error) {
71485
- _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__["CommonLoggerCategory"].RpcInterfaceBackend, "Error in RPC operation", { error: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["BentleyError"].getErrorProps(error), ...RpcInvocation.sanitizeForLog(activity) });
71486
71646
  return this.reject(error);
71487
71647
  }
71488
71648
  }
@@ -179054,7 +179214,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
179054
179214
  /*! exports provided: name, version, description, main, module, typings, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
179055
179215
  /***/ (function(module) {
179056
179216
 
179057
- module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.20\",\"description\":\"iTwin.js frontend components\",\"main\":\"lib/cjs/core-frontend.js\",\"module\":\"lib/esm/core-frontend.js\",\"typings\":\"lib/cjs/core-frontend\",\"license\":\"MIT\",\"scripts\":{\"build\":\"npm run -s copy:public && npm run -s build:cjs\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts\",\"extract-api\":\"betools extract-api --entry=core-frontend && npm run extract-extension-api\",\"extract-extension-api\":\"eslint --no-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -f visualstudio \\\"./src/**/*.ts\\\" 1>&2\",\"pseudolocalize\":\"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO\",\"test\":\"npm run -s webpackTests && certa -r chrome\",\"cover\":\"npm -s test\",\"test:debug\":\"certa -r chrome --debug\",\"webpackTests\":\"webpack --config ./src/test/utils/webpack.config.js 1>&2\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.20\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.20\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@itwin/appui-abstract\":\"workspace:*\",\"@itwin/build-tools\":\"workspace:*\",\"@itwin/core-bentley\":\"workspace:*\",\"@itwin/core-common\":\"workspace:*\",\"@itwin/core-geometry\":\"workspace:*\",\"@itwin/core-orbitgt\":\"workspace:*\",\"@itwin/core-quantity\":\"workspace:*\",\"@itwin/certa\":\"workspace:*\",\"@itwin/eslint-plugin\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//dependencies\":[\"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API\",\"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed\"],\"dependencies\":{\"@itwin/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
179217
+ module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.23\",\"description\":\"iTwin.js frontend components\",\"main\":\"lib/cjs/core-frontend.js\",\"module\":\"lib/esm/core-frontend.js\",\"typings\":\"lib/cjs/core-frontend\",\"license\":\"MIT\",\"scripts\":{\"build\":\"npm run -s copy:public && npm run -s build:cjs\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts\",\"extract-api\":\"betools extract-api --entry=core-frontend && npm run extract-extension-api\",\"extract-extension-api\":\"eslint --no-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -f visualstudio \\\"./src/**/*.ts\\\" 1>&2\",\"pseudolocalize\":\"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO\",\"test\":\"npm run -s webpackTests && certa -r chrome\",\"cover\":\"npm -s test\",\"test:debug\":\"certa -r chrome --debug\",\"webpackTests\":\"webpack --config ./src/test/utils/webpack.config.js 1>&2\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.23\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.23\"},\"//devDependencies\":[\"NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install\",\"NOTE: All tools used by scripts in this package must be listed as devDependencies\"],\"devDependencies\":{\"@itwin/appui-abstract\":\"workspace:*\",\"@itwin/build-tools\":\"workspace:*\",\"@itwin/core-bentley\":\"workspace:*\",\"@itwin/core-common\":\"workspace:*\",\"@itwin/core-geometry\":\"workspace:*\",\"@itwin/core-orbitgt\":\"workspace:*\",\"@itwin/core-quantity\":\"workspace:*\",\"@itwin/certa\":\"workspace:*\",\"@itwin/eslint-plugin\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.0\"},\"//dependencies\":[\"NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API\",\"NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed\"],\"dependencies\":{\"@itwin/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
179058
179218
 
179059
179219
  /***/ }),
179060
179220