diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 02e1737eb1ce..c30c419c3cf8 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -10,6 +10,6 @@ "object-is": "1.0.2", "ssri": "^6.0.1", "tsutils": "~3.17.1", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } } \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 063ffee775d3..cb02ae3a4583 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -54,7 +54,7 @@ importers: source-map-loader: ^4.0.0 touch: ^3.1.0 ts-node: ^10.8.2 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 ws: ^7.5.10 dependencies: @@ -80,7 +80,7 @@ importers: '@itwin/core-geometry': link:../geometry '@itwin/core-webpack-tools': link:../../tools/webpack-core '@itwin/ecsql-common': link:../ecsql/common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@opentelemetry/api': 1.0.4 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 @@ -106,8 +106,8 @@ importers: rimraf: 3.0.2 sinon: 17.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - ts-node: 10.8.2_zifzk4dbgzfq65cu6hdbkv4dfq - typescript: 5.3.3 + ts-node: 10.8.2_vwt7mu2ekz6vrzgxg2zjmlav44 + typescript: 5.6.2 webpack: 5.76.0 ../../core/bentley: @@ -119,17 +119,17 @@ importers: '@vitest/coverage-istanbul': ^2.1.0 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 vitest: ^2.1.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@opentelemetry/api': 1.0.4 '@types/node': 18.16.20 '@vitest/coverage-istanbul': 2.1.0_vitest@2.1.0 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 vitest: 2.1.0_@types+node@18.16.20 ../../core/common: @@ -148,7 +148,7 @@ importers: js-base64: ^3.6.1 nyc: ^15.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 vitest: ^2.1.0 dependencies: flatbuffers: 1.12.0 @@ -157,7 +157,7 @@ importers: '@itwin/build-tools': link:../../tools/build '@itwin/core-bentley': link:../bentley '@itwin/core-geometry': link:../geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/object-storage-core': 2.2.5 '@types/chai': 4.3.1 '@types/flatbuffers': 1.10.0 @@ -166,7 +166,7 @@ importers: eslint: 8.56.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 vitest: 2.1.0_@types+node@18.16.20 ../../core/ecschema-editing: @@ -194,7 +194,7 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 sinon: ^17.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@bentley/units-schema': 1.0.8 '@itwin/build-tools': link:../../tools/build @@ -202,7 +202,7 @@ importers: '@itwin/core-common': link:../common '@itwin/core-quantity': link:../quantity '@itwin/ecschema-metadata': link:../ecschema-metadata - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/benchmark': 2.1.0 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 @@ -219,7 +219,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 sinon: 17.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/ecschema-locaters: specifiers: @@ -260,7 +260,7 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 sinon: ^17.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@xmldom/xmldom': 0.8.5 fs-extra: 8.1.0 @@ -284,7 +284,7 @@ importers: '@bentley/units-schema': 1.0.8 '@itwin/build-tools': link:../../tools/build '@itwin/ecschema-metadata': link:../ecschema-metadata - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/fs-extra': 4.0.7 @@ -300,7 +300,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 sinon: 17.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/ecschema-metadata: specifiers: @@ -325,13 +325,13 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 sinon: ^17.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@bentley/units-schema': 1.0.8 '@itwin/build-tools': link:../../tools/build '@itwin/core-bentley': link:../bentley '@itwin/core-quantity': link:../quantity - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/benchmark': 2.1.0 '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 @@ -348,7 +348,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 sinon: 17.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/ecschema-rpc/common: specifiers: @@ -360,17 +360,17 @@ importers: '@itwin/eslint-plugin': ^4.0.2 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../../tools/build '@itwin/core-bentley': link:../../bentley '@itwin/core-common': link:../../common '@itwin/core-geometry': link:../../geometry '@itwin/ecschema-metadata': link:../../ecschema-metadata - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/ecschema-rpc/impl: specifiers: @@ -384,7 +384,7 @@ importers: '@itwin/eslint-plugin': ^4.0.2 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../../tools/build '@itwin/core-backend': link:../../backend @@ -393,10 +393,10 @@ importers: '@itwin/core-geometry': link:../../geometry '@itwin/ecschema-metadata': link:../../ecschema-metadata '@itwin/ecschema-rpcinterface-common': link:../common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/ecsql/common: specifiers: @@ -410,12 +410,12 @@ importers: mocha: ^10.2.0 nyc: ^15.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/core-bentley': link:../../bentley devDependencies: '@itwin/build-tools': link:../../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 chai: 4.3.10 @@ -423,7 +423,7 @@ importers: mocha: 10.2.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/electron: specifiers: @@ -446,7 +446,7 @@ importers: open: ^7.0.0 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 username: ^5.1.0 webpack: ^5.76.0 webpack-cli: ^5.0.1 @@ -461,7 +461,7 @@ importers: '@itwin/core-bentley': link:../bentley '@itwin/core-common': link:../common '@itwin/core-frontend': link:../frontend - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 '@types/node': 18.16.20 @@ -472,7 +472,7 @@ importers: mocha: 10.2.0 rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_webpack@5.76.0 @@ -499,7 +499,7 @@ importers: rimraf: ^3.0.2 sinon: ^17.0.2 supertest: ^7.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: express: 4.20.0 express-ws: 5.0.2_express@4.20.0 @@ -507,7 +507,7 @@ importers: '@itwin/build-tools': link:../../tools/build '@itwin/core-backend': link:../backend '@itwin/core-common': link:../common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/body-parser': 1.17.0 '@types/chai': 4.3.1 '@types/express': 4.17.20 @@ -523,7 +523,7 @@ importers: rimraf: 3.0.2 sinon: 17.0.2 supertest: 7.0.0 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/extension: specifiers: @@ -533,16 +533,16 @@ importers: '@itwin/eslint-plugin': ^4.0.2 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/core-common': link:../common '@itwin/core-frontend': link:../frontend devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/frontend: specifiers: @@ -581,7 +581,7 @@ importers: sinon: ^17.0.2 source-map-loader: ^4.0.0 typemoq: ^2.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 wms-capabilities: 0.4.0 dependencies: @@ -604,7 +604,7 @@ importers: '@itwin/core-geometry': link:../geometry '@itwin/core-orbitgt': link:../orbitgt '@itwin/core-quantity': link:../quantity - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/mocha': 10.0.6 @@ -622,7 +622,7 @@ importers: sinon: 17.0.2 source-map-loader: 4.0.0_webpack@5.76.0 typemoq: 2.1.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../core/frontend-devtools: @@ -638,7 +638,7 @@ importers: eslint: ^8.56.0 file-saver: ^2.0.2 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/core-bentley': link:../bentley '@itwin/core-common': link:../common @@ -647,12 +647,12 @@ importers: file-saver: 2.0.2 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/file-saver': 2.0.1 cpx2: 3.0.0 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/geometry: specifiers: @@ -665,20 +665,20 @@ importers: eslint: ^8.56.0 flatbuffers: ~1.12.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 vitest: ^2.1.0 dependencies: '@itwin/core-bentley': link:../bentley flatbuffers: 1.12.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/flatbuffers': 1.10.0 '@types/node': 18.16.20 '@vitest/coverage-istanbul': 2.1.0_vitest@2.1.0 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 vitest: 2.1.0_@types+node@18.16.20 ../../core/hypermodeling: @@ -703,7 +703,7 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 dependencies: '@itwin/appui-abstract': link:../../ui/appui-abstract @@ -714,7 +714,7 @@ importers: '@itwin/core-common': link:../common '@itwin/core-frontend': link:../frontend '@itwin/core-geometry': link:../geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 babel-loader: 8.2.5_webpack@5.76.0 @@ -727,7 +727,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../core/i18n: @@ -741,6 +741,7 @@ importers: '@types/i18next': ^8.4.2 '@types/i18next-browser-languagedetector': ^2.0.1 '@types/mocha': ^10.0.6 + '@types/node': ~18.16.20 babel-loader: ~8.2.5 babel-plugin-istanbul: ~6.1.1 chai: ^4.3.10 @@ -751,7 +752,7 @@ importers: i18next-http-backend: ^1.4.4 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 webpack-cli: ^5.0.1 dependencies: @@ -763,11 +764,12 @@ importers: '@itwin/certa': link:../../tools/certa '@itwin/core-bentley': link:../bentley '@itwin/core-common': link:../common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/i18next': 8.4.2 '@types/i18next-browser-languagedetector': 2.0.1 '@types/mocha': 10.0.6 + '@types/node': 18.16.20 babel-loader: 8.2.5_webpack@5.76.0 babel-plugin-istanbul: 6.1.1 chai: 4.3.10 @@ -775,7 +777,7 @@ importers: glob: 10.3.12 rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_webpack@5.76.0 @@ -801,7 +803,7 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 dependencies: '@svgdotjs/svg.js': 3.0.16 @@ -812,7 +814,7 @@ importers: '@itwin/core-common': link:../common '@itwin/core-frontend': link:../frontend '@itwin/core-geometry': link:../geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 babel-loader: 8.2.5_webpack@5.76.0 @@ -825,7 +827,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../core/mobile: @@ -852,7 +854,7 @@ importers: mocha: ^10.2.0 rimraf: ^3.0.2 superagent: ^9.0.1 - typescript: ~5.3.3 + typescript: ~5.6.2 ws: ^7.5.10 dependencies: lodash: 4.17.21 @@ -864,7 +866,7 @@ importers: '@itwin/core-bentley': link:../bentley '@itwin/core-common': link:../common '@itwin/core-frontend': link:../frontend - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/fs-extra': 4.0.7 '@types/lodash': 4.14.202 @@ -879,7 +881,7 @@ importers: eslint: 8.56.0 mocha: 10.2.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/orbitgt: specifiers: @@ -896,11 +898,11 @@ importers: mocha: ^10.2.0 nyc: ^15.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/core-bentley': link:../bentley - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 '@types/node': 18.16.20 @@ -911,7 +913,7 @@ importers: mocha: 10.2.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/quantity: specifiers: @@ -930,11 +932,11 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 sinon: ^17.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/core-bentley': link:../bentley - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/glob': 5.0.35 @@ -947,7 +949,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 sinon: 17.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../core/telemetry: specifiers: @@ -963,7 +965,7 @@ importers: mocha: ^10.2.0 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 dependencies: '@itwin/core-bentley': link:../bentley @@ -971,7 +973,7 @@ importers: devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/certa': link:../../tools/certa - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 chai: 4.3.10 @@ -979,7 +981,7 @@ importers: mocha: 10.2.0 rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../core/webgl-compatibility: @@ -998,14 +1000,14 @@ importers: mocha: ^10.2.0 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 dependencies: '@itwin/core-bentley': link:../bentley devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/certa': link:../../tools/certa - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 babel-loader: 8.2.5_webpack@5.76.0 @@ -1016,7 +1018,7 @@ importers: mocha: 10.2.0 rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../domains/analytical/backend: @@ -1038,13 +1040,13 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 semver: ^7.5.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../../tools/build '@itwin/core-backend': link:../../../core/backend '@itwin/core-bentley': link:../../../core/bentley '@itwin/core-common': link:../../../core/common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/fs-extra': 4.0.7 '@types/mocha': 10.0.6 @@ -1057,7 +1059,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 semver: 7.5.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../domains/linear-referencing/backend: specifiers: @@ -1077,13 +1079,13 @@ importers: mocha: ^10.2.0 nyc: ^15.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../../tools/build '@itwin/core-backend': link:../../../core/backend '@itwin/core-bentley': link:../../../core/bentley '@itwin/core-common': link:../../../core/common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/linear-referencing-common': link:../common '@types/chai': 4.3.1 '@types/fs-extra': 4.0.7 @@ -1095,7 +1097,7 @@ importers: mocha: 10.2.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../domains/linear-referencing/common: specifiers: @@ -1111,12 +1113,12 @@ importers: mocha: ^10.2.0 nyc: ^15.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../../tools/build '@itwin/core-bentley': link:../../../core/bentley '@itwin/core-common': link:../../../core/common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/fs-extra': 4.0.7 '@types/mocha': 10.0.6 @@ -1125,7 +1127,7 @@ importers: mocha: 10.2.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../domains/physical-material/backend: specifiers: @@ -1143,13 +1145,13 @@ importers: mocha: ^10.2.0 nyc: ^15.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../../tools/build '@itwin/core-backend': link:../../../core/backend '@itwin/core-bentley': link:../../../core/bentley '@itwin/core-common': link:../../../core/common - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/fs-extra': 4.0.7 '@types/mocha': 10.0.6 @@ -1159,7 +1161,7 @@ importers: mocha: 10.2.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../editor/backend: specifiers: @@ -1172,7 +1174,7 @@ importers: '@itwin/eslint-plugin': ^4.0.2 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/editor-common': link:../common devDependencies: @@ -1181,10 +1183,10 @@ importers: '@itwin/core-bentley': link:../../core/bentley '@itwin/core-common': link:../../core/common '@itwin/core-geometry': link:../../core/geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../editor/common: specifiers: @@ -1199,20 +1201,20 @@ importers: eslint: ^8.56.0 mocha: ^10.2.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/core-bentley': link:../../core/bentley '@itwin/core-common': link:../../core/common '@itwin/core-geometry': link:../../core/geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 chai: 4.3.10 eslint: 8.56.0 mocha: 10.2.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../editor/frontend: specifiers: @@ -1228,7 +1230,7 @@ importers: cpx2: ^3.0.0 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/editor-common': link:../common devDependencies: @@ -1239,11 +1241,11 @@ importers: '@itwin/core-common': link:../../core/common '@itwin/core-frontend': link:../../core/frontend '@itwin/core-geometry': link:../../core/geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe cpx2: 3.0.0 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../example-code/app: specifiers: @@ -1265,7 +1267,7 @@ importers: eslint: ^8.56.0 mocha: ^10.2.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/core-backend': link:../../core/backend '@itwin/core-bentley': link:../../core/bentley @@ -1276,7 +1278,7 @@ importers: electron: 32.0.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/oidc-signin-tool': 4.3.5_67wltvhdskk2oee2c3z2o4tfly '@types/chai': 4.3.1 '@types/mocha': 10.0.6 @@ -1286,7 +1288,7 @@ importers: eslint: 8.56.0 mocha: 10.2.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../example-code/snippets: specifiers: @@ -1322,7 +1324,7 @@ importers: mocha: ^10.2.0 npm-run-all: ^4.1.5 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@azure/storage-blob': 12.24.0 '@itwin/core-backend': link:../../core/backend @@ -1342,7 +1344,7 @@ importers: fs-extra: 8.1.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/oidc-signin-tool': 4.3.5_67wltvhdskk2oee2c3z2o4tfly '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 @@ -1357,7 +1359,7 @@ importers: mocha: 10.2.0 npm-run-all: 4.1.5 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../extensions/frontend-tiles: specifiers: @@ -1383,7 +1385,7 @@ importers: rimraf: ^3.0.2 sinon: ^17.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 devDependencies: '@itwin/build-tools': link:../../tools/build @@ -1392,7 +1394,7 @@ importers: '@itwin/core-common': link:../../core/common '@itwin/core-frontend': link:../../core/frontend '@itwin/core-geometry': link:../../core/geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/mocha': 10.0.6 @@ -1408,7 +1410,7 @@ importers: rimraf: 3.0.2 sinon: 17.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../extensions/map-layers-auth: @@ -1434,13 +1436,13 @@ importers: sinon: ^17.0.2 sinon-chai: ^3.7.0 source-map-support: ^0.5.6 - typescript: ~5.3.3 + typescript: ~5.6.2 devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/core-bentley': link:../../core/bentley '@itwin/core-common': link:../../core/common '@itwin/core-frontend': link:../../core/frontend - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 '@types/sinon': 17.0.2 @@ -1457,7 +1459,7 @@ importers: sinon: 17.0.2 sinon-chai: 3.7.0_chai@4.3.10+sinon@17.0.2 source-map-support: 0.5.6 - typescript: 5.3.3 + typescript: 5.6.2 ../../extensions/map-layers-formats: specifiers: @@ -1492,7 +1494,7 @@ importers: sinon-chai: ^3.7.0 source-map-support: ^0.5.6 typemoq: ^2.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: flatbush: 4.4.0 google-protobuf: 3.20.1 @@ -1503,7 +1505,7 @@ importers: '@itwin/core-common': link:../../core/common '@itwin/core-frontend': link:../../core/frontend '@itwin/core-geometry': link:../../core/geometry - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/geojson': 7946.0.14 @@ -1526,7 +1528,7 @@ importers: sinon-chai: 3.7.0_chai@4.3.10+sinon@17.0.2 source-map-support: 0.5.6 typemoq: 2.1.0 - typescript: 5.3.3 + typescript: 5.6.2 ../../extensions/test-extension: specifiers: @@ -1537,7 +1539,7 @@ importers: esbuild: ^0.13.8 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 url: ^0.11.0 dependencies: '@itwin/core-extension': link:../../core/extension @@ -1545,11 +1547,11 @@ importers: url: 0.11.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe esbuild: 0.13.8 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../full-stack-tests/backend: specifiers: @@ -1603,7 +1605,7 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 sinon: ^17.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@azure/storage-blob': 12.24.0 '@bentley/aec-units-schema': 1.0.3 @@ -1647,7 +1649,7 @@ importers: sinon: 17.0.2 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/fs-extra': 4.0.7 @@ -1656,7 +1658,7 @@ importers: internal-tools: link:../../tools/internal mkdirp: 1.0.4 npm-run-all: 4.1.5 - typescript: 5.3.3 + typescript: 5.6.2 ../../full-stack-tests/core: specifiers: @@ -1725,7 +1727,7 @@ importers: source-map-loader: ^4.0.0 stream-browserify: ^3.0.0 stream-http: ^3.2.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 webpack-cli: ^5.0.1 dependencies: @@ -1763,7 +1765,7 @@ importers: devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/certa': link:../../tools/certa - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/itwins-client': 1.2.0 '@itwin/object-storage-core': 2.2.5 '@itwin/oidc-signin-tool': 4.3.5_67wltvhdskk2oee2c3z2o4tfly @@ -1795,7 +1797,7 @@ importers: source-map-loader: 4.0.0_webpack@5.76.0 stream-browserify: 3.0.0 stream-http: 3.2.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_webpack@5.76.0 @@ -1844,7 +1846,7 @@ importers: rimraf: ^3.0.2 source-map-loader: ^4.0.0 stream-browserify: ^3.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 webpack-cli: ^5.0.1 dependencies: @@ -1873,7 +1875,7 @@ importers: openid-client: 4.7.4 devDependencies: '@itwin/core-backend': link:../../core/backend - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/express-server': link:../../core/express-server '@itwin/itwins-client': 1.2.0 '@types/chai': 4.3.1 @@ -1892,7 +1894,7 @@ importers: rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 stream-browserify: 3.0.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_webpack@5.76.0 @@ -1952,7 +1954,7 @@ importers: sinon-chai: ^3.7.0 source-map-support: ^0.5.6 typemoq: ^2.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/core-backend': link:../../core/backend '@itwin/core-bentley': link:../../core/bentley @@ -1996,7 +1998,7 @@ importers: typemoq: 2.1.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe cache-require-paths: 0.3.0 cross-env: 5.1.4 dotenv: 10.0.0 @@ -2009,7 +2011,7 @@ importers: jsdom-global: 3.0.2_jsdom@19.0.0 prettier: 3.2.5 sanitize-filename: 1.6.3 - typescript: 5.3.3 + typescript: 5.6.2 ../../full-stack-tests/rpc: specifiers: @@ -2043,7 +2045,7 @@ importers: source-map-loader: ^4.0.0 spdy: ^4.0.1 stream-browserify: ^3.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 webpack-cli: ^5.0.1 dependencies: @@ -2061,7 +2063,7 @@ importers: devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/certa': link:../../tools/certa - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/express': 4.17.20 '@types/mocha': 10.0.6 @@ -2078,7 +2080,7 @@ importers: rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 stream-browserify: 3.0.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_webpack@5.76.0 @@ -2127,7 +2129,7 @@ importers: rimraf: ^3.0.2 source-map-loader: ^4.0.0 stream-browserify: ^3.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 webpack-cli: ^5.0.1 dependencies: @@ -2138,7 +2140,7 @@ importers: '@itwin/core-frontend': link:../../core/frontend '@itwin/core-geometry': link:../../core/geometry '@itwin/core-quantity': link:../../core/quantity - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/imodels-access-backend': 5.2.1_wj555zckjupkhkzyssqqpl4sei '@itwin/imodels-access-frontend': 5.2.1_ueafa4slb6ohrhyf7kbp6egmha '@itwin/imodels-client-authoring': 5.8.1 @@ -2175,7 +2177,7 @@ importers: rimraf: 3.0.2 source-map-loader: 4.0.0_webpack@5.76.0 stream-browserify: 3.0.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0_webpack-cli@5.0.1 webpack-cli: 5.0.1_webpack@5.76.0 @@ -2226,7 +2228,7 @@ importers: sinon-chai: ^3.7.0 source-map-support: ^0.5.6 typemoq: ^2.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: object-hash: 1.3.1 rxjs: 7.8.1 @@ -2239,7 +2241,7 @@ importers: '@itwin/core-common': link:../../core/common '@itwin/core-quantity': link:../../core/quantity '@itwin/ecschema-metadata': link:../../core/ecschema-metadata - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/presentation-common': link:../common '@sinonjs/fake-timers': 11.2.2 '@types/chai': 4.3.1 @@ -2274,7 +2276,7 @@ importers: sinon-chai: 3.7.0_chai@4.3.10+sinon@17.0.2 source-map-support: 0.5.6 typemoq: 2.1.0 - typescript: 5.3.3 + typescript: 5.6.2 ../../presentation/common: specifiers: @@ -2313,7 +2315,7 @@ importers: sinon-chai: ^3.7.0 source-map-support: ^0.5.6 typemoq: ^2.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 typescript-json-schema: ^0.55.0 yargs: ^17.4.0 devDependencies: @@ -2322,7 +2324,7 @@ importers: '@itwin/core-common': link:../../core/common '@itwin/core-quantity': link:../../core/quantity '@itwin/ecschema-metadata': link:../../core/ecschema-metadata - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/chai-jest-snapshot': 1.3.8 @@ -2352,7 +2354,7 @@ importers: sinon-chai: 3.7.0_chai@4.3.10+sinon@17.0.2 source-map-support: 0.5.6 typemoq: 2.1.0 - typescript: 5.3.3 + typescript: 5.6.2 typescript-json-schema: 0.55.0 yargs: 17.4.0 @@ -2397,7 +2399,7 @@ importers: sinon-chai: ^3.7.0 source-map-support: ^0.5.6 typemoq: ^2.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/unified-selection': 0.1.0 rxjs: 7.8.1 @@ -2410,7 +2412,7 @@ importers: '@itwin/core-i18n': link:../../core/i18n '@itwin/core-quantity': link:../../core/quantity '@itwin/ecschema-metadata': link:../../core/ecschema-metadata - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/presentation-common': link:../common '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 @@ -2439,7 +2441,7 @@ importers: sinon-chai: 3.7.0_chai@4.3.10+sinon@17.0.2 source-map-support: 0.5.6 typemoq: 2.1.0 - typescript: 5.3.3 + typescript: 5.6.2 ../../test-apps/display-performance-test-app: specifiers: @@ -2490,7 +2492,7 @@ importers: rollup-plugin-ignore: ^1.0.10 rollup-plugin-visualizer: ^5.9.2 rollup-plugin-webpack-stats: ^0.2.0 - typescript: ~5.3.3 + typescript: ~5.6.2 vite: ^5.4.6 vite-plugin-env-compatible: ^2.0.1 vite-plugin-inspect: ^0.8.4 @@ -2518,12 +2520,12 @@ importers: body-parser: 1.20.3 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@itwin/perf-tools': link:../../tools/perf-tools '@types/body-parser': 1.17.0 '@types/express': 4.17.20 '@types/node': 18.16.20 - '@typescript-eslint/parser': 6.21.0_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/parser': 6.21.0_x57przdx46ek5cbaxnkejbbcoe browserslist-to-esbuild: 1.2.0 child_process: 1.0.2 chrome-launcher: 0.15.2 @@ -2544,7 +2546,7 @@ importers: rollup-plugin-ignore: 1.0.10 rollup-plugin-visualizer: 5.9.2 rollup-plugin-webpack-stats: 0.2.0 - typescript: 5.3.3 + typescript: 5.6.2 vite: 5.4.6_@types+node@18.16.20 vite-plugin-env-compatible: 2.0.1 vite-plugin-inspect: 0.8.4_vite@5.4.6 @@ -2613,7 +2615,7 @@ importers: rollup-plugin-visualizer: ^5.9.2 rollup-plugin-webpack-stats: ^0.2.0 ts-node: ^10.8.2 - typescript: ~5.3.3 + typescript: ~5.6.2 vhacd-js: ^0.0.1 vite: ^5.4.6 vite-plugin-env-compatible: ^2.0.1 @@ -2655,11 +2657,11 @@ importers: '@itwin/backend-webpack-tools': link:../../tools/backend-webpack '@itwin/build-tools': link:../../tools/build '@itwin/core-webpack-tools': link:../../tools/webpack-core - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/express': 4.17.20 '@types/express-ws': 3.0.3 '@types/fs-extra': 4.0.7 - '@typescript-eslint/parser': 6.21.0_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/parser': 6.21.0_x57przdx46ek5cbaxnkejbbcoe browserslist-to-esbuild: 1.2.0 child_process: 1.0.2 cpx2: 3.0.0 @@ -2682,8 +2684,8 @@ importers: rollup-plugin-ignore: 1.0.10 rollup-plugin-visualizer: 5.9.2 rollup-plugin-webpack-stats: 0.2.0 - ts-node: 10.8.2_typescript@5.3.3 - typescript: 5.3.3 + ts-node: 10.8.2_typescript@5.6.2 + typescript: 5.6.2 vite: 5.4.6 vite-plugin-env-compatible: 2.0.1 vite-plugin-inspect: 0.8.4_vite@5.4.6 @@ -2701,7 +2703,7 @@ importers: '@types/yargs': 17.0.19 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: '@itwin/core-backend': link:../../core/backend @@ -2711,12 +2713,12 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/node': 18.16.20 '@types/yargs': 17.0.19 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../test-apps/imjs-importer: specifiers: @@ -2734,7 +2736,7 @@ importers: eslint: ^8.56.0 mocha: ^10.2.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: '@itwin/core-backend': link:../../core/backend @@ -2745,7 +2747,7 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 '@types/node': 18.16.20 @@ -2753,7 +2755,7 @@ importers: eslint: 8.56.0 mocha: 10.2.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../test-apps/imodel-from-geojson: specifiers: @@ -2770,7 +2772,7 @@ importers: eslint: ^8.56.0 fs-extra: ^8.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: '@itwin/core-backend': link:../../core/backend @@ -2781,14 +2783,14 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/fs-extra': 4.0.7 '@types/lodash': 4.14.202 '@types/node': 18.16.20 '@types/yargs': 17.0.19 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../test-apps/imodel-from-orbitgt: specifiers: @@ -2804,7 +2806,7 @@ importers: '@types/yargs': 17.0.19 eslint: ^8.56.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: '@itwin/core-backend': link:../../core/backend @@ -2815,13 +2817,13 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/fs-extra': 4.0.7 '@types/node': 18.16.20 '@types/yargs': 17.0.19 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../test-apps/imodel-from-reality-model: specifiers: @@ -2838,7 +2840,7 @@ importers: eslint: ^8.56.0 fs-extra: ^8.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: '@itwin/core-backend': link:../../core/backend @@ -2849,14 +2851,14 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/fs-extra': 4.0.7 '@types/lodash': 4.14.202 '@types/node': 18.16.20 '@types/yargs': 17.0.19 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../tools/backend-webpack: specifiers: @@ -2904,7 +2906,7 @@ importers: tree-kill: ^1.2.2 typedoc: ^0.25.8 typedoc-plugin-merge-modules: ^5.1.0 - typescript: ~5.3.3 + typescript: ~5.6.2 wtfnode: ^0.9.1 yargs: ^17.4.0 dependencies: @@ -2918,13 +2920,13 @@ importers: mocha-junit-reporter: 2.0.2_mocha@10.2.0 rimraf: 3.0.2 tree-kill: 1.2.2 - typedoc: 0.25.8_typescript@5.3.3 + typedoc: 0.25.8_typescript@5.6.2 typedoc-plugin-merge-modules: 5.1.0_typedoc@0.25.8 - typescript: 5.3.3 + typescript: 5.6.2 wtfnode: 0.9.1 yargs: 17.4.0 devDependencies: - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/node': 18.16.20 eslint: 8.56.0 @@ -2951,7 +2953,7 @@ importers: playwright: ~1.35.1 rimraf: ^3.0.2 source-map-support: ^0.5.6 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: canonical-path: 1.0.0 @@ -2965,7 +2967,7 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/detect-port': 1.1.0 '@types/express': 4.17.20 @@ -2977,7 +2979,7 @@ importers: eslint: 8.56.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../tools/ecschema2ts: specifiers: @@ -3006,7 +3008,7 @@ importers: nyc: ^15.1.0 rimraf: ^3.0.2 source-map-support: ^0.5.6 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: '@itwin/core-backend': link:../../core/backend '@itwin/core-bentley': link:../../core/bentley @@ -3021,7 +3023,7 @@ importers: fs-extra: 8.1.0 devDependencies: '@itwin/build-tools': link:../build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-string': 1.4.1 '@types/fs-extra': 4.0.7 @@ -3034,7 +3036,7 @@ importers: nyc: 15.1.0 rimraf: 3.0.2 source-map-support: 0.5.6 - typescript: 5.3.3 + typescript: 5.6.2 ../../tools/internal: specifiers: @@ -3057,16 +3059,16 @@ importers: eslint: ^8.56.0 fs-extra: ^8.1.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 dependencies: fs-extra: 8.1.0 devDependencies: '@itwin/build-tools': link:../build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/fs-extra': 4.0.7 eslint: 8.56.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 ../../tools/webpack-core: specifiers: @@ -3097,7 +3099,7 @@ importers: resolve: 1.19.0 rimraf: ^3.0.2 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 dependencies: chalk: 3.0.0 @@ -3111,7 +3113,7 @@ importers: source-map-loader: 4.0.0_webpack@5.76.0 devDependencies: '@itwin/build-tools': link:../build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/chai-as-promised': 7.1.0 '@types/chai-jest-snapshot': 1.3.8 @@ -3128,7 +3130,7 @@ importers: mocha: 10.2.0 nyc: 15.1.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../ui/appui-abstract: @@ -3154,13 +3156,13 @@ importers: sinon: ^17.0.2 sinon-chai: ^3.7.0 source-map-loader: ^4.0.0 - typescript: ~5.3.3 + typescript: ~5.6.2 webpack: ^5.76.0 devDependencies: '@itwin/build-tools': link:../../tools/build '@itwin/certa': link:../../tools/certa '@itwin/core-bentley': link:../../core/bentley - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/mocha': 10.0.6 '@types/sinon': 17.0.2 @@ -3178,7 +3180,7 @@ importers: sinon: 17.0.2 sinon-chai: 3.7.0_chai@4.3.10+sinon@17.0.2 source-map-loader: 4.0.0_webpack@5.76.0 - typescript: 5.3.3 + typescript: 5.6.2 webpack: 5.76.0 ../../utils/workspace-editor: @@ -3196,7 +3198,7 @@ importers: glob: ^10.3.12 mocha: ^10.2.0 rimraf: ^3.0.2 - typescript: ~5.3.3 + typescript: ~5.6.2 yargs: ^17.4.0 dependencies: '@itwin/core-backend': link:../../core/backend @@ -3206,7 +3208,7 @@ importers: yargs: 17.4.0 devDependencies: '@itwin/build-tools': link:../../tools/build - '@itwin/eslint-plugin': 4.0.2_xdgzedli73k7lw4xlyzszm74om + '@itwin/eslint-plugin': 4.0.2_x57przdx46ek5cbaxnkejbbcoe '@types/chai': 4.3.1 '@types/glob': 5.0.35 '@types/mocha': 10.0.6 @@ -3214,7 +3216,7 @@ importers: eslint: 8.56.0 mocha: 10.2.0 rimraf: 3.0.2 - typescript: 5.3.3 + typescript: 5.6.2 packages: @@ -4143,7 +4145,7 @@ packages: - debug dev: false - /@itwin/eslint-plugin/4.0.2_xdgzedli73k7lw4xlyzszm74om: + /@itwin/eslint-plugin/4.0.2_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-UDwToOexhFRlS8XQSezvjoRHp8FH9KxfJSb6b1pN2a21g0uhsqxCQDKuOrGwSnJEERIvxMJB0ddH0aYg4dRvJw==} engines: {node: ^18.18.0 || >=20.0.0} hasBin: true @@ -4151,10 +4153,10 @@ packages: eslint: ^8.56.0 typescript: ^3.7.0 || ^4.0.0 || ^5.0.0 dependencies: - '@typescript-eslint/eslint-plugin': 7.0.2_dqzt4o5ous35ew6a25fcci52uu - '@typescript-eslint/parser': 7.0.2_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/eslint-plugin': 7.0.2_sxno47kw25lvhg7c6ohcu7bktq + '@typescript-eslint/parser': 7.0.2_x57przdx46ek5cbaxnkejbbcoe eslint: 8.56.0 - eslint-plugin-deprecation: 2.0.0_xdgzedli73k7lw4xlyzszm74om + eslint-plugin-deprecation: 2.0.0_x57przdx46ek5cbaxnkejbbcoe eslint-plugin-import: 2.29.1_eslint@8.56.0 eslint-plugin-jam3: 0.2.3 eslint-plugin-jsdoc: 48.11.0_eslint@8.56.0 @@ -4162,7 +4164,7 @@ packages: eslint-plugin-prefer-arrow: 1.2.3_eslint@8.56.0 eslint-plugin-react: 7.35.0_eslint@8.56.0 eslint-plugin-react-hooks: 4.6.2_eslint@8.56.0 - typescript: 5.3.3 + typescript: 5.6.2 workspace-tools: 0.36.4 transitivePeerDependencies: - supports-color @@ -5266,7 +5268,7 @@ packages: '@types/node': 18.16.20 optional: true - /@typescript-eslint/eslint-plugin/7.0.2_dqzt4o5ous35ew6a25fcci52uu: + /@typescript-eslint/eslint-plugin/7.0.2_sxno47kw25lvhg7c6ohcu7bktq: resolution: {integrity: sha512-/XtVZJtbaphtdrWjr+CJclaCVGPtOdBpFEnvtNf/jRV0IiEemRrL0qABex/nEt8isYcnFacm3nPHYQwL+Wb7qg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5280,10 +5282,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.0.2_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/parser': 7.0.2_x57przdx46ek5cbaxnkejbbcoe '@typescript-eslint/scope-manager': 7.0.2 - '@typescript-eslint/type-utils': 7.0.2_xdgzedli73k7lw4xlyzszm74om - '@typescript-eslint/utils': 7.0.2_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/type-utils': 7.0.2_x57przdx46ek5cbaxnkejbbcoe + '@typescript-eslint/utils': 7.0.2_x57przdx46ek5cbaxnkejbbcoe '@typescript-eslint/visitor-keys': 7.0.2 debug: 4.3.6 eslint: 8.56.0 @@ -5291,12 +5293,12 @@ packages: ignore: 5.3.2 natural-compare: 1.4.0 semver: 7.6.3 - ts-api-utils: 1.3.0_typescript@5.3.3 - typescript: 5.3.3 + ts-api-utils: 1.3.0_typescript@5.6.2 + typescript: 5.6.2 transitivePeerDependencies: - supports-color - /@typescript-eslint/parser/6.21.0_xdgzedli73k7lw4xlyzszm74om: + /@typescript-eslint/parser/6.21.0_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5308,16 +5310,16 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0_typescript@5.3.3 + '@typescript-eslint/typescript-estree': 6.21.0_typescript@5.6.2 '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.6 eslint: 8.56.0 - typescript: 5.3.3 + typescript: 5.6.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/7.0.2_xdgzedli73k7lw4xlyzszm74om: + /@typescript-eslint/parser/7.0.2_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-GdwfDglCxSmU+QTS9vhz2Sop46ebNCXpPPvsByK7hu0rFGRHL+AusKQJ7SoN+LbLh6APFpQwHKmDSwN35Z700Q==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5329,11 +5331,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 7.0.2 '@typescript-eslint/types': 7.0.2 - '@typescript-eslint/typescript-estree': 7.0.2_typescript@5.3.3 + '@typescript-eslint/typescript-estree': 7.0.2_typescript@5.6.2 '@typescript-eslint/visitor-keys': 7.0.2 debug: 4.3.6 eslint: 8.56.0 - typescript: 5.3.3 + typescript: 5.6.2 transitivePeerDependencies: - supports-color @@ -5351,7 +5353,7 @@ packages: '@typescript-eslint/types': 7.0.2 '@typescript-eslint/visitor-keys': 7.0.2 - /@typescript-eslint/type-utils/7.0.2_xdgzedli73k7lw4xlyzszm74om: + /@typescript-eslint/type-utils/7.0.2_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-IKKDcFsKAYlk8Rs4wiFfEwJTQlHcdn8CLwLaxwd6zb8HNiMcQIFX9sWax2k4Cjj7l7mGS5N1zl7RCHOVwHq2VQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5361,12 +5363,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.0.2_typescript@5.3.3 - '@typescript-eslint/utils': 7.0.2_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/typescript-estree': 7.0.2_typescript@5.6.2 + '@typescript-eslint/utils': 7.0.2_x57przdx46ek5cbaxnkejbbcoe debug: 4.3.6 eslint: 8.56.0 - ts-api-utils: 1.3.0_typescript@5.3.3 - typescript: 5.3.3 + ts-api-utils: 1.3.0_typescript@5.6.2 + typescript: 5.6.2 transitivePeerDependencies: - supports-color @@ -5378,7 +5380,7 @@ packages: resolution: {integrity: sha512-ZzcCQHj4JaXFjdOql6adYV4B/oFOFjPOC9XYwCaZFRvqN8Llfvv4gSxrkQkd2u4Ci62i2c6W6gkDwQJDaRc4nA==} engines: {node: ^16.0.0 || >=18.0.0} - /@typescript-eslint/typescript-estree/6.21.0_typescript@5.3.3: + /@typescript-eslint/typescript-estree/6.21.0_typescript@5.6.2: resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5394,12 +5396,12 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.3 - ts-api-utils: 1.3.0_typescript@5.3.3 - typescript: 5.3.3 + ts-api-utils: 1.3.0_typescript@5.6.2 + typescript: 5.6.2 transitivePeerDependencies: - supports-color - /@typescript-eslint/typescript-estree/7.0.2_typescript@5.3.3: + /@typescript-eslint/typescript-estree/7.0.2_typescript@5.6.2: resolution: {integrity: sha512-3AMc8khTcELFWcKcPc0xiLviEvvfzATpdPj/DXuOGIdQIIFybf4DMT1vKRbuAEOFMwhWt7NFLXRkbjsvKZQyvw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5415,12 +5417,12 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.3 - ts-api-utils: 1.3.0_typescript@5.3.3 - typescript: 5.3.3 + ts-api-utils: 1.3.0_typescript@5.6.2 + typescript: 5.6.2 transitivePeerDependencies: - supports-color - /@typescript-eslint/utils/6.21.0_xdgzedli73k7lw4xlyzszm74om: + /@typescript-eslint/utils/6.21.0_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5431,14 +5433,14 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0_typescript@5.3.3 + '@typescript-eslint/typescript-estree': 6.21.0_typescript@5.6.2 eslint: 8.56.0 semver: 7.6.3 transitivePeerDependencies: - supports-color - typescript - /@typescript-eslint/utils/7.0.2_xdgzedli73k7lw4xlyzszm74om: + /@typescript-eslint/utils/7.0.2_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-PZPIONBIB/X684bhT1XlrkjNZJIEevwkKDsdwfiu1WeqBxYEEdIgVDgm8/bbKHVu+6YOpeRqcfImTdImx/4Bsw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -5449,7 +5451,7 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 7.0.2 '@typescript-eslint/types': 7.0.2 - '@typescript-eslint/typescript-estree': 7.0.2_typescript@5.3.3 + '@typescript-eslint/typescript-estree': 7.0.2_typescript@5.6.2 eslint: 8.56.0 semver: 7.6.3 transitivePeerDependencies: @@ -7994,17 +7996,17 @@ packages: debug: 3.2.7 eslint: 8.56.0 - /eslint-plugin-deprecation/2.0.0_xdgzedli73k7lw4xlyzszm74om: + /eslint-plugin-deprecation/2.0.0_x57przdx46ek5cbaxnkejbbcoe: resolution: {integrity: sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==} peerDependencies: eslint: ^7.0.0 || ^8.0.0 typescript: ^4.2.4 || ^5.0.0 dependencies: - '@typescript-eslint/utils': 6.21.0_xdgzedli73k7lw4xlyzszm74om + '@typescript-eslint/utils': 6.21.0_x57przdx46ek5cbaxnkejbbcoe eslint: 8.56.0 tslib: 2.6.3 - tsutils: 3.21.0_typescript@5.3.3 - typescript: 5.3.3 + tsutils: 3.21.0_typescript@5.6.2 + typescript: 5.6.2 transitivePeerDependencies: - supports-color @@ -12926,15 +12928,15 @@ packages: utf8-byte-length: 1.0.5 dev: true - /ts-api-utils/1.3.0_typescript@5.3.3: + /ts-api-utils/1.3.0_typescript@5.6.2: resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.3 + typescript: 5.6.2 - /ts-node/10.8.2_typescript@5.3.3: + /ts-node/10.8.2_typescript@5.6.2: resolution: {integrity: sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==} hasBin: true peerDependencies: @@ -12961,12 +12963,12 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.3.3 + typescript: 5.6.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true - /ts-node/10.8.2_zifzk4dbgzfq65cu6hdbkv4dfq: + /ts-node/10.8.2_vwt7mu2ekz6vrzgxg2zjmlav44: resolution: {integrity: sha512-LYdGnoGddf1D6v8REPtIH+5iq/gTDuZqv2/UJUU7tKjuEU8xVZorBM+buCGNjj+pGEud+sOoM4CX3/YzINpENA==} hasBin: true peerDependencies: @@ -12994,7 +12996,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.3.3 + typescript: 5.6.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -13046,14 +13048,14 @@ packages: /tslib/2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - /tsutils/3.21.0_typescript@5.3.3: + /tsutils/3.21.0_typescript@5.6.2: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.3.3 + typescript: 5.6.2 /tunnel/0.0.6: resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} @@ -13156,10 +13158,10 @@ packages: peerDependencies: typedoc: 0.24.x || 0.25.x dependencies: - typedoc: 0.25.8_typescript@5.3.3 + typedoc: 0.25.8_typescript@5.6.2 dev: false - /typedoc/0.25.8_typescript@5.3.3: + /typedoc/0.25.8_typescript@5.6.2: resolution: {integrity: sha512-mh8oLW66nwmeB9uTa0Bdcjfis+48bAjSH3uqdzSuSawfduROQLlXw//WSNZLYDdhmMVB7YcYZicq6e8T0d271A==} engines: {node: '>= 16'} hasBin: true @@ -13170,7 +13172,7 @@ packages: marked: 4.3.0 minimatch: 9.0.5 shiki: 0.14.7 - typescript: 5.3.3 + typescript: 5.6.2 dev: false /typemoq/2.1.0: @@ -13205,17 +13207,17 @@ packages: hasBin: true dev: true - /typescript/5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} - engines: {node: '>=14.17'} - hasBin: true - /typescript/5.4.2: resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} engines: {node: '>=14.17'} hasBin: true dev: false + /typescript/5.6.2: + resolution: {integrity: sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==} + engines: {node: '>=14.17'} + hasBin: true + /uid-safe/2.1.5: resolution: {integrity: sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==} engines: {node: '>= 0.8'} @@ -13446,7 +13448,7 @@ packages: perfect-debounce: 1.0.0 picocolors: 1.0.1 sirv: 2.0.4 - vite: 5.4.6 + vite: 5.4.6_@types+node@18.16.20 transitivePeerDependencies: - rollup - supports-color diff --git a/common/config/rush/repo-state.json b/common/config/rush/repo-state.json index db68f1988502..907f503620ae 100644 --- a/common/config/rush/repo-state.json +++ b/common/config/rush/repo-state.json @@ -1,4 +1,4 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "preferredVersionsHash": "94fc6cfd3d8c209fec28000a848039982e2ebd5e" + "preferredVersionsHash": "adf15597b51f0461c65729de01adfd2d3bb2bbfe" } diff --git a/core/backend/package.json b/core/backend/package.json index 1ce93a22e773..6339464d6a89 100644 --- a/core/backend/package.json +++ b/core/backend/package.json @@ -94,7 +94,7 @@ "sinon": "^17.0.2", "source-map-loader": "^4.0.0", "ts-node": "^10.8.2", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0" }, "dependencies": { @@ -117,4 +117,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/backend/src/LocalHub.ts b/core/backend/src/LocalHub.ts index d3a6e57d4a51..91a2d2d60ecb 100644 --- a/core/backend/src/LocalHub.ts +++ b/core/backend/src/LocalHub.ts @@ -576,7 +576,7 @@ export class LocalHub { } else { // if requester is the only one holding a shared lock, "upgrade" the lock from shared to exclusive if (lockStatus.sharedBy.size > 1 || !lockStatus.sharedBy.has(briefcase.briefcaseId)) { - const id = lockStatus.sharedBy.values().next().value; + const id = lockStatus.sharedBy.values().next().value!; // eslint-disable-line @typescript-eslint/no-non-null-assertion throw new LockConflict(id, this.getBriefcase(id).alias, "shared lock is held"); } this.removeSharedLock(props.id, briefcase.briefcaseId); diff --git a/core/backend/src/PropertyStore.ts b/core/backend/src/PropertyStore.ts index f45852602f55..c568999661f8 100644 --- a/core/backend/src/PropertyStore.ts +++ b/core/backend/src/PropertyStore.ts @@ -220,7 +220,7 @@ export namespace PropertyStore { } } - const defaultDbName = "PropertyDb" as const; + const defaultDbName = "PropertyDb"; export interface CreateNewContainerProps { scope: BlobContainer.Scope; diff --git a/core/backend/src/SchemaSync.ts b/core/backend/src/SchemaSync.ts index 0be49a5b1032..6953cd670d24 100644 --- a/core/backend/src/SchemaSync.ts +++ b/core/backend/src/SchemaSync.ts @@ -27,8 +27,8 @@ export namespace SchemaSync { } const syncProperty = { namespace: "itwinjs", name: "SchemaSync" }; - const defaultDbName = "SchemaSyncDb" as const; - const testSyncCachePropKey = "test.schema_sync.cache_name" as const; + const defaultDbName = "SchemaSyncDb"; + const testSyncCachePropKey = "test.schema_sync.cache_name"; // for tests only export const setTestCache = (iModel: IModelDb, cacheName?: string) => { if (cacheName) diff --git a/core/backend/src/ViewStore.ts b/core/backend/src/ViewStore.ts index 2178dbeeba6f..2739ccdfbe53 100644 --- a/core/backend/src/ViewStore.ts +++ b/core/backend/src/ViewStore.ts @@ -177,7 +177,7 @@ export namespace ViewStore { throw new Error(`illegal ${msg} name "${name}"`); }; - export const defaultViewGroupId = 1 as const; + export const defaultViewGroupId = 1; export interface ViewDbCtorArgs { guidMap?: IModelDb.GuidMapper; @@ -1369,7 +1369,7 @@ export namespace ViewStore { } } - const viewDbName = "ViewDb" as const; + const viewDbName = "ViewDb"; /** methods of cloud `ViewDb` for read access */ export interface ReadMethods extends ViewStoreRpc.Reader { diff --git a/core/backend/src/test/standalone/ChangesetReader.test.ts b/core/backend/src/test/standalone/ChangesetReader.test.ts index 928539972b10..4484fccbf23b 100644 --- a/core/backend/src/test/standalone/ChangesetReader.test.ts +++ b/core/backend/src/test/standalone/ChangesetReader.test.ts @@ -186,7 +186,7 @@ describe("Changeset Reader API", async () => { `; await rwIModel.importSchemaStrings([schema]); rwIModel.saveChanges("user 1: schema changeset"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ description: "push schema changeset", accessToken: adminToken }); @@ -205,7 +205,7 @@ describe("Changeset Reader API", async () => { drawingCategoryId = DrawingCategory.insert(rwIModel, IModel.dictionaryId, "MyDrawingCategory", new SubCategoryAppearance({ color: ColorDef.fromString("rgb(255,0,0)").toJSON() })); rwIModel.saveChanges("user 1: create drawing partition"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ description: "user 1: create drawing partition", accessToken: adminToken }); @@ -257,7 +257,7 @@ describe("Changeset Reader API", async () => { rwIModel.saveChanges("user 1: data"); - if ("test local changes") { + if (true || "test local changes") { const reader = SqliteChangesetReader.openLocalChanges({ iModel: rwIModel[_nativeDb], db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const cci = new PartialECChangeUnifier(); @@ -335,7 +335,7 @@ describe("Changeset Reader API", async () => { await updatedElements(); const changesets = await HubMock.downloadChangesets({ iModelId: rwIModelId, targetDir }); - if ("updated element") { + if (true || "updated element") { const reader = SqliteChangesetReader.openFile({ fileName: changesets[3].pathname, db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const cci = new PartialECChangeUnifier(); @@ -362,7 +362,7 @@ describe("Changeset Reader API", async () => { assert.equal(changes[1].$meta?.op, "Updated"); assert.equal(changes[1].$meta?.stage, "Old"); } - if ("updated element when no classId") { + if (true || "updated element when no classId") { const otherDb = SnapshotDb.openFile(IModelTestUtils.resolveAssetFile("test.bim")); const reader = SqliteChangesetReader.openFile({ fileName: changesets[3].pathname, db: otherDb, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); @@ -394,7 +394,7 @@ describe("Changeset Reader API", async () => { assert.equal(changes[1].$meta?.op, "Updated"); assert.equal(changes[1].$meta?.stage, "Old"); } - if ("test changeset file") { + if (true || "test changeset file") { const reader = SqliteChangesetReader.openFile({ fileName: changesets[2].pathname, db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const cci = new PartialECChangeUnifier(); @@ -466,7 +466,7 @@ describe("Changeset Reader API", async () => { }); adaptor.dispose(); } - if ("test ChangesetAdaptor.acceptClass()") { + if (true || "test ChangesetAdaptor.acceptClass()") { const reader = SqliteChangesetReader.openFile({ fileName: changesets[2].pathname, db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); adaptor.acceptClass("TestDomain.Test2dElement"); @@ -479,7 +479,7 @@ describe("Changeset Reader API", async () => { assert.equal(changes[0].$meta?.classFullName, "TestDomain:Test2dElement"); adaptor.dispose(); } - if ("test ChangesetAdaptor.adaptor()") { + if (true || "test ChangesetAdaptor.adaptor()") { const reader = SqliteChangesetReader.openFile({ fileName: changesets[2].pathname, db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); adaptor.acceptOp("Updated"); @@ -730,7 +730,7 @@ describe("Changeset Reader API", async () => { const targetDir = path.join(KnownTestLocations.outputDir, rwIModelId, "changesets"); const changesets = (await HubMock.downloadChangesets({ iModelId: rwIModelId, targetDir })).slice(1); - if ("Grouping changeset [2,3,4] should not contain TestDomain:Test2dElement as insert+update+delete=noop") { + if (true || "Grouping changeset [2,3,4] should not contain TestDomain:Test2dElement as insert+update+delete=noop") { const reader = SqliteChangesetReader.openGroup({ changesetFiles: changesets.map((c) => c.pathname), db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const instances: ({ id: string, classId?: string, op: SqliteChangeOp, classFullName?: string })[] = []; @@ -748,7 +748,7 @@ describe("Changeset Reader API", async () => { expect(instances[0].classFullName).to.eq("BisCore:DrawingModel"); } - if ("Grouping changeset [3,4] should contain update+delete=delete TestDomain:Test2dElement") { + if (true || "Grouping changeset [3,4] should contain update+delete=delete TestDomain:Test2dElement") { const reader = SqliteChangesetReader.openGroup({ changesetFiles: changesets.slice(1).map((c) => c.pathname), db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const instances: ({ id: string, classId?: string, op: SqliteChangeOp, classFullName?: string })[] = []; @@ -780,7 +780,7 @@ describe("Changeset Reader API", async () => { }); } const groupCsFile = path.join(KnownTestLocations.outputDir, "changeset_grouping.ec"); - if ("Grouping changeset [2,3] should contain insert+update=insert TestDomain:Test2dElement") { + if (true || "Grouping changeset [2,3] should contain insert+update=insert TestDomain:Test2dElement") { const reader = SqliteChangesetReader.openGroup({ changesetFiles: changesets.slice(0, 2).map((c) => c.pathname), db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const instances: ({ id: string, classId?: string, op: SqliteChangeOp, classFullName?: string })[] = []; @@ -813,7 +813,7 @@ describe("Changeset Reader API", async () => { reader.writeToFile({ fileName: groupCsFile, containsSchemaChanges: false, overwriteFile: true }); } - if ("writeToFile() test") { + if (true || "writeToFile() test") { const reader = SqliteChangesetReader.openFile({ fileName: groupCsFile, db: rwIModel, disableSchemaCheck: true }); const adaptor = new ECChangesetAdaptor(reader); const instances: ({ id: string, classId?: string, op: SqliteChangeOp, classFullName?: string })[] = []; diff --git a/core/backend/src/test/standalone/GeometryStream.test.ts b/core/backend/src/test/standalone/GeometryStream.test.ts index bef591118781..016d245e0c59 100644 --- a/core/backend/src/test/standalone/GeometryStream.test.ts +++ b/core/backend/src/test/standalone/GeometryStream.test.ts @@ -179,7 +179,7 @@ function validateElementInfo(info: ElementGeometryInfo, expected: ExpectedElemen const brep = ElementGeometry.toBRep(entry); assert.exists(brep); if (!isWorld && undefined !== expected[i].originalEntry) { - const other = ElementGeometry.toBRep(expected[i].originalEntry!); + const other = ElementGeometry.toBRep(expected[i].originalEntry); assert.exists(other); // NOTE: Don't compare brep type; set from entity data by backend, ignored if supplied to update... const transform = Transform.fromJSON(brep?.transform); @@ -194,7 +194,7 @@ function validateElementInfo(info: ElementGeometryInfo, expected: ExpectedElemen const text = ElementGeometry.toTextString(entry); assert.exists(text); if (!isWorld && undefined !== expected[i].originalEntry) { - const other = ElementGeometry.toTextString(expected[i].originalEntry!); + const other = ElementGeometry.toTextString(expected[i].originalEntry); assert.exists(other); assert.isTrue(text?.font === other?.font); assert.isTrue(text?.text === other?.text); @@ -215,7 +215,7 @@ function validateElementInfo(info: ElementGeometryInfo, expected: ExpectedElemen const image = ElementGeometry.toImageGraphic(entry); assert.exists(image); if (!isWorld && undefined !== expected[i].originalEntry) { - const other = ElementGeometry.toImageGraphic(expected[i].originalEntry!); + const other = ElementGeometry.toImageGraphic(expected[i].originalEntry); assert.exists(other); assert.isTrue(image?.textureId === other?.textureId); assert.isTrue(image?.hasBorder === other?.hasBorder); @@ -241,7 +241,7 @@ function validateElementInfo(info: ElementGeometryInfo, expected: ExpectedElemen assert.exists(part); if (!isWorld && undefined !== expected[i].originalEntry) { const otherToElement = Transform.createIdentity(); - const other = ElementGeometry.toGeometryPart(expected[i].originalEntry!, otherToElement); + const other = ElementGeometry.toGeometryPart(expected[i].originalEntry, otherToElement); assert.exists(other); assert.isTrue(partToElement.isAlmostEqual(otherToElement)); } @@ -250,7 +250,7 @@ function validateElementInfo(info: ElementGeometryInfo, expected: ExpectedElemen const updated = ElementGeometry.updateGeometryParams(entry, geomParams); assert.isTrue(updated); if (!isWorld && undefined !== expected[i].geomParams) - assert.isTrue(geomParams.isEquivalent(expected[i].geomParams!)); + assert.isTrue(geomParams.isEquivalent(expected[i].geomParams)); } } }); diff --git a/core/backend/src/test/standalone/IModelWrite.test.ts b/core/backend/src/test/standalone/IModelWrite.test.ts index 8135991f58e5..7041270b64d9 100644 --- a/core/backend/src/test/standalone/IModelWrite.test.ts +++ b/core/backend/src/test/standalone/IModelWrite.test.ts @@ -414,7 +414,7 @@ describe("IModelWriteTest", () => { await rwIModel.importSchemaStrings([schema]); rwIModel.channels.addAllowedChannel(ChannelControl.sharedChannelName); rwIModel.saveChanges("user 1: schema changeset"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ description: "push schema changeset", accessToken: adminToken }); @@ -483,9 +483,9 @@ describe("IModelWriteTest", () => { CodeService.createForIModel = async () => { throw new CodeService.Error("MissingCode", 0x10000 + 1, " "); }; - const briefcaseDb = await BriefcaseDb.open({ fileName: briefcaseProps.fileName}); + const briefcaseDb = await BriefcaseDb.open({ fileName: briefcaseProps.fileName }); briefcaseDb.channels.addAllowedChannel(ChannelControl.sharedChannelName); - let firstNonRootElement = {id:undefined, codeValue: "test"}; + let firstNonRootElement = { id: undefined, codeValue: "test" }; briefcaseDb.withPreparedStatement("SELECT * from Bis.Element LIMIT 1 OFFSET 1", (stmt: ECSqlStatement) => { if (stmt.step() === DbResult.BE_SQLITE_ROW) { firstNonRootElement = stmt.getRow(); @@ -496,8 +496,8 @@ describe("IModelWriteTest", () => { expect(() => briefcaseDb.saveFileProperty({ name: "codeServiceProp", namespace: "codeService", id: 1, subId: 1 }, "codeService test")).to.not.throw(); // make change to the briefcaseDb that affects code that will invoke verifyCode, e.g., update an element with a non-null code // expect error from verifyCode - let newProps = { id: firstNonRootElement.id, code: {...Code.createEmpty(), value:firstNonRootElement.codeValue}, classFullName: undefined, model: undefined }; - await briefcaseDb.locks.acquireLocks({exclusive: firstNonRootElement.id}); + let newProps = { id: firstNonRootElement.id, code: { ...Code.createEmpty(), value: firstNonRootElement.codeValue }, classFullName: undefined, model: undefined }; + await briefcaseDb.locks.acquireLocks({ exclusive: firstNonRootElement.id }); expect(() => briefcaseDb.elements.updateElement(newProps)).to.throw(CodeService.Error); // make change to the briefcaseDb that will invoke verifyCode with a null(empty) code, e.g., update an element with a null(empty) code // expect no error from verifyCode @@ -508,12 +508,12 @@ describe("IModelWriteTest", () => { CodeService.createForIModel = async () => { throw new CodeService.Error("NoCodeIndex", 0x10000 + 1, " "); }; - const briefcaseDb2 = await BriefcaseDb.open({ fileName: briefcaseProps.fileName}); + const briefcaseDb2 = await BriefcaseDb.open({ fileName: briefcaseProps.fileName }); briefcaseDb2.channels.addAllowedChannel(ChannelControl.sharedChannelName); - await briefcaseDb2.locks.acquireLocks({exclusive: firstNonRootElement.id}); + await briefcaseDb2.locks.acquireLocks({ exclusive: firstNonRootElement.id }); // expect no error from verifyCode for empty code expect(() => briefcaseDb2.elements.updateElement(newProps)).to.not.throw(); - newProps = { id: firstNonRootElement.id, code: {...Code.createEmpty(), value:firstNonRootElement.codeValue}, classFullName: undefined, model: undefined }; + newProps = { id: firstNonRootElement.id, code: { ...Code.createEmpty(), value: firstNonRootElement.codeValue }, classFullName: undefined, model: undefined }; // make change to the briefcaseDb that affects code that will invoke verifyCode, e.g., update an element with a non-null code // expect no error from verifyCode expect(() => briefcaseDb2.elements.updateElement(newProps)).to.not.throw(); @@ -552,7 +552,7 @@ describe("IModelWriteTest", () => { rwIModel2.channels.addAllowedChannel(ChannelControl.sharedChannelName); rwIModel.saveChanges("user 1: schema changeset"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ description: "schema changeset", accessToken: adminToken }); @@ -605,7 +605,7 @@ describe("IModelWriteTest", () => { assert.equal(3902, rwIModel[_nativeDb].getChangesetSize()); rwIModel.saveChanges("user 1: data changeset"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ description: "10 instances of test2dElement", accessToken: adminToken }); @@ -629,7 +629,7 @@ describe("IModelWriteTest", () => { } assert.equal(rows.length, 10); assert.equal(rows.map((r) => r.s).filter((v) => v).length, 10); - if ("user pull/merge") { + if (true || "user pull/merge") { // pull and merge changes await rwIModel2.pullChanges({ accessToken: userToken }); rows = []; @@ -654,7 +654,7 @@ describe("IModelWriteTest", () => { assert.equal(13, rwIModel[_nativeDb].getChangesetSize()); rwIModel2.saveChanges("user 2: data changeset"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel2.changeset.id; await rwIModel2.pushChanges({ accessToken: userToken, description: "10 instances of test2dElement" }); @@ -684,7 +684,7 @@ describe("IModelWriteTest", () => { await rwIModel.importSchemaStrings([schemaV2]); assert.equal(0, rwIModel[_nativeDb].getChangesetSize()); rwIModel.saveChanges("user 1: schema changeset2"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ accessToken: adminToken, description: "schema changeset" }); @@ -711,7 +711,7 @@ describe("IModelWriteTest", () => { assert.equal(6279, rwIModel[_nativeDb].getChangesetSize()); rwIModel.saveChanges("user 1: data changeset"); - if ("push changes") { + if (true || "push changes") { // Push the changes to the hub const prePushChangeSetId = rwIModel.changeset.id; await rwIModel.pushChanges({ accessToken: adminToken, description: "10 instances of test2dElement" }); @@ -755,7 +755,7 @@ describe("IModelWriteTest", () => { assert.equal(rows.map((r) => r.t).filter((v) => v).length, 10); assert.equal(rows.map((r) => r.r).filter((v) => v).length, 10); - if ("user pull/merge") { + if (true || "user pull/merge") { // pull and merge changes await rwIModel2.pullChanges({ accessToken: userToken }); rows = []; diff --git a/core/bentley/package.json b/core/bentley/package.json index bcc6341aaaa0..e0755a5af5dc 100644 --- a/core/bentley/package.json +++ b/core/bentley/package.json @@ -41,10 +41,10 @@ "@vitest/coverage-istanbul": "^2.1.0", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "vitest": "^2.1.0" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/bentley/src/Id.ts b/core/bentley/src/Id.ts index f35c7139edee..0e48756969f8 100644 --- a/core/bentley/src/Id.ts +++ b/core/bentley/src/Id.ts @@ -373,7 +373,7 @@ export namespace Id64 { /** Return the first [[Id64String]] of an [[Id64Arg]]. */ export function getFirst(arg: Id64Arg): Id64String { - return typeof arg === "string" ? arg : (Array.isArray(arg) ? arg[0] : arg.values().next().value); + return typeof arg === "string" ? arg : (Array.isArray(arg) ? arg[0] : arg.values().next().value) ?? Id64.invalid; } /** Return the number of [[Id64String]]s represented by an [[Id64Arg]]. */ diff --git a/core/common/package.json b/core/common/package.json index 278edb91d2ed..ed10c21564b0 100644 --- a/core/common/package.json +++ b/core/common/package.json @@ -56,11 +56,11 @@ "eslint": "^8.56.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "vitest": "^2.1.0" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc", "all": true } -} +} \ No newline at end of file diff --git a/core/common/src/SpatialClassification.ts b/core/common/src/SpatialClassification.ts index 209f575d9d6b..cb5df353446f 100644 --- a/core/common/src/SpatialClassification.ts +++ b/core/common/src/SpatialClassification.ts @@ -297,7 +297,7 @@ export class SpatialClassifiers implements Iterable { let propsIndex = -1; if (active) { - propsIndex = array.findIndex((x) => active!.equalsProps(x)); + propsIndex = array.findIndex((x) => active.equalsProps(x)); if (-1 === propsIndex) return this.active; } diff --git a/core/common/src/ViewProps.ts b/core/common/src/ViewProps.ts index 91d5ad2df17d..e354fa34e20a 100644 --- a/core/common/src/ViewProps.ts +++ b/core/common/src/ViewProps.ts @@ -255,7 +255,7 @@ export namespace ViewStoreRpc { * be incremented according to the rules of semantic versioning. See .\rpc\README-RpcInterfaceVersioning.md for more information. * @internal */ - export const version = "4.0.0" as const; + export const version = "4.0.0"; /** an Id of a View, DisplayStyle, ModelSelector, CategorySelector, or Timeline in a ViewStore. * Will be a base-36 number with a leading "@". diff --git a/core/common/src/ipc/IpcWebSocket.ts b/core/common/src/ipc/IpcWebSocket.ts index d7986e847b21..4e17365fe475 100644 --- a/core/common/src/ipc/IpcWebSocket.ts +++ b/core/common/src/ipc/IpcWebSocket.ts @@ -68,7 +68,7 @@ export abstract class IpcWebSocket implements IpcSocket { if (!listeners.has(listener)) listeners.add(listener); - return () => listeners!.delete(listener); + return () => listeners.delete(listener); } public removeListener(channel: string, listener: IpcListener) { diff --git a/core/ecschema-editing/package.json b/core/ecschema-editing/package.json index 2fb55bcc0d79..0f1b0af89ae7 100644 --- a/core/ecschema-editing/package.json +++ b/core/ecschema-editing/package.json @@ -58,7 +58,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "sinon": "^17.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "peerDependencies": { "@itwin/core-bentley": "workspace:^4.10.0-dev.11", @@ -68,4 +68,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/ecschema-locaters/package.json b/core/ecschema-locaters/package.json index 5fc5010305ed..3476529c139e 100644 --- a/core/ecschema-locaters/package.json +++ b/core/ecschema-locaters/package.json @@ -67,7 +67,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "sinon": "^17.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "dependencies": { "glob": "^10.3.12", @@ -81,4 +81,4 @@ "extends": "./node_modules/@itwin/build-tools/.nycrc", "sourceMap": false } -} +} \ No newline at end of file diff --git a/core/ecschema-metadata/package.json b/core/ecschema-metadata/package.json index c2f87463104b..613b7f561854 100644 --- a/core/ecschema-metadata/package.json +++ b/core/ecschema-metadata/package.json @@ -57,7 +57,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "sinon": "^17.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "peerDependencies": { "@itwin/core-bentley": "workspace:^4.10.0-dev.11", @@ -66,4 +66,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/ecschema-metadata/src/Metadata/Class.ts b/core/ecschema-metadata/src/Metadata/Class.ts index 28bc40a52ec6..d22f20f0d7b0 100644 --- a/core/ecschema-metadata/src/Metadata/Class.ts +++ b/core/ecschema-metadata/src/Metadata/Class.ts @@ -582,9 +582,9 @@ export abstract class ECClass extends SchemaItem implements CustomAttributeConta return false; for (const [className, customAttribute] of ecClass.customAttributes) { - if (customAttributes!.has(className)) + if (customAttributes.has(className)) continue; - customAttributes!.set(className, customAttribute); + customAttributes.set(className, customAttribute); } return false; diff --git a/core/ecschema-metadata/src/Metadata/EntityClass.ts b/core/ecschema-metadata/src/Metadata/EntityClass.ts index 4e69a8d58d04..b6fb00ea699d 100644 --- a/core/ecschema-metadata/src/Metadata/EntityClass.ts +++ b/core/ecschema-metadata/src/Metadata/EntityClass.ts @@ -248,7 +248,7 @@ export async function createNavigationProperty(ecClass: ECClass, name: string, r direction = tmpDirection; } - const lazyRelationship = new DelayedPromiseWithProps(resolvedRelationship.key, async () => resolvedRelationship!); + const lazyRelationship = new DelayedPromiseWithProps(resolvedRelationship.key, async () => resolvedRelationship); return new NavigationProperty(ecClass, name, lazyRelationship, direction); } @@ -273,6 +273,6 @@ export function createNavigationPropertySync(ecClass: ECClass, name: string, rel direction = tmpDirection; } - const lazyRelationship = new DelayedPromiseWithProps(resolvedRelationship.key, async () => resolvedRelationship!); + const lazyRelationship = new DelayedPromiseWithProps(resolvedRelationship.key, async () => resolvedRelationship); return new NavigationProperty(ecClass, name, lazyRelationship, direction); } diff --git a/core/ecschema-rpc/common/package.json b/core/ecschema-rpc/common/package.json index 657c7c11fb7e..224cb1daca9b 100644 --- a/core/ecschema-rpc/common/package.json +++ b/core/ecschema-rpc/common/package.json @@ -45,6 +45,6 @@ "@itwin/eslint-plugin": "^4.0.2", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/core/ecschema-rpc/impl/package.json b/core/ecschema-rpc/impl/package.json index 14e50cbc86fc..73cf3d212d07 100644 --- a/core/ecschema-rpc/impl/package.json +++ b/core/ecschema-rpc/impl/package.json @@ -49,6 +49,6 @@ "@itwin/eslint-plugin": "^4.0.2", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/core/ecsql/common/package.json b/core/ecsql/common/package.json index 8b887e7858d1..5919e4ec9309 100644 --- a/core/ecsql/common/package.json +++ b/core/ecsql/common/package.json @@ -48,10 +48,10 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc", "all": true } -} +} \ No newline at end of file diff --git a/core/electron/package.json b/core/electron/package.json index 3e50aea9539f..c89c873f8725 100644 --- a/core/electron/package.json +++ b/core/electron/package.json @@ -59,7 +59,7 @@ "mocha": "^10.2.0", "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" }, @@ -68,4 +68,4 @@ "open": "^7.0.0", "username": "^5.1.0" } -} +} \ No newline at end of file diff --git a/core/express-server/package.json b/core/express-server/package.json index 72caf8599f05..8d6f2bcd66b5 100644 --- a/core/express-server/package.json +++ b/core/express-server/package.json @@ -54,7 +54,7 @@ "rimraf": "^3.0.2", "sinon": "^17.0.2", "supertest": "^7.0.0", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "peerDependencies": { "@itwin/core-backend": "workspace:*", @@ -67,4 +67,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/extension/package.json b/core/extension/package.json index c5968f8ea956..e146ed8f719d 100644 --- a/core/extension/package.json +++ b/core/extension/package.json @@ -41,6 +41,6 @@ "@itwin/eslint-plugin": "^4.0.2", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/core/frontend-devtools/package.json b/core/frontend-devtools/package.json index 4b35a6d89394..343bd29846ea 100644 --- a/core/frontend-devtools/package.json +++ b/core/frontend-devtools/package.json @@ -48,6 +48,6 @@ "cpx2": "^3.0.0", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/core/frontend/package.json b/core/frontend/package.json index dd9de3e777f0..d6a09885f40b 100644 --- a/core/frontend/package.json +++ b/core/frontend/package.json @@ -82,7 +82,7 @@ "rimraf": "^3.0.2", "sinon": "^17.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "typemoq": "^2.1.0", "webpack": "^5.76.0" }, @@ -105,4 +105,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/frontend/src/AccuDraw.ts b/core/frontend/src/AccuDraw.ts index 438934b46210..e1c77e05e784 100644 --- a/core/frontend/src/AccuDraw.ts +++ b/core/frontend/src/AccuDraw.ts @@ -2305,7 +2305,7 @@ export class AccuDraw { if (!this._distanceRoundOff.active || !this._distanceRoundOff.units.size) return undefined; - let roundValue = this._distanceRoundOff.units.values().next().value; + let roundValue = this._distanceRoundOff.units.values().next().value!; // eslint-disable-line @typescript-eslint/no-non-null-assertion if (this._distanceRoundOff.units.size > 1) { // NOTE: Set isn't ordered, find smallest entry... @@ -2337,7 +2337,7 @@ export class AccuDraw { if (!this._angleRoundOff.active || !this._angleRoundOff.units.size) return undefined; - let roundValue = this._angleRoundOff.units.values().next().value; + let roundValue = this._angleRoundOff.units.values().next().value!; // eslint-disable-line @typescript-eslint/no-non-null-assertion if (this._angleRoundOff.units.size > 1) { // NOTE: Set isn't ordered, find smallest entry... diff --git a/core/frontend/src/test/TxnEntityChanges.test.ts b/core/frontend/src/test/TxnEntityChanges.test.ts index f2db90b44d4b..7f6a98c81b78 100644 --- a/core/frontend/src/test/TxnEntityChanges.test.ts +++ b/core/frontend/src/test/TxnEntityChanges.test.ts @@ -99,7 +99,7 @@ describe("TxnEntityChanges", () => { bases = bases ?? []; expect(entry.baseClasses.length).most(bases.length); - expect(entry.baseClasses.every((x) => bases!.includes(x.classFullName))).to.be.true; + expect(entry.baseClasses.every((x) => bases.includes(x.classFullName))).to.be.true; bases.push(name); // this.is(this) is always true. diff --git a/core/frontend/src/tile/ThreeDTileFormatInterpreter.ts b/core/frontend/src/tile/ThreeDTileFormatInterpreter.ts index 5ae96b4e3c0b..a73098e788e8 100644 --- a/core/frontend/src/tile/ThreeDTileFormatInterpreter.ts +++ b/core/frontend/src/tile/ThreeDTileFormatInterpreter.ts @@ -94,7 +94,7 @@ export class ThreeDTileFormatInterpreter { } location = ecefLocation; - Logger.logTrace(loggerCategory, "RealityData is worldToEcefTransform.matrix.isIdentity", () => ({ isIdentity: worldToEcefTransform!.matrix.isIdentity })); + Logger.logTrace(loggerCategory, "RealityData is worldToEcefTransform.matrix.isIdentity", () => ({ isIdentity: worldToEcefTransform.matrix.isIdentity })); // iModelDb.setEcefLocation(ecefLocation); const ecefToWorld = ecefLocation.getTransform().inverse()!; worldRange.extendRange(Range3d.fromJSON(ecefToWorld.multiplyRange(ecefRange))); diff --git a/core/frontend/src/tile/TileRequestChannel.ts b/core/frontend/src/tile/TileRequestChannel.ts index 81b644e92eea..075d07cf4210 100644 --- a/core/frontend/src/tile/TileRequestChannel.ts +++ b/core/frontend/src/tile/TileRequestChannel.ts @@ -87,7 +87,7 @@ export class TileRequestChannelStatistics { const val = this[key]; if (typeof val === "number") { assert(typeof stats[key] === "number"); - (stats[key] as number) += val; + (stats[key] as number) += val; // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion } } diff --git a/core/frontend/src/tile/map/ImageryProviders/WmsMapLayerImageryProvider.ts b/core/frontend/src/tile/map/ImageryProviders/WmsMapLayerImageryProvider.ts index eaf3a49c00ec..d622e786cdf5 100644 --- a/core/frontend/src/tile/map/ImageryProviders/WmsMapLayerImageryProvider.ts +++ b/core/frontend/src/tile/map/ImageryProviders/WmsMapLayerImageryProvider.ts @@ -188,7 +188,7 @@ export class WmsMapLayerImageryProvider extends MapLayerImageryProvider { const infoFormats = this._capabilities?.featureInfoFormats; if (!doToolTips || undefined === infoFormats) return; - let formatString = infoFormats.find((format) => format === "text/html"); + let formatString: string | undefined = infoFormats.find((format) => format === "text/html"); if (!formatString) formatString = infoFormats[0]; diff --git a/core/frontend/src/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.ts b/core/frontend/src/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.ts index 3c1c2a822c5a..44d04caec447 100644 --- a/core/frontend/src/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.ts +++ b/core/frontend/src/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.ts @@ -96,7 +96,7 @@ export class WmtsMapLayerImageryProvider extends MapLayerImageryProvider { } if (preferredTms !== undefined) { - const tmsLink= layer.tileMatrixSetLinks.find((tmsl) => tmsl.tileMatrixSet === preferredTms!.identifier); + const tmsLink= layer.tileMatrixSetLinks.find((tmsl) => tmsl.tileMatrixSet === preferredTms.identifier); this._preferredLayerTileMatrixSet.set(layer.identifier, { tileMatrixSet: preferredTms, limits: tmsLink?.tileMatrixSetLimits } ); } }); diff --git a/core/frontend/src/tools/ViewTool.ts b/core/frontend/src/tools/ViewTool.ts index a03034b9b607..1423cf2c04a4 100644 --- a/core/frontend/src/tools/ViewTool.ts +++ b/core/frontend/src/tools/ViewTool.ts @@ -2000,7 +2000,7 @@ class ViewLookAndMove extends ViewNavigate { if (undefined === this._pointerLockClickEngagementListener) { this._pointerLockClickEngagementListener = () => { if (1 === this.viewTool.nPts && undefined !== IModelApp.toolAdmin.cursorView) - vp.canvas.requestPointerLock(); + void vp.canvas.requestPointerLock(); }; document.addEventListener("click", this._pointerLockClickEngagementListener, false); } @@ -2008,7 +2008,7 @@ class ViewLookAndMove extends ViewNavigate { if (undefined === this._pointerLockKeyEngagementListener) { this._pointerLockKeyEngagementListener = (ev: Event) => { if (0 === this.viewTool.nPts && undefined !== IModelApp.toolAdmin.cursorView && this.isNavigationKey(ev as KeyboardEvent)) - vp.canvas.requestPointerLock(); + void vp.canvas.requestPointerLock(); }; document.addEventListener("keydown", this._pointerLockKeyEngagementListener, false); } diff --git a/core/geometry/package.json b/core/geometry/package.json index 6de60d57c40f..adeb00f92502 100644 --- a/core/geometry/package.json +++ b/core/geometry/package.json @@ -44,11 +44,11 @@ "@vitest/coverage-istanbul": "^2.1.0", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "vitest": "^2.1.0" }, "dependencies": { "@itwin/core-bentley": "workspace:*", "flatbuffers": "~1.12.0" } -} +} \ No newline at end of file diff --git a/core/geometry/src/curve/internalContexts/CurveCurveCloseApproachXY.ts b/core/geometry/src/curve/internalContexts/CurveCurveCloseApproachXY.ts index 172d0234fca9..add38c52d145 100644 --- a/core/geometry/src/curve/internalContexts/CurveCurveCloseApproachXY.ts +++ b/core/geometry/src/curve/internalContexts/CurveCurveCloseApproachXY.ts @@ -436,8 +436,7 @@ export class CurveCurveCloseApproachXY extends RecurseToCurvesGeometryHandler { */ private getPointCurveClosestApproachXYNewton(curveP: CurvePrimitive, pointQ: Point3d): CurveLocationDetail | undefined { if (!(curveP instanceof Arc3d) && !(curveP instanceof LineSegment3d)) { - assert(!"getPointCurveClosestApproachXYNewton only supports Arc3d and LineSegment"); - return undefined; + assert(false, "getPointCurveClosestApproachXYNewton only supports Arc3d and LineSegment"); } const seeds = [0.2, 0.4, 0.6, 0.8]; // HEURISTIC: arcs have up to 4 perpendiculars; lines have only 1 const newtonEvaluator = new CurvePointCloseApproachXYRtoRD(curveP, pointQ); @@ -757,8 +756,7 @@ export class CurveCurveCloseApproachXY extends RecurseToCurvesGeometryHandler { if (!this._geometryB || !(this._geometryB instanceof CurveChainWithDistanceIndex)) return; if (geomA instanceof CurveChainWithDistanceIndex) { - assert(!"call handleCurveChainWithDistanceIndex(geomA) instead"); - return; + assert(false, "call handleCurveChainWithDistanceIndex(geomA) instead"); } const index0 = this._results.length; const geomB = this._geometryB; // save diff --git a/core/geometry/src/curve/internalContexts/CurveCurveIntersectXY.ts b/core/geometry/src/curve/internalContexts/CurveCurveIntersectXY.ts index f363268bccc3..45ee284750bb 100644 --- a/core/geometry/src/curve/internalContexts/CurveCurveIntersectXY.ts +++ b/core/geometry/src/curve/internalContexts/CurveCurveIntersectXY.ts @@ -688,7 +688,7 @@ export class CurveCurveIntersectXY extends RecurseToCurvesGeometryHandler { } const bcurveAFraction = bezierA.fractionToParentFraction(bezierAFraction); const bcurveBFraction = bezierB.fractionToParentFraction(bezierBFraction); - if (!"verify results") { + if (false || "verify results") { const xyzA0 = bezierA.fractionToPoint(bezierAFraction); const xyzA1 = bcurveA.fractionToPoint(bcurveAFraction); const xyzB0 = bezierB.fractionToPoint(bezierBFraction); @@ -966,8 +966,7 @@ export class CurveCurveIntersectXY extends RecurseToCurvesGeometryHandler { if (!this._geometryB || !(this._geometryB instanceof CurveChainWithDistanceIndex)) return; if (geomA instanceof CurveChainWithDistanceIndex) { - assert(!"call handleCurveChainWithDistanceIndex(geomA) instead"); - return; + assert(false, "call handleCurveChainWithDistanceIndex(geomA) instead"); } const index0 = this._results.length; const geomB = this._geometryB; // save diff --git a/core/geometry/src/curve/internalContexts/CurveCurveIntersectXYZ.ts b/core/geometry/src/curve/internalContexts/CurveCurveIntersectXYZ.ts index 4a74191aaa19..e83eab076cb0 100644 --- a/core/geometry/src/curve/internalContexts/CurveCurveIntersectXYZ.ts +++ b/core/geometry/src/curve/internalContexts/CurveCurveIntersectXYZ.ts @@ -796,8 +796,7 @@ export class CurveCurveIntersectXYZ extends RecurseToCurvesGeometryHandler { if (!this._geometryB || !(this._geometryB instanceof CurveChainWithDistanceIndex)) return; if (geomA instanceof CurveChainWithDistanceIndex) { - assert(!"call handleCurveChainWithDistanceIndex(geomA) instead"); - return; + assert(false, "call handleCurveChainWithDistanceIndex(geomA) instead"); } const index0 = this._results.length; const geomB = this._geometryB; // save diff --git a/core/geometry/src/geometry3d/PolygonOps.ts b/core/geometry/src/geometry3d/PolygonOps.ts index a13988b44fe6..ab637c674bea 100644 --- a/core/geometry/src/geometry3d/PolygonOps.ts +++ b/core/geometry/src/geometry3d/PolygonOps.ts @@ -1262,8 +1262,7 @@ export class PolygonOps { const areaOfNormalParallelogram = Math.abs(outwardUnitNormalOfPrevEdge.crossProductXY(outwardUnitNormalOfEdge)); const coord = Geometry.conditionalDivideCoordinate(areaOfNormalParallelogram, projToPrevEdge.x * projToEdge.x, largestResult); if (undefined === coord) { - assert(!"unexpectedly small projection distance to an edge"); - return undefined; // shouldn't happen due to chopping in computeEdgeDataXY: area/(dist*dist) <= 1/tol^2 = largestResult + assert(false, "unexpectedly small projection distance to an edge"); // shouldn't happen due to chopping in computeEdgeDataXY: area/(dist*dist) <= 1/tol^2 = largestResult } coords[i] = coord; coordSum += coord; @@ -1273,8 +1272,7 @@ export class PolygonOps { } const scale = Geometry.conditionalDivideCoordinate(1.0, coordSum); if (undefined === scale) { - assert(!"unexpected zero barycentric coordinate sum"); - return undefined; + assert(false, "unexpected zero barycentric coordinate sum"); } for (let i = 0; i < n; ++i) coords[i] *= scale; // normalized diff --git a/core/geometry/src/polyface/PolyfaceClip.ts b/core/geometry/src/polyface/PolyfaceClip.ts index 63ce8aa170f3..3824b8e96fb8 100644 --- a/core/geometry/src/polyface/PolyfaceClip.ts +++ b/core/geometry/src/polyface/PolyfaceClip.ts @@ -215,7 +215,7 @@ export class PolyfaceClip { for (const child of region.children) this.addRegion(builder, child); } else { - assert(!"unexpected region encountered"); + assert(false, "unexpected region encountered"); } } } diff --git a/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSet.ts b/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSet.ts index d456d8ba6273..a1427a894105 100644 --- a/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSet.ts +++ b/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSet.ts @@ -176,7 +176,7 @@ export class GriddedRaggedRange2dSet implements Range2dSearchInterface { result = Range2d.createNull(); this.visitChildren(0, (_depth, child) => { const childRange = GriddedRaggedRange2dSet._workRange = child.totalRange(GriddedRaggedRange2dSet._workRange); - result!.extendRange(childRange); + result.extendRange(childRange); }); return result; } diff --git a/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.ts b/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.ts index 842ea254f4d1..8f473da9b867 100644 --- a/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.ts +++ b/core/geometry/src/polyface/multiclip/GriddedRaggedRange2dSetWithOverflow.ts @@ -82,7 +82,7 @@ export class GriddedRaggedRange2dSetWithOverflow implements Range2dSearchInte result = Range2d.createNull(); this.visitChildren(0, (_depth, child) => { const childRange = GriddedRaggedRange2dSetWithOverflow._workRange = child.totalRange(GriddedRaggedRange2dSetWithOverflow._workRange); - result!.extendRange(childRange); + result.extendRange(childRange); }); return result; } diff --git a/core/hypermodeling/package.json b/core/hypermodeling/package.json index 4c7bab4c095c..b23a0dd6073c 100644 --- a/core/hypermodeling/package.json +++ b/core/hypermodeling/package.json @@ -62,7 +62,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0" }, "dependencies": { @@ -71,4 +71,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/i18n/package.json b/core/i18n/package.json index fd68f56e870f..90c3c44b49ce 100644 --- a/core/i18n/package.json +++ b/core/i18n/package.json @@ -51,6 +51,7 @@ "@types/i18next": "^8.4.2", "@types/i18next-browser-languagedetector": "^2.0.1", "@types/mocha": "^10.0.6", + "@types/node": "~18.16.20", "babel-loader": "~8.2.5", "babel-plugin-istanbul": "~6.1.1", "chai": "^4.3.10", @@ -58,7 +59,7 @@ "glob": "^10.3.12", "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" }, @@ -72,4 +73,4 @@ "i18next-browser-languagedetector": "^6.1.2", "i18next-http-backend": "^1.4.4" } -} +} \ No newline at end of file diff --git a/core/markup/package.json b/core/markup/package.json index c7955c0774fc..cad9e697a2d7 100644 --- a/core/markup/package.json +++ b/core/markup/package.json @@ -67,10 +67,10 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/markup/src/SelectTool.ts b/core/markup/src/SelectTool.ts index 2eec136f78e1..f5a60840fca7 100644 --- a/core/markup/src/SelectTool.ts +++ b/core/markup/src/SelectTool.ts @@ -411,7 +411,7 @@ export class MarkupSelected { public sizeChanged() { this.clearEditors(); if (this.elements.size === 1) - this.handles = new Handles(this, this.elements.values().next().value); + this.handles = new Handles(this, this.elements.values().next().value!); // eslint-disable-line @typescript-eslint/no-non-null-assertion this.onChanged.raiseEvent(this); } /** Add a new element to the SS */ @@ -446,7 +446,7 @@ export class MarkupSelected { public groupAll(undo: UndoManager) { if (this.size < 2) return; - const first = this.elements.values().next().value; + const first = this.elements.values().next().value!; // eslint-disable-line @typescript-eslint/no-non-null-assertion const parent = first.parent() as Container; const group = parent.group(); diff --git a/core/mobile/package.json b/core/mobile/package.json index 305686a15400..16a2ca03619b 100644 --- a/core/mobile/package.json +++ b/core/mobile/package.json @@ -63,6 +63,6 @@ "eslint": "^8.56.0", "mocha": "^10.2.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/core/orbitgt/package.json b/core/orbitgt/package.json index 7d8ea4ad3f32..5c4f2d97f480 100644 --- a/core/orbitgt/package.json +++ b/core/orbitgt/package.json @@ -44,9 +44,9 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/quantity/package.json b/core/quantity/package.json index 9edd5f75b224..901222b54be4 100644 --- a/core/quantity/package.json +++ b/core/quantity/package.json @@ -48,7 +48,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "sinon": "^17.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "peerDependencies": { "@itwin/core-bentley": "workspace:^4.10.0-dev.11" @@ -56,4 +56,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/core/telemetry/package.json b/core/telemetry/package.json index 317b10098e1d..edc0c9d73ca3 100644 --- a/core/telemetry/package.json +++ b/core/telemetry/package.json @@ -47,7 +47,7 @@ "mocha": "^10.2.0", "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0" } -} +} \ No newline at end of file diff --git a/core/webgl-compatibility/package.json b/core/webgl-compatibility/package.json index 376cb90adda8..77b279170d1c 100644 --- a/core/webgl-compatibility/package.json +++ b/core/webgl-compatibility/package.json @@ -52,7 +52,7 @@ "mocha": "^10.2.0", "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0" } -} +} \ No newline at end of file diff --git a/docs/learning/frontend/Extensions.md b/docs/learning/frontend/Extensions.md index 4135cc9313a2..2f4ed681427d 100644 --- a/docs/learning/frontend/Extensions.md +++ b/docs/learning/frontend/Extensions.md @@ -55,7 +55,7 @@ Next, you'll want to add [TypeScript](https://www.typescriptlang.org/), and the "@itwin/core-extension": "^3.2.0" }, "devDependencies": { - "typescript": "~5.3.3", + "typescript": "~5.6.2", "@itwin/build-tools": "^3.2.0", }, ``` diff --git a/domains/analytical/backend/package.json b/domains/analytical/backend/package.json index 26ab19ff5655..7a45a53b5345 100644 --- a/domains/analytical/backend/package.json +++ b/domains/analytical/backend/package.json @@ -58,7 +58,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "semver": "^7.5.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "TODO-dependencies": { "@bentley/analytical-schema": "~1.0.0" @@ -66,4 +66,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/domains/linear-referencing/backend/package.json b/domains/linear-referencing/backend/package.json index 6564c44bb66e..e3da24ecba01 100644 --- a/domains/linear-referencing/backend/package.json +++ b/domains/linear-referencing/backend/package.json @@ -58,7 +58,7 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "TODO-dependencies": { "@itwin/linear-referencing-schema": "~1.0.1" @@ -66,4 +66,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/domains/linear-referencing/common/package.json b/domains/linear-referencing/common/package.json index b750c8f2e64d..872073316412 100644 --- a/domains/linear-referencing/common/package.json +++ b/domains/linear-referencing/common/package.json @@ -49,9 +49,9 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/domains/physical-material/backend/package.json b/domains/physical-material/backend/package.json index 21b599724bf2..44e75f077366 100644 --- a/domains/physical-material/backend/package.json +++ b/domains/physical-material/backend/package.json @@ -55,7 +55,7 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "TODO-dependencies": { "@bentley/physicalmaterial-schema": "~1.0.1" @@ -63,4 +63,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/editor/backend/package.json b/editor/backend/package.json index 4748cf5e3855..a379f38060e5 100644 --- a/editor/backend/package.json +++ b/editor/backend/package.json @@ -53,9 +53,9 @@ "@itwin/eslint-plugin": "^4.0.2", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "dependencies": { "@itwin/editor-common": "workspace:*" } -} +} \ No newline at end of file diff --git a/editor/common/package.json b/editor/common/package.json index 3471353fc1d5..6181a7004a99 100644 --- a/editor/common/package.json +++ b/editor/common/package.json @@ -50,6 +50,6 @@ "eslint": "^8.56.0", "mocha": "^10.2.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/editor/frontend/package.json b/editor/frontend/package.json index a1d02124df49..0e77d3944ad8 100644 --- a/editor/frontend/package.json +++ b/editor/frontend/package.json @@ -58,7 +58,7 @@ "cpx2": "^3.0.0", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "//dependencies": [ "NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API", @@ -67,4 +67,4 @@ "dependencies": { "@itwin/editor-common": "workspace:*" } -} +} \ No newline at end of file diff --git a/example-code/app/package.json b/example-code/app/package.json index bb4cda11daf6..654d5b51014e 100644 --- a/example-code/app/package.json +++ b/example-code/app/package.json @@ -37,7 +37,7 @@ "eslint": "^8.56.0", "mocha": "^10.2.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "mocha": { "exit": true, @@ -54,4 +54,4 @@ "reporter-options": "mochaFile=lib/test/junit_results.xml", "timeout": 999999 } -} +} \ No newline at end of file diff --git a/example-code/snippets/package.json b/example-code/snippets/package.json index 4300845c2691..2a0fd2602367 100644 --- a/example-code/snippets/package.json +++ b/example-code/snippets/package.json @@ -53,7 +53,7 @@ "mocha": "^10.2.0", "npm-run-all": "^4.1.5", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "mocha": { "exit": true, @@ -67,4 +67,4 @@ "reporter-options": "mochaFile=lib/test/junit_results.xml", "timeout": 999999 } -} +} \ No newline at end of file diff --git a/example-code/snippets/src/backend/AzuriteTest.ts b/example-code/snippets/src/backend/AzuriteTest.ts index 2b677bc6bfbf..13977f02b542 100644 --- a/example-code/snippets/src/backend/AzuriteTest.ts +++ b/example-code/snippets/src/backend/AzuriteTest.ts @@ -15,7 +15,7 @@ import { LocalDirName, LocalFileName } from "@itwin/core-common"; export namespace AzuriteTest { - export const storageType = "azure" as const; + export const storageType = "azure"; export const httpAddr = "127.0.0.1:10001"; export const accountName = "devstoreaccount1"; export const baseUri = `http://${httpAddr}/${accountName}`; @@ -77,7 +77,7 @@ export namespace AzuriteTest { export interface TestContainerProps { containerId: string, logId?: string, isPublic?: boolean, writeable?: boolean } export const makeContainer = async (arg: TestContainerProps): Promise => { - const containerProps = { ...arg, writeable: true, baseUri, storageType }; + const containerProps = { ...arg, writeable: true, baseUri, storageType } as const; const accessToken = await CloudSqlite.requestToken(containerProps); return CloudSqlite.createCloudContainer({ ...containerProps, accessToken }); }; @@ -128,7 +128,7 @@ export namespace AzuriteTest { if (arg.userToken !== service.userToken.admin) throw new Error("only admins may create containers"); - const address = { containerId: arg.containerId ?? Guid.createValue(), baseUri, provider: storageType }; + const address = { containerId: arg.containerId ?? Guid.createValue(), baseUri, provider: storageType } as const; const azCont = createAzClient(address.containerId); const opts: azureBlob.ContainerCreateOptions = { metadata: { diff --git a/example-code/snippets/src/backend/ECSQL-spatial-queries.test.ts b/example-code/snippets/src/backend/ECSQL-spatial-queries.test.ts index 4b7b62ffb06e..66d862fc275e 100644 --- a/example-code/snippets/src/backend/ECSQL-spatial-queries.test.ts +++ b/example-code/snippets/src/backend/ECSQL-spatial-queries.test.ts @@ -75,7 +75,7 @@ describe("Useful ECSQL spatial queries", () => { const rangeSum: Range3dProps = iModel.withPreparedStatement(bboxUnionStmtECSQL, (stmt: ECSqlStatement) => { - stmt.bindId(1, modelId!); + stmt.bindId(1, modelId); if (stmt.step() !== DbResult.BE_SQLITE_ROW) return {} as Range3dProps; // Note that the the ECSQL value is a blob. Its data must be extracted and interpreted as a Range3d. diff --git a/extensions/frontend-tiles/package.json b/extensions/frontend-tiles/package.json index 5bb1e96003b8..4a1918627bbf 100644 --- a/extensions/frontend-tiles/package.json +++ b/extensions/frontend-tiles/package.json @@ -62,7 +62,7 @@ "rimraf": "^3.0.2", "sinon": "^17.0.2", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0" } -} +} \ No newline at end of file diff --git a/extensions/map-layers-auth/package.json b/extensions/map-layers-auth/package.json index b254149079d3..dcce59d4635a 100644 --- a/extensions/map-layers-auth/package.json +++ b/extensions/map-layers-auth/package.json @@ -54,7 +54,7 @@ "sinon": "^17.0.2", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.6", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "fetch-mock": "~11.1.3" }, "peerDependencies": { @@ -84,4 +84,4 @@ "mochaFile=lib/test/junit_results.xml" ] } -} +} \ No newline at end of file diff --git a/extensions/map-layers-auth/src/test/ArcGisTokenGenerator.test.ts b/extensions/map-layers-auth/src/test/ArcGisTokenGenerator.test.ts index 2248ba9a7b0f..dee5748270fa 100644 --- a/extensions/map-layers-auth/src/test/ArcGisTokenGenerator.test.ts +++ b/extensions/map-layers-auth/src/test/ArcGisTokenGenerator.test.ts @@ -18,7 +18,7 @@ describe("ArcGisTokenGenerator", () => { }); it("should make proper info request and extract tokenServicesUrl from response", async () => { - const fetchStub = sandbox.stub(global, "fetch").callsFake(async function (_input, _init) { + const fetchStub = sandbox.stub(globalThis, "fetch").callsFake(async function (_input, _init) { return Promise.resolve((({ status: 200, diff --git a/extensions/map-layers-formats/package.json b/extensions/map-layers-formats/package.json index ad07d7fbc98e..527190ef342c 100644 --- a/extensions/map-layers-formats/package.json +++ b/extensions/map-layers-formats/package.json @@ -64,7 +64,7 @@ "sinon-chai": "^3.7.0", "source-map-support": "^0.5.6", "typemoq": "^2.1.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "fetch-mock": "~11.1.3" }, "peerDependencies": { @@ -102,4 +102,4 @@ "mochaFile=lib/test/junit_results.xml" ] } -} +} \ No newline at end of file diff --git a/extensions/test-extension/package.json b/extensions/test-extension/package.json index 2914906a0743..67e37a86e04f 100644 --- a/extensions/test-extension/package.json +++ b/extensions/test-extension/package.json @@ -34,7 +34,7 @@ "esbuild": "^0.13.8", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "dependencies": { "@itwin/core-extension": "workspace:*", diff --git a/full-stack-tests/backend/package.json b/full-stack-tests/backend/package.json index 9a648b8bde68..1b7a84b93682 100644 --- a/full-stack-tests/backend/package.json +++ b/full-stack-tests/backend/package.json @@ -79,9 +79,9 @@ "internal-tools": "workspace:*", "mkdirp": "^1.0.4", "npm-run-all": "^4.1.5", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/full-stack-tests/backend/src/integration/AzuriteTest.ts b/full-stack-tests/backend/src/integration/AzuriteTest.ts index feef4f2add7f..2e03fceaf7cf 100644 --- a/full-stack-tests/backend/src/integration/AzuriteTest.ts +++ b/full-stack-tests/backend/src/integration/AzuriteTest.ts @@ -16,7 +16,7 @@ import * as crypto from "crypto"; export namespace AzuriteTest { - export const storageType = "azure" as const; + export const storageType = "azure"; export const httpAddr = "127.0.0.1:10000"; export const accountName = "devstoreaccount1"; export const baseUri = `http://${httpAddr}/${accountName}`; @@ -97,7 +97,7 @@ export namespace AzuriteTest { export interface TestContainerProps { containerId: string, logId?: string, isPublic?: boolean, writeable?: boolean } export const makeContainer = async (arg: TestContainerProps): Promise => { - const containerProps = { ...arg, writeable: true, baseUri, storageType }; + const containerProps = { ...arg, writeable: true, baseUri, storageType } as const; const accessToken = await CloudSqlite.requestToken(containerProps); return CloudSqlite.createCloudContainer({ ...containerProps, accessToken }); }; @@ -148,7 +148,7 @@ export namespace AzuriteTest { if (arg.userToken !== service.userToken.admin) throw new Error("only admins may create containers"); - const address = { containerId: arg.containerId ?? Guid.createValue(), baseUri, provider: storageType }; + const address = { containerId: arg.containerId ?? Guid.createValue(), baseUri, provider: storageType } as const; const azCont = createAzClient(address.containerId); const opts: azureBlob.ContainerCreateOptions = { metadata: { diff --git a/full-stack-tests/backend/src/integration/CloudSqlite.test.ts b/full-stack-tests/backend/src/integration/CloudSqlite.test.ts index 0963ffe055fe..a8f4375a8ba9 100644 --- a/full-stack-tests/backend/src/integration/CloudSqlite.test.ts +++ b/full-stack-tests/backend/src/integration/CloudSqlite.test.ts @@ -613,7 +613,7 @@ describe("CloudSqlite", () => { it("Auto refresh container tokens", async () => { const contain1 = testContainers[0]; - const contProps = { baseUri: AzuriteTest.baseUri, containerId: contain1.containerId, storageType: AzuriteTest.storageType, writeable: true }; + const contProps = { baseUri: AzuriteTest.baseUri, containerId: contain1.containerId, storageType: AzuriteTest.storageType, writeable: true } as const; // must be valid token so property store can connect const accessToken = await CloudSqlite.requestToken(contProps); diff --git a/full-stack-tests/backend/src/integration/SchemaSync.test.ts b/full-stack-tests/backend/src/integration/SchemaSync.test.ts index c569a57e6385..bc7e621c10ad 100644 --- a/full-stack-tests/backend/src/integration/SchemaSync.test.ts +++ b/full-stack-tests/backend/src/integration/SchemaSync.test.ts @@ -13,7 +13,7 @@ import * as path from "path"; import { EOL } from "os"; import { ChangesetType, Code, ColorDef, GeometryStreamProps, IModel, SubCategoryAppearance } from "@itwin/core-common"; import { Arc3d, IModelJson, Point3d } from "@itwin/core-geometry"; -const storageType = "azure" as const; +const storageType = "azure"; interface TinySchemaRef { name: string; ver: string; @@ -112,7 +112,7 @@ async function initializeContainer(containerProps: { containerId: string, isPubl await AzuriteTest.Sqlite.createAzContainer(containerProps); const accessToken = await CloudSqlite.requestToken({ ...containerProps }); await SchemaSync.CloudAccess.initializeDb({ ...containerProps, accessToken, storageType }); - return { ...containerProps, accessToken, storageType }; + return { ...containerProps, accessToken, storageType } as const; }; describe("Schema synchronization", function (this: Suite) { diff --git a/full-stack-tests/core/package.json b/full-stack-tests/core/package.json index 1f2d49f243d2..1ceb7f8dd618 100644 --- a/full-stack-tests/core/package.json +++ b/full-stack-tests/core/package.json @@ -95,11 +95,11 @@ "source-map-loader": "^4.0.0", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/full-stack-tests/core/src/backend/AzuriteTest.ts b/full-stack-tests/core/src/backend/AzuriteTest.ts index 57ce7fd2234e..5a39804c0b64 100644 --- a/full-stack-tests/core/src/backend/AzuriteTest.ts +++ b/full-stack-tests/core/src/backend/AzuriteTest.ts @@ -15,7 +15,7 @@ import { LocalDirName, LocalFileName } from "@itwin/core-common"; export namespace AzuriteTest { - export const storageType = "azure" as const; + export const storageType = "azure"; export const httpAddr = "127.0.0.1:10000"; export const accountName = "devstoreaccount1"; export const baseUri = `http://${httpAddr}/${accountName}`; @@ -77,7 +77,7 @@ export namespace AzuriteTest { export interface TestContainerProps { containerId: string, logId?: string, isPublic?: boolean, writeable?: boolean } export const makeContainer = async (arg: TestContainerProps): Promise => { - const containerProps = { ...arg, writeable: true, baseUri, storageType }; + const containerProps = { ...arg, writeable: true, baseUri, storageType } as const; const accessToken = await CloudSqlite.requestToken(containerProps); return CloudSqlite.createCloudContainer({ ...containerProps, accessToken }); }; @@ -128,7 +128,7 @@ export namespace AzuriteTest { if (arg.userToken !== service.userToken.admin) throw new Error("only admins may create containers"); - const address = { containerId: arg.containerId ?? Guid.createValue(), baseUri, provider: storageType }; + const address = { containerId: arg.containerId ?? Guid.createValue(), baseUri, provider: storageType } as const; const azCont = createAzClient(address.containerId); const opts: azureBlob.ContainerCreateOptions = { metadata: { diff --git a/full-stack-tests/core/src/backend/RpcImpl.ts b/full-stack-tests/core/src/backend/RpcImpl.ts index 7a7cc4fd9b9d..2e9098768c60 100644 --- a/full-stack-tests/core/src/backend/RpcImpl.ts +++ b/full-stack-tests/core/src/backend/RpcImpl.ts @@ -13,7 +13,7 @@ import { AzuriteTest } from "./AzuriteTest"; import { OpenMode } from "@itwin/core-bentley"; const viewContainer = "views-itwin1"; -const storageType = "azure" as const; +const storageType = "azure"; let removeViewStore: VoidFunction; let saveAuthClient: AzuriteTest.AuthorizationClient; diff --git a/full-stack-tests/ecschema-rpc-interface/package.json b/full-stack-tests/ecschema-rpc-interface/package.json index 27b760eb77e3..3ef23f0e106f 100644 --- a/full-stack-tests/ecschema-rpc-interface/package.json +++ b/full-stack-tests/ecschema-rpc-interface/package.json @@ -71,8 +71,8 @@ "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", "stream-browserify": "^3.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" } -} +} \ No newline at end of file diff --git a/full-stack-tests/presentation/package.json b/full-stack-tests/presentation/package.json index 2f61537ab909..4654e30b82db 100644 --- a/full-stack-tests/presentation/package.json +++ b/full-stack-tests/presentation/package.json @@ -79,7 +79,7 @@ "jsdom-global": "3.0.2", "prettier": "^3.2.5", "sanitize-filename": "^1.6.3", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "i18next-http-backend": "^1.4.4" }, "mocha": { @@ -106,4 +106,4 @@ "./lib/**/*.test.js" ] } -} +} \ No newline at end of file diff --git a/full-stack-tests/rpc-interface/package.json b/full-stack-tests/rpc-interface/package.json index 667878f538c9..7365ec65eacb 100644 --- a/full-stack-tests/rpc-interface/package.json +++ b/full-stack-tests/rpc-interface/package.json @@ -78,8 +78,8 @@ "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", "stream-browserify": "^3.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" } -} +} \ No newline at end of file diff --git a/full-stack-tests/rpc-interface/src/frontend/IModelConnection.test.ts b/full-stack-tests/rpc-interface/src/frontend/IModelConnection.test.ts index 75038b69891f..66f8607b5a0c 100644 --- a/full-stack-tests/rpc-interface/src/frontend/IModelConnection.test.ts +++ b/full-stack-tests/rpc-interface/src/frontend/IModelConnection.test.ts @@ -114,7 +114,7 @@ describe("IModelReadRpcInterface Methods from an IModelConnection", () => { it("getToolTipMessage should work as expected", async () => { const ids: Id64Set = await iModel.elements.queryIds({ limit: 10, from: "BisCore:Subject" }); - const id = ids.values().next().value; + const id = ids.values().next().value!; const tooltip = await iModel.getToolTipMessage(id); // "0x338" @@ -129,14 +129,14 @@ describe("IModelReadRpcInterface Methods from an IModelConnection", () => { it("getGeometrySummary should work as expected", async () => { const ids: Id64Set = await iModel.elements.queryIds({ limit: 10, from: "BisCore:Subject" }); - const id = ids.values().next().value; + const id = ids.values().next().value!; const result = await IModelReadRpcInterface.getClient().getGeometrySummary(iModel.getRpcProps(), { elementIds: [id], options: {} }); expect(result).to.not.be.undefined; }); it("requestSnap should work as expected", async () => { const ids: Id64Set = await iModel.elements.queryIds({ limit: 10, from: "BisCore:PhysicalElement" }); - const id = ids.values().next().value; + const id = ids.values().next().value!; const worldToView = Matrix4d.createIdentity(); const snap = await iModel.requestSnap({ @@ -375,7 +375,7 @@ describe("Snapping", () => { it("should be able to request a snap", async () => { const ids = await iModel.elements.queryIds({ limit: 10, from: "BisCore:PhysicalElement" }); - const id = ids.values().next().value; + const id = ids.values().next().value!; const worldToView = Matrix4d.createIdentity(); const snapProps = { @@ -391,7 +391,7 @@ describe("Snapping", () => { it("should be able to cancel a snap", async () => { const ids = await iModel.elements.queryIds({ limit: 10, from: "BisCore:PhysicalElement" }); - const id = ids.values().next().value; + const id = ids.values().next().value!; const worldToView = Matrix4d.createIdentity(); const snapProps = { diff --git a/full-stack-tests/rpc/package.json b/full-stack-tests/rpc/package.json index 0a5eb5c766c3..66ce3cddfc96 100644 --- a/full-stack-tests/rpc/package.json +++ b/full-stack-tests/rpc/package.json @@ -51,8 +51,8 @@ "rimraf": "^3.0.2", "source-map-loader": "^4.0.0", "stream-browserify": "^3.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "webpack-cli": "^5.0.1" } -} +} \ No newline at end of file diff --git a/presentation/backend/package.json b/presentation/backend/package.json index a2b382bd8e74..05830443ef72 100644 --- a/presentation/backend/package.json +++ b/presentation/backend/package.json @@ -88,7 +88,7 @@ "sinon-chai": "^3.7.0", "source-map-support": "^0.5.6", "typemoq": "^2.1.0", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "dependencies": { "object-hash": "^1.3.1", @@ -99,4 +99,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/presentation/common/package.json b/presentation/common/package.json index bcfee0f7e1b5..e19d1552cf57 100644 --- a/presentation/common/package.json +++ b/presentation/common/package.json @@ -88,11 +88,11 @@ "sinon-chai": "^3.7.0", "source-map-support": "^0.5.6", "typemoq": "^2.1.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "typescript-json-schema": "^0.55.0", "yargs": "^17.4.0" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/presentation/common/src/presentation-common/KeySet.ts b/presentation/common/src/presentation-common/KeySet.ts index da98fd9eab29..75ca0a17c612 100644 --- a/presentation/common/src/presentation-common/KeySet.ts +++ b/presentation/common/src/presentation-common/KeySet.ts @@ -183,7 +183,7 @@ export class KeySet { } entry["1"].forEach((id: Id64String) => { if (!pred || pred({ className, id })) { - set!.add(id); + set.add(id); } }); } diff --git a/presentation/frontend/package.json b/presentation/frontend/package.json index 6381ceaeef33..769d36f5f73d 100644 --- a/presentation/frontend/package.json +++ b/presentation/frontend/package.json @@ -91,9 +91,9 @@ "sinon-chai": "^3.7.0", "source-map-support": "^0.5.6", "typemoq": "^2.1.0", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/presentation/frontend/src/presentation-frontend/PresentationManager.ts b/presentation/frontend/src/presentation-frontend/PresentationManager.ts index 205c0cd9d722..b367e8f3031d 100644 --- a/presentation/frontend/src/presentation-frontend/PresentationManager.ts +++ b/presentation/frontend/src/presentation-frontend/PresentationManager.ts @@ -581,7 +581,7 @@ export class PresentationManager implements IDisposable { let items = contentSet.items.map((x) => Item.fromJSON(x)).filter((x): x is Item => x !== undefined); if (contentFormatter) { - items = await contentFormatter.formatContentItems(items, descriptor!); + items = await contentFormatter.formatContentItems(items, descriptor); } items = this._localizationHelper.getLocalizedContentItems(items); diff --git a/test-apps/display-performance-test-app/package.json b/test-apps/display-performance-test-app/package.json index 0a113c55cc24..c1399ab1312e 100644 --- a/test-apps/display-performance-test-app/package.json +++ b/test-apps/display-performance-test-app/package.json @@ -86,7 +86,7 @@ "rollup-plugin-visualizer": "^5.9.2", "rollup-plugin-webpack-stats": "^0.2.0", "rollup-plugin-external-globals": "0.11.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "vite": "^5.4.6", "vite-plugin-env-compatible": "^2.0.1", diff --git a/test-apps/display-test-app/package.json b/test-apps/display-test-app/package.json index 870f5834b461..0d42c1588b8e 100644 --- a/test-apps/display-test-app/package.json +++ b/test-apps/display-test-app/package.json @@ -110,7 +110,7 @@ "rollup-plugin-webpack-stats": "^0.2.0", "rollup-plugin-external-globals": "0.11.0", "ts-node": "^10.8.2", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "vite": "^5.4.6", "vite-plugin-env-compatible": "^2.0.1", "vite-plugin-inspect": "^0.8.4", diff --git a/test-apps/display-test-app/src/frontend/Surface.ts b/test-apps/display-test-app/src/frontend/Surface.ts index 9f497db0763a..1731111201d2 100644 --- a/test-apps/display-test-app/src/frontend/Surface.ts +++ b/test-apps/display-test-app/src/frontend/Surface.ts @@ -269,7 +269,7 @@ export class Surface { } if (undefined !== dock) - return () => focused.addDock(dock!); + return () => focused.addDock(dock); return undefined; } diff --git a/test-apps/display-test-app/src/frontend/signIn.ts b/test-apps/display-test-app/src/frontend/signIn.ts index a9f7ce687d47..1c468cf4d91d 100644 --- a/test-apps/display-test-app/src/frontend/signIn.ts +++ b/test-apps/display-test-app/src/frontend/signIn.ts @@ -56,8 +56,8 @@ export async function signIn(): Promise { return true; return new Promise((resolve, reject) => { - authClient!.onAccessTokenChanged.addOnce((token: AccessToken) => resolve(!!token)); - authClient!.signIn().catch((err) => reject(err)); + authClient.onAccessTokenChanged.addOnce((token: AccessToken) => resolve(!!token)); + authClient.signIn().catch((err) => reject(err)); }); } } diff --git a/test-apps/export-gltf/package.json b/test-apps/export-gltf/package.json index 3f11c9833ff5..857541508b4f 100644 --- a/test-apps/export-gltf/package.json +++ b/test-apps/export-gltf/package.json @@ -27,6 +27,6 @@ "@types/yargs": "17.0.19", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } } \ No newline at end of file diff --git a/test-apps/imjs-importer/package.json b/test-apps/imjs-importer/package.json index e37ae7517fea..52e24ea61ffb 100644 --- a/test-apps/imjs-importer/package.json +++ b/test-apps/imjs-importer/package.json @@ -42,6 +42,6 @@ "eslint": "^8.56.0", "mocha": "^10.2.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } } \ No newline at end of file diff --git a/test-apps/imodel-from-geojson/package.json b/test-apps/imodel-from-geojson/package.json index 183adcbdbb0c..c915eb178bfb 100644 --- a/test-apps/imodel-from-geojson/package.json +++ b/test-apps/imodel-from-geojson/package.json @@ -30,6 +30,6 @@ "@types/yargs": "17.0.19", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } } \ No newline at end of file diff --git a/test-apps/imodel-from-orbitgt/package.json b/test-apps/imodel-from-orbitgt/package.json index b83d42fe299a..0791c5e27924 100644 --- a/test-apps/imodel-from-orbitgt/package.json +++ b/test-apps/imodel-from-orbitgt/package.json @@ -29,6 +29,6 @@ "@types/yargs": "17.0.19", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } } \ No newline at end of file diff --git a/test-apps/imodel-from-reality-model/package.json b/test-apps/imodel-from-reality-model/package.json index 7a4a1512363a..8cc8b9e24bbb 100644 --- a/test-apps/imodel-from-reality-model/package.json +++ b/test-apps/imodel-from-reality-model/package.json @@ -30,6 +30,6 @@ "@types/yargs": "17.0.19", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } } \ No newline at end of file diff --git a/tools/build/package.json b/tools/build/package.json index fe659249b8f1..587af3af1f21 100644 --- a/tools/build/package.json +++ b/tools/build/package.json @@ -41,7 +41,7 @@ "tree-kill": "^1.2.2", "typedoc": "^0.25.8", "typedoc-plugin-merge-modules": "^5.1.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "wtfnode": "^0.9.1", "yargs": "^17.4.0" }, @@ -50,4 +50,4 @@ "@types/node": "~18.16.20", "eslint": "^8.56.0" } -} +} \ No newline at end of file diff --git a/tools/certa/package.json b/tools/certa/package.json index 9d4b754b5468..20f794a6bfb8 100644 --- a/tools/certa/package.json +++ b/tools/certa/package.json @@ -56,7 +56,7 @@ "eslint": "^8.56.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "peerDependencies": { "electron": ">=23.0.0 <33.0.0" @@ -66,4 +66,4 @@ "optional": true } } -} +} \ No newline at end of file diff --git a/tools/ecschema2ts/package.json b/tools/ecschema2ts/package.json index a654751ae736..f4c0b6f5517f 100644 --- a/tools/ecschema2ts/package.json +++ b/tools/ecschema2ts/package.json @@ -51,7 +51,7 @@ "nyc": "^15.1.0", "rimraf": "^3.0.2", "source-map-support": "^0.5.6", - "typescript": "~5.3.3" + "typescript": "~5.6.2" }, "dependencies": { "@itwin/core-bentley": "workspace:*", @@ -69,4 +69,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/tools/perf-tools/package.json b/tools/perf-tools/package.json index f311210ab7ae..1b713400ff70 100644 --- a/tools/perf-tools/package.json +++ b/tools/perf-tools/package.json @@ -39,6 +39,6 @@ "@types/fs-extra": "^4.0.7", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file diff --git a/tools/webpack-core/package.json b/tools/webpack-core/package.json index 6b673551b596..a580b52c3029 100644 --- a/tools/webpack-core/package.json +++ b/tools/webpack-core/package.json @@ -49,7 +49,7 @@ "@types/chai-jest-snapshot": "^1.3.8", "eslint": "^8.56.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.0", "cpx2": "^3.0.0", "mocha": "^10.2.0", @@ -75,4 +75,4 @@ "nyc": { "extends": "./node_modules/@itwin/build-tools/.nycrc" } -} +} \ No newline at end of file diff --git a/ui/appui-abstract/package.json b/ui/appui-abstract/package.json index 4d3a154ee8b8..00605bc1bc6b 100644 --- a/ui/appui-abstract/package.json +++ b/ui/appui-abstract/package.json @@ -65,11 +65,11 @@ "sinon": "^17.0.2", "sinon-chai": "^3.7.0", "source-map-loader": "^4.0.0", - "typescript": "~5.3.3", + "typescript": "~5.6.2", "webpack": "^5.76.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" ] -} +} \ No newline at end of file diff --git a/utils/workspace-editor/package.json b/utils/workspace-editor/package.json index ffc7f3ab0d97..81dd15b50b0c 100644 --- a/utils/workspace-editor/package.json +++ b/utils/workspace-editor/package.json @@ -39,6 +39,6 @@ "eslint": "^8.56.0", "mocha": "^10.2.0", "rimraf": "^3.0.2", - "typescript": "~5.3.3" + "typescript": "~5.6.2" } -} +} \ No newline at end of file