@next2d/view-generator 1.3.1 → 1.3.2
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
5
|
const version = process.versions.node;
|
|
6
|
-
if (
|
|
6
|
+
if (15 > version.split(".")[0]) {
|
|
7
7
|
console.error(
|
|
8
8
|
"You are running Node Version:" + version + ".\n" +
|
|
9
|
-
"
|
|
9
|
+
"View Generator requires Node 14 or higher. \n" +
|
|
10
10
|
"Please update your version of Node."
|
|
11
11
|
);
|
|
12
12
|
process.exit(1);
|