Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
HARP-15017 Upgrade three to r127 (#2167)
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com>
  • Loading branch information
nzjony committed Apr 13, 2021
1 parent 4c4e542 commit f49827f
Show file tree
Hide file tree
Showing 23 changed files with 59 additions and 59 deletions.
6 changes: 3 additions & 3 deletions @here/harp-datasource-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-debug-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"@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",
"source-map-support": "^0.5.19",
"typescript": "^4.1.2"
},
"peerDependencies": {
"three": "^0.126.0"
"three": "^0.127.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-features-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -38,7 +38,7 @@
"typescript": "^4.1.2"
},
"peerDependencies": {
"three": "^0.126.0"
"three": "^0.127.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-geojson-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-geometry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-geoutils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-map-controls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-mapview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@
"@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",
"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"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-mapview/test/DataSourceTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,15 @@ 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();

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);
});
});
});
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-materials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-omv-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -48,7 +48,7 @@
"typescript": "^4.1.2"
},
"peerDependencies": {
"three": "^0.126.0"
"three": "^0.127.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions @here/harp-text-canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-vectortile-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -62,7 +62,7 @@
"typescript": "^4.1.2"
},
"peerDependencies": {
"three": "^0.126.0"
"three": "^0.127.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp-webtile-datasource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -42,7 +42,7 @@
"typescript": "^4.1.2"
},
"peerDependencies": {
"three": "^0.126.0"
"three": "^0.127.0"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions @here/harp.gl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions test/performance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 2 additions & 2 deletions test/rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
2 changes: 1 addition & 1 deletion www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading

0 comments on commit f49827f

Please sign in to comment.