@devicecloud.dev/dcd 3.7.1 → 3.7.3
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/dist/commands/cloud.js
CHANGED
|
@@ -125,8 +125,11 @@ class Cloud extends core_1.Command {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
const [major] = process.versions.node.split('.').map(Number);
|
|
128
|
-
if (major <
|
|
129
|
-
|
|
128
|
+
if (major < 20) {
|
|
129
|
+
this.warn(`WARNING: You are using node version ${major}. DeviceCloud requires node version 20 or later`);
|
|
130
|
+
if (major < 18) {
|
|
131
|
+
throw new Error('Invalid node version');
|
|
132
|
+
}
|
|
130
133
|
}
|
|
131
134
|
await this.versionCheck();
|
|
132
135
|
// Download and expand Moropo zip if API key is present
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typescript": "^5"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
46
|
+
"node": ">=20.0.0"
|
|
47
47
|
},
|
|
48
48
|
"files": [
|
|
49
49
|
"/bin",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"prepare": "yarn build",
|
|
80
80
|
"version": "oclif readme && git add README.md"
|
|
81
81
|
},
|
|
82
|
-
"version": "3.7.
|
|
82
|
+
"version": "3.7.3",
|
|
83
83
|
"bugs": {
|
|
84
84
|
"url": "https://discord.gg/gm3mJwcNw8"
|
|
85
85
|
},
|