builder.io 1.6.18 → 1.6.19

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/cli/main.cjs CHANGED
@@ -9,7 +9,13 @@ if (Number(majorVersion) < 18) {
9
9
  );
10
10
  process.exit(1);
11
11
  } else if (Number(majorVersion) === 18) {
12
- if (Number(minorVersion) < 11) {
12
+ if (Number(minorVersion) < 4) {
13
+ console.error(
14
+ "Builder.io Dev Tools requires Node.js 18.4 or higher. You are currently running Node.js" +
15
+ version,
16
+ );
17
+ process.exit(1);
18
+ } else if (Number(minorVersion) < 11) {
13
19
  console.error(
14
20
  "Node.js 18.11 or higher is REQUIRED. From Node 18.0.0 to 18.11.0, there is a bug preventing correct behaviour of Builder.io. You are currently running Node.js " +
15
21
  version,