globe.gl 2.33.0 → 2.33.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
@@ -1,10 +1,10 @@
1
- import { AmbientLight, DirectionalLight, Vector2, REVISION } from 'three';
1
+ import { REVISION, Vector2, DirectionalLight, AmbientLight } from 'three';
2
2
  import { CSS2DRenderer } from 'three/examples/jsm/renderers/CSS2DRenderer.js';
3
3
  import ThreeGlobe from 'three-globe';
4
4
  import ThreeRenderObjects from 'three-render-objects';
5
5
  import accessorFn from 'accessor-fn';
6
6
  import Kapsule from 'kapsule';
7
- import { Tween, Easing, Group } from '@tweenjs/tween.js';
7
+ import { Group, Tween, Easing } from '@tweenjs/tween.js';
8
8
 
9
9
  function styleInject(css, ref) {
10
10
  if (ref === void 0) ref = {};
@@ -10,7 +10,7 @@
10
10
 
11
11
  <script>
12
12
  // Gen random data
13
- const N = 300;
13
+ const N = 900;
14
14
  const gData = [...Array(N).keys()].map(() => ({
15
15
  lat: (Math.random() - 0.5) * 160,
16
16
  lng: (Math.random() - 0.5) * 360,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globe.gl",
3
- "version": "2.33.0",
3
+ "version": "2.33.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",
@@ -52,22 +52,22 @@
52
52
  "accessor-fn": "1",
53
53
  "kapsule": "1",
54
54
  "three": ">=0.154 <1",
55
- "three-globe": "^2.32",
56
- "three-render-objects": "^1.29"
55
+ "three-globe": "^2.35",
56
+ "three-render-objects": "^1.31"
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/core": "^7.25.2",
60
- "@babel/preset-env": "^7.25.4",
59
+ "@babel/core": "^7.26.0",
60
+ "@babel/preset-env": "^7.26.0",
61
61
  "@rollup/plugin-babel": "^6.0.4",
62
- "@rollup/plugin-commonjs": "^28.0.0",
62
+ "@rollup/plugin-commonjs": "^28.0.1",
63
63
  "@rollup/plugin-node-resolve": "^15.3.0",
64
64
  "@rollup/plugin-terser": "^0.4.4",
65
- "postcss": "^8.4.47",
65
+ "postcss": "^8.4.49",
66
66
  "rimraf": "^6.0.1",
67
- "rollup": "^4.22.5",
67
+ "rollup": "^4.27.2",
68
68
  "rollup-plugin-dts": "^6.1.1",
69
69
  "rollup-plugin-postcss": "^4.0.2",
70
- "typescript": "^5.6.2"
70
+ "typescript": "^5.6.3"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=12"