x3d-tidy 1.0.90 → 1.0.92

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 +3 -3
  2. package/src/convert.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-tidy",
3
- "version": "1.0.90",
3
+ "version": "1.0.92",
4
4
  "description": "X3D Converter, Beautifier and Minimizer",
5
5
  "main": "src/main.js",
6
6
  "bin": {
@@ -53,8 +53,8 @@
53
53
  ],
54
54
  "dependencies": {
55
55
  "colors": "^1.4.0",
56
- "electron": "^25.4.0",
57
- "x_ite": "^8.11.16",
56
+ "electron": "^26.1.0",
57
+ "x_ite": "^8.12.0",
58
58
  "yargs": "^17.7.2"
59
59
  }
60
60
  }
package/src/convert.js CHANGED
@@ -109,6 +109,7 @@ async function convert (argv)
109
109
  input = path .resolve (args .cwd, args .input)
110
110
 
111
111
  Browser .endUpdate ()
112
+ Browser .setBrowserOption ("LoadUrlObjects", false);
112
113
  Browser .setBrowserOption ("PrimitiveQuality", "HIGH")
113
114
  Browser .setBrowserOption ("TextureQuality", "HIGH")
114
115
 
@@ -195,7 +196,7 @@ x3d-canvas {
195
196
  <body>
196
197
  <h1>${path .basename (url .fileURLToPath (scene .worldURL))}</h1>
197
198
  <x3d-canvas>
198
- ${scene .toXMLString ({ html: true, indent: " " .repeat (6) })}
199
+ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd ()}
199
200
  </x3d-canvas>
200
201
  <p>Made with <a href="https://www.npmjs.com/package/x3d-tidy" target="_blank">x3d-tidy.</a></p>
201
202
  </body>