@deck.gl/jupyter-widget 8.9.0-alpha.4 → 8.9.0-alpha.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@deck.gl/jupyter-widget",
3
3
  "description": "Jupyter widget for rendering deck.gl in a Jupyter notebook",
4
4
  "license": "MIT",
5
- "version": "8.9.0-alpha.4",
5
+ "version": "8.9.0-alpha.5",
6
6
  "keywords": [
7
7
  "jupyter",
8
8
  "jupyterlab",
@@ -29,16 +29,16 @@
29
29
  "prepublishOnly": "webpack -p"
30
30
  },
31
31
  "dependencies": {
32
- "@deck.gl/aggregation-layers": "8.9.0-alpha.4",
33
- "@deck.gl/geo-layers": "8.9.0-alpha.4",
34
- "@deck.gl/google-maps": "8.9.0-alpha.4",
35
- "@deck.gl/json": "8.9.0-alpha.4",
36
- "@deck.gl/layers": "8.9.0-alpha.4",
37
- "@deck.gl/mesh-layers": "8.9.0-alpha.4",
32
+ "@deck.gl/aggregation-layers": "8.9.0-alpha.5",
33
+ "@deck.gl/geo-layers": "8.9.0-alpha.5",
34
+ "@deck.gl/google-maps": "8.9.0-alpha.5",
35
+ "@deck.gl/json": "8.9.0-alpha.5",
36
+ "@deck.gl/layers": "8.9.0-alpha.5",
37
+ "@deck.gl/mesh-layers": "8.9.0-alpha.5",
38
38
  "@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4",
39
- "@loaders.gl/3d-tiles": "^3.2.5",
40
- "@loaders.gl/core": "^3.2.5",
41
- "@loaders.gl/csv": "^3.2.5",
39
+ "@loaders.gl/3d-tiles": "^3.2.10",
40
+ "@loaders.gl/core": "^3.2.10",
41
+ "@loaders.gl/csv": "^3.2.10",
42
42
  "@luma.gl/constants": "^8.5.16",
43
43
  "mapbox-gl": "^1.2.1"
44
44
  },
@@ -51,5 +51,5 @@
51
51
  }
52
52
  }
53
53
  },
54
- "gitHead": "f34f77e2b050306ade160a5628ea2844a4ceabc2"
54
+ "gitHead": "36330f8ca588055b11ed8032dc68ced641cb258b"
55
55
  }
@@ -132,16 +132,19 @@ export function substituteIn(template, json) {
132
132
  for (const subkey of subkeys) {
133
133
  if (value.hasOwnProperty(subkey)) {
134
134
  value = value[subkey];
135
+ } else {
136
+ value = undefined;
137
+ break;
135
138
  }
136
139
  }
137
140
  } else if (json.hasOwnProperty(key)) {
138
141
  value = json[key];
139
142
  } else if (json[propsKey] && json[propsKey].hasOwnProperty(key)) {
140
143
  value = json[propsKey][key];
144
+ } else {
145
+ value = undefined;
141
146
  }
142
- if (value) {
143
- output = output.replaceAll(`{${key}}`, value);
144
- }
147
+ output = output.replaceAll(`{${key}}`, value);
145
148
  }
146
149
 
147
150
  return output;