@itwin/ecschema-rpcinterface-tests 5.0.0-dev.74 → 5.0.0-dev.76
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/lib/dist/bundled-tests.js +5 -18
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -60341,12 +60341,7 @@ class WebAppRpcLoggingFrontend extends WebAppRpcLogging {
|
|
|
60341
60341
|
}
|
|
60342
60342
|
}
|
|
60343
60343
|
getHostname() {
|
|
60344
|
-
|
|
60345
|
-
return globalThis.window.location.host;
|
|
60346
|
-
}
|
|
60347
|
-
else {
|
|
60348
|
-
return "imodeljs-mobile";
|
|
60349
|
-
}
|
|
60344
|
+
return globalThis.window?.location?.host ?? "imodeljs-mobile";
|
|
60350
60345
|
}
|
|
60351
60346
|
logErrorFrontend(message, request) {
|
|
60352
60347
|
const operationDescriptor = this.buildOperationDescriptor(request.operation);
|
|
@@ -60677,7 +60672,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_4__.Rpc
|
|
|
60677
60672
|
async performFetch() {
|
|
60678
60673
|
const requestClass = this.supplyRequest();
|
|
60679
60674
|
const fetchFunction = this.supplyFetch();
|
|
60680
|
-
const path = new URL(this.path, typeof
|
|
60675
|
+
const path = new URL(this.path, typeof location !== "undefined" ? location.origin : undefined);
|
|
60681
60676
|
if (this._pathSuffix) {
|
|
60682
60677
|
const params = new URLSearchParams();
|
|
60683
60678
|
params.set("parameters", this._pathSuffix);
|
|
@@ -60832,8 +60827,6 @@ class RpcMultipartParser {
|
|
|
60832
60827
|
_headerValueMark;
|
|
60833
60828
|
_partDataMark;
|
|
60834
60829
|
_partBoundaryFlag;
|
|
60835
|
-
_headerFieldDecoder;
|
|
60836
|
-
_headerValueDecoder;
|
|
60837
60830
|
_headerField;
|
|
60838
60831
|
_partHeaders;
|
|
60839
60832
|
_partName;
|
|
@@ -60858,8 +60851,6 @@ class RpcMultipartParser {
|
|
|
60858
60851
|
if (!boundary) {
|
|
60859
60852
|
throw new Error("content-type missing boundary");
|
|
60860
60853
|
}
|
|
60861
|
-
this._headerFieldDecoder = null;
|
|
60862
|
-
this._headerValueDecoder = null;
|
|
60863
60854
|
this._headerField = "";
|
|
60864
60855
|
this._partHeaders = {};
|
|
60865
60856
|
this._partName = null;
|
|
@@ -61093,16 +61084,14 @@ class RpcMultipartParser {
|
|
|
61093
61084
|
this._partHeaders = {};
|
|
61094
61085
|
this._partName = null;
|
|
61095
61086
|
this._partChunks.length = 0;
|
|
61096
|
-
this._headerFieldDecoder = new TextDecoder("utf8");
|
|
61097
61087
|
this._headerField = "";
|
|
61098
|
-
this._headerValueDecoder = new TextDecoder("utf8");
|
|
61099
61088
|
this._headerValue = "";
|
|
61100
61089
|
}
|
|
61101
61090
|
_onParseHeaderField(b) {
|
|
61102
|
-
this._headerField +=
|
|
61091
|
+
this._headerField += new TextDecoder("utf8").decode(b);
|
|
61103
61092
|
}
|
|
61104
61093
|
_onParseHeaderValue(b) {
|
|
61105
|
-
this._headerValue +=
|
|
61094
|
+
this._headerValue += new TextDecoder("utf8").decode(b);
|
|
61106
61095
|
}
|
|
61107
61096
|
_onParseHeaderEnd() {
|
|
61108
61097
|
this._headerField = this._headerField.toLowerCase();
|
|
@@ -61117,9 +61106,7 @@ class RpcMultipartParser {
|
|
|
61117
61106
|
else if (this._headerField === "content-transfer-encoding") {
|
|
61118
61107
|
// this._partTransferEncoding = this._headerValue.toLowerCase();
|
|
61119
61108
|
}
|
|
61120
|
-
this._headerFieldDecoder = new TextDecoder("utf8");
|
|
61121
61109
|
this._headerField = "";
|
|
61122
|
-
this._headerValueDecoder = new TextDecoder("utf8");
|
|
61123
61110
|
this._headerValue = "";
|
|
61124
61111
|
}
|
|
61125
61112
|
_onParsePartData(b) {
|
|
@@ -312738,7 +312725,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
312738
312725
|
/***/ ((module) => {
|
|
312739
312726
|
|
|
312740
312727
|
"use strict";
|
|
312741
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.
|
|
312728
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.76","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 && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/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-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","webpack":"^5.97.1"},"//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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
312742
312729
|
|
|
312743
312730
|
/***/ })
|
|
312744
312731
|
|