sunrize 1.7.19 → 1.7.21

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "1.7.19",
4
+ "version": "1.7.21",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -78,19 +78,19 @@
78
78
  "url": "https://patreon.com/X_ITE"
79
79
  },
80
80
  "devDependencies": {
81
- "@electron-forge/cli": "^7.4.0",
82
- "@electron-forge/maker-deb": "^7.4.0",
83
- "@electron-forge/maker-dmg": "^7.4.0",
84
- "@electron-forge/maker-rpm": "^7.4.0",
85
- "@electron-forge/maker-squirrel": "^7.4.0",
86
- "@electron-forge/maker-zip": "^7.4.0",
87
- "@electron-forge/publisher-github": "^7.4.0",
81
+ "@electron-forge/cli": "^7.5.0",
82
+ "@electron-forge/maker-deb": "^7.5.0",
83
+ "@electron-forge/maker-dmg": "^7.5.0",
84
+ "@electron-forge/maker-rpm": "^7.5.0",
85
+ "@electron-forge/maker-squirrel": "^7.5.0",
86
+ "@electron-forge/maker-zip": "^7.5.0",
87
+ "@electron-forge/publisher-github": "^7.5.0",
88
88
  "shell-tools": "^1.1.9"
89
89
  },
90
90
  "dependencies": {
91
91
  "capitalize": "^2.0.4",
92
92
  "console": "^0.7.2",
93
- "electron": "^32.1.0",
93
+ "electron": "^32.1.2",
94
94
  "electron-prompt": "^1.7.0",
95
95
  "electron-squirrel-startup": "^1.0.1",
96
96
  "electron-tabs": "^1.0.4",
@@ -109,7 +109,7 @@
109
109
  "string-similarity": "^4.0.4",
110
110
  "tweakpane": "^3.1.10",
111
111
  "update-electron-app": "^3.0.0",
112
- "x_ite": "^10.5.2"
112
+ "x_ite": "^10.5.3"
113
113
  },
114
114
  "config": {
115
115
  "forge": {
@@ -174,7 +174,7 @@ module .exports = class Interface
174
174
  * @param {string} from path|URL
175
175
  * @param {string} to path|URL
176
176
  */
177
- updateFileConfigs (from, to)
177
+ updateFileConfigs (from = "", to = "")
178
178
  {
179
179
  const
180
180
  fromHash = `.${md5 (from)}.`,
@@ -16,7 +16,7 @@ module .exports = class Traverse
16
16
  static PROTOTYPE_INSTANCES = flags <<= 1;
17
17
  static INLINE_SCENE = flags <<= 1;
18
18
  static ALL = (flags << 1) - 1;
19
-
19
+
20
20
  /**
21
21
  *
22
22
  * @param {X3DScene|X3DExecutionContext|MFNode|Array<SFNode>|SFNode} object
@@ -353,7 +353,7 @@ module .exports = class Traverse
353
353
  case X3D .X3DConstants .MFNode:
354
354
  {
355
355
  for (const node of field)
356
- this .findInNode (node .getValue (), object, flags, hierarchies, hierarchy, seen);
356
+ this .findInNode (node ?.getValue (), object, flags, hierarchies, hierarchy, seen);
357
357
 
358
358
  break;
359
359
  }
@@ -3084,7 +3084,7 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
3084
3084
 
3085
3085
  if (!destinationParentField)
3086
3086
  {
3087
- for (const field of destinationParentNode .getFields () .reverse ())
3087
+ for (const field of destinationParentNode .getFields () .toReversed ())
3088
3088
  {
3089
3089
  if (!field .isInitializable ())
3090
3090
  continue;