globe.gl 2.45.0 → 2.45.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/globe.gl.mjs CHANGED
@@ -418,7 +418,9 @@ var globe = Kapsule({
418
418
  // Avoid rotating more than 180deg longitude
419
419
  while (curGeoCoords.lng - finalGeoCoords.lng > 180) curGeoCoords.lng -= 360;
420
420
  while (curGeoCoords.lng - finalGeoCoords.lng < -180) curGeoCoords.lng += 360;
421
- state.tweenGroup.add(new Tween(curGeoCoords).to(finalGeoCoords, transitionDuration).easing(Easing.Cubic.InOut).onUpdate(setCameraPos).start());
421
+ state.tweenGroup.add(new Tween(curGeoCoords).to(finalGeoCoords, transitionDuration).easing(Easing.Cubic.InOut).onUpdate(setCameraPos).onComplete(function () {
422
+ state.tweenGroup.remove(this);
423
+ }).start());
422
424
  }
423
425
  return this;
424
426
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globe.gl",
3
- "version": "2.45.0",
3
+ "version": "2.45.2",
4
4
  "description": "UI component for Globe Data Visualization using ThreeJS/WebGL",
5
5
  "type": "module",
6
6
  "unpkg": "dist/globe.gl.min.js",
@@ -56,18 +56,18 @@
56
56
  "three-render-objects": "^1.40"
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/core": "^7.28.5",
60
- "@babel/preset-env": "^7.28.5",
61
- "@rollup/plugin-babel": "^6.1.0",
62
- "@rollup/plugin-commonjs": "^29.0.0",
59
+ "@babel/core": "^7.29.0",
60
+ "@babel/preset-env": "^7.29.2",
61
+ "@rollup/plugin-babel": "^7.0.0",
62
+ "@rollup/plugin-commonjs": "^29.0.2",
63
63
  "@rollup/plugin-node-resolve": "^16.0.3",
64
- "@rollup/plugin-terser": "^0.4.4",
65
- "postcss": "^8.5.6",
66
- "rimraf": "^6.1.0",
67
- "rollup": "^4.52.5",
68
- "rollup-plugin-dts": "^6.2.3",
64
+ "@rollup/plugin-terser": "^1.0.0",
65
+ "postcss": "^8.5.8",
66
+ "rimraf": "^6.1.3",
67
+ "rollup": "^4.60.1",
68
+ "rollup-plugin-dts": "^6.4.1",
69
69
  "rollup-plugin-postcss": "^4.0.2",
70
- "typescript": "^5.9.3"
70
+ "typescript": "^6.0.2"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=12"