x3d-image 2.0.16 → 2.0.18

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/image.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-image",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "description": "Render image files from X3D",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "colors": "^1.4.0",
55
55
  "electron": "^35.0.3",
56
- "x_ite": "^11.4.0",
56
+ "x_ite": "^11.4.1",
57
57
  "yargs": "^17.7.2"
58
58
  },
59
59
  "devDependencies": {
package/src/image.js CHANGED
@@ -154,7 +154,7 @@ async function generate (argv)
154
154
  output = path .resolve (process .cwd (), args .output [i]),
155
155
  mimeType = mimeTypeFromPath (output);
156
156
 
157
- await browser .loadURL (new X3D .MFString (input));
157
+ await browser .loadURL (new X3D .MFString (input)) .catch (Function .prototype);
158
158
 
159
159
  if (arg (args ["environment-light"], i))
160
160
  await addEnvironmentLight (browser, browser .currentScene, arg (args ["environment-light"], i));