x3d-tidy 2.0.13 → 2.0.15

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/README.md CHANGED
@@ -77,13 +77,13 @@ Show help.
77
77
 
78
78
  ## Examples
79
79
 
80
- Convert an XML encoded file into a VRML encoded file.
80
+ Convert an XML encoded file to a VRML encoded file.
81
81
 
82
82
  ```sh
83
83
  $ npx x3d-tidy -i file.x3d -o file.x3dv
84
84
  ```
85
85
 
86
- Convert an XML encoded file into a VRML encoded file and a JSON encoded file.
86
+ Convert an XML encoded file to a VRML encoded file and a JSON encoded file.
87
87
 
88
88
  ```sh
89
89
  $ npx x3d-tidy -i file.x3d -o file.x3dv file.x3dj
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-tidy",
3
- "version": "2.0.13",
3
+ "version": "2.0.15",
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
  ],
55
55
  "dependencies": {
56
- "x_ite": "^11.0.3",
57
- "x_ite-node": "^1.0.22",
56
+ "x_ite": "^11.0.5",
57
+ "x_ite-node": "^1.0.24",
58
58
  "x3d-traverse": "^1.0.9",
59
59
  "yargs": "^17.7.2"
60
60
  },
package/src/main.js CHANGED
@@ -106,11 +106,11 @@ async function convert ()
106
106
  .example ([
107
107
  [
108
108
  "npx x3d-tidy -i file.x3d -o file.x3dv",
109
- "Convert an XML encoded file into a VRML encoded file."
109
+ "Convert an XML encoded file to a VRML encoded file."
110
110
  ],
111
111
  [
112
112
  "npx x3d-tidy -i file.x3d -o file.x3dv file.x3dj",
113
- "Convert an XML encoded file into a VRML encoded file and a JSON encoded file."
113
+ "Convert an XML encoded file to a VRML encoded file and a JSON encoded file."
114
114
  ],
115
115
  ])
116
116
  .help ()
@@ -130,6 +130,9 @@ async function convert ()
130
130
 
131
131
  await browser .loadComponents (browser .getProfile ("Full"));
132
132
 
133
+ if (!args .input .length)
134
+ console .warn ("No input files specified.");
135
+
133
136
  for (const i of args .output .keys ())
134
137
  {
135
138
  const