diff --git a/@here/harp-datasource-protocol/package.json b/@here/harp-datasource-protocol/package.json index e705cadebf..74c1f7f929 100644 --- a/@here/harp-datasource-protocol/package.json +++ b/@here/harp-datasource-protocol/package.json @@ -33,17 +33,17 @@ "@here/harp-test-utils": "^0.24.0", "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "ts-json-schema-generator": "^0.68.1", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-debug-datasource/package.json b/@here/harp-debug-datasource/package.json index 1c02f0dda6..1962bb6400 100644 --- a/@here/harp-debug-datasource/package.json +++ b/@here/harp-debug-datasource/package.json @@ -33,7 +33,7 @@ "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", @@ -41,7 +41,7 @@ "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-examples/package.json b/@here/harp-examples/package.json index 2057d40b6f..d82cef2b1e 100644 --- a/@here/harp-examples/package.json +++ b/@here/harp-examples/package.json @@ -43,7 +43,7 @@ "@here/harp-webtile-datasource": "^0.24.0", "@types/dat.gui": "^0.7.1", "@types/long": "^4.0.1", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "copy-webpack-plugin": "^7.0.0", "cross-env": "^7.0.2", "css-loader": "^5.0.1", @@ -54,7 +54,7 @@ "stats.js": "^0.17.0", "style-loader": "^2.0.0", "suncalc": "^1.8.0", - "three": "^0.126.0", + "three": "^0.127.0", "ts-loader": "^8.0.7", "typescript": "^4.1.2", "webpack": "^5.12.3", diff --git a/@here/harp-features-datasource/package.json b/@here/harp-features-datasource/package.json index 6c805c1e3d..2abcb59081 100644 --- a/@here/harp-features-datasource/package.json +++ b/@here/harp-features-datasource/package.json @@ -29,7 +29,7 @@ "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", @@ -38,7 +38,7 @@ "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-geojson-datasource/package.json b/@here/harp-geojson-datasource/package.json index a4fc0c050f..57fb4ecd09 100644 --- a/@here/harp-geojson-datasource/package.json +++ b/@here/harp-geojson-datasource/package.json @@ -32,13 +32,13 @@ "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "sinon": "^9.2.2", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "publishConfig": { diff --git a/@here/harp-geometry/package.json b/@here/harp-geometry/package.json index b127960824..df17cd1ce4 100644 --- a/@here/harp-geometry/package.json +++ b/@here/harp-geometry/package.json @@ -28,18 +28,18 @@ "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", "@types/sinon": "^9.0.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "earcut": "^2.2.2", "mocha": "^8.2.1", "sinon": "^9.2.2", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "dependencies": { "@here/harp-geoutils": "^0.24.0", diff --git a/@here/harp-geoutils/package.json b/@here/harp-geoutils/package.json index a03011ac8b..ba067a7911 100644 --- a/@here/harp-geoutils/package.json +++ b/@here/harp-geoutils/package.json @@ -23,17 +23,17 @@ "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", "@types/sinon": "^9.0.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "sinon": "^9.2.2", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-lines/package.json b/@here/harp-lines/package.json index 08dbb7011d..e4746e29f7 100644 --- a/@here/harp-lines/package.json +++ b/@here/harp-lines/package.json @@ -32,16 +32,16 @@ "@here/harp-utils": "^0.24.0", "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-map-controls/package.json b/@here/harp-map-controls/package.json index bd34876b35..37c8076627 100644 --- a/@here/harp-map-controls/package.json +++ b/@here/harp-map-controls/package.json @@ -33,17 +33,17 @@ "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", "@types/sinon": "^9.0.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "sinon": "^9.2.2", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-mapview/package.json b/@here/harp-mapview/package.json index 1efb66dcf4..527b2f2c0a 100644 --- a/@here/harp-mapview/package.json +++ b/@here/harp-mapview/package.json @@ -51,7 +51,7 @@ "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", "@types/sinon": "^9.0.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "chai-as-promised": "^7.1.1", "copyfiles": "^2.2.0", @@ -59,11 +59,11 @@ "mocha": "^8.2.1", "sinon": "^9.2.2", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-mapview/test/DataSourceTest.ts b/@here/harp-mapview/test/DataSourceTest.ts index c8ae8086b3..de5f0c7866 100644 --- a/@here/harp-mapview/test/DataSourceTest.ts +++ b/@here/harp-mapview/test/DataSourceTest.ts @@ -313,7 +313,8 @@ describe("DataSource", function () { describe("requestUpdate", function () { it("dispatches an update event", function () { const spy = sinon.spy((e: any) => { - /* noop */ + // This behavior changed with r127 + expect(e.target).to.equal(dataSource); }); dataSource.addEventListener("update", spy); dataSource.requestUpdate(); @@ -321,7 +322,6 @@ describe("DataSource", function () { expect(spy.calledOnce).to.be.true; const event = spy.getCalls()[0].args[0]; expect(event.type).to.equal("update"); - expect(event.target).to.equal(dataSource); }); }); }); diff --git a/@here/harp-materials/package.json b/@here/harp-materials/package.json index c7007bea98..27a888b84c 100644 --- a/@here/harp-materials/package.json +++ b/@here/harp-materials/package.json @@ -26,16 +26,16 @@ "devDependencies": { "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-omv-datasource/package.json b/@here/harp-omv-datasource/package.json index 1fd1fb060e..52e6a5a1d5 100644 --- a/@here/harp-omv-datasource/package.json +++ b/@here/harp-omv-datasource/package.json @@ -38,7 +38,7 @@ "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", "@types/sinon": "^9.0.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "copyfiles": "^2.2.0", "cross-env": "^7.0.2", @@ -48,7 +48,7 @@ "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-test-utils/package.json b/@here/harp-test-utils/package.json index 94f56ed57c..76aea5f60b 100644 --- a/@here/harp-test-utils/package.json +++ b/@here/harp-test-utils/package.json @@ -28,7 +28,7 @@ "glob": "^7.1.3", "pixelmatch": "^5.2.0", "sinon": "^9.2.2", - "three": "^0.126.0", + "three": "^0.127.0", "ua-parser-js": "^0.7.21", "xml2js": "^0.4.23" }, @@ -42,7 +42,7 @@ "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", "@types/serve-static": "^1.13.4", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "body-parser": "^1.18.3", "cross-env": "^7.0.2", "express": "^4.17.1", diff --git a/@here/harp-text-canvas/package.json b/@here/harp-text-canvas/package.json index 4d0a9ef2b2..787ed9daff 100644 --- a/@here/harp-text-canvas/package.json +++ b/@here/harp-text-canvas/package.json @@ -28,18 +28,18 @@ "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "cross-env": "^7.0.2", "mocha": "^8.2.1", "sinon": "^9.2.2", "source-map-support": "^0.5.19", - "three": "^0.126.0", + "three": "^0.127.0", "ts-node": "^9.1.1", "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-vectortile-datasource/package.json b/@here/harp-vectortile-datasource/package.json index 53a79478e6..cd483aa182 100644 --- a/@here/harp-vectortile-datasource/package.json +++ b/@here/harp-vectortile-datasource/package.json @@ -52,7 +52,7 @@ "@types/mocha": "^8.2.0", "@types/node": "^14.0.5", "@types/sinon": "^9.0.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "copyfiles": "^2.2.0", "cross-env": "^7.0.2", @@ -62,7 +62,7 @@ "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp-webtile-datasource/package.json b/@here/harp-webtile-datasource/package.json index 313169d296..5522f4f367 100644 --- a/@here/harp-webtile-datasource/package.json +++ b/@here/harp-webtile-datasource/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@types/chai": "^4.2.14", "@types/mocha": "^8.2.0", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.0.2", "copyfiles": "^2.2.0", "cross-env": "^7.0.2", @@ -42,7 +42,7 @@ "typescript": "^4.1.2" }, "peerDependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "publishConfig": { "access": "public" diff --git a/@here/harp.gl/package.json b/@here/harp.gl/package.json index 0cc508e724..fbe69972ca 100644 --- a/@here/harp.gl/package.json +++ b/@here/harp.gl/package.json @@ -31,7 +31,7 @@ }, "license": "Apache-2.0", "dependencies": { - "three": "^0.126.0" + "three": "^0.127.0" }, "devDependencies": { "@here/harp-datasource-protocol": "^0.24.0", @@ -53,7 +53,7 @@ "@here/harp-vectortile-datasource": "^0.24.0", "@here/harp-webtile-datasource": "^0.24.0", "@microsoft/api-extractor": "^7.8.10", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "ts-loader": "^8.0.7", "typescript": "^4.1.2", "webpack": "^5.12.3", diff --git a/package.json b/package.json index 1718f1b2eb..17639e2ed3 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@types/glob": "^7.1.3", "@types/semver": "^7.3.4", "@types/stats.js": "^0.17.0", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "@typescript-eslint/eslint-plugin": "^4.11.1", "@typescript-eslint/parser": "^4.11.1", "chai": "^4.2.0", @@ -49,7 +49,7 @@ "nyc": "^15.0.1", "prettier": "^2.2.1", "semver": "^7.3.2", - "three": "^0.126.0", + "three": "^0.127.0", "ts-mocha": "^8.0.0", "typedoc": "^0.17.7", "typescript": "^4.1.2", diff --git a/test/performance/package.json b/test/performance/package.json index 8b1e2fb6a1..1b030a97b7 100644 --- a/test/performance/package.json +++ b/test/performance/package.json @@ -15,9 +15,9 @@ "@here/harp-test-utils": "^0.24.0", "@here/harp-vectortile-datasource": "^0.24.0", "@types/chai": "^4.2.14", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.2.0", - "three": "^0.126.0" + "three": "^0.127.0" }, "license": "Apache-2.0" } diff --git a/test/rendering/package.json b/test/rendering/package.json index 831e244132..754009c6f6 100644 --- a/test/rendering/package.json +++ b/test/rendering/package.json @@ -18,9 +18,9 @@ "@here/harp-utils": "^0.24.0", "@here/harp-vectortile-datasource": "^0.24.0", "@types/chai": "^4.2.14", - "@types/three": "^0.126.0", + "@types/three": "^0.127.0", "chai": "^4.2.0", - "three": "^0.126.0" + "three": "^0.127.0" }, "license": "Apache-2.0" } diff --git a/www/package.json b/www/package.json index 692ea0db93..ba165b6b02 100644 --- a/www/package.json +++ b/www/package.json @@ -29,7 +29,7 @@ "mini-css-extract-plugin": "^1.3.2", "node-fetch": "^2.6.1", "script-ext-html-webpack-plugin": "^2.1.4", - "three": "^0.126.0", + "three": "^0.127.0", "ts-loader": "^8.0.7", "typescript": "^4.1.2", "webpack": "^5.12.3", diff --git a/yarn.lock b/yarn.lock index 830c15d7d1..2c54b7b36e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1847,10 +1847,10 @@ resolved "https://registry.yarnpkg.com/@types/stats.js/-/stats.js-0.17.0.tgz#0ed81d48e03b590c24da85540c1d952077a9fe20" integrity sha512-9w+a7bR8PeB0dCT/HBULU2fMqf6BAzvKbxFboYhmDtDkKPiyXYbjoe2auwsXlEFI7CFNMF1dCv3dFH5Poy9R1w== -"@types/three@^0.126.0": - version "0.126.0" - resolved "https://registry.yarnpkg.com/@types/three/-/three-0.126.0.tgz#58f80e13ab5f8084741e8a9d7e804b9a31039043" - integrity sha512-C7cFOWQpcGQAJ0PJSdU6ncZFn51fWKaV8o1Dz2fvikFRGWY8cI5/M/q5JHX7/TzCfMRadLP690Ksh8QvanSW8Q== +"@types/three@^0.127.0": + version "0.127.0" + resolved "https://registry.yarnpkg.com/@types/three/-/three-0.127.0.tgz#6d2bf6d7c14d4c4dc399a0e355085f27e996ac89" + integrity sha512-4Q33L6PzzxCXm0VdUv4x1/4VBnwWgCS7Ui6WpRh88GVIUUYsg5qU2GVzva14hDJbtfyNBxey7UcdInR4RkKPeQ== "@types/ua-parser-js@^0.7.32": version "0.7.33" @@ -9341,10 +9341,10 @@ textextensions@^2.5.0: resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-2.6.0.tgz#d7e4ab13fe54e32e08873be40d51b74229b00fc4" integrity sha512-49WtAWS+tcsy93dRt6P0P3AMD2m5PvXRhuEA0kaXos5ZLlujtYmpmFsB+QvWUSxE1ZsstmYXfQ7L40+EcQgpAQ== -three@^0.126.0: - version "0.126.1" - resolved "https://registry.yarnpkg.com/three/-/three-0.126.1.tgz#cf4e4e52060fd952f6f0d5440cbd422c66bc4be7" - integrity sha512-eOEXnZeE1FDV0XgL1u08auIP13jxdN9LQBAEmlErYzMxtIIfuGIAZbijOyookALUhqVzVOx0Tywj6n192VM+nQ== +three@^0.127.0: + version "0.127.0" + resolved "https://registry.yarnpkg.com/three/-/three-0.127.0.tgz#c463f4d41b2c735dcf8e9e51a388815e80cd3791" + integrity sha512-wtgrn+mhYUbobxT7QN3GPdu3SRpSBQvwY6uOzLChWS7QE//f7paDU/+wlzbg+ngeIvBBqjBHSRuywTh8A99Jng== through2@^2.0.1, through2@~2.0.0: version "2.0.5"