globe.gl 2.28.6 → 2.29.0

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
@@ -572,9 +572,10 @@ var globe = Kapsule({
572
572
  return d;
573
573
  }
574
574
  };
575
+ state.renderObjs.renderer().useLegacyLights = false; // force behavior of three < 155
575
576
  state.renderObjs.objects([
576
577
  // Populate scene
577
- new THREE.AmbientLight(0xcccccc), new THREE.DirectionalLight(0xffffff, 0.6), state.globe]).hoverOrderComparator(function (a, b) {
578
+ new THREE.AmbientLight(0xcccccc, Math.PI), new THREE.DirectionalLight(0xffffff, 0.6 * Math.PI), state.globe]).hoverOrderComparator(function (a, b) {
578
579
  var aObj = getGlobeObj(a);
579
580
  var bObj = getGlobeObj(b);
580
581
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globe.gl",
3
- "version": "2.28.6",
3
+ "version": "2.29.0",
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,16 +56,16 @@
56
56
  "three-render-objects": "^1.28"
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/core": "^7.22.8",
60
- "@babel/preset-env": "^7.22.7",
59
+ "@babel/core": "^7.22.9",
60
+ "@babel/preset-env": "^7.22.9",
61
61
  "@rollup/plugin-babel": "^6.0.3",
62
- "@rollup/plugin-commonjs": "^25.0.2",
62
+ "@rollup/plugin-commonjs": "^25.0.3",
63
63
  "@rollup/plugin-node-resolve": "^15.1.0",
64
64
  "@rollup/plugin-terser": "^0.4.3",
65
- "postcss": "^8.4.25",
65
+ "postcss": "^8.4.27",
66
66
  "rimraf": "^5.0.1",
67
- "rollup": "^3.26.2",
68
- "rollup-plugin-dts": "^5.3.0",
67
+ "rollup": "^3.27.2",
68
+ "rollup-plugin-dts": "^5.3.1",
69
69
  "rollup-plugin-postcss": "^4.0.2",
70
70
  "typescript": "^5.1.6"
71
71
  },