globe.gl 2.32.3 → 2.32.5

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
@@ -9,7 +9,7 @@ import * as TWEEN from '@tweenjs/tween.js';
9
9
  function styleInject(css, ref) {
10
10
  if (ref === void 0) ref = {};
11
11
  var insertAt = ref.insertAt;
12
- if (!css || typeof document === 'undefined') {
12
+ if (typeof document === 'undefined') {
13
13
  return;
14
14
  }
15
15
  var head = document.head || document.getElementsByTagName('head')[0];
@@ -34,6 +34,28 @@ function styleInject(css, ref) {
34
34
  var css_248z = ".scene-container .clickable {\n cursor: pointer;\n}";
35
35
  styleInject(css_248z);
36
36
 
37
+ function _arrayLikeToArray(r, a) {
38
+ (null == a || a > r.length) && (a = r.length);
39
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
40
+ return n;
41
+ }
42
+ function _arrayWithoutHoles(r) {
43
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
44
+ }
45
+ function _defineProperty(e, r, t) {
46
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
47
+ value: t,
48
+ enumerable: !0,
49
+ configurable: !0,
50
+ writable: !0
51
+ }) : e[r] = t, e;
52
+ }
53
+ function _iterableToArray(r) {
54
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
55
+ }
56
+ function _nonIterableSpread() {
57
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
58
+ }
37
59
  function ownKeys(e, r) {
38
60
  var t = Object.keys(e);
39
61
  if (Object.getOwnPropertySymbols) {
@@ -55,6 +77,29 @@ function _objectSpread2(e) {
55
77
  }
56
78
  return e;
57
79
  }
80
+ function _objectWithoutProperties(e, t) {
81
+ if (null == e) return {};
82
+ var o,
83
+ r,
84
+ i = _objectWithoutPropertiesLoose(e, t);
85
+ if (Object.getOwnPropertySymbols) {
86
+ var n = Object.getOwnPropertySymbols(e);
87
+ for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
88
+ }
89
+ return i;
90
+ }
91
+ function _objectWithoutPropertiesLoose(r, e) {
92
+ if (null == r) return {};
93
+ var t = {};
94
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
95
+ if (e.indexOf(n) >= 0) continue;
96
+ t[n] = r[n];
97
+ }
98
+ return t;
99
+ }
100
+ function _toConsumableArray(r) {
101
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
102
+ }
58
103
  function _toPrimitive(t, r) {
59
104
  if ("object" != typeof t || !t) return t;
60
105
  var e = t[Symbol.toPrimitive];
@@ -69,71 +114,12 @@ function _toPropertyKey(t) {
69
114
  var i = _toPrimitive(t, "string");
70
115
  return "symbol" == typeof i ? i : i + "";
71
116
  }
72
- function _defineProperty(obj, key, value) {
73
- key = _toPropertyKey(key);
74
- if (key in obj) {
75
- Object.defineProperty(obj, key, {
76
- value: value,
77
- enumerable: true,
78
- configurable: true,
79
- writable: true
80
- });
81
- } else {
82
- obj[key] = value;
83
- }
84
- return obj;
85
- }
86
- function _objectWithoutPropertiesLoose(source, excluded) {
87
- if (source == null) return {};
88
- var target = {};
89
- var sourceKeys = Object.keys(source);
90
- var key, i;
91
- for (i = 0; i < sourceKeys.length; i++) {
92
- key = sourceKeys[i];
93
- if (excluded.indexOf(key) >= 0) continue;
94
- target[key] = source[key];
95
- }
96
- return target;
97
- }
98
- function _objectWithoutProperties(source, excluded) {
99
- if (source == null) return {};
100
- var target = _objectWithoutPropertiesLoose(source, excluded);
101
- var key, i;
102
- if (Object.getOwnPropertySymbols) {
103
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
104
- for (i = 0; i < sourceSymbolKeys.length; i++) {
105
- key = sourceSymbolKeys[i];
106
- if (excluded.indexOf(key) >= 0) continue;
107
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
108
- target[key] = source[key];
109
- }
117
+ function _unsupportedIterableToArray(r, a) {
118
+ if (r) {
119
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
120
+ var t = {}.toString.call(r).slice(8, -1);
121
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
110
122
  }
111
- return target;
112
- }
113
- function _toConsumableArray(arr) {
114
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
115
- }
116
- function _arrayWithoutHoles(arr) {
117
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
118
- }
119
- function _iterableToArray(iter) {
120
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
121
- }
122
- function _unsupportedIterableToArray(o, minLen) {
123
- if (!o) return;
124
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
125
- var n = Object.prototype.toString.call(o).slice(8, -1);
126
- if (n === "Object" && o.constructor) n = o.constructor.name;
127
- if (n === "Map" || n === "Set") return Array.from(o);
128
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
129
- }
130
- function _arrayLikeToArray(arr, len) {
131
- if (len == null || len > arr.length) len = arr.length;
132
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
133
- return arr2;
134
- }
135
- function _nonIterableSpread() {
136
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
137
123
  }
138
124
 
139
125
  function linkKapsule (kapsulePropName, kapsuleType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "globe.gl",
3
- "version": "2.32.3",
3
+ "version": "2.32.5",
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.29"
57
57
  },
58
58
  "devDependencies": {
59
- "@babel/core": "^7.24.3",
60
- "@babel/preset-env": "^7.24.3",
59
+ "@babel/core": "^7.24.7",
60
+ "@babel/preset-env": "^7.24.7",
61
61
  "@rollup/plugin-babel": "^6.0.4",
62
- "@rollup/plugin-commonjs": "^25.0.7",
62
+ "@rollup/plugin-commonjs": "^26.0.1",
63
63
  "@rollup/plugin-node-resolve": "^15.2.3",
64
64
  "@rollup/plugin-terser": "^0.4.4",
65
65
  "postcss": "^8.4.38",
66
- "rimraf": "^5.0.5",
67
- "rollup": "^4.13.1",
68
- "rollup-plugin-dts": "^6.1.0",
66
+ "rimraf": "^5.0.7",
67
+ "rollup": "^4.18.0",
68
+ "rollup-plugin-dts": "^6.1.1",
69
69
  "rollup-plugin-postcss": "^4.0.2",
70
- "typescript": "^5.4.3"
70
+ "typescript": "^5.5.2"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=12"