@itwin/ecschema-rpcinterface-tests 3.4.0-dev.14 → 3.4.0-dev.18

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_c5fe.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\6\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"_c5fe.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\6\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.7\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
@@ -89607,6 +89607,9 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
89607
89607
  const components = url.pathname.split("/").filter((x) => x); // filter out empty segments
89608
89608
  const operationComponent = components.slice(-1)[0];
89609
89609
  const encodedRequest = url.searchParams.get("parameters") || "";
89610
+ // The encodedRequest should be base64 - fail now if any other characters detected.
89611
+ if (/[^A-z0-9=+\/]/.test(encodedRequest))
89612
+ throw new _IModelError__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Malformed URL parameters detected.`);
89610
89613
  const firstHyphen = operationComponent.indexOf("-");
89611
89614
  const lastHyphen = operationComponent.lastIndexOf("-");
89612
89615
  const interfaceDefinition = operationComponent.slice(0, firstHyphen);
@@ -89998,11 +90001,13 @@ __webpack_require__.r(__webpack_exports__);
89998
90001
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
89999
90002
  /* harmony export */ "WebAppRpcProtocol": () => (/* binding */ WebAppRpcProtocol)
90000
90003
  /* harmony export */ });
90001
- /* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
90002
- /* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
90003
- /* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
90004
- /* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
90005
- /* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
90004
+ /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
90005
+ /* harmony import */ var _CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonLoggerCategory */ "../../core/common/lib/esm/CommonLoggerCategory.js");
90006
+ /* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
90007
+ /* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
90008
+ /* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
90009
+ /* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
90010
+ /* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
90006
90011
  /*---------------------------------------------------------------------------------------------
90007
90012
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
90008
90013
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -90015,10 +90020,12 @@ __webpack_require__.r(__webpack_exports__);
90015
90020
 
90016
90021
 
90017
90022
 
90023
+
90024
+
90018
90025
  /** The HTTP application protocol.
90019
90026
  * @internal
90020
90027
  */
90021
- class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.RpcProtocol {
90028
+ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.RpcProtocol {
90022
90029
  /** Constructs an HTTP protocol. */
90023
90030
  constructor(configuration) {
90024
90031
  super(configuration);
@@ -90026,9 +90033,9 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90026
90033
  /** An optional prefix for RPC operation URI paths. */
90027
90034
  this.pathPrefix = "";
90028
90035
  /** The RPC request class for this protocol. */
90029
- this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest;
90036
+ this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest;
90030
90037
  this.supportsStatusCategory = true;
90031
- this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_3__.WebAppRpcLogging.logProtocolEvent);
90038
+ this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__.WebAppRpcLogging.logProtocolEvent);
90032
90039
  }
90033
90040
  /** Convenience handler for an RPC operation get request for an HTTP server. */
90034
90041
  async handleOperationGetRequest(req, res) {
@@ -90036,9 +90043,19 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90036
90043
  }
90037
90044
  /** Convenience handler for an RPC operation post request for an HTTP server. */
90038
90045
  async handleOperationPostRequest(req, res) {
90039
- const request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest.parseRequest(this, req);
90046
+ let request;
90047
+ try {
90048
+ request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.parseRequest(this, req);
90049
+ }
90050
+ catch (error) {
90051
+ const message = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(error);
90052
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.CommonLoggerCategory.RpcInterfaceBackend, `Failed to parse request: ${message}`, _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(error));
90053
+ res.status(400);
90054
+ res.send(JSON.stringify({ message, isError: true }));
90055
+ return;
90056
+ }
90040
90057
  const fulfillment = await this.fulfill(request);
90041
- await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
90058
+ await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
90042
90059
  }
90043
90060
  /** Convenience handler for an OpenAPI description request for an HTTP server. */
90044
90061
  handleOpenApiDescriptionRequest(_req, res) {
@@ -90048,45 +90065,45 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90048
90065
  /** Converts an HTTP content type value to an RPC content type value. */
90049
90066
  static computeContentType(httpType) {
90050
90067
  if (!httpType)
90051
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Unknown;
90052
- if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
90053
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Text;
90068
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
90069
+ if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
90070
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Text;
90054
90071
  }
90055
- else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.BINARY) === 0) {
90056
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Binary;
90072
+ else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.BINARY) === 0) {
90073
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Binary;
90057
90074
  }
90058
- else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
90059
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Multipart;
90075
+ else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
90076
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Multipart;
90060
90077
  }
90061
90078
  else {
90062
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Unknown;
90079
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
90063
90080
  }
90064
90081
  }
90065
90082
  /** Supplies the status corresponding to a protocol-specific code value. */
90066
90083
  getStatus(code) {
90067
90084
  switch (code) {
90068
- case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NotFound;
90069
- case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Pending;
90070
- case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Resolved;
90071
- case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Rejected;
90072
- case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NoContent;
90073
- case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.BadGateway;
90074
- case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.ServiceUnavailable;
90075
- case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.GatewayTimeout;
90076
- default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Unknown;
90085
+ case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound;
90086
+ case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending;
90087
+ case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved;
90088
+ case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected;
90089
+ case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent;
90090
+ case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway;
90091
+ case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable;
90092
+ case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout;
90093
+ default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Unknown;
90077
90094
  }
90078
90095
  }
90079
90096
  /** Supplies the protocol-specific code corresponding to a status value. */
90080
90097
  getCode(status) {
90081
90098
  switch (status) {
90082
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NotFound: return 404;
90083
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Pending: return 202;
90084
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Resolved: return 200;
90085
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Rejected: return 500;
90086
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NoContent: return 204;
90087
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.BadGateway: return 502;
90088
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.ServiceUnavailable: return 503;
90089
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.GatewayTimeout: return 504;
90099
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound: return 404;
90100
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending: return 202;
90101
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved: return 200;
90102
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected: return 500;
90103
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent: return 204;
90104
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway: return 502;
90105
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable: return 503;
90106
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout: return 504;
90090
90107
  default: return 501;
90091
90108
  }
90092
90109
  }
@@ -90097,7 +90114,7 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90097
90114
  /** An OpenAPI-compatible description of this protocol.
90098
90115
  * @internal
90099
90116
  */
90100
- get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_2__.RpcOpenAPIDescription(this); }
90117
+ get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_4__.RpcOpenAPIDescription(this); }
90101
90118
  }
90102
90119
 
90103
90120
 
@@ -90198,7 +90215,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__.Rpc
90198
90215
  }
90199
90216
  }
90200
90217
  if (!request.id) {
90201
- throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request.`);
90218
+ throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Missing required activity ID.`);
90202
90219
  }
90203
90220
  return request;
90204
90221
  }
@@ -274948,7 +274965,7 @@ __webpack_require__.r(__webpack_exports__);
274948
274965
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
274949
274966
  /* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
274950
274967
  /* harmony export */ });
274951
- /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js");
274968
+ /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js");
274952
274969
  /* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
274953
274970
  /* harmony import */ var i18next_xhr_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-xhr-backend */ "../../common/temp/node_modules/.pnpm/i18next-xhr-backend@3.2.2/node_modules/i18next-xhr-backend/dist/esm/i18nextXHRBackend.js");
274954
274971
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
@@ -302417,9 +302434,9 @@ function _unsupportedIterableToArray(o, minLen) {
302417
302434
 
302418
302435
  /***/ }),
302419
302436
 
302420
- /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js":
302437
+ /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js":
302421
302438
  /*!****************************************************************************************************!*\
302422
- !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js ***!
302439
+ !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js ***!
302423
302440
  \****************************************************************************************************/
302424
302441
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302425
302442
 
@@ -304697,7 +304714,7 @@ var I18n = function (_EventEmitter) {
304697
304714
  options = {};
304698
304715
  }
304699
304716
 
304700
- if (!options.defaultNS && options.ns) {
304717
+ if (!options.defaultNS && options.defaultNS !== false && options.ns) {
304701
304718
  if (typeof options.ns === 'string') {
304702
304719
  options.defaultNS = options.ns;
304703
304720
  } else if (options.ns.indexOf('translation') < 0) {
@@ -305277,7 +305294,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305277
305294
  /***/ ((module) => {
305278
305295
 
305279
305296
  "use strict";
305280
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.14","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.4.0-dev.14","@itwin/core-bentley":"workspace:^3.4.0-dev.14","@itwin/core-common":"workspace:^3.4.0-dev.14","@itwin/core-geometry":"workspace:^3.4.0-dev.14","@itwin/core-orbitgt":"workspace:^3.4.0-dev.14","@itwin/core-quantity":"workspace:^3.4.0-dev.14","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.14"},"//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.3.1","@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":"7.3.10","@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":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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":"^7.3.5","superagent":"7.1.3","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"}}]}}');
305297
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.18","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.4.0-dev.18","@itwin/core-bentley":"workspace:^3.4.0-dev.18","@itwin/core-common":"workspace:^3.4.0-dev.18","@itwin/core-geometry":"workspace:^3.4.0-dev.18","@itwin/core-orbitgt":"workspace:^3.4.0-dev.18","@itwin/core-quantity":"workspace:^3.4.0-dev.18","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.18"},"//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.3.1","@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":"7.3.10","@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":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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":"^7.3.5","superagent":"7.1.3","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"}}]}}');
305281
305298
 
305282
305299
  /***/ })
305283
305300